beautypg.com

Configuration procedure – H3C Technologies H3C SecPath F1000-E User Manual

Page 445

background image

420

Figure 268 Network diagram

Configuration procedure

1.

Configure IP addresses for interfaces. (Details not shown)

2.

Configure OSPF basic functions (see "

Configuring OSPF basic functions at the CLI

").

3.

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

system-view

[SecPath] ip route-static 3.1.2.1 24 10.4.1.2

# On SecPath, configure OSPF to redistribute the static route.

[SecPath] ospf 1

[SecPath-ospf-1] import-route static

4.

Verify the configuration:
# Display the ABR/ASBR information of Router C.

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

# Display the OSPF routing table of Router C.

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