Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
6-13
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, Release 5.0(3)U2(2)
OL-25782-02
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
DETAILED STEPS
Command Purpose
Step 1
configure terminal
Example:
switch# configure terminal
switch(config)#
Enters configuration mode.
Step 2
router bgp autonomous-system-number
Example:
switch(config)# router bgp 65536
switch(config-router)#
Enables BGP and assigns the autonomous system
number to the local BGP speaker.
Step 3
template peer-session template-name
Example:
switch(config-router)# template
peer-session BaseSession
switch(config-router-stmp)#
Enters peer-session template configuration mode.
Step 4
password number password
Example:
switch(config-router-stmp)# password 0
test
(Optional) Adds the clear text password test to the
neighbor. The password is stored and displayed in type
3 encrypted form (3DES).
Step 5
timers keepalive hold
Example:
switch(config-router-stmp)# timers 30 90
(Optional) Adds the BGP keepalive and holdtimer
values to the peer-session template.
The default keepalive interval is 60. The default hold
time is 180.
Step 6
exit
Example:
switch(config-router-stmp)# exit
switch(config-router)#
Exits peer-session template configuration mode.
Step 7
neighbor ip-address remote-as as-number
Example:
switch(config-router)# neighbor
192.168.1.2 remote-as 65536
switch(config-router-neighbor)#
Places the router in the neighbor configuration mode
for BGP routing and configures the neighbor IP
address.
Step 8
inherit peer-session template-name
Example:
switch(config-router-neighbor)# inherit
peer-session BaseSession
switch(config-router-neighbor)
Applies a peer-session template to the peer.
Step 9
description text
Example:
switch(config-router-neighbor)#
description Peer Router A
switch(config-router-neighbor)
(Optional) Adds a description for the neighbor.