beautypg.com

H3C Technologies H3C SecPath F1000-E User Manual

Page 450

background image

425

Destination Cost Type Tag NextHop AdvRouter

3.1.2.0/24 1 Type2 1 10.2.1.1 10.5.1.1

Total Nets: 6

Intra Area: 2 Inter Area: 3 ASE: 1 NSSA: 0

NOTE:

Because SecPath A resides in a normal OSPF area, its routing table contains an external route.

4.

Configure Area1 as a Stub area:
# Configure Router A.

system-view

[RouterA] ospf

[RouterA-ospf-1] area 1

[RouterA-ospf-1-area-0.0.0.1] stub

[RouterA-ospf-1-area-0.0.0.1] quit

[RouterA-ospf-1] quit

# Configure SecPath A.

system-view

[SecPathA] ospf

[SecPathA-ospf-1] area 1

[SecPathA-ospf-1-area-0.0.0.1] stub

[SecPathA-ospf-1-area-0.0.0.1] quit

[SecPathA-ospf-1] quit

# Display routing information on SecPath A.

[SecPathA] display ospf routing

OSPF Process 1 with Router ID 10.4.1.1

Routing Tables

Routing for Network

Destination Cost Type NextHop AdvRouter Area

0.0.0.0/0 4 Inter 10.2.1.1 10.2.1.1 0.0.0.1

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

Total Nets: 6

Intra Area: 2 Inter Area: 4 ASE: 0 NSSA: 0

NOTE:

After the area where SecPath A resides is configured as a Stub area, a default route takes the place of the
external route.

# Filter Type-3 LSAs out the Stub area.

[RouterA] ospf