![Huawei S6700 Series Скачать руководство пользователя страница 34](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517034.webp)
Switch C
XGE0/0/1
VLANIF 40
Generated automatically
Switch C
XGE0/0/2
VLANIF 50
3::1/64
Configuration Roadmap
The configuration roadmap is as follows:
1.
Configure the VLAN that each interface belongs to.
2.
Assign IPv6 addresses to the VLANIF interfaces on the Switches so that the devices on the
network can communicate with each other.
3.
Configure an IPv6 static route to the destination address and the default route on each
Switch.
4.
Configure the IPv6 default gateway on each PC so that any two PCs can communicate with
each other.
Data Preparation
To complete the configuration, you need the following data:
l
IDs of the VLANs that the interfaces belong to, as shown in
l
Default route of Switch A with the outgoing interface being VLANIF 20
l
Static route of Switch B with the destination address being 1:: 64 and outgoing interface
being VLANIF 20
l
Static route of Switch B with the destination address being 3:: 64 and outgoing interface
being VLANIF 40
l
Default route of Switch C with the outgoing interface being VLANIF 40
l
Default gateway address (1::1) of PC1, default gateway address (2::1) of PC2, and default
gateway address (3::1) of PC3
Procedure
Step 1
Add interfaces to VLANs.
<Quidway>
system-view
[Quidway]
sysname SwitchA
[SwitchA]
vlan 10
[SwitchA-vlan10]
quit
[SwitchA]
interface xgigabitethernet 0/0/2
[SwitchA-XGigabitEthernet0/0/2]
port hybrid pvid vlan 10
[SwitchA-XGigabitEthernet0/0/2]
port hybrid untagged vlan 10
[SwitchA-XGigabitEthernet0/0/2]
quit
[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 and Switch C are similar to the configuration of Switch A and
are not mentioned here.
Step 2
Assign IP addresses to the VLANIF interfaces.
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
1 IP Static Route Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
15