neighbor remove-private-as
neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
remove-private-as
no neighbor
{
ip-address
|
ipv6-address
|
peer-group-name
}
remove-private-as
BGP configuration mode
BGP address-family IPv4 unicast VRF configuration mode
BGP address-family IPv6 unicast VRF configuration mode
The device will remove ASNs 64512 through 65535 (the well-known BGP4 private ASNs) from the AS-path attribute in UPDATE messages that the device sends to a neighbor.
The
no form of the command restores the default so that private ASNs are not removed from
UPDATE messages sent to a neighbor by a device.
The following example removes private ASNs globally.
device# configure terminal device(config)# router bgp device(config-bgp-router)# neighbor 10.11.12.13 remove-private-as
| Release version | Command history |
|---|---|
| 08.0.30 | Support was added for the BGP address-family IPv6 unicast VRF configuration mode. |