OSPF修改DRide
配置完ip 和ospf后,咱们用命令 show ip ospf neighbor /查看BR DBR
R1#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
2.2.2.2 1 FULL/BDR 00:00:36 192.168.1.2 Ethernet0/0
3.3.3.3 1 FULL/DR 00:00:30 192.168.1.3 Ethernet0/0
R1#
咱们看到r3是DR 如今咱们想把r1修改为DR
在r1上
R1(config)#int e0/0
R1(config-if)#ip os
R1(config-if)#ip ospf p
R1(config-if)#ip ospf priority 5
R1(config-if)#end
而后再每一个路由器上
r1#claer ip ospf process
r2#claer ip ospf process
r3#claer ip ospf process
同时敲上面的命令,记住,三台路由器必须同时敲上clear ip ospf process的命令