SPF单区域修改
cost开销
集团标准化工作小组 #Q8QGGQT-GX8G08Q8-GNQGJ8-MHHGN#
O
OSPF单区域,在没有修改链路开销其路由线路是:
下面的两台路由器模拟PC: 4台路由器的配置模板: DR: conf t int e0/0 no shut int e0/1 no shut exit int e0/2 no shut
int loopback 0 (router ID) no shut exit
router ospf 10 exit exit write
BDR:备份指定路由器 conf t int e0/1 no shut int e0/2 ip add 10. no shut int e0/3 no shut exit
int loopback 0 (router ID) no shut exit
router ospf 10 exit exit write
第三台: conf t int e0/0 no shut int e0/2 no shut int e0/1 no shut exit
int loopback 0
(router ID) no shut exit
router ospf 10
pass e0/1(用户端口排除掉) exit exit write
第四台路由器: conf t int e0/0 no shut int e0/2 no shut int e0/3 no shut exit
int loopback 0 (router ID ) no shut exit
router ospf 10 pass e0/3 exit exit write 模拟PC2: conf t
no ip routing
int e0/3 no shut 模拟PC1: conf t
no ip routing int e0/0 ip add no shut
配置好之后,PC1到PC2走如图所示路线: DR 数据链路库的情况:show ip ospf neighbor Show ip ospf Show ip route 修改 int e0/0 Ip ospf cost 1000 之后 走的路线是: