Configuring ospf route redistribution, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual
Page 123
4-54
Destination Cost Type NextHop AdvRouter Area
10.2.1.0/24 22 Inter 10.3.1.1 10.3.1.1 0.0.0.2
10.3.1.0/24 10 Transit 10.3.1.2 10.3.1.1 0.0.0.2
10.4.1.0/24 25 Inter 10.3.1.1 10.3.1.1 0.0.0.2
10.5.1.0/24 10 Stub 10.5.1.1 10.5.1.1 0.0.0.2
10.1.1.0/24 12 Inter 10.3.1.1 10.3.1.1 0.0.0.2
Total Nets: 5
Intra Area: 2 Inter Area: 3 ASE: 0 NSSA: 0
# 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 data bytes, press CTRL_C to break
Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=253 time=2 ms
Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=253 time=1 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:
z
All the switches run OSPF, and the AS is divided into three areas.
z
Switch A and Switch B act as ABRs to forward routes between areas.
z
Switch C is configured as an ASBR to redistribute external routes (static routes). Routing
information is propagated properly in the AS.
Figure 4-22 Network diagram for OSPF redistributing routes from outside of an AS
Configuration procedure
1) Configure IP addresses for interfaces (omitted).
2) Configure OSPF basic functions (See
Configuring OSPF Basic Functions
).