set protocols bgp neighbor capability extended-nexthop
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 neighbor capability extended-nexthop command disables advertisement of IPv4 prefixes with IPv6 next hops over global IPv6 peerings.
Command Syntax
set protocols bgp [vrf <vrf-name>] {neighbor <ip>| peer-group <peer-group> | interface <interface>} capability extended-nexthop
delete protocols bgp [vrf <vrf-name>] {neighbor <ip>| peer-group <peer-group> | interface <interface>} 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 <ip> | Specifies the IPv4/IPv6 address of a peer. |
peer-group <peer-group> | Specifies a peer group. |
interface <interface> | Specifies an L3 interface for BGP connection. The value could be a VLAN interface name, loopback interface name, routed interface or sub-interface name. |
Usage Guidelines
Allow BGP to negotiate the extended-nexthop capability with it’s peer. If you are peering over a IPv6 link-local address then this capability is turned on automatically. If you are peering over a IPv6 Global Address then turning on this command will allow BGP to install IPv4 routes with IPv6 nexthops if you do not have IPv4 configured on interfaces.
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
Copyright © 2024 Pica8 Inc. All Rights Reserved.