The set protocols bgp neighbor capability extended-nexthop command enables advertisement of IPv4 prefixes with IPv6 next hops over global IPv6 peerings, adding the extended-nexthop capability to the global IPv6 neighbor statements on each end of the BGP sessions.
The delete protocols bgp always-compare-med command disables advertisement of IPv4 prefixes with IPv6 next hops over global IPv6 peerings.
Command Syntax
set protocols bgp [vrf <vrf-name>] neighbor <protocol bgppeer> capability extended-nexthop
delete protocols bgp [vrf <vrf-name>] neighbor <protocol bgppeer> capability extended-nexthop
Parameter
Parameter | Description |
vrf <vrf-name> | Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>]. |
neighbor <protocol bgppeer> | Specifies an IP address of neighbor. |
Example
• This example enables advertisement of IPv4 prefixes with IPv6 next hops over global IPv6 peerings.
admin@XorPlus# set protocols bgp neighbor 2.2.2.2 capability extended-nexthop admin@XorPlus# commit