Cisco Nexus 7000 Series Configuration Manual page 287

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

Advertisement

Chapter 10
Configuring Basic 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 3
neighbor prefix remote-as route-map
map-name
Example:
switch(config-router)# neighbor
192.0.2.0/8 remote-as routemap BGPPeers
switch(config-router-neighbor)#
Step 4
show bgp {ipv4 | ipv6}{unicast |
multicast} neighbors
Example:
switch(config-router-neighbor-af)# show
bgp ipv4 unicast neighbors
Step 5
copy running-config startup-config
Example:
switch(config-router-neighbor-af) copy
running-config startup-config
The following example shows how to configure dynamic AS numbers for a prefix peer:
switch# config t
switch(config)# route-map BGPPeers
switch(config-route-map)# match as-number 64496, 64501-64510
switch(config-route-map)# match as-number as-path-list List1, List2
switch(config-route-map)# exit
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.0.2.0/8 remote-as route-map BGPPeers
switch(config-router-neighbor)# description Peer Router B
switch(config-router-neighbor)# address-family ipv4 unicast
switch(config-router-neighbor-af)# copy running-config startup-config
See
Chapter 16, "Configuring Route Policy Manager."
OL-20002-02
Purpose
Configures the IPv 4 or IPv6 prefix and a route map for
the list of accepted AS numbers for the remote BGP
peers. The prefix format for IPv4 is x.x.x.x/length. The
length range is from 1 to 32. The prefix format for IPv6
is A:B::C:D/length. The length range is from 1 to 128.
The map-name can be any case-sensitive
alphanumerics string up to 63 characters.
(Optional) Displays information about BGP peers.
(Optional) Saves this configuration change.
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
for information on route maps.
Configuring Basic BGP
10-17

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents