Switch D
XGE0/0/1
VLANIF 10
1001::4/64
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure IPv6 addresses for interfaces.
2.
Configure the router ID of each Switch , enable OSPFv3, and specify the network segments.
3.
Check the DR/BDR status of each Switch when the default priority is used.
4.
Set the DR priority of the interface on each Switch and check whether the Switch becomes
the DR or BDR.
Data Preparation
To complete the configuration, you need the following data:
l
Router ID (1.1.1.1) and DR priority (100) of Switch A
l
Router ID (2.2.2.2) and DR priority (0) of Switch B
l
Router ID (3.3.3.3) and DR priority (2) of Switch C
l
Router ID (4.4.4.4) and DR priority (1) of Switch D
Procedure
Step 1
Add interfaces to VLANs.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
vlan 10
[SwitchA-vlan10]
quit
[SwitchA]
interface XGigabitEthernet 0/0/1
[SwitchA-XGigabitEthernet0/0/1]
port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/0/1]
port hybrid untagged vlan 10
[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 10
[SwitchA-Vlanif10]
ipv6 enable
[SwitchA-Vlanif10]
ipv6 address 1001::1/64
[SwitchA-Vlanif10]
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.
# On Switch A, enable OSPFv3 and set the router ID to 1.1.1.1.
[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 0
[Switch A-Vlanif10]
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.
220