Send document comments to nexus3k-docfeedback@cisco.com
6-17
Cisco Nexus 3000 Series NX-OS Unicast Routing Configuration Guide, NX-OS Release5.0(3)U1(1)
Chapter 6 Configuring Advanced BGP
Configuring Advanced BGP
14. (Optional) copy running-config startup-config
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
Enters BGP mode and assigns the autonomous system
number to the local BGP speaker.
Step 3
template peer
template-name
Example:
switch(config-router)# template peer
BasePeer
switch(config-router-neighbor)#
Enters peer template configuration mode.
Step 4
inherit peer-session
template-name
Example:
switch(config-router-neighbor)# inherit
peer-session BaseSession
(Optional) Inherits a peer-session template in the peer
template.
Step 5
address-family ipv4{multicast | unicast}
Example:
switch(config-router-neighbor)#
address-family ipv4 unicast
switch(config-router-neighbor-af)#
(Optional) Configures the global address family
configuration mode for the IPv4 address family.
Step 6
inherit peer
template-name
Example:
switch(config-router-neighbor-af)#
inherit peer BasePolicy
(Optional) Applies a peer template to the neighbor
address family configuration.
Step 7
exit
Example:
switch(config-router-neighbor-af)# exit
switch(config-router-neighbor)#
Exits BGP neighbor address family configuration
mode.
Step 8
timers
keepalive hold
Example:
switch(config-router-neighbor)# timers
45 100
(Optional) Adds the BGP timer values to the peer.
These values override the timer values in the
peer-session template, BaseSession.
Step 9
exit
Example:
switch(config-router-neighbor)# exit
switch(config-router)#
Exits BGP peer template configuration mode.