末节、完全末节区域

实验环境
末节、完全末节区域


实验环境的搭建
R1
conf t
int s1/0
ip add 172.16.1.1 255.255.255.252
no sh
int f0/0
ip add 192.168.1.1 255.255.255.0
no sh
int lo0
ip add 192.168.64.1 255.255.255.252
int lo1
ip add 192.168.80.1 255.255.255.252
int lo2
ip add 192.168.96.1 255.255.255.252
int lo3
ip add 192.168.112.1 255.255.255.252
exi
router ospf 1
net 192.168.64.0 0.0.0.3 a 1
net 192.168.80.0 0.0.0.3 a 1
net 192.168.96.0 0.0.0.3 a 1
net 192.168.112.0 0.0.0.3 a 1
net 192.168.1.0 0.0.0.255 a 0
exi
router rip
ve 2
no au
net 172.16.0.0



R2
conf t
int f0/0
no sh
ip add 192.168.1.2 255.255.255.0
int s1/0
no sh
ip add 192.168.224.1 255.255.255.252
exi
router ospf 1
net 192.168.1.0 0.0.0.255 a 0
net 192.168.224.0 0.0.0.3 a 2


R3
conf t
int s1/0
ip add 192.168.224.2 255.255.255.252
no sh
int f0/0
ip add 192.168.240.1 255.255.255.0
no sh
exi
router ospf 1
net 192.168.224.0 0.0.0.3 a 2
net 192.168.240.0 0.0.0.255 a 2

R4
conf t
int s1/0
ip add 172.16.1.2 255.255.255.252
no sh
int lo0
ip add 172.16.64.1 255.255.255.252
int lo1
ip add 172.16.80.1 255.255.255.252
int lo2
ip add 172.16.96.1 255.255.255.252
int lo3
ip add 172.16.112.1 255.255.255.252
exi
router rip
ve 2
no au
net 172.16.0.0
exi
ip route 0.0.0.0 0.0.0.0 s1/0

在R3上看路由

末节、完全末节区域



首先做末节区域
我们只要在要定义的末节区域的每个路由器上在路由配置模式下都输入
area 区域号 stub命令

R2
router ospf 1
area 2 stub

R3
router ospf 1
area 2 stub
再看路由
末节、完全末节区域


完全末节区域
完全末节区域是思科特有的功能,他可以阻止3,4,5类的LSA通告到区域
完全末节区域,我们在区域内的除了ABR路由器的每个路由器配置好
area 区域号 stub 然后再在ABR路由器上配置 area 区域号 stub no-summary



R2
router ospf 1
area 2 stub no-summary

R3
router ospf 1
area 2 stub

路由就好简单的

末节、完全末节区域



posted on 2011-11-28 19:49  侯志清  阅读(431)  评论(0编辑  收藏  举报

导航