Reference Guide

neighbor allowas-in
Set the number of times an AS number can occur in the AS path.
C9000 Series
Syntax
neighbor {ip-address | peer-group-name} allowas-in number
To return to the default value, use the no neighbor {ip-address | peer-
group-name} allowas-in 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 set the advertisement
interval for all routers in the peer group.
number Enter a number of times to allow this neighbor ID to use the
AS path. The range is 1 to 10.
Defaults Not configured.
Command Modes ROUTER BGP
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
Related
Commands
bgp four-octet-as-support – enables 4-Byte support for the BGP process.
neighbor default-originate
Inject the default route to a BGP peer or neighbor.
C9000 Series
Syntax
neighbor {ipv6-address | peer-group-name} default-originate
[route-map map-name]
To remove a default route, use the no neighbor {ipv6-address | peer-
group-name} default-originate [route-map map-name] command.
Parameters
ipv6-address Enter the IPv6 address in the x:x:x:x::x format.
564
Border Gateway Protocol