Configuring OSPFv3 Routing Information Management 447
Prerequisites ■ Enable IPv6 packet forwarding
■ Configure OSPFv3 basic functions
Configuring an OSPFv3
Stub Area
Follow these steps to configure an OSPFv3 stub area:
n
■ Configurations on the OSPFv3 routers attached to the same area must be 
consistent. Otherwise, neighbor relationships cannot be established between 
adjacent routers.
■ You cannot delete an OSPFv3 area directly. Only when you remove all 
configurations in area view and all interfaces attached to the area become 
down, can the area be removed automatically.
■ All routers attached to a stub area must be configured with the stub 
command. The keyword no-summary is only available on the ABR.
■ If you use the stub command with the keyword no-summary on an ABR, the 
ABR distributes a default summary LSA into the area rather than generating an 
AS-external-LSA or Inter-Area-Prefix-LSA. The stub area of this kind is also 
known as totally stub area.
Configuring OSPFv3
Virtual Links
You can configure virtual links to maintain connectivity between non-backbone 
areas and the backbone, or in the backbone itself.
Follow these steps to configure a virtual link:
n
Both ends of a virtual link are ABRs that are configured with the vlink-peer 
command.
Configuring OSPFv3 
Routing Information 
Management
This section is to configure management of OSPF routing information 
advertisement and reception, and route redistribution from other protocols.
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter OSPFv3 view  ospfv3 [ process-id ] - 
Enter OSPFv3 area view  area area-id - 
Configure the area as a stub 
area 
stub [ no-summary ] Required
Not configured by default 
Configure the default route 
cost of sending a packet to 
the stub area 
default-cost value Optional
Defaults to 1
To do…  Use the command…  Remarks 
Enter system view  system-view - 
Enter OSPFv3 view  ospfv3 [ process-id ] - 
Enter OSPFv3 area view  area area-id - 
Create and configure a 
virtual link 
vlink-peer router-id [ hello seconds | retransmit 
seconds | trans-delay seconds | dead seconds | 
instance instance-id ] * 
Required