OSPFv3各链路状态通告类型
4.Inter-Area-Router-LSA区域间路由器(4类LSA)
边界路由器(ABR)产生的第4类LSA,在Area 范围内泛洪,描述了到本AS内其他区域的ASBR路由器信息;
每各Inter-Area-Router-LSA包含一个ASBR路由器信息,LSA中的能力选项(Options)与所描述的ASBR Router LSA中能力选项(Options)保持一致,OSPFv3的4类LSA使用32位整数作为Link State ID来区分相同的LSA。
Option: 该字段描述的不是源路由器的能力,而是目的路由器所支持的能力,所以此字段值应该等于目的路由器的Router-LSA的Options字段值。
Metric: 指路由器的Cost值。
Destination Router ID: 所描述的目的路由器的Router ID。
LS Type: LS类型值为0x2004,泛洪范围:区域泛洪。
4类LSA实验现象
根据以下拓扑图验证4类LSA的产生及应用。
1.IPv6地址配置
<Huawei>system-view
[Huawei]sysname AR1
[AR1]ipv6
[AR1]interface GigabitEthernet 0/0/0
[AR1-GigabitEthernet0/0/0]ipv6 enable
[AR1-GigabitEthernet0/0/0]ipv6 address 2001:1:12::1 64
[AR1-GigabitEthernet0/0/0]quit
[AR1]
<Huawei>system-view
[Huawei]sysname AR2
[AR2]ipv6
[AR2]interface GigabitEthernet 0/0/0
[AR2-GigabitEthernet0/0/0]ipv6 enable
[AR2-GigabitEthernet0/0/0]ipv6 address 2001:1:12::2 64
[AR2-GigabitEthernet0/0/0]quit
[AR2]interface GigabitEthernet 0/0/1
[AR2-GigabitEthernet0/0/1]ipv6 enable
[AR2-GigabitEthernet0/0/1]ipv6 address 2001:1:23::2 64
[AR2-GigabitEthernet0/0/1]quit
[AR2]
<Huawei>system-view
[Huawei]sysname AR3
[AR3]ipv6
[AR3]interface GigabitEthernet 0/0/0
[AR3-GigabitEthernet0/0/0]ipv6 enable
[AR3-GigabitEthernet0/0/0]ipv6 address 2001:1:23::3 64
[AR3-GigabitEthernet0/0/0]quit
[AR3]interface GigabitEthernet 0/0/1
[AR3-GigabitEthernet0/0/1]ipv6 enable
[AR3-GigabitEthernet0/0/1]ipv6 address 2001:1:34::3 64
[AR3-GigabitEthernet0/0/1]quit
[AR3]
<Huawei>system-view
[Huawei]sysname AR4
[AR4]ipv6
[AR4]interface GigabitEthernet 0/0/1
[AR4-GigabitEthernet0/0/1]ipv6 enable
[AR4-GigabitEthernet0/0/1]ipv6 address 2001:1:34::4 64
[AR4-GigabitEthernet0/0/1]quit
[AR4]interface GigabitEthernet 0/0/2
[AR4-GigabitEthernet0/0/2]ipv6 enable
[AR4-GigabitEthernet0/0/2]ipv6 address 2001:1:45::4 64
[AR4-GigabitEthernet0/0/2]quit
[AR4]
<Huawei>system-view
[Huawei]sysname AR5
[AR5]ipv6
[AR5]interface GigabitEthernet 0/0/2