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

Nx-os unicast routing configuration guide, nx-os release 5.0(3)u1(1)
Hide thumbs Also See for Nexus 3000 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 3 k - d o c f e e d b a c k @ c i s c o . c o m
This example shows how to configure a BGP peer:
switch# configure terminal
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
SUMMARY STEPS
1.
2.
3.
4.
5.
DETAILED STEPS
Command
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Step 2
router bgp autonomous-system-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release 5.0(3)U1(1)
5-16
5-11).
configure terminal
router bgp autonomous-system-number
neighbor prefix remote-as route-map map-name
(Optional) show bgp ipv4 {unicast | multicast} neighbors
(Optional) copy running-config startup-config
Chapter 5
"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 number in
xx.xx format.
Configuring Basic BGP

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents