bgp as-local-count
Use this command to set the number of times the local-AS (Autonomous System) is to be prepended.
Use the no parameter with this command to stop prepending the local AS count.
Command Syntax
bgp as-local-count <2-64>
no bgp as-local-count <2-64>
Parameter
<2-64>
The number of times the local-AS is to be prepended
Default
By default, bgp as local count is disabled
Command Mode
Router mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 100
(config-router)#bgp as-local-count 55
(config)#router bgp 100
(config-router)#no bgp as-local-count 55
Last modified date: 10/16/2023