Configuring Dynamic As Numbers For Prefix Peers - Cisco Nexus 7000 Series Configuration Manual

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

Advertisement

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 .
The following example shows how to configure a BGP peer:
switch# config t
switch(config)# router bgp 64496
switch(config-router)# neighbor 192.0.2.1 remote-as 64497
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

Configuring Dynamic AS Numbers for Prefix Peers

You can configure multiple BGP peers within a BGP process. You can limit BGP session establishment
to a single AS number or multiple AS numbers in a route map.
BGP sessions configured through dynamic AS numbers for prefix peers ignore the ebgp-multihop
command and the disable-connected-check command.
You can change the list of AS numbers in the route map, but you must use the no neighbor command to
change the route-map name. Changes to the AS numbers in the configured route map affect only new
sessions.
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the
page
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
config t
Example:
switch# config t
switch(config)#
Step 2
router bgp autonomous-system-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
10-16
10-10).
config t
router bgp autonomous-system-number
neighbor prefix remote-as route-map map-name
show bgp {ipv4 | ipv6} {unicast | multicast} neighbors
copy running-config startup-config
Chapter 10
"Enabling the BGP Feature" section on
Purpose
Enters configuration mode.
Enables BGP and assigns the AS number to the local
BGP speaker. The AS number can be a 16-bit integer
or a 32-bit integer in the form of a higher 16-bit
decimal number and a lower 16-bit decimal numbe in
xx.xx format.
Configuring Basic BGP
OL-20002-02

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents