4 Byte ASN With Cisco IOS Software
4 Byte ASN With Cisco IOS Software
4 Byte ASN With Cisco IOS Software
11001000
0000 0000 0000 0000 0000 0000 1100 1000
32 bits
00000000 11001000
16 bits
16 bits
0000 0000 0000 0000 1100 0011 0101 0000
11000011 01010000
32 bits
Presentation_ID © 2006 Cisco Systems, Inc. All rights reserved. 8
Backward Compatibility
Mappable AS Numbers
NEW BGP Speaker – AS: 0.123 OLD BGP Speaker – AS: 100
200.1.1.0/24 200.1.1.0/24
4-byte AS Path 2-byte AS Path
Peers with
AS_PATH: 0.200, 0.2222, 0.300 AS_PATH: 123, 200, 2222, 300
Normal AS Path
Pre-pending
NEW BGP Speaker – AS: 123.200 OLD BGP Speaker – AS: 100
100.1.1.0/24 100.1.1.0/24
4-byte AS Path
Peers with 2-byte AS Path
Normal AS Path
Pre-pending
NEW BGP Speaker – AS: 123.200 OLD BGP Speaker – AS: 100
100.1.1.0/24 100.1.1.0/24
4-byte AS Path
Peers with 2-byte AS Path
AS_PATH: {700,100.1}
10.0.0.0/8
AS 700
AS 100.2
AS_PATH: {900,800,100.2,700,100.1}
Merge AS-PATH
AS_PATH: {800,23456,700,23456}
AS4_PATH: {100.2,700,100.1} AS_PATH: {900,800,23456,700,23456}
AS4_PATH: {700,100.1}
10.1.1.0/24 10.1.1.0/24
AS_PATH: {23456,[23456,200]} AS_PATH: {100.3,[100.1,200,100.2]}
AS4_PATH: {100.3,[100.1,200,100.2]} AGGREGATOR: 100.3 1.1.1.1
AGGREGATOR: 23456 1.1.1.1
AS4_AGGREGATOR: 100.3 1.1.1.1 AS 100.3
AS 300 AS 400
192.1/8
Rid=2.2.2.2
MED 200 192.1/8
AS 65002
bgp deterministic‐med Enabled
no bgp always‐compare‐med
AS 65001
192.1/8
Entry 1: AS 65002, MED 200, RID=2.2.2.2
Entry 2: AS 65003, MED 100, RID=3.3.3.3
AS 65004
Rid=3.3.3.3
192.1/8
Rid=2.2.2.2
MED 200 192.1/8
AS 1.2
bgp deterministic‐med Enabled
no bgp always‐compare‐med
OLD
AS 65001
192.1/8 Best BGP Path
Entry 1: AS 23456, MED 100, RID=3.3.3.3 AS 65004
Entry 2: AS 23456, MED 200, RID=2.2.2.2
Rid=3.3.3.3
192.1/8
Rid=2.2.2.2
MED 200 192.1/8
Rid=3.3.3.3
Value