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
Specifies the IPv4 address of the neighbor.
ipv6-address
Specifies the IPv6 address of the neighbor.
peer-group-name
Specifies the 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

Usage Guidelines

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

The disable keyword or the no form of the command removes all neighbor capability for 4-byte ASNs.

Examples

The following example enables 4-byte ASNs globally.

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