Get the App
SLTechnology News&Howtos  ›  Network Security  › 

OSPF configuration

Shulou Source: shulou.com Published: 2022-06-01 06:45:36 10月03日 Update

OSPF interworking

AR1 configuration

[Huawei] interface GigabitEthernet0/0/1 enters interface g0OnOnOnOn1

[Huawei-GigabitEthernet0/0/1] ip address 192.168.12.1 24 configure IP address

[Huawei-GigabitEthernet0/0/1] quit exit API

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 12 create area 12

[Huawei-ospf-1-area-0.0.0.12] network 192.168.12.0 0.0.255 declare a 192.168.12.0 network segment

AR2 configuration

[Huawei] interface GigabitEthernet0/0/0 enters the interface g0ram 0ap0

[Huawei-GigabitEthernet0/0/0] ip address 192.168.12.2 24 configure IP address

[Huawei] interface GigabitEthernet0/0/1 enters interface g0OnOnOnOn1

[Huawei-GigabitEthernet0/0/1] ip address 192.168.23.1 24 configure IP address

Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 12 create area 12

[Huawei-ospf-1-area-0.0.0.12] network 192.168.12.0 0.0.255 declare a 192.168.12.0 network segment

Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1-area-0.0.0.0] networ 0 create area 0

[Huawei-ospf-1-area-0.0.0.0] network 192.168.23.0 0.0.0.255 announces the 192.168.23.0 network segment

AR3 configuration

[Huawei] interface GigabitEthernet0/0/0 enters the interface g0ram 0ap0

[Huawei-GigabitEthernet0/0/0] ip address 192.168.23.2 24 configure IP address

[Huawei] interface GigabitEthernet0/0/1 enters interface g0OnOnOnOn1

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 0 create area 0

[Huawei-ospf-1-area-0.0.0.0] network 192.168.23.0 0.0.0.255 announces the 192.168.23.0 network segment

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 0 create area 0

[Huawei-ospf-1-area-0.0.0.0] network 192.168.34.0 0.0.255 255 announces the 192.168.34.0 network segment

AR4 configuration

[Huawei] interface GigabitEthernet0/0/0 enters the interface g0ram 0ap0

[Huawei-GigabitEthernet0/0/0] ip address 192.168.34.2 24 configure IP address

[Huawei] interface GigabitEthernet0/0/1 enters interface g0OnOnOnOn1

Huawei-GigabitEthernet0/0/1] ip address 192.168.45.1 24 configure IP address

[Huawei] osp

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 0 create 0 zone

[Huawei-ospf-1-area-0.0.0.0] network 192.168.34.0 0.0.0.255 announces the 192.168.34.0 network segment

[Huawei] osp

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 45 creates 45 zones

[Huawei-ospf-1-area-0.0.0.45] network 192.168.45.0 0.0.0.255 announces the 192.168.45.0 network segment

AR5

[Huawei] interface GigabitEthernet0/0/0 enters the interface g0ram 0ap0

[Huawei-GigabitEthernet0/0/0] ip address 192.168.45.2 24 IP address

[Huawei] ospf 1 create OSPF 1

[Huawei-ospf-1] area 45 creates 45 zones

[Huawei-ospf-1-area-0.0.0.45] network 192.168.45.0 0.0.0.255 announces the 192.168.45.0 network segment

Tags: Configuration interface area network segment address Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Apple MariaDB Huawei Microsoft OPPO Reno