标签:需求 ima 网络 eth 核心 mod 进程 通告 运行
OSPF简介 igp协议interface GigabitEthernet0/0/0
ip address 192.168.12.1 255.255.255.0
interface LoopBack0
ip address 1.1.1.1 255.255.255.255
R2
interface GigabitEthernet0/0/0
ip address 192.168.12.2 255.255.255.0
interface GigabitEthernet0/0/1
ip address 192.168.1.2 255.255.255.0
interface LoopBack0
ip address 2.2.2.2 255.255.255.255
R3
interface GigabitEthernet0/0/0
ip address 192.168.1.3 255.255.255.0
interface LoopBack0
ip address 3.3.3.3 255.255.255.255
R4
interface GigabitEthernet0/0/0
ip address 192.168.1.4 255.255.255.0
interface GigabitEthernet0/0/1
ip address 192.168.45.4 255.255.255.0
interface LoopBack0
ip address 4.4.4.4 255.255.255.255
R5
interface GigabitEthernet0/0/0
ip address 192.168.45.5 255.255.255.0
interface LoopBack0
ip address 5.5.5.5 255.255.255.255
ospf的实施+R2 R3 放弃DR选举
R1
ospf 10 router-id 1.1.1.1
area 0.0.0.1
interface GigabitEthernet0/0/0
ospf enable 10 area 0.0.0.1
interface LoopBack0
ospf enable 10 area 0.0.0.1
R2
ospf 10 router-id 2.2.2.2
area 0.0.0.1
area 0.0.0.0
interface GigabitEthernet0/0/0
ospf enable 10 area 0.0.0.1
interface GigabitEthernet0/0/1
ospf dr-priority 0 //优先级为0意为放弃争抢dr的选举
ospf enable 10 area 0.0.0.0
interface LoopBack0
ospf enable 10 area 0.0.0.0
R3
ospf 10 router-id 3.3.3.3
area 0.0.0.0
interface GigabitEthernet0/0/0
ospf enable 10 area 0.0.0.0
interface LoopBack0
ospf enable 10 area 0.0.0.0
R4
ospf 10 router-id 4.4.4.4
area 0.0.0.1
area 0.0.0.2
interface GigabitEthernet0/0/0
ospf dr-priority 0
ospf enable 10 area 0.0.0.0
interface GigabitEthernet0/0/1
ospf enable 10 area 0.0.0.2
interface LoopBack0
ospf enable 10 area 0.0.0.0
R5
ospf 10 router-id 5.。5.5.5
area 0.0.0.2
interface GigabitEthernet0/0/0
ospf enable 10 area 0.0.0.2
interface LoopBack0
ospf enable 10 area 0.0.0.2
ospf认证
R1
ospf 10 router-id 1.1.1.1
area 0.0.0.1
authentication-mode md5 1 plain huawei //plain 为回显可见明文
R2
ospf 10 router-id 2.2.2.2
area 0.0.0.1
authentication-mode md5 1 plain huawei
检查/R1ospf路由表
检查(R2#R3#R4)DR BDR选举情况
R2
R4
这里是指放弃选举 然后此广播域无BDR设备
标签:需求 ima 网络 eth 核心 mod 进程 通告 运行
原文地址:https://blog.51cto.com/14845166/2505944