User Manual UMN:CLI
V5808
271
no vlan dot1q-tunnel ingress
range-mapping PORTS s-vid <1-
4094> trans-s-vid trans-c-vid
8.1.9.4 Two-to-One VLAN Mapping between S-VID and C-VID
To configure two-to-one VLAN mapping and translation, use the following command.
vlan dot1q-tunnel ingress
mapping PORTS s-vid <1-4094>
c-vid <1-4094> trans-s-vid <1-
4094>
Configures 2:1 VLAN mapping for NNI port and
translates S-VLAN and C-VLAN tags of incoming
Double Tagged (DT) packets to one S-VLAN tag.
vlan dot1q-tunnel egress
mapping PORTS s-vid <1-4094>
c-vid <1-4094> trans-s-vid <1-
4094>
Configures 2:1 VLAN mapping for NNI port and
translates S-VLAN and C-VLAN tags of outgoing
Double Tagged (DT) packets to S-VLAN tag.
vlan dot1q-tunnel egress
mapping PORTS s-vid <1-4094>
c-vid <1-4094> same-c-vid
Configures 2:1 VLAN mapping for UNI port and
removes S-VLAN tag from outgoing Double Tagged
(DT) packet with the given S-VLAN and C-VLAN tags.
To delete the configured two-to-one VLAN mapping and translation, use the following
command.
no vlan dot1q-tunnel ingress
mapping PORTS s-vid <1-4094>
c-vid <1-4094>
Deletes the configured 2:1 VLAN mapping and
translation.
no vlan dot1q-tunnel egress
mapping PORTS s-vid <1-4094>
c-vid <1-4094>
8.1.9.5 Two-to-Two VLAN Mapping between S-VID and C-VID
To configure two-to-two VLAN mapping and translation, use the following command.
vlan dot1q-tunnel ingress
mapping PORTS internal s-vid
<1-4094> c-vid <1-4094>
external s-vid <1-4094> c-vid <1-
4094>
Configures 2:2 VLAN mapping for NNI port and
translates internal S-VLAN and C-VLAN tags of
incoming 802.1q tunneling packets to external S-VLAN
and C-VLAN tags.
vlan dot1q-tunnel egress
mapping PORTS external s-vid
<1-4094> c-vid <1-4094> internal
s-vid <1-4094> c-vid <1-4094>
Configures 2:2 VLAN mapping for NNI port and
translates external S-VLAN and C-VLAN tags of
outgoing 802.1q tunneling packets to internal S-VLAN
and C-VLAN tags.