Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Huawei OSPF configuration

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/03 Report--

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

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report