Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
6-17
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
BEFORE YOU BEGIN
Ensure that you have enabled the BGP feature (see the “Enabling the BGP Feature” section on
page 5-11).
Note When editing a template, you can use the no form of a command at either the peer or template level to
explicitly override a setting in a template. You must use the default form of the command to reset that
attribute to the default state.
SUMMARY STEPS
1. configure terminal
2. router bgp autonomous-system-number
3. template peer template-name
4. (Optional) inherit peer-session template-name
5. (Optional) address-family ipv4 {multicast | unicast}
6. (Optional) inherit peer template-name
7. exit
8. (Optional) timers keepalive hold
9. exit
10. neighbor ip-address
11. inherit peer template-name
12. (Optional) timers keepalive hold
13. (Optional) show bgp peer-template template-name
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.