Send document comments to nexus7k-docfeedback@cisco.com.
11-15
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11      Configuring Advanced BGP
Configuring Advanced BGP
Use the show bgp neighbor command to see the template applied. See the Cisco Nexus 7000 Series 
NX-OS Unicast Routing Command Reference for details on all commands available in the template.
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.
Step 10
show bgp peer-session 
template-name
Example:
switch(config-router-neighbor)# show bgp 
peer-session BaseSession
(Optional) Displays the peer-policy template.
Step 11
copy running-config startup-config
Example:
switch(config-router-neighbor)# copy 
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose