H3C S6812 Series Command Reference Manual page 572

Hide thumbs Also See for S6812 Series:
Table of Contents

Advertisement

Field
Translated Outer VLAN
Translated Inner VLAN
Related commands
vlan mapping
vlan mapping
Use vlan mapping to configure VLAN mapping on an interface.
Use undo vlan mapping to cancel the VLAN mapping configuration.
Syntax
vlan mapping { vlan-id translated-vlan vlan-id | nest { range vlan-range-list | single vlan-id-list }
nested-vlan vlan-id | nni | tunnel outer-vlan-id inner-vlan-id translated-vlan outer-vlan-id
inner-vlan-id | uni { range vlan-range-list | single vlan-id-list } translated-vlan vlan-id }
undo vlan mapping { vlan-id translated-vlan vlan-id | all | nest { range vlan-range-list | single
vlan-id-list } nested-vlan vlan-id | nni | tunnel outer-vlan-id inner-vlan-id translated-vlan
outer-vlan-id inner-vlan-id | uni { range vlan-range-list | single vlan-id-list } translated-vlan vlan-id }
Default
No VLAN mapping is configured on an interface.
Views
Layer 2 Ethernet interface view
Layer 2 aggregate interface view
Predefined user roles
network-admin
Parameters
vlan-id translated-vlan vlan-id: Specifies the original VLAN and translated VLAN for a one-to-one
VLAN mapping. The value range for the vlan-id argument is 1 to 4094. The original VLAN and the
translated VLAN cannot be the same.
uni range vlan-range-list translated-vlan vlan-id: Specifies the original VLAN ranges and the
translated VLAN for a many-to-one VLAN mapping on the customer-side port. The vlan-range-list
argument specifies a space-separated list of up to 10 VLAN items. Each item specifies a VLAN ID or
a range of VLAN IDs in the form of vlan-id1 to vlan-id2. The value range for VLAN IDs is 1 to 4094.
The value for the vlan-id2 argument must be greater than the value for the vlan-id1 argument. The
value range for the vlan-id argument is 1 to 4094. Different VLAN ranges cannot overlap. Any of the
original VLANs cannot be the same as the translated VLAN.
uni single vlan-id-list translated-vlan vlan-id: Specifies the original VLANs and the translated VLAN
for a many-to-one VLAN mapping on the customer-side port. The vlan-id-list argument specifies a
space-separated list of up to 10 VLAN IDs, each of which is in the range of 1 to 4094. The value
range for the vlan-id argument is 1 to 4094. Any of the original VLANs cannot be the same as the
translated VLAN.
nni: Configures the network-side port to use the original VLAN tags of the many-to-one mapping to
replace the VLAN tags of the packets destined for the user network.
Description
Translated outer VLAN.
This field indicates the translated VLAN for one-to-one VLAN mapping
and many-to-one VLAN mapping.
Translated inner VLAN.
This field displays N/A for one-to-one VLAN mapping and many-to-one
VLAN mapping.
2

Advertisement

Table of Contents
loading

This manual is also suitable for:

S6813 seriesS5150-ei

Table of Contents