neighbor additional-paths disable

Disables the inheritance of an additional-paths capability (from the address family or peer group level) for a specific peer or peer group in a Border Gateway Protocol ( BGP) address family.

Syntax

neighbor { ip-address | ipv6-address | peer-group-name } additional-paths disable
no neighbor { ip-address | ipv6-address | peer-group-name } additional-paths disable

Command Default

By default, an additional-paths capability configured for a specific BGP address family applies to all peer groups and peers configured under the address family, and an additional-paths capability configured for a peer group applies to all peers within the group.

Parameters

ip-address
Address of the neighbor in IPv4 address format.
ipv6-address
Address of the neighbor in IPv6 address format.
peer-group-name
Peer group name of the neighbor.

Modes

BGP configuration mode

Usage Guidelines

When the capability to send and receive additional-paths is configured at the address family or peer group level, the capability applies to all neighbors configured under the address family or within the peer group: you can use the neighbor additional-paths disable command to disable this capability inheritance for an individual peer or peer-group.

The no form of the command restores the default configuration.

Examples

The following example shows how to disable additional-paths capability inheritance (from the address-family configuration) for an IPv4 address-family peer (10.123.123.1).

device# configure terminal
device(config)# router bgp
device(config-bgp)# address-family ipv4 unicast
device(config-bgp)# neighbor 10.123.123.1 additional-paths disable

The following example shows how to restore additional-paths capability inheritance (from the address-family configuration) for an IPv4 peer (10.123.123.1).

device# configure terminal
device(config)# router bgp
device(config-bgp)# address-family ipv4 unicast
device(config-bgp)# no neighbor 10.123.123.1 additional-paths disable

The following example shows how to disable additional-paths capability inheritance (from the address- family configuration) for an IPv6 address-family peer with IP address 10.123.123.1.

device# configure terminal 
device(config)# router bgp
device(config-bgp)# address-family ipv6 unicast
device(config-bgp-ipv6u)# neighbor 10.123.123.1 additional-paths disable