Cisco Nexus 9000 Series Configuration Manual page 46

Nx-os layer 2 switching configuration
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Inner VLAN and Outer VLAN Mapping on a Trunk Port
• VLAN translation (mapping) is supported on Cisco Nexus 9000 Series switches with a Network
Forwarding Engine (NFE).
• Inner and outer VLAN cannot be on the trunk allowed list on a port where inner VLAN and outer VLAN
is configured.
For example:
switchport vlan mapping 11 inner 12 111
switchport trunk allowed vlan 11-12,111 /***Not valid because 11 is outer VLAN and 12
is inner VLAN.***/
• On the same port, no two mapping (translation) configurations can have the same outer (or original) or
translated VLAN. Multiple inner VLAN and outer VLAN mapping configurations can have the same
inner VLAN.
For example:
switchport vlan mapping 101 inner 102 1001
switchport vlan mapping 101 inner 103 1002
as an original VLAN.***/
switchport vlan mapping 111 inner 104 1001
as a translated VLAN.***/
switchport vlan mapping 106 inner 102 1003
same.***/
• Port VLAN mapping on a trunk port is supported only on Cisco Nexus 9300 Series switches and Cisco
Nexus 9500 Series switches. It is not supported on Cisco Nexus 9200 or 9500-EX switches.
• VLAN translation is only supported on VXLAN enabled VLANs.
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Cisco Nexus 9000 Series NX-OS Layer 2 Switching Configuration Guide, Release 7.x
32
Command or Action
configure terminal
interface type port
[no] switchport mode trunk
switchport vlan mapping enable
switchport vlan mapping
outer-vlan-id inner inner-vlan-id
translated-vlan-id
copy running-config startup-config
/***Not valid because 101 is already used
/***Not valid because 1001 is already used
/***Valid because inner vlan can be the
Purpose
Enters global configuration mode.
Enters interface configuration mode.
Enters trunk configuration mode.
Enables VLAN translation on the switch port. VLAN
translation is disabled by default.
Note
Use the no form of this command to disable
VLAN translation.
Translates inner VLAN and outer VLAN to another
VLAN.
(Optional)
Copies the running configuration to the startup
configuration.
The VLAN translation configuration does not
Note
become effective until the switch port becomes
an operational trunk port
Configuring VLANs

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents