Send document comments to nexus7k-docfeedback@cisco.com.
16-13
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 16 Configuring Route Policy Manager
Configuring Route Policy Manager
Command Purpose
match as-path
name
[
name...
]
Example:
switch(config-route-map)# match as-path
Allow40
Matches against one or more AS-path lists. Create
the AS-path list with the ip as-path access-list
command.
match as-number {
number
[
,number...
] |
as-path-list
name
[
name...
]}
Example:
switch(config-route-map)# match as-number
33,50-60
Matches against one or more AS numbers or
AS-path lists. Create the AS-path list with the ip
as-path access-list command. The number range is
from 1 to 65535. The AS-path list name can be any
case-sensitive alphanumeric string up to 63
characters.
match community
name
[
name...
][
exact-match
]
Example:
switch(config-route-map)# match community
BGPCommunity
Matches against one or more community lists.
Create the community list with the ip
community-list command.
match extcommunity
name
[
name...
][
exact-match
]
Example:
switch(config-route-map)# match
extcommunity BGPextCommunity
Matches against one or more extended community
lists. Create the community list with the ip
extcommunity-list command.
match interface
interface-type number
[
interface-type number...
]
Example:
switch(config-route-map)# match interface
e 1/2
Matches any routes that have their next hop out one
of the configured interfaces. Use ? to find a list of
supported interface types.
match ip address prefix-list
name
[
name...
]
Example:
switch(config-route-map)# match ip address
prefix-list AllowPrefix
Matches against one or more IPv4 prefix lists. Use
the ip prefix-list command to create the prefix list.
match ipv6 address prefix-list
name
[
name...
]
Example:
switch(config-route-map)# match ip address
prefix-list AllowIPv6Prefix
Matches against one or more IPv6 prefix lists. Use
the ipv6 prefix-list command to create the prefix
list.
match ip multicast [source
ipsource
]
[[group
ipgroup
] [
rp
iprp
]]
Example:
switch(config-route-map)# match ip
multicast rp 192.0.2.1
Matches an IPv4 multicast packet based on the
multicast source, group, or rendezvous point.
match ipv6 multicast [source
ipsource
]
[[group
ipgroup
] [
rp
iprp
]]
Example:
switch(config-route-map)# match ip
multicast source 2001:0DB8::1
Matches an IPv6 multicast packet based on the
multicast source, group, or rendezvous point.