EasyManua.ls Logo

Huawei quidway s7700 - Page 153

Huawei quidway s7700
648 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
l VLANs that GE 1/0/1.1 and GE 1/0/2.1 belong to: VLAN 10 and VLAN 20
l IP addresses of GE 1/0/1.1 and GE 1/0/2.1: 10.10.10.1 and 20.20.20.1
l VLAN that the uplink of Switch A belongs to: VLAN 10 (tagged mode)
l VLAN that the downstream interface of Switch A belongs to: VLAN 10 (default mode)
l VLAN that the uplink of Switch B belong to: VLAN 20 (tagged mode)
l VLAN that the downstream interface of Switch B belong to: VLAN 20 (default mode)
Procedure
Step 1 Configure the interface connected to Switch A.
# Create and configure sub-interface GE 1/0/1.1.
<Quidway> system-view
[Quidway] interface gigabitethernet 1/0/1.1
[Quidway-GigabitEthernet1/0/1.1] control-vid 100 dot1q-termination rt-protocol
[Quidway-GigabitEthernet1/0/1.1] dot1q termination vid 10
[Quidway-GigabitEthernet1/0/1.1] ip address 10.10.10.1 24
[Quidway-GigabitEthernet1/0/1.1] arp broadcast enable
[Quidway-GigabitEthernet1/0/1.1] quit
Step 2 Configure the interface connected to Switch B.
# Create and configure sub-interface GE 1/0/2.1.
[Quidway] interface gigabitethernet 1/0/2.1
[Quidway-GigabitEthernet1/0/2.1] control-vid 200 dot1q-termination rt-protocol
[Quidway-GigabitEthernet1/0/2.1] dot1q termination vid 20
[Quidway-GigabitEthernet1/0/2.1] ip address 20.20.20.1 24
[Quidway-GigabitEthernet1/0/2.1] arp broadcast enable
[Quidway-GigabitEthernet1/0/2.1] quit
Step 3 Verify the configuration.
On PC 1 in VLAN 10, set default gateway address to the IP address of GE 1/0/1.1, that is,
10.10.10.1/24.
On PC 2 in VLAN 20, set default gateway address to the IP address of GE 1/0/2.1, that is,
20.20.20.1/24.
After the configuration, PC 1 in VLAN 10 and PC 2 in VLAN 20 can communicate with each
other.
----End
Configuration Files
Configuration file of the Switch
#
sysname Quidway
#
interface GigabitEthernet1/0/1.1
control-vid 100 dot1q-termination rt-protocol
dot1q termination vid 10
ip address 10.10.10.1 255.255.255.0
arp broadcast enable
#
interface GigabitEthernet1/0/2.1
control-vid 200 dot1q-termination rt-protocol
dot1q termination vid 20
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 3 VLAN Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
136

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals