What is the value range of the AS number for BGP on S series switches

The value range of the BGP AS number varies according to the versions of S series switches.
1. V100R002 and earlier versions:
The value is an integer that ranges from 1 to 65535.
2. V100R003 to V200R001:
The value can contain either two bytes or four bytes.
A 2-byte AS number is in the x format. Here, "x" is an integer ranging from 1 to 65535.
A 4-byte AS number is in the x.y format. Here, "x" and "y" are integers ranging from 1 to 65535 and 0 to 65535 respectively.
3. V200R002 and later versions:
The value can contain either two bytes or four bytes.
A 2-byte AS number is in the x format. Here, "x" is an integer ranging from 1 to 4294967295.
A 4-byte AS number is in the x.y format. Here, "x" and "y" are integers ranging from 1 to 65535 and 0 to 65535 respectively.

Note:
You can type bgp ? in the system view in any version to display the specific value range. The following takes V200R007 as an example:
[SwitchA] bgp ?
INTEGER<1-4294967295> AS number in asplain format (number<1-4294967295>)
STRING<3-11> AS number in asdot format
(number<1-65535>.number<0-65535>)

Scroll to top