DGS-6604
m
match as-path
CLI Reference Guide
423
match as-path
Use this command to match a BGP autonomous system path access list. To
delete an entry, use the
no
form of this command.
match as-path
ACCESS-LIST-NAME
no match as-path
ACCESS-LIST-NAME
Default
Not configured
Command Mode
Route-map configuration
Usage Guideline
The values set by the
match as-path
and set weight commands override global
values. For example, the weights assigned with the
match as-path
and
set
weight route-map
configuration commands override the weight assigned using
the neighbor weight command.
A route map can have several parts. Any route that does not match at least one
match clause relating to a route-map command will be ignored; that is, the route
will not be advertised for outbound route maps and will not be accepted for
inbound route maps. To modify only a portion of the data, a second route-map
section must be configured with an explicit match statement.
match
means that the AS path list exactly matches the AS path, or is a subset of
the AS path list.
Example
This example shows how to add a match statement to the policy routing entry
with name myPolicy:
Verify the settings with the
show route-map
command.
Syntax Description
ACCESS-LIST-NAME
Specifies the name of AS path access list.
Switch(config)# route-map myPolicy permit 1
Switch(config-route-map)# match as-path PATH_ACL
Summary of Contents for DGS-6600 Series
Page 1: ...0 9 3 ...