Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
13-13
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 13 Configuring Route Policy Manager
Configuring Route Policy Manager
You can configure the following optional match parameters for route maps in route-map configuration
mode:
Note The default-information originate command ignores match statements in the optional route
map.
Step 4
exit
Example:
switch(config-route-map)# exit
(Optional) Exits route-map configuration mode.
Step 5
copy running-config startup-config
Example:
switch(config)# copy running-config
startup-config
(Optional) Saves this configuration change.
Command Purpose
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.