R3303-HP HSR6800 Routers Layer 3 - IP Routing Configuration Guide
330
OSPFv3 configuration examples
Configuring OSPFv3 areas
Network requirements
As shown in Figure 97:
• Enable OSPFv3 on all routers.
• Split the AS into three areas.
• Configure Router B and Router C as ABRs to forward routing information between areas.
• Configure Area 1 as an NSSA area.
• Configure Area 2 as a stub area to reduce LSAs in the area without affecting route reachability.
Figure 97 Network diagram
Configuration procedure
1. Configure IPv6 addresses for interfaces. (Details not shown.)
2. Configure OSPFv3 basic functions:
# Configure Router A.
<RouterA> system-view
[RouterA] ipv6
[RouterA] ospfv3 1
[RouterA-ospfv3-1] router-id 1.1.1.1
[RouterA-ospfv3-1] area 1
[RouterA-ospfv3-1-area-0.0.0.1] nssa
[RouterA-ospfv3-1] quit
[RouterA] interface GigabitEthernet 2/1/1
[RouterA-GigabitEthernet2/1/1] ospfv3 1 area 1
[RouterA-GigabitEthernet2/1/1] quit
[RouterA] interface GigabitEthernet 2/2/1
[RouterA-GigabitEthernet2/2/1] ospfv3 1 area 1
[RouterA-GigabitEthernet2/2/1] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ipv6
Stub
OSPFv3
Area 0
OSPFv3
Area 1
OSPFv3
Area 2
Router A
GE2/2/0
2001::2/64
GE2/2/0
2001::1/64
GE2/1/1
2001:3::1/64
GE2/2/1
2001:1::2/64
Router C
GE2/2/1
2001:2::1/64
GE2/2/1
2001:2::2/64
Router B
GE2/2/1
2001:1::1/64
Router D