hit counter script

Configuring Inner Vlan And Outer Vlan Mapping On A Trunk Port - Cisco Nexus 9000 Series Configuration Manual

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

Advertisement

Configuring VXLAN
Step 7
This example shows how to configure VLAN translation between (the ingress) VLAN 10 and (the local)
VLAN 100. The show vlan counters command output shows the statistic counters as translated VLAN instead
of customer VLAN.
switch# config t
switch(config)# interface ethernet1/1
switch(config-if)# switchport vlan mapping enable
switch(config-if)# switchport vlan mapping 10 100
switch(config-if)# switchport trunk allowed vlan 100
switch(config-if)# show interface ethernet1/1 vlan mapping
Interface eth1/1:
Original VLAN
------------------
10
switch(config-if)# show vlan counters
Vlan Id
Unicast Octets In
Unicast Packets In
Multicast Octets In
Multicast Packets In
Broadcast Octets In
Broadcast Packets In
Unicast Octets Out
Unicast Packets Out
L3 Unicast Octets In
L3 Unicast Packets In

Configuring Inner VLAN and Outer VLAN Mapping on a Trunk Port

You can configure VLAN translation from an inner VLAN and an outer VLAN to a local (translated) VLAN
on a port. For the double tag VLAN traffic arriving on the interfaces where VLAN translation is enabled, the
inner VLAN and outer VLAN are mapped to a translated VLAN that is VXLAN enabled.
Notes for configuring inner VLAN and outer VLAN mapping:
• Inner and outer VLAN cannot be on the trunk allowed list on a port where inner VLAN and outer VLAN
Command or Action
show interface [if-identifier]
vlan mapping
Translated 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.***/
Configuring Inner VLAN and Outer VLAN Mapping on a Trunk Port
Purpose
The VLAN translation configuration does not become
Note
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.
100
:100
:292442462
:1950525
:14619624
:91088
:14619624
:91088
:304012656
:2061976
:0
:0
Cisco Nexus 9000 Series NX-OS VXLAN Configuration Guide, Release 7.x
23

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents

Save PDF