AR3:
[Huawei]interface g 0/0/1
[Huawei-GigabitEthernet0/0/1]ospf authentication-mode md5 1 cipher Admin@huawei.com
AR4:
[Huawei]interface g 0/0/0
[Huawei-GigabitEthernet0/0/0]ospf authentication-mode md5 1 cipher Admin@huawei.com
5.优先级
1.查看邻居表:
[Huawei]display ospf peer
2.修改AR2优先级为10:
AR2:
[Huawei]interface g 0/0/0
[Huawei-GigabitEthernet0/0/0]ospf dr-priority 10
<Huawei>reset ospf process
<Huawei>reset ospf process
AR1:
<Huawei>reset ospf process
AR3:
<Huawei>reset ospf process
3.查看邻接表:
[Huawei]display ospf peer
6.全网可达
以AR1为例:
[Huawei]ping -a 192.168.1.193 192.168.1.209
PING 192.168.1.209: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.209: bytes=56 Sequence=1 ttl=255 time=50 ms
Reply from 192.168.1.209: bytes=56 Sequence=2 ttl=255 time=50 ms
[Huawei]ping -a 192.168.1.193 192.168.1.130
PING 192.168.1.130: 56 data bytes, press CTRL_C to break
Reply from 192.168.1.130: bytes=56 Sequence=1 ttl=253 time=50 ms
Reply from 192.168.1.130: bytes=56 Sequence=2 ttl=253 time=40 ms