Send document comments to nexus7k-docfeedback@cisco.com.
11-40
Cisco Nexus 7000 Series NX-OS Unicast Routing Configuration Guide, Release 4.x
OL-20002-02
Chapter 11 Configuring Advanced BGP
Configuring Advanced BGP
This example shows how to enable a graceful restart:
switch# config t
switch(config)# router bgp 65536
switch(config-router)# graceful-restart
switch(config-router)# copy running-config startup-config
Configuring Virtualization
You can configure one BGP process in each VDC. You can create multiple VRFs within each VDC and
use the same BGP process in each VRF.
Step 3
graceful-restart
Example:
switch(config-router)# graceful-restart
Enables a graceful restart and the graceful restart
helper functionality. This command is enabled by
default.
This command triggers an automatic notification and
session reset for the BGP neighbor sessions.
Step 4
graceful-restart [restart-time
time
|
stalepath-time
time
]
Example:
switch(config-router)# graceful-restart
restart-time 300
Configures the graceful restart timers.
The optional parameters are as follows:
• restart-time—Maximum time for a restart sent to
the BGP peer. The range is from 1 to 3600
seconds. The default is 120.
• stalepath-time—Maximum time that BGP will
keep the stale routes from the restarting BGP peer.
The range is from 1 to 3600 seconds. The default
is 300.
This command triggers an automatic notification and
session reset for the BGP neighbor sessions.
Step 5
graceful-restart-helper
Example:
switch(config-router)#
graceful-restart-helper
Enables the graceful restart helper functionality. Use
this command if you have disabled graceful restart but
you still want to enable graceful restart helper
functionality. This command triggers an automatic
notification and session reset for the BGP neighbor
sessions.
Step 6
show running-config bgp
Example:
switch(config-router)# show
running-config bgp
(Optional) Displays the BGP configuration.
Step 7
copy running-config startup-config
Example:
switch(config-router)# copy
running-config startup-config
(Optional) Saves this configuration change.
Command Purpose