EasyManua.ls Logo

Cisco Nexus 7000 Series - Configuring Dynamic as Numbers for Prefix Peers

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.
10-16
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 10 Configuring Basic BGP
Configuring Basic BGP
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 “Enabling the BGP Feature” section on
page 10-10).
Ensure that you are in the correct VDC (or use the switchto vdc command).
SUMMARY STEPS
1. config t
2. router bgp autonomous-system-number
3. neighbor prefix remote-as route-map map-name
4. show bgp {ipv4 | ipv6} {unicast | multicast} neighbors
5. copy running-config startup-config
DETAILED STEPS
Command Purpose
Step 1
config t
Example:
switch# config t
switch(config)#
Enters configuration mode.
Step 2
router bgp
autonomous-system-number
Example:
switch(config)# router bgp 64496
switch(config-router)#
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.

Table of Contents

Other manuals for Cisco Nexus 7000 Series

Related product manuals