l Router ID (3.3.3.3) of Switch C and areas (Area 0 and Area 2) where Switch C is located
l Router ID (4.4.4.4) of Switch D and area (Area 2) where Switch D is located
Procedure
Step 1 Add interfaces to VLANs.
<Quidway> system-view
[Quidway] sysname SwitchA
[SwitchA] vlan 20
[SwitchA-vlan20] quit
[SwitchA] interface XGigabitEthernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1] port hybrid pvid vlan 20
[SwitchA-XGigabitEthernet0/0/1] port hybrid untagged vlan 20
[SwitchA-XGigabitEthernet0/0/1] quit
The configurations of Switch B, Switch C, Switch D are similar to the configuration of Switch
A and are not mentioned here.
Step 2 Assign IPv6 addresses to the VLANIF interfaces.
[SwitchA] ipv6
[SwitchA] interface vlanif 20
[SwitchA-Vlanif20] ipv6 enable
[SwitchA-Vlanif20] ipv6 address 1001::2/64
[SwitchA-Vlanif20] quit
The configurations of Switch B, Switch C, Switch D are similar to the configuration of Switch
A and are not mentioned here.
Step 3 Configure the basic OSPFv3 functions.
# Configure Switch A.
[Switch A] ospfv3
[Switch A-ospfv3-1] router-id 1.1.1.1
[Switch A-ospfv3-1] quit
[Switch A] interface vlanif 10
[Switch A-Vlanif10] ospfv3 1 area 1
[Switch A-Vlanif10] quit
[Switch A] interface vlanif 20
[Switch A-Vlanif20] ospfv3 1 area 1
[Switch A-Vlanif20] quit
# Configure Switch B.
[Switch B] ospfv3
[Switch B-ospfv3-1] router-id 2.2.2.2
[Switch B-ospfv3-1] quit
[Switch B] interface vlanif 20
[Switch B-Vlanif20] ospfv3 1 area 1
[Switch B-Vlanif20] quit
[Switch B] interface vlanif 30
[Switch B-Vlanif30] ospfv3 1 area 0
[Switch B-Vlanif30] quit
# Configure Switch C.
[Switch C] ospfv3
[Switch C-ospfv3-1] router-id 3.3.3.3
[Switch C-ospfv3-1] quit
[Switch C] interface vlanif 30
[Switch C-Vlanif30] ospfv3 1 area 0
[Switch C-Vlanif30] quit
[Switch C] interface vlanif 40
[Switch C-Vlanif40] ospfv3 1 area 2
[Switch C-Vlanif40] quit
S6700 Series Ethernet Switches
Configuration Guide - IP Routing 5 OSPFv3 Configuration
Issue 01 (2012-03-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
215