Understanding a 4-Byte Capable Router AS Path Through a 2-Byte Capable Domain

This section describes what happens when a router that supports 4-byte AS numbers sends the AS path statement to a router that only supports 2-byte AS numbers if the first router is configured with an AS number outside the 2-byte AS number range.

In Figure 3 Router 1 supports 4-byte AS numbers. Router 1 is configured to use a 4-byte AS number, AS 1000000000. Router 2 supports 2-byte AS numbers. Router 2 is configured with a 2-byte AS number, AS 65056.

Figure 3: 4-Byte Capable Router AS Path to a 2-Byte Capable Router

Image g040516.gif

Figure 4 shows four routers running EBGP. Router 1, Router 2, and Router 4 support 4-byte AS numbers. Router 3 does not support 4-byte AS numbers.

Figure 4: EBGP 4-Byte AS Path Through a 2-Byte AS Domain

Image g040519.gif

In this case:

You can display the AS path using the show route command on Router 3. In the following example, notice that the AS number 23456 appears in the AS path and that the AS4_PATH attribute is Unrecognized. Because the AS4_PATH attribute is a transitive attribute, it is forwarded to the next router.


user@Router3# show route 1.2.3.4 detail
AS path: 65000 23456 I Unrecognized Attributes: 13 bytes

You can display the route details using the show route command on Router 4. In the following example, notice that as the AS path transitions Router 3, as shown in the AS2 (2-byte AS) path, the AS number is displayed as AS_TRANS. This means that Router 3 sees the AS number as 23456. In the AS4 (4-byte AS) path the AS number is displayed as 1000000000. In the merged AS path the correct AS path numbers are displayed for AS 65056, AS 65000, and AS 1000000000.


user@Router3# show route 1.2.3.4 detail
...
AS path: AS2 PA[3]:65056 65000 AS_TRANS

AS path: AS4 PA[2]:65056 1000000000

AS path: Merged[3]:65056 65000 1000000000 I

Figure 5 shows 4 routers running IBGP. Router 1, Router 2, and Router 4 support 4-byte AS numbers. Router 3 does not support 4-byte AS numbers.

Figure 5: IBGP 4-Byte AS Path Through a 2-Byte AS Domain

Image g040518.gif

In this case:

You can display the route details using the show route command on Router 2. In the following example, notice that the AS path is displayed as 1000000000.


user@Router3# show route 1.2.3.4 detail
...
AS path: 1000000000

You can display the route details using the show route command on Router 3. In the following example, notice that the AS path is displayed as 65000 23456.


user@Router3# show route 1.2.3.4 detail
...
AS path: 65000 23456 I

You can display the route details using the show route command on Router 4. In the following example, notice that the merged AS path is displayed as 65000 1000000000.


user@Router3# show route 1.2.3.4 detail
...
AS path: 65000 1000000000 I

Related Topics