EasyManua.ls Logo

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

Cisco Nexus 7000 Series
536 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send document comments to nexus7k-docfeedback@cisco.com.
16-17
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 16 Configuring Route Policy Manager
Verifying 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 Route Policy Manager Configuration
To display route policy manager configuration information, use the following commands:
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
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 na me 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 | ipv6] prefix-list [nam e] Displays information about an IPv4 or IPv6 prefix
list.
show route-map [name] Displays information about a route map.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals