Administrator Guide

Usage Information
If the number parameter is the same as the AS number used in the router bgp command, the remote AS entry
in the neighbor is considered an internal BGP peer entry.
This command creates a peer and the newly created peer is disabled (shutdown).
Related
Commands
router bgp – Enter ROUTER BGP mode and configure routes in an AS.
neighbor remove-private-as
Remove private AS numbers from the AS-PATH of outgoing updates.
C9000 Series
Syntax
neighbor {ipv6-address | peer-group-name} remove-private-as
To return to the default, use the no neighbor {ipv6-address | peer-group-name} remove-
private-as command.
Parameters
ipv6-address
Enter the IPv6 address in the x:x:x:x::x format.
NOTE: The :: notation specifies successive hexadecimal fields of zeros.
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 BGPV6-ADDRESS FAMILY
Command History
Version Description
9.9(0.0) Introduced on the C9010.
9.2(1.0) Introduced on the Z9500.
8.2.1.0 Introduced on the E-Series ExaScale.
7.4.1.0 Introduced
Usage Information
Applies to EBGP neighbors only.
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.
neighbor route-map
Apply an established route map to either incoming or outbound routes of a BGP neighbor or peer group.
C9000 Series
Syntax
neighbor {ipv6-address | peer-group-name} route-map map-name {in | out}
To remove the route map, use the no neighbor {ipv6-address | peer-group-name} route-map
map-name {in | out} command.
Parameters
ipv6-address
Enter the IPv6 address in the x:x:x:x::x format.
NOTE: The :: notation specifies successive hexadecimal fields of zeros.
peer-group-name
Enter the name of the peer group.
448 Border Gateway Protocol