6-35
[Sysname-bgp] filter-policy 3000 import
graceful-restart (BGP view)
Syntax
graceful-restart
undo graceful-restart
View
BGP view
Default Level
2: System level
Parameters
None
Description
Use the
graceful-restart
command to enable BGP Graceful Restart capability.
Use the
undo
graceful-restart
command to disable BGP Graceful Restart capability.
By default, BGP Graceful Restart capability is disabled.
During main and backup boards switchover, a GR-capable BGP speaker can maintain the packet
forwarding table. During restart, it may not maintain the forwarding table.
Examples
# Enable the Graceful Restart capability for BGP process 100.
<Sysname> system-view
[Sysname] bgp 100
[Sysname-bgp] graceful-restart
graceful-restart timer restart
Syntax
graceful-restart timer restart timer
undo graceful-restart timer restart
View
BGP view
Default Level
2: System level
Parameters
timer
: Maximum time for a peer to reestablish a BGP session, in the range 3 to 600 seconds.