beautypg.com

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

Page 449

background image

424

Figure 270 OSPF Stub area configuration

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 SecPath B to redistribute static routes:

system-view

[SecPathB] ip route-static 3.1.2.1 24 10.5.1.2

[SecPathB] ospf

[SecPathB-ospf-1] import-route static

[SecPathB-ospf-1] quit

# Display ABR/ASBR information on SecPath A.

display ospf abr-asbr

OSPF Process 1 with Router ID 10.4.1.1

Routing Table to ABR and ASBR

Type Destination Area Cost Nexthop RtType

Intra 10.2.1.1 0.0.0.1 3 10.2.1.1 ABR

Inter 10.3.1.1 0.0.0.1 5 10.2.1.1 ABR

Inter 10.5.1.1 0.0.0.1 7 10.2.1.1 ASBR

# Display OSPF routing information on SecPath A.

display ospf routing

OSPF Process 1 with Router ID 10.4.1.1

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

10.2.1.0/24 3 Transit 10.2.1.2 10.2.1.1 0.0.0.1

10.3.1.0/24 7 Inter 10.2.1.1 10.2.1.1 0.0.0.1

10.4.1.0/24 3 Stub 10.4.1.1 10.4.1.1 0.0.0.1

10.5.1.0/24 17 Inter 10.2.1.1 10.2.1.1 0.0.0.1

10.1.1.0/24 5 Inter 10.2.1.1 10.2.1.1 0.0.0.1

Routing for ASEs