Specifications

Send document comments to nexus3k-docfeedback@cisco.com.
6-18
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
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.
Step 10
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 neighbor configuration mode for
BGP routing and configures the neighbor IP address.
Step 11
inherit peer template-name
Example:
switch(config-router-neighbor)# inherit
peer BasePeer
Inherits the peer template.
Step 12
timers keepalive hold
Example:
switch(config-router-neighbor)# timers
60 120
(Optional) Adds the BGP timer values to this neighbor.
These values override the timer values in the peer
template and the peer-session template.
Step 13
show bgp peer-template template-name
Example:
switch(config-router-neighbor-af)# show
bgp peer-template BasePeer
(Optional) Displays the peer template.
Step 14
copy running-config startup-config
Example:
switch(config-router-neighbor-af)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose