set protocols bgp local-as
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), where z is a number from 1 to 4294967295. |
Example
• This example sets AS number as 5:
admin@XorPlus# set protocols bgp local-as 5 admin@XorPlus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.