DGS-3620 m/ mSW Rls. 1.02.000
14-2 match as-path
match as-path ACCESS-LIST-NAME
no match as-path
Syntax Description
ACCESS-LIST-NAME
Default
Command Mode
Usage Guideline
Examples
Switch# configure terminal
Switch(config)# route-map rmap1 permit 10
Switch(config-route-map)# match as-path PATH_AC
Switch(config-route-map)#
CLI Reference Guide
Use this command to add a match command to match a BGP autonomous
system (AS) path access list. Use the no form of this command to delete the
match command with BGP autonomous system path access list.
Specifies the name of the path access list. The length is up to 16 characters.
None
Route map configuration mode.
Only one path access list is supported. If this command is executed with a
different path access list, the old one will be overwritten.
You can verify your settings by entering the show route-map command.
To add a match clause to match AS path access list:
match as-path
442