VTP Pruning Mode
: Disabled (Operationally Disabled)
VTP V2 Mode
: Disabled
VTP Traps Generation
: Disabled
MD5 Digest
: 0xF5 0xF1 0xEC 0xE7 0x29 0x0C 0x2D 0x01
Configuration last modified by 60.10.10.1 at 0-0-00 00:00:00
VTP version running
: 1
Configuring VLAN Translation on a Trunk Port
You can configure VLAN translation between the ingress VLAN and a local VLAN on a port. The traffic
arriving on the ingress VLAN maps to the local VLAN at the ingress of the trunk port and the traffic that is
internally tagged with the translated VLAN ID is mapped back to the original VLAN ID before leaving the
switch port.
Before You Begin
•
Ensure that the physical or port channel on which you want to implement VLAN translation is configured
as a Layer 2 trunk port.
•
Ensure that the translated VLANs are created on the switch and are also added to the Layer 2 trunk ports
trunk-allowed VLAN vlan-list.
•
For FEX port-channel trunk interfaces, the last VLAN in the allowed VLAN list must be associated with
a translated VLAN in one of the VLAN maps configured on the FEX fabric interface.
Procedure
Purpose
Command or Action
Enters global configuration mode.
switch#
configure terminal
Step 1
Enters interface configuration mode.
switch(config)#
interface type
port
Step 2
(Optional)
Enables VLAN translation on the switch port after VLAN
translation is explicitly disabled. VLAN translation is enabled
by default.
switch(config-if)# [
no
]
switchport vlan mapping enable
Step 3
Use the
no
form of this command to disable VLAN
translation.
Note
Translates a VLAN to another VLAN.
switch(config-if)# [
no
]
switchport vlan mapping vlan-id
translated-vlan-id
Step 4
•
The range for both the
vlan-id
and
translated-vlan-id
arguments is from 1 to 4094.
•
When you configure a VLAN mapping between a VLAN
and a (local) VLAN on a port, traffic arriving on the
VLAN gets mapped or translated to the local VLAN at
the ingress of the switch port, and the traffic internally
tagged with the translated VLAN ID gets mapped to the
original VLAN ID before leaving the switch port. This
method of VLAN mapping is a two-way mapping.
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
22
Configuring VLANs
Configuring VLAN Translation on a Trunk Port