1.R3查看OSPF路由信息
[R3]display ip routing-table protocol ospf
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 O_ASE 150 1 D 34.1.1.4 GigabitEthernet0/0/0
1.1.1.1/32 OSPF 10 2 D 23.1.1.2 GigabitEthernet0/0/1
2.2.2.2/32 OSPF 10 1 D 23.1.1.2 GigabitEthernet0/0/1
4.4.4.4/32 OSPF 10 1 D 34.1.1.4 GigabitEthernet0/0/0
12.0.0.0/8 OSPF 10 2 D 23.1.1.2 GigabitEthernet0/0/1
44.1.0.0/22 O_ASE 150 2 D 34.1.1.4 GigabitEthernet0/0/0
2.R3、R4的area2配置为NSSA区域
[R3]ospf 1
[R3-ospf-1]area 2
[R3-ospf-1-area-0.0.0.2]nssa
[R4]ospf 1
[R4-ospf-1]area 2
[R4-ospf-1-area-0.0.0.2]nssa
3.R4查看OSPF路由信息
[R4-ospf-1-area-0.0.0.2]display ip routing-table protocol ospf
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 O_NSSA 150 1 D 34.1.1.3 GigabitEthernet0/0/0
1.1.1.1/32 OSPF 10 3 D 34.1.1.3 GigabitEthernet0/0/0
2.2.2.2/32 OSPF 10 2 D 34.1.1.3 GigabitEthernet0/0/0
3.1.0.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.1.2.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.1.3.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.3.3.3/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
12.0.0.0/8 OSPF 10 3 D 34.1.1.3 GigabitEthernet0/0/0
23.0.0.0/8 OSPF 10 2 D 34.1.1.3 GigabitEthernet0/0/0
4.ABR(R3)配置为完全次末节区域
[R3]ospf 1
[R3-ospf-1]area 2
[R3-ospf-1-area-0.0.0.2]nssa no-summary
5.R4查看OSPF路由信息,没有了区域间路由
[R4]display ip routing-table protocol ospf
Destination/Mask Proto Pre Cost Flags NextHop Interface
0.0.0.0/0 OSPF 10 2 D 34.1.1.3 GigabitEthernet0/0/0
3.1.0.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.1.2.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.1.3.1/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
3.3.3.3/32 OSPF 10 1 D 34.1.1.3 GigabitEthernet0/0/0
© 版权声明
文章版权归作者所有,未经允许请勿转载。
THE END
请登录后查看评论内容