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的命令