实验:OSPF高级配置(三)绝对末节区域

本篇只介绍绝对末节区域的配置,及实验结果显示。如需查看之前配置,可参看本专题前两篇文章( 一)、( 二)。
拓扑图:
将区域1配置为绝对末节区域,要R2、R3、R4均设置为末节路由器,并且R2不能转发汇总信息到区域1内(只通告给R3、R4默认路由)。
 
路由器配置:
R2:
R2(config)#router ospf 1
R2(config-router)#area 1 stub no-summary
 
R3:
R3(config)#router ospf 1
R3(config-router)#area 1 stub
 
R4:
R4(config)#router ospf 1
R4(config-router)#area 1 stub
 
查看末节区域内的路由表:
R3#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.17.1 to network 0.0.0.0
C    192.168.30.0/24 is directly connected, FastEthernet1/0
C    192.168.17.0/24 is directly connected, FastEthernet0/0
O*IA 0.0.0.0/0 [110/2] via 192.168.17.1, 00:06:56, FastEthernet0/0
 
R4#sh ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route
Gateway of last resort is 192.168.30.1 to network 0.0.0.0
C    192.168.30.0/24 is directly connected, FastEthernet0/0
O    192.168.17.0/24 [110/2] via 192.168.30.1, 00:07:13, FastEthernet0/0
O*IA 0.0.0.0/0 [110/3] via 192.168.30.1, 00:07:13, FastEthernet0/0
 
 

你可能感兴趣的:(职场,stub,休闲,ospf,绝对末节区域)