#configure terminal | Enter Configure mode. |
---|---|
(config)#router bgp 100 | Assign the ASN value (100) to the router. |
(config-router)#bgp graceful-restart | Enable BGP graceful restart support. |
(config-router)#bgp graceful-restart graceful-reset | Configure to invoke graceful restart when a configuration change forces a peer reset. |
(config-router)#neighbor 4ffe::120 remote-as 200 | Specify the neighbor’s IP address (4ffe::120) and the ASN value of the neighbor (200). |
(config-router)#address-family ipv6 unicast | Exchange the IPv6 capabilities, and switch the mode to the IPv6 address family. |
(config-router-af)#neighbor 4ffe::120 activate | Specify the neighbor’s IPv6 address(4ffe::120), and activate the neighbor. |
(config-router-af)#neighbor 4ffe::120 capability graceful-restart | Specify the neighbor’s IPv6 address (4ffe::120) for which the graceful restart capability is supported. |
(config-router-af)#exit-address-family | Exit Address Family mode, and return to Router mode. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |
#configure terminal | Enter Configure mode. |
---|---|
(config)#router bgp 200 | Assign the ASN value (200) to the router. |
(config-router)#bgp graceful-restart | Enable BGP graceful restart support. |
(config-router)#bgp graceful-restart graceful-reset | Configure to invoke graceful restart when a configuration change forces a peer reset. |
(config-router)#neighbor 4ffe::119 remote-as 100 | Specify the neighbor’s IP address (4ffe::119) and the ASN value of the neighbor (100). |
(config-router)#address-family ipv6 unicast | Exchange the IPv6 capabilities, and switch the mode to the IPv6 address family. |
(config-router-af)#neighbor 4ffe::119 activate | Specify the neighbor’s IPv6 address(4ffe::119), and activate the neighbor. |
(config-router-af)#neighbor 4ffe::119 capability graceful-restart | Specify the neighbor’s IPv6 address (4ffe::119) for which the graceful restart capability is supported. |
(config-router-af)#exit-address-family | Exit Address Family mode, and return to Router mode. |
(config-router)#commit | Commit the candidate configuration to the running configuration. |