OSPFv3 Configuration Examples 453OSPFv3 ConfigurationExamplesConfiguring OSPFv3AreasNetwork requirementsIn the following figure, all switches run OSPFv3. The AS is split into three areas, inwhich, Switch B and Switch C act as ABRs to forward routing informationbetween areas.It is required to configure Area 2 as a stub area, reducing LSAs into the areawithout affecting route reachability.Network diagramFigure 144 Network diagram for OSPFv3 area configurationConfiguration procedure1 Configure IPv6 addresses for interfaces (omitted)2 Configure OSPFv3 basic functions# Configure Switch A. system-view[SwitchA] ipv6[SwitchA] ospfv3[SwitchA-ospfv3-1] router-id 1.1.1.1[SwitchA-ospfv3-1] quit[SwitchA] interface vlan-interface 300[SwitchA-Vlan-interface300] ospfv3 1 area 1[SwitchA-Vlan-interface300] quit[SwitchA] interface vlan-interface 200[SwitchA-Vlan-interface200] ospfv3 1 area 1[SwitchA-Vlan-interface200] quit# Configure Switch B system-view[SwitchB] ipv6[SwitchB] ospfv3[SwitchB-ospf-1] router-id 2.2.2.2[SwitchB-ospf-1] quit[SwitchB] interface vlan-interface 100OSPFv3Area 0OSPFv3Area 1OSPFv3Area 2Switch AVlan -int1002001 ::2/64Vlan- int1002001 ::1/64Vlan -int3002001 :3::1/64Vlan- int2 002001 :1::2 /64Switch CVlan -int4002001 :2 ::1/64Vlan -int4002001 :2::2/64Switch BVlan -int2002001 :1 ::1/64Switch DStub