Huawei S6700 Series Configuration Manual page 34

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
Switch C
Switch C
Configuration Roadmap
The configuration roadmap is as follows:
1.
2.
3.
4.
Data Preparation
To complete the configuration, you need the following data:
l
l
l
l
l
l
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.
Issue 01 (2012-03-15)
XGE0/0/1
XGE0/0/2
Configure the VLAN that each interface belongs to.
Assign IPv6 addresses to the VLANIF interfaces on the Switches so that the devices on the
network can communicate with each other.
Configure an IPv6 static route to the destination address and the default route on each
Switch.
Configure the IPv6 default gateway on each PC so that any two PCs can communicate with
each other.
IDs of the VLANs that the interfaces belong to, as shown in
Default route of Switch A with the outgoing interface being VLANIF 20
Static route of Switch B with the destination address being 1:: 64 and outgoing interface
being VLANIF 20
Static route of Switch B with the destination address being 3:: 64 and outgoing interface
being VLANIF 40
Default route of Switch C with the outgoing interface being VLANIF 40
Default gateway address (1::1) of PC1, default gateway address (2::1) of PC2, and default
gateway address (3::1) of PC3
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
VLANIF 40
VLANIF 50
1 IP Static Route Configuration
Generated automatically
3::1/64
Figure 1-2
15

Advertisement

Table of Contents
loading

Table of Contents