Purpose
Command or Action
Use the
no
form of this command to clear the
mappings between a pair of VLANs.
Note
Removes all VLAN translations configured on the interface.
switch(config-if)# [
no
]
switchport vlan translation all
Step 5
(Optional)
Copies the running configuration to the startup configuration.
switch(config-if)#
copy
running-config startup-config
Step 6
The VLAN translation configuration does not become
effective until the switch port becomes an operational
trunk port
Note
(Optional)
Displays VLAN mapping information for all interfaces or for
the specified interface.
switch(config-if)#
show interface
[
if-identifier
]
vlan mapping
Step 7
This example shows how to configure VLAN translation between (the ingress) VLAN 10 and (the local)
VLAN 100:
switch#
config t
switch(config)#
interface ethernet1/1
switch(config-if)#
switchport vlan mapping 10 100
switch(config-if)#
show interface ethernet1/1 vlan mapping
Interface eth1/1:
Original VLAN
Translated VLAN
------------------
---------------
10
100
Configuring VLAN Translation with a FEX
VLAN translation on a FEX operates on a per-FEX basis. The VLAN translation enable and mapping
configurations must be applied to all the fabric interfaces for a FEX and take effect on all FEX host trunk
ports.
You can configure VLAN translation between the ingress/original VLAN and a translated/local VLAN on a
FEX trunk port.
For traffic ingressing a FEX trunk port, the original VLAN is mapped to the local VLAN based on the VLAN
translations configured on the FEX fabric interfaces. Similarly for traffic egressing a FEX trunk port, the local
VLAN is translated to the original VLAN based on the VLAN translation configured on the FEX fabric
interfaces.
The vlan-list must include the translated VLANs that need to be translated on a FEX trunk interface.
Note
Before You Begin
•
Ensure that all operational FEX interfaces are configured as Layer 2 trunk ports.
Cisco Nexus 6000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
23
Configuring VLANs
Configuring VLAN Translation with a FEX