Huawei S Series Quick Configuration page 44

Campus switches
Hide thumbs Also See for S Series:
Table of Contents

Advertisement

Configuring OSPF
Devices on the intranet use static routes. If a link fails, the administrator
needs to manually configure a new static route, interrupting network services
for a long time. Configuring a dynamic routing protocol prevents this problem.
If a link fails, the dynamic routing protocol switches traffic forwarded through
the faulty link to a normal link based on an algorithm. After the faulty link
recovers, the routing protocol switches traffic back to the link. OSPF
configuration is used in the example below.
1
Delete all static routes on CORE1 and CORE2.
[CORE1] undo ip route-static all
[CORE2] undo ip route-static all
On the egress router, delete the static route to the intranet and retain the static route to
2
the Internet.
[Router] undo ip route-static 192.168.10.0 24
[Router] undo ip route-static 192.168.20.0 24
3
Configure OSPF on CORE1.
[CORE1] ospf 100 router-id 2.2.2.2
[CORE1-ospf-100] area 0
[CORE1-ospf-100-area-0.0.0.0] network 172.16.1.0 0.0.0.255
[CORE1-ospf-100-area-0.0.0.0] network 172.16.3.0 0.0.0.255
[CORE1-ospf-100-area-0.0.0.0] network 192.168.10.0 0.0.0.255
[CORE1-ospf-100-area-0.0.0.0] network 192.168.20.0 0.0.0.255
[CORE1-ospf-100-area-0.0.0.0] quit
[CORE1-ospf-100] quit
4
Configure OSPF on CORE2.
[CORE2] ospf 100 router-id 3.3.3.3
[CORE2-ospf-100] area 0
[CORE2-ospf-100-area-0.0.0.0] network 172.16.2.0 0.0.0.255
[CORE2-ospf-100-area-0.0.0.0] network 172.16.3.0 0.0.0.255
[CORE2-ospf-100-area-0.0.0.0] network 192.168.10.0 0.0.0.255
[CORE2-ospf-100-area-0.0.0.0] network 192.168.20.0 0.0.0.255
[CORE2-ospf-100-area-0.0.0.0] quit
[CORE2-ospf-100] quit
41

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

S2750S5700

Table of Contents