Command Line Reference Guide

Border Gateway Protocol IPv4(BGPv4) | 305
neighbor remove-private-as
c e s
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
Defaults
Disabled (that is, private AS number are not removed).
Command Modes
ROUTER BGP
Usage
Information
Applies to EBGP neighbors only.
You must 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 64512 to 65535 (2-Byte).
Command
History
neighbor route-map
c e s
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}
To remove the route map, use the no neighbor {ip-address | peer-group-name} route-map
map-name {in | out} command.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
Added 4-Byte support.
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
Version 8.3.5.0 Introduced on the S55.
Version 7.8.1.0 Introduced support on S-Series
Version 7.7.1.0 Introduced support on C-Series
Added 4-Byte support.