Cisco Nexus 9000 Series Configuration Manual page 36

Nx-os vxlan
Hide thumbs Also See for Nexus 9000 Series:
Table of Contents

Advertisement

Configuring Inner VLAN and Outer VLAN Mapping on a Trunk Port
• 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.***/
Procedure
Step 1
Step 2
Step 3
Step 4
Step 5
Step 6
Step 7
This example shows how to configure translation of double tag VLAN traffic (inner VLAN 12; outer VLAN
11) to VLAN 111.
switch# config t
switch(config)# interface ethernet1/1
switch(config-if)# switchport mode trunk
switch(config-if)# switchport vlan mapping enable
switch(config-if)# switchport vlan mapping 11 inner 12 111
switch(config-if)# switchport trunk allowed vlan 101-170
switch(config-if)# no shutdown
switch(config-if)# show mac address-table dynamic vlan 111
Cisco Nexus 9000 Series NX-OS VXLAN Configuration Guide, Release 7.x
24
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
show interface [if-identifier] vlan
mapping
/***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.
Use the no form of this command to disable
Note
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
(Optional)
Displays VLAN mapping information for a range of
interfaces or for a specific interface.
Configuring VXLAN

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents