OcNOS-RON-6.3.1 : Layer 3 Guide : Border Gateway Protocol Command Reference : BGP Commands : neighbor optional-as
neighbor optional-as
Use this command to specify an AS (autonomous system) number to use with BGP dynamic peer-group.
Use the no parameter with this command to disable this function.
Command Syntax
neighbor WORD optional-as <1-4294967295>
no neighbor WORD optional-as <1-4294967295>
Parameters
WORD
Name of a BGP peer group created with the neighbor WORD peer-group command. When you specify this parameter, the command applies to all peers in the group.
<1-4294967295>
The range from which the optional AS number must be configured.
 
Default
By default, neighbor optional as is disabled
Command Mode
Router mode and Address Family VRF mode
Applicability
This command was introduced before OcNOS version 1.3.
Examples
#configure terminal
(config)#router bgp 12
(config-router)#neighbor group1 optional-as 400
Last modified date: 07-13-2023