Verifying Route Policy Manager Configuration; Route Policy Manager Example Configuration - Cisco Nexus 7000 Series Configuration Manual

Nx-os unicast routing configuration
Hide thumbs Also See for Nexus 7000 Series:
Table of Contents

Advertisement

Chapter 16
Configuring Route Policy Manager
S e n d d o c u m e n t c o m m e n t s t o n e x u s 7 k - d o c f e e d b a c k @ c i s c o . c o m .
Command
set metric-type {external | internal |
type-1 | type-2}
Example:
switch(config-route-map)# set metric-type
internal
set origin {egp as-number | igp |
incomplete}
Example:
switch(config-route-map)# set origin
incomplete
set tag name
Example:
switch(config-route-map)# set tag 33
set weight count
Example:
switch(config-route-map)# set weight 33
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 Route Policy Manager Configuration

To display route policy manager configuration information, use the following commands:
Command
show ip community-list [name]
show ip extcommunity-list [name]
show [ip | ipv6] prefix-list [name]
show route-map [name]

Route Policy Manager Example Configuration

This example shows how to use an address family to configure Route Policy Manager so that any unicast
and multicast routes from neighbor 209.0.2.1 are accepted if they match prefix-list AllowPrefix:
router bgp 64496
neighbor 209.0.2.1 remote-as 64497
address-family ipv4 unicast
OL-20002-02
Purpose
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
Sets the BGP origin attribute. The EGP as-number
range is from 0 to 65535.
Sets the tag value for the destination routing
protocol. The name parameter is an unsigned
integer.
Sets the weight for the BGP route. The range is
from 0 to 65535.
Purpose
Displays information about a community list.
Displays information about an extended
community list.
Displays information about an IPv4 or IPv6 prefix
list.
Displays information about a route map.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
Verifying Route Policy Manager Configuration
16-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents