Get the App
SLTechnology News&Howtos  ›  Servers  › 

Huawei OSPF configuration

Shulou Source: shulou.com Published: 2022-06-03 07:58:56 12月06日 Update

Requirement: interworking of the whole network

[R1]

[R1] INT E0/0/0

[R1-Ethernet0/0/0] ip address 13.1.1.1 24

[R1-Ethernet0/0/0] int e0/0/1

[R1-Ethernet0/0/1] ip address 12.1.1.1 24

[R1-Ethernet0/0/1] q

[R1] ospf 1 router-id 1.1.1.1 (router-id for ospf)

[R1-ospf-1] area 0 (create area 0 for backbone area)

[R1-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255 (declare interfaces belonging to the area0 zone)

[R1-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255

[R2]

[R2] int e0/0/0

[R2-Ethernet0/0/0] ip address 24.1.1.2 24

[R2-Ethernet0/0/0] int e0/0/1

[R2-Ethernet0/0/1] ip address 12.1.1.2 24

[R2-Ethernet0/0/1] q

[R2] ospf 1 router-id 2.2.2.2

[R2-ospf-1] area 0

[R2-ospf-1-area-0.0.0.0] network 12.1.1.0 0.0.0.255

[R2-ospf-1-area-0.0.0.0] network 24.1.1.0 0.0.0.255

[R3]

[R3] int e0/0/0

[R3-Ethernet0/0/0] ip address 13.1.1.3 24

[R3-Ethernet0/0/0] int e0/0/1

[R3-Ethernet0/0/1] ip address 34.4.4.3 24

[R3-Ethernet0/0/1] q

[R3] ospf 1 router-id 3.3.3.3

[R3-ospf-1] area 0

[R3-ospf-1-area-0.0.0.0] network 13.1.1.0 0.0.0.255

[R3-ospf-1-area-0.0.0.0] network 34.1.1.0 0.0.0.255

[R4]

[R4] int e0/0/0

[R4-Ethernet0/0/0] ip address 34.1.1.4 24

[R4-Ethernet0/0/0] int e0/0/1

[R4-Ethernet0/0/1] ip address 24.1.1.4 24

[R4-Ethernet0/0/1] q

[R4] ospf 1 router-id 4.4.4.4

[R4-ospf-1] area 0

[R4-ospf-1-area-0.0.0.0] network 34.1.1.0 0.0.0.255

[R4-ospf-1-area-0.0.0.0] network 24.1.1.0 0.0.0.255

Tags: Region whole network interface backbone Huawei configuration Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno OPPO Reno MySQL Redmi Huawei Xiaomi