beautypg.com

Configuring an ospf stub area, Network requirements, Configuration procedure – H3C Technologies H3C S7500E Series Switches User Manual

Page 127

background image

4-58

[SwitchA] display ip routing-table

Routing Tables: Public

Destinations : 5 Routes : 5

Destination/Mask Proto Pre Cost NextHop Interface

10.0.0.0/8 O_ASE 150 2 11.2.1.1 Vlan100

11.2.1.0/24 Direct 0 0 11.2.1.2 Vlan100

11.2.1.2/32 Direct 0 0 127.0.0.1 InLoop0

127.0.0.0/8 Direct 0 0 127.0.0.1 InLoop0

127.0.0.1/32 Direct 0 0 127.0.0.1 InLoop0

Configuring an OSPF Stub Area

Network requirements

The following figure shows an AS is split into three areas, where all switches run OSPF. Switch A and

Switch B act as ABRs to forward routing information between areas. Switch D acts as the ASBR to

redistribute routes (static routes).

It is required to configure Area 1 as a Stub area, reducing LSAs to this area without affecting route

reachability.

Figure 4-24 Network diagram for OSPF Stub area configuration

Area 0

Area 1
Stub

Area 2

Switch C

Vlan-int100

10.1.1.2/24

Vlan-int100
10.1.1.1/24

Vlan-int300
10.4.1.1/24

Vlan-int200
10.2.1.2/24

Switch B

Vlan-int200
10.3.1.1/24

Vlan-int200
10.3.1.2/24

Switch A

Vlan-int200

10.2.1.1/24

Vlan-int300

10.5.1.1/24

Switch D

ASBR

Configuration procedure

1) Configure IP addresses for interfaces (omitted).

2) Configure OSPF basic functions (see

Configuring OSPF Basic Functions

).

3) Configure Switch D to redistribute static routes.

[SwitchD] ip route-static 3.1.2.1 24 10.5.1.2

[SwitchD] ospf

[SwitchD-ospf-1] import-route static

[SwitchD-ospf-1] quit

# Display ABR/ASBR information on Switch C.

[SwitchC] 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