beautypg.com

Configuring the p2p network type for an interface, Configuring ospf route control, Ospf route redistribution configuration example – H3C Technologies H3C S12500-X Series Switches User Manual

Page 113

background image

99

--- Ping statistics for 10.4.1.1 ---

5 packet(s) transmitted, 5 packet(s) received, 0.0% packet loss

round-trip min/avg/max/std-dev = 0.779/1.408/1.702/0.323 ms

237B

OSPF route redistribution configuration example

504B

Network requirements

Enable OSPF on all the switches.

Split the AS into three areas.

Configure Switch A and Switch B as ABRs.

Configure Switch C as an ASBR to redistribute external routes (static routes).

Figure 23 Network diagram

505B

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown.)

2.

Enable OSPF (see "

995H

Basic OSPF configuration example

").

3.

Configure OSPF to redistribute routes:
# On Switch C, configure a static route destined for network 3.1.2.0/24.

system-view

[SwitchC] ip route-static 3.1.2.1 24 10.4.1.2

# On Switch C, configure OSPF to redistribute static routes.

[SwitchC] ospf 1

[SwitchC-ospf-1] import-route static

506B

Verifying the configuration

# Display the ABR/ASBR information of Switch D.

display ospf abr-asbr

OSPF Process 1 with Router ID 10.5.1.1

Routing Table to ABR and ASBR

Type Destination Area Cost Nexthop RtType

Intra 10.3.1.1 0.0.0.2 10 10.3.1.1 ABR

Inter 10.4.1.1 0.0.0.2 22 10.3.1.1 ASBR

This manual is related to the following products: