Configuring ospf route redistribution, Network requirements – H3C Technologies H3C S12500 Series Switches User Manual

Page 120

Advertising
background image

104

[SwitchD] display ospf routing

OSPF Process 1 with Router ID 10.5.1.1

Routing Tables

Routing for Network

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 test 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=1 ttl=255 time=3 ms

Reply from 10.4.1.1: bytes=56 Sequence=2 ttl=255 time=2 ms

Reply from 10.4.1.1: bytes=56 Sequence=3 ttl=255 time=2 ms

Reply from 10.4.1.1: bytes=56 Sequence=4 ttl=255 time=2 ms

Reply from 10.4.1.1: bytes=56 Sequence=5 ttl=255 time=3 ms

--- 10.4.1.1 ping statistics ---

5 packet(s) transmitted

5 packet(s) received

0.00% packet loss

round-trip min/avg/max = 2/2/3 ms

Configuring OSPF route redistribution

Network requirements

All the switches

Figure 41

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 correctly in the AS.

Advertising