ZXR10 5900E Series Configuration Guide (IPv4 Routing)
routes are limited, you can use the default configuration. If S1 or S2 is restarted, packets
forwarding is not interrupted.
Figure 5-23 BGP Graceful Restart Configuration Example
Configuration Flow
1. Establish a BGP neighbor relation between S1 and S2.
2. Enable the graceful restart function on S1 and S2 respectively.
Configuration Commands
Run the following commands on S1:
S1(config)#interface loopback1
S1(config-if-loopback1)#ip address 172.20.96.1 255.255.255.255
S1(config-if-loopback1)#exit
S1(config)#interface gei-0/1/1/1
S1(config-if-gei-0/1/1/1)#ip address 25.60.61.60
S1(config-if-gei-0/1/1/1)#exit
S1(config)#router bgp 18004
S1(config-bgp)#neighbor 172.20.96.2 remote-as 18004
S1(config-bgp)#neighbor 172.20.96.2 update-source loopback1
S1(config-bgp)#bgp graceful-restart
Run the following commands on S2:
S2(config)#interface loopback1
S2(config-if-loopback1)#ip address 172.20.96.2 255.255.255.255
S2(config-if-loopback1)#exit
S2(config)#interface gei-0/1/1/1
S2(config-if-gei-0/1/1/1)#ip address 25.60.61.61
S2(config-if-gei-0/1/1/1)#exit
S2(config)#router bgp 18004
S2(config-bgp)#neighbor 172.20.96.1 remote-as 18004
S2(config-bgp)#neighbor 172.20.96.1 update-source loopback1
S2(config-bgp)#bgp graceful-restart
/*To learn routes between loopback addresses, configure the IGP*/
Configuration Verification
If traffic can be forwarded properly after the active/standby switchover operation, the
configuration is performed correctly.
SJ-20150114102049-003|2015-01-15 (R1.0)
255.255.255.252
255.255.255.252
5-78
ZTE Proprietary and Confidential