Configuring Ospf Route Redistribution - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

Network
10.2.1.1
Sum-Net
10.5.1.0
Sum-Net
10.3.1.0
Sum-Net
10.1.1.0
Sum-Asbr
10.3.1.1
# Display OSPF routing information on Switch D.
[SwitchD] display ospf routing
OSPF Process 1 with Router ID 10.5.1.1
Routing for Network
Destination
10.2.1.0/24
10.3.1.0/24
10.4.1.0/24
10.5.1.0/24
10.1.1.0/24
Total Nets: 5
Intra Area: 2
# On Switch D, ping the IP address 10.4.1.1 to check connectivity.
[SwitchD] ping 10.4.1.1
PING 10.4.1.1: 56
Request time out
Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=253 time=2 ms
Reply from 10.4.1.1: bytes=56 Sequence=3 ttl=253 time=1 ms
Reply from 10.4.1.1: bytes=56 Sequence=4 ttl=253 time=1 ms
Reply from 10.4.1.1: bytes=56 Sequence=5 ttl=253 time=1 ms
--- 10.4.1.1 ping statistics ---
5 packet(s) transmitted
5 packet(s) received
0.00% packet loss
round-trip min/avg/max = 1/1/2 ms

Configuring OSPF Route Redistribution

Network requirements
As shown in the following figure:
All the switches run OSPF, and the AS is divided into three areas.
Switch A and Switch B act as ABRs to forward routes between areas.
Switch C is configured as an ASBR to redistribute external routes (static routes). Routing
information is propagated properly in the AS.
10.2.1.1
10.2.1.1
10.2.1.1
10.2.1.1
10.2.1.1
Routing Tables
Cost
Type
22
Inter
10
Transit 10.3.1.2
25
Inter
10
Stub
12
Inter
Inter Area: 3
ASE: 0
data bytes, press CTRL_C to break
769
32
80000010
769
28
80000003
1069
28
8000000F
1069
28
8000000F
1069
28
8000000F
NextHop
AdvRouter
10.3.1.1
10.3.1.1
10.3.1.1
10.3.1.1
10.3.1.1
10.5.1.1
10.5.1.1
10.3.1.1
10.3.1.1
NSSA: 0
1-49
0
14
4
2
2
Area
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2
0.0.0.2

Advertisement

Chapters

Table of Contents
loading

Table of Contents