Command Manual – Routing Protocol 
Quidway S8500 Series Routing Switches  Chapter 5  BGP Configuration Commands
 
Huawei Technologies Proprietary 
5-39 
Example 
# Configure to use acl 2000 to filter the routes received by the peer group test..  
[Quidway-bgp] peer test filter-policy 2000 import 
5.1.44  peer graceful-restart 
Syntax 
peer { peer-address | group-name } graceful-restart 
undo peer { peer-address | group-name } graceful-restart 
View 
BGP view 
Parameter 
group-name: Name of the peer group, which can consist of 1 to 47 alphabetic letters 
and numerals.  
peer-address: IP address of the peer.  
Description 
Use the peer graceful-restart command to enable the Graceful-restart ability of the 
specified peer or peer group.  
Use the undo peer graceful-restart command to disable the Graceful-restart ability of 
the specified peer or peer group.  
If the Graceful-restart ability is enabled for a peer group first, peers added into this 
group afterwards also inherits the Graceful-restart ability of this group.  
It is allowed that peers in a peer group have a different Graceful-restart ability than that 
configured for this peer group. For example, after configuring Graceful-restart for the 
whole peer group, you can disable the Graceful-restart ability of a specific peer. To do 
so, you must configure Graceful-restart for the peer group first, and then use the undo 
graceful-restart command on the peer.   
Example 
# Enable Graceful-restart on a peer whose IP address is 10.2.2.2.  
[Quidway-bgp] peer 10.2.2.2 graceful-restart 
# Enable Graceful-restart on an EBGP peer group named “TEST”, and disable 
Graceful-restart on Peer 10.1.1.1 in this group.  
<Quidway>system-view 
[Quidway-bgp] group TEST external 
[Quidway-bgp] peer 10.1.1.1 group TEST as-number 200 
[Quidway-bgp] peer TEST graceful-restart