Replacing The Double Vlan Tags; Checking The Configuration - Huawei Quidway S9300 Configuration Manual

Terabit routing switch
Table of Contents

Advertisement

4 VLAN Mapping Configuration

4.4.3 Replacing the Double VLAN Tags

Context
Do as follows on the S9300 where you need to replace the double VLAN tags.
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 to trunk.
Step 4 Run:
port trunk allow-pass vlan vlan-id
The interface is added to the VLAN whose ID will replace the outer VLAN tag of frames.
Step 5 Run:
port vlan-mapping outside-vlan vlan-id1 inside-vlan vlan-id2
vlan-id3 map-inside-vlan vlan-id4
The double VLAN tags are replaced.
Currently, only the enhance LPU supports VLAN mapping of double tags.
----End

4.4.4 Checking the Configuration

Procedure
l
l
----End
4-6
Run the display vlan vlan-id command to check whether the interface is added to the local
VLAN.
Run the display current-configuration [ | { begin | exclude | include } regular-
expression ] command to display information about the mapping of double VLAN tags on
the interface.
Run the preceding command, and you can obtain the following information:
The interface is added to the local VLAN.
The information about the VLAN mapping is correct.
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Quidway S9300 Terabit Routing Switch
Configuration Guide - Ethernet
map-outside-vlan
Issue 03 (2009-08-20)

Advertisement

Table of Contents
loading

Table of Contents