Configures the number of times the local AS number can appear in the BGP AS_PATH path attribute before the switch rejects the route.
Syntax
allowas-in
as-number
Parameters
as-number—Enter the number of occurrences for a local AS number, from 1 to 10.
Default
Disabled
Command Mode
ROUTER-BPG-NEIGHBOR-AF
Usage Information
Use this command to enable the BGP speaker to accept a route with the local AS number in updates received from a peer for the specified number of times. The
no version of this command resets the value to the default.