Specifications
Send document comments to nexus3k-docfeedback@cisco.com.
13-17
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
Verifying the Route Policy Manager Configuration
The set metric-type internal command affects an outgoing policy and an eBGP neighbor only. If you
configure both the metric and metric-type internal commands in the same BGP peer outgoing policy,
then Cisco NX-OS ignores the metric-type internal command.
Verifying the Route Policy Manager Configuration
To display the route policy manager configuration information, perform one of the following tasks:
Configuration Examples for Route Policy Manager
This example shows how to use an address family to configure BGP so that any unicast and multicast
routes from neighbor 209.0.2.1 are accepted if they match access list 1:
router bgp 64496
address-family ipv4 unicast
network 192.0.2.0/24
network 209.165.201.0/27 route-map filterBGP
set metric-type {external | internal |
type-1 | type-2}
Example:
switch(config-route-map)# set metric-type
internal
Sets the metric type for the destination routing
protocol. The options are as follows:
external—IS-IS external metric
internal— IGP metric as the MED for BGP
type-1—OSPF external type 1 metric
type-2—OSPF external type 2 metric
set origin {egp as-number | igp |
incomplete}
Example:
switch(config-route-map)# set origin
incomplete
Sets the BGP origin attribute. The EGP as-number
range is from 0 to 65535.
set tag name
Example:
switch(config-route-map)# set tag 33
Sets the tag value for the destination routing
protocol. The name parameter is an unsigned
integer.
set weight count
Example:
switch(config-route-map)# set weight 33
Sets the weight for the BGP route. The range is
from 0 to 65535.
Command Purpose
Command Purpose
show ip community-list [name] Displays information about a community list.
show ip extcommunity-list [name] Displays information about an extended
community list.
show [ip] prefix-list [name] Displays information about an IPv4 prefix list.
show route-map [name] Displays information about a route map.