CloudService 发表于 2022-4-27 12:56:24

华为OSPF配置

要求:全网互通

INT E0/0/0
ip address 13.1.1.1 24
int e0/0/1
ip address 12.1.1.1 24
q
ospf 1 router-id 1.1.1.1(ospf的router-id)
area 0(为骨干区域,创建area 0)
network 13.1.1.0 0.0.0.255(宣告属于area0区域的接口)
network 12.1.1.0 0.0.0.255


int e0/0/0
ip address 24.1.1.2 24
int e0/0/1
ip address 12.1.1.2 24
q
ospf 1 router-id 2.2.2.2
area 0
network 12.1.1.0 0.0.0.255
network 24.1.1.0 0.0.0.255


int e0/0/0
ip address 13.1.1.3 24
int e0/0/1
ip address 34.4.4.3 24
q
ospf 1 router-id 3.3.3.3
area 0
network 13.1.1.0 0.0.0.255
network 34.1.1.0 0.0.0.255


int e0/0/0
ip address 34.1.1.4 24
int e0/0/1
ip address 24.1.1.4 24
q
ospf 1 router-id 4.4.4.4
area 0
network 34.1.1.0 0.0.0.255
network 24.1.1.0 0.0.0.255
页: [1]
查看完整版本: 华为OSPF配置