
14
1.2.3.3 ip prefix-list sequence-number
Command: ip prefix-list sequence-number
no ip prefix-list sequence-number
Function:
Enable the sequence-number auto-creation function, the “
no ip prefix-list
sequence-number
” command close the prefix-list sequence-number.
Parameter
:
None.
Default:
Sequence-number auto-creation enabled.
Command Mode:
Global Mode
Usage Guide:
The command can be used to close the prefix-list sequence-number.
Example:
Close the prefix-list sequence-number.
Switch(config)#no ip prefix-list sequence-number
1.2.3.4 match as-path
Command: match as-path <list-name>
no match as-path [<list-name>]
Function:
Configure the AS path domain for matching the BGP routing messages. The “
no
match as-path [<list-name>]
” delete this configuration.
Parameter: <list-name >
is the name of access-list
Command Mode:
route-map mode
Usage Guide:
This command matches the AS path domain of the BGP routing message
following the rules specified in the as-path list. If the matching succeeded, then the “permit” or
“deny” action in the route-map is performed.
Example:
Switch#config terminal
Switch(config)#route-map r1 permit 5
Switch(config-route-map)#match as-path 60
1.2.3.5 match community
Command: match community <community-list-name | community-list-num>
[exact-match]
no match community [<community-list-name | community-list-num>
[exact-match]]
Function:
Configure the community attributes of BGP routing messages. The “
no match
community [<community-list-name | community-list-num > [exact-match]]
” command
deletes this configuration.
Parameter: <community-list-name>
is the name of the community-list,
<community-list-num>
is the community-list sequence number, ranging between 1
~
99