Matching prefix lists
Syntax:
match [ip | ipv6] address prefix-list name
no match [ip | ipv6] address prefix-list name
Matches a prefix list. The
no
form of the command deletes the match clause from the sequence.
[ip | ipv6]
Specifies matching with a prefix list that contains either IPv4 (IP) or IPv6 addresses, respectively.
name
Specifies the name of the prefix list to match.
Matching next-hop addresses
Syntax:
[no] match [ip | ipv6 next-hop
IP-addr
|
IPv6-addr
] [
IP-addr
| IPv6-addr ...]
[no] match [ip | ipv6] next-hop prefix-list
name
Matches a next hop address. The
no
form of the command deletes the match clause from the sequence.
[ip | ipv6]
Specifies matching with either an IPv4 (IP) or IPv6 address, respectively.
[IP-addr | IPv6-addr]
Specifies the IPv4 (IP) or IPv6 address, respectively, to match with.
[IP-addr | IPv6-addr ...]
Optional additional addresses. A single command can specify multiple IPv4 (IP) or IPv6 addresses. A match
succeeds if any of the addresses matches (logical OR.)
name
Specifies the name of a prefix list to match the next hop against.
Matching route sources
Syntax:
match [ip | ipv6] route-source prefix-list
name
no match [ip | ipv6] route-source prefix-list
name
Matches the address of an advertising router. The
no
form of the command deletes the match clause from the
sequence.
[ip | ipv6]
Specifies matching with a prefix list that contains either IPv4 (IP) or IPv6 addresses, respectively.
name
Specifies the name of a prefix list to match the advertising router against.
Chapter 12 Route Policy
271