Configuring ospfv3 area parameters, Configuration prerequisites, Configuring a stub area – H3C Technologies H3C S5560 Series Switches User Manual

Page 383

Advertising
background image

367

Step Command

Remarks

4.

Enter interface view.

interface interface-type
interface-number

N/A

5.

Enable an OSPFv3 process on
the interface.

ospfv3 process-id area area-id
[ instance instance-id ]

No OSPFv3 process is enabled on
an interface by default.

Configuring OSPFv3 area parameters

OSPFv3 has the same stub area, NSSA area, and virtual link features as OSPFv2.
After you split an OSPFv3 AS into multiple areas, the LSA number is reduced and OSPFv3 applications

are extended. To further reduce the size of routing tables and the number of LSAs, configure the

non-backbone areas at an AS edge as stub areas.
A stub area cannot import external routes, but an NSSA area can import external routes into the OSPFv3

routing domain while retaining other stub area characteristics.
Non-backbone areas exchange routing information through the backbone area, so the backbone and

non-backbone areas (including the backbone itself) must be fully meshed. If no connectivity can be
achieved, configure virtual links.

Configuration prerequisites

Before you configure OSPFv3 area parameters, enable OSPFv3.

Configuring a stub area

All the routers attached to a stub area must be configured with the stub command. The no-summary
keyword is only available on the ABR of the stub area.
If you use the stub command with the no-summary keyword on an ABR, the ABR advertises a default

route in an Inter-Area-Prefix LSA into the stub area. No AS External LSA, Inter-Area-Prefix LSA, or other

Inter-Area-Router LSA is advertised in the area. The stub area of this kind is called a totally stub area.
To configure an OSPFv3 stub area:

Step Command

Remarks

1.

Enter system view.

system-view

N/A

2.

Enter OSPFv3 view.

ospfv3 [ process-id | vpn-instance
vpn-instance-name ] *

N/A

3.

Enter OSPFv3 area view.

area area-id

N/A

4.

Configure the area as a stub

area.

stub
[ default-route-advertise-always |

no-summary ] *

By default, no area is configured
as a stub area.

5.

(Optional.) Specify a cost for
the default route advertised to

the stub area.

default-cost value

The default setting is 1.

Advertising
This manual is related to the following products: