Syntax
remove-private;Hierarchy Level
[edit logical-routerslogical-router-nameprotocols bgp],[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-name],[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-nameneighboraddress],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp groupgroup-nameneighboraddress],[edit protocols bgp],[edit protocols bgpgroupgroup-name],[edit protocols bgp groupgroup-nameneighboraddress], [edit routing-instancesrouting-instance-nameprotocols bgp],[edit routing-instancesrouting-instance-nameprotocols bgpgroupgroup-name],[edit routing-instancesrouting-instance-nameprotocols bgp groupgroup-nameneighboraddress]Release Information
Statement introduced before JUNOS Release 7.4.Description
When advertising AS paths to remote systems, have the local system strip private AS numbers from the AS path. The numbers are stripped from the AS path starting at the left end of the AS path (the end where AS paths have been most recently added). The router stops searching for private ASs when it finds the first non-private AS. This operation takes place after any confederation member ASs have already been removed from the AS path, if applicable.
The software recognizes the set of AS numbers that is considered private, a range that is defined in the Internet Assigned Numbers Authority (IANA) assigned numbers document.
The set of reserved AS numbers is in the range from 64,512 through 65,535.
Usage Guidelines
See Removing Private AS Numbers from AS Paths.
Required Privilege Level
routing—To view this statement in the configuration.
routing-control—To add this statement to the configuration.