H3C S3100 Series Command Manual page 975

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

By default, one-to-one VLAN mapping is disabled.
With a port-level one-to-one VLAN mapping rule configured for a port, one-to-one VLAN mapping
is enabled on the port at the same time. In this case, the vlan-mapping enable command cannot
be used to enable one-to-one VLAN mapping again.
One-to-one VLAN mapping and the protocol-based VLAN function are mutually exclusive on the
same port.
One-to-one VLAN mapping is mutually exclusive with many-to-one VLAN mapping. With
many-to-one VLAN mapping enabled on any port, you cannot enable one-to-one VLAN mapping
on any other port.
One-to-one VLAN mapping is mutually exclusive with VLAN ID marking. For more information
about VLAN ID marking, see QoS-QoS Profile Configuration.
Related command: vlan-mapping.
Example
# Enable one-to-one VLAN mapping on Ethernet 1/0/1.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] interface Ethernet 1/0/1
[Sysname-Ethernet1/0/1] vlan-mapping enable
Many-to-One VLAN Mapping Configuration Commands
vlan-mapping n-to-1
Syntax
vlan-mapping n-to-1 vlan old-vlan-id remark new-vlan-id
undo vlan-mapping n-to-1 vlan old-vlan-id
View
Ethernet port view
Parameters
vlan old-vlan-id: Specifies the original VLAN ID for many-to-one VLAN mapping. The old-vlan-id
argument is in the range of 1 to 4094.
remark new-vlan-id: Specifies the target VLAN ID for many-to-one VLAN mapping. The new-vlan-id
argument is in the range of 1 to 4094.
Description
Use the vlan-mapping n-to-1 command to define a many-to-one VLAN mapping rule on the current
port and enable many-to-one VLAN mapping on the current port.
Use the undo vlan-mapping n-to-1 command to remove a many-to-one VLAN mapping rule for a
specific original VLAN on the current port.
1-3

Advertisement

Table of Contents
loading

Table of Contents