Data Preparation
To configure VLAN mapping, you need the following data.
No. Data
1 VLAN ID before VLAN mapping
2 VLAN ID after VLAN mapping
4.3.2 Replacing a Single Tag
Context
Do as follows on the S7700 where you need to configure single-tag VLAN mapping.
Procedure
Step 1 Run:
system-view
The system view is displayed.
Step 2 Run:
interface interface-type interface-number
The Ethernet interface view is displayed.
Step 3 Run:
port link-type trunk
The link type of the interface is set.
By default, the link type of an interface is hybrid.
Step 4 Run:
port trunk allow-pass vlan vlan-id
The interface is added to the VLAN specified by map-vlan.
Step 5 Run:
port vlan-mapping vlan vlan-id1 [ to vlan-id2 ] map-vlan vlan-id3 [ remark-8021p
8021p-value ]
Single-tag VLAN mapping is configured on the interface.
NOTE
l VLAN mapping can be configured only on a trunk or hybrid interface. In addition, the interface must
be added to the VLAN specified by map-vlan. On S-series boards, the interface must be added to the
VLAN specified by map-vlan in tagged mode.
l Currently, only the E-series and F-series boards support N:1 VLAN mapping. The side with N VLANs
must send packets first.
l Limiting MAC address learning on an interface may affect the N:1 VLAN mapping on the interface.
----End
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.
160