EasyManua.ls Logo

Huawei quidway s7700 - Page 194

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...
# Configure VLAN mapping of single tag on GE 1/0/1 of SwitchA.
[SwitchA-GigabitEthernet1/0/1] port vlan-mapping vlan 10 map-vlan 6
# Configure VLAN mapping of single tag on GE 2/0/2 of SwitchB.
[SwitchB-GigabitEthernet2/0/2] port vlan-mapping vlan 10 map-vlan 5
Step 4 Verify the configuration.
Run the display vlan 6 command on SwitchA, and you can obtain the following information:
[SwitchA] display vlan 6
* : management-vlan
---------------------
VLAN ID Type Status MAC Learning Broadcast/Multicast/Unicast Property
--------------------------------------------------------------------------------
6 common enable enable forward forward forward default
----------------
Tagged Port: GigabitEthernet1/0/1 GigabitEthernet3/0/1
GigabitEthernet3/0/2
----------------
QinQ-map Port: GigabitEthernet1/0/1
----------------
Interface Physical
GigabitEthernet1/0/1 UP
GigabitEthernet3/0/1 UP
GigabitEthernet3/0/2 UP
The hosts in VLAN 6 and the hosts in VLAN 5 can ping each other.
----End
Configuration Files
l Configuration file of SwitchA
#
sysname SwitchA
#
vlan batch 6
#
interface GigabitEthernet1/0/1
port link-type trunk
port trunk allow-pass vlan 6
port vlan-mapping vlan 10 map-vlan 6
#
interface GigabitEthernet3/0/1
port link-type trunk
port trunk allow-pass vlan 6
#
interface GigabitEthernet3/0/2
port link-type trunk
port trunk allow-pass vlan 6
#
return
l Configuration file of SwitchB
#
sysname SwitchB
#
vlan batch 5
#
interface GigabitEthernet2/0/2
port link-type trunk
port trunk allow-pass vlan 5
port vlan-mapping vlan 10 map-vlan 5
Quidway S7700 Smart Routing Switch
Configuration Guide - Ethernet 4 VLAN Mapping Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
177

Table of Contents

Other manuals for Huawei quidway s7700

Related product manuals