基本概念了解:
网络设备接口速率、
Ethernet 100MB
GE 1000MB
serial接口 1.544MB
area 0 骨干区域(backbone) area 0=area0.0.0.0
不是area 0 非骨干区域 ar area 256==area 0.0.1.0
实验拓扑如下:要求PC1能够访问PC2 (跨区域通信)
步骤:
步骤一:.完成基本配置(敲白板)
AR1
sys
sys AR1
undo in e
int g0/0/1
ip add 192.168.1.1 24
int g0/0/0
ip add 172.16.12.2 24
AR2
sys
sys AR2
undo in e
int g0/0/1
ip add 172.16.13.2 24
int g0/0/0
ip add 172.16.12.1 24
AR3
sys
sys AR3
undo in e
int g0/0/1
ip add 172.16.13.1 24
int g0/0/0
ip add 172.16.34.2 24
AR4
sys
sys AR4
undo in e
int g0/0/1
ip add 172.16.45.1 24
int g0/0/0
ip add 172.16.34.1 24
AR5
sys
sys AR5
undo in e
int g0/0/1
ip add 172.16.45.2 24
int g0/0/0
ip add 192.168.2.1 24
步骤二:配置不同区域的路由
配置红区area 0
红区area 0配置
AR1
sys
ospf 1
area 0
net 192.168.1.0 0.0.0.255
net 172.16.12.0 0.0.0.255
AR2
sys
ospf 1
area 0
net 172.16.12.0 0.0.0.255
net 172.16.13.0 0.0.0.255
AR3 (边界路由器)
sys
ospf 1
area 0
net 172.16.13.0 0.0.0.255
q
q
ospf 1
area 256
net 172.16.34.0 0.0.0.255
配置非骨干区域黄区area 256
AR4
sys
ospf 1
area 256
net 172.16.34.0 0.0.0.255
net 172.16.45.0 0.0.0.255
AR5
sys
ospf 1
area 256
net 192.168.2.0 0.0.0.255
net 172.16.45.0 0.0.0.255
步骤三:查看路由表
步骤四,清理设备配置
reset saved-configuration 清理配置
reboo 重置AR路由器