neighbor capability as4

Enables or disables support for 4-byte autonomous system numbers (ASNs) at the neighbor or peer-group level.

Syntax

neighbor { ip-address | ipv6-address | peer-group-name } capability as4 [ disable | enable ]
no neighbor { ip-address | ipv6-address | peer-group-name } capability as4 [ disable | enable ]

Command Default

4-byte ASNs are disabled by default.

Parameters

ip-address
IPv4 address of the neighbor.
ipv6-address
IPv6 address of the neighbor .
peer-group-name
Peer group name configured by the neighbor peer-group-name command.
disable
Disables 4-byte numbering.
enable
Enables 4-byte numbering.

Modes

BGP configuration mode

BGP address-family IPv4 unicast VRF configuration mode

BGP address-family IPv6 unicast VRF configuration mode

Usage Guidelines

Use the disable keyword or the no form of this command to remove all neighbor capability for 4-byte ASNs.

4-byte ASNs are first considered at the neighbor, then at the peer group, and finally at the global level.

Examples

This example enables 4-byte ASNs for a specified neighbor.

device# configure terminal
device(config)# router bgp
device(config-bgp-router)# neighbor 10.11.12.13 capability as4 enable