C
HAPTER
39
| VLAN Commands
Configuring VLAN Translation
ā 1129 ā
Figure 431: Configuring VLAN Translation
u The maximum number of VLAN translation entries is 8 per port, and up
to 96 for the system. However, note that configuring a large number of
entries may degrade the performance of other processes that also use
the TCAM, such as IP Source Guard filter rules, Quality of Service (QoS)
processes, QinQ, MAC-based VLANs, VLAN translation, or traps.
u If VLAN translation is set on an interface with this command, and the
same interface is also configured as a QinQ access port with the
switchport dot1q-tunnel mode command, VLAN tag assignments will be
determined by the QinQ process, not by VLAN translation.
EXAMPLE
This example configures VLAN translation for Port 1 as described in the
Command Usage section above.
Console(config)#vlan database
Console(config-vlan)#vlan 10 media ethernet state active
Console(config-vlan)#vlan 100 media ethernet state active
Console(config-vlan)#exit
Console(config)#interface ethernet 1/1,2
Console(config-if)#switchport allowed vlan add 10 tagged
Console(config-if)#switchport allowed vlan add 100 tagged
Console(config-if)#interface ethernet 1/1
Console(config-if)#switchport vlan-translation 10 100
Console(config-if)#end
Console#show vlan-translation
Interface Old VID New VID
--------- ------- -------
Eth 1/ 1 10 100
Console#
show vlan-translation This command displays the configuration settings for VLAN translation.
SYNTAX
show vlan-translation [interface interface]
interface
ethernet unit/port
unit - Stack unit. (Range: 1)
port - Port number. (Range: 1-28/52)
12
(VLAN 10) (VLAN 100)
(VLAN 100)
(VLAN 10)
upstream
downstream