Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Users can set the Autonomous System (AS) number for this domain.


Command Syntax
set protocols bgp [vrf <vrf-name>] local-as <AS-NUMBER>
delete protocols bgp [vrf <vrf-name> local-as <AS-NUMBER>


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

local-as <AS-NUMBER>

Specifies a 4-byte AS number in asplain format (z),

or asdot format (x.y),

where z is a number from 1 to


4294967295

and x and y are 16-bit numbers

.


Example
• This example sets AS number as 5:

Code Block
admin@XorPlus# set protocols bgp local-as 5
admin@XorPlus# commit

...