Created on
07-29-2010
03:17 AM
Edited on
12-14-2023
05:10 AM
By
Anthony_E
Description
Solution
- What's new in FortiOS 4.0MR2
- Dynamic Routing (FortiOS 5.2)
The impact this will have on the 'old' BGP speaker is that this 'old' BGP speaker believes it is peering with Autonomous System ‘23456’ (a two-byte AS) instead of the real 4-octet AS.
These new 4-byte AS numbers (ranging from 65536 to 4294967295) can be written in three ways:
- Asplain:
All ASNs are written in decimal
Example:655900, 213141, 429496, 429496729, 429496729 - Asdot:
ASN less than 65536 are represented by Asdot using the asplain notation
Example: 200, 3000, 35986, 65412 - Asdot+:
ASN above 65536 is represented by Asdot+
<high order 16-bit value in decimal>.<low order 16-bit value in decimal>.
The ASN from 1 to 65535 can be written as follows 0.200, 0.3000, 0.35986, 0.65412, 0.65535
The ASN above 65536 can written as below:
Formula to calculate Asdot+:
high order bit value = asplain / 65536
low order bit value = asplain - (high order bit value * 65536)
Asdot+ = high order 16-bit value in decimal>.<low order 16-bit value in decimal
Example: converting Asplain 429496729 to Asdot+
high order bit value = 429496729 / 65536 = 6553
low order bit value = 429496729 - ( 6553 * 65536) = 39321
Asdot+ = 6553.39321
Some online tools are available for converting Asplain to Asdot+.
The Asdot and Asdot+ supports in FOS 7.2.1 and above
More information in the RFC
https://datatracker.ietf.org/doc/html/rfc5396
RFC 5396: Textual Representation of Autonomous System (AS) Numbers
A textual representation for Autonomous System (AS) numbers is defined as the decimal value of the AS number.
This textual representation is to be used by all documents, systems, and user interfaces.