Configuring Route Redistribution - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

Configuring Advanced BGP
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
Step 5
advertise-map adv-map {exist-map
exist-rmap | non-exist-map
nonexist-rmap }
Example:
switch(config-router-neighbor-af)#
advertise-map advertise exist-map exist
Step 6
show ip bgp neighbor
Example:
switch(config-router-neighbor-af)# show
ip bgp neighbor
Step 7
copy running-config startup-config
Example:
switch(config-router-neighbor-af)# copy
running-config startup-config
This example shows how to configure BGP conditional advertisement:
switch# config t
switch(config)# router bgp 65536
switch(config-router)# neighbor 192.0.2.2 remote-as 65537
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# advertise-map advertise exist-map exist
switch(config-router-neighbor-af)# exit
switch(config-router-neighbor)# exit
switch(config-router)# exit
switch(config)# route-map advertise
switch(config-route-map)# match as-path pathList
switch(config-route-map)# exit
switch(config)# route-map exit
switch(config-route-map)# match ip address prefix-list plist
switch(config-route-map)# exit
switch(config)# ip prefix-list plist permit 209.165.201.0/27

Configuring Route Redistribution

You can configure BGP to accept routing information from another routing protocol and redistribute that
information through the BGP network. Optionally, you can assign a default route for redistributed routes.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
11-32
Chapter 11
Purpose
Configures BGP to conditionally advertise routes
based on the two configured route maps:
adv-map—Specifies a route map with match
statements that the route must pass before BGP
passes the route to the next route map. The
adv-map is a case-sensitive alphanumeric string
up to 63 characters.
exist-rmap—Specifies a route map with match
statements for a prefix list. A prefix in the BGP
table must match a prefix in the prefix list before
BGP will advertise the route. The exist-rmap is a
case-sensitive alphanumeric string up to 63
characters.
nonexist-rmap—Specifies a route map with match
statements for a prefix list. A prefix in the BGP
table must not match a prefix in the prefix list
before BGP will advertise the route. The
nonexist-rmap is a case-sensitive alphanumeric
string up to 63 characters.
(Optional) Displays information about BGP and the
configured conditional advertisement route maps.
(Optional) Saves this configuration change.
Configuring Advanced BGP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents