Configuring Graceful Restart for the BGP L2VPN EVPN Address Family
BGP graceful restart (GR) allows for
restarts where BGP neighboring devices participate in the restart, helping to ensure
that no
route and topology changes occur in the network for the duration of the restart.
The
following task enables BGP GR and sets the restart time to 60 seconds for the BGP
L2VPN EVPN
address family.
- Enter global configuration mode.
- Enable BGP routing.
- Configure the autonomous system number (ASN).
- Specify the ASN for the neighbor device.
- Enable BGP L2VPN EVPN address family configuration mode.
- Activate the neigbor to enable the exchange of information with the neigbor.
- Enable the sending of both standard and extended attributes in updates to the specified BGP neighbor.
- Enable GR and set the restart
time.The restart time is set to 60 seconds.
The following example enables GR and sets the restart time to 60 seconds for the BGP L2VPN EVPN address family.
device# configure terminal device(config)# router bgp device(config-bgp-router)# local-as 656 device(config-bgp-router)# neighbor 1.1.1.35 remote-as 656 device(config-bgp-router)# address-family l2vpn evpn device(config-bgp-l2vpn-evpn)# neighbor 1.1.1.35 activate device(config-bgp-l2vpn-evpn)# neighbor 1.1.1.35 send-community both device(config-bgp-l2vpn-evpn)# graceful restart restart-time 60