remove-private
Syntax
Hierarchy Level
[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-name
neighboraddress],
[edit logical-routerslogical-router-nameprotocols bgp],[edit logical-routerslogical-router-nameprotocols bgpgroupgroup-name],[edit logical-routerslogical-router-nameprotocols bgp groupgroup-nameneighboraddress],
[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp
groupgroup-name],[edit logical-routerslogical-router-namerouting-instancesrouting-instance-nameprotocols bgp
groupgroup-nameneighboraddress]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). 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 64,512 through 65,534, inclusive.
Usage Guidelines
See Remove 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.