CLI Guide
neighbor remove-private-as
Remove private AS numbers from the AS-PATH of outgoing updates.
Syntax
neighbor {ip-address | peer-group-name} remove-private-as
To return to the default, use the no neighbor {ip-address | peer-group-
name} remove-private-as command.
Parameters
ip-address Enter the IP address of the neighbor to remove the private
AS numbers.
peer-group-name Enter the name of the peer group to remove the private AS
numbers.
Defaults Disabled (that is, private AS number are not removed).
Command Modes ROUTER BGP
Supported Modes Full–Switch
Command History
Version Description
9.9(0.0) Introduced on the FN IOM.
9.2(0.0) Introduced on the MXL 10/40GbE Switch IO Module.
Usage Information
Applies to EBGP neighbors only.
Configure your system to accept 4-byte formats before entering a 4 byte AS
Number.
If the AS-PATH contains both public and private AS number or contains AS
numbers of an EBGP neighbor, the private AS numbers are not removed.
If a confederation contains private AS numbers in its AS-PATH, the software
removes the private AS numbers only if they follow the confederation numbers in
the AS path.
Private AS numbers are from 64512 to 65535 (2 byte).
neighbor route-map
Apply an established route map to either incoming or outbound routes of a BGP neighbor or peer group.
Syntax
neighbor {ip-address | peer-group-name} route-map map-name {in
| out}
384
Border Gateway Protocol IPv4 (BGPv4)