Chapter 36: VLAN Commands
Configuring VLAN Translation
– 1105 –
no switchport vlan-translation
original
-
vlan
original
-
vlan
- The original VLAN ID. (Range: 1-4094)
new
-
vlan
- The new VLAN ID. (Range: 1-4094)
D
EFAULT
S
ETTING
Disabled
C
OMMAND
M
ODE
Interface Configuration (Ethernet)
C
OMMAND
U
SAGE
•
If the next switch upstream does not support QinQ tunneling, then use
this command to map the customer’s VLAN ID to the service provider’s
VLAN ID for the upstream port. Similarly, if the next switch downstream
does not support QinQ tunneling, then use this command to map the
service provider’s VLAN ID to the customer’s VLAN ID for the
downstream port. Note that one command maps both the
original-vlan
to
new-vlan
for ingress traffic and the
new-vlan
to
original-vlan
for
egress traffic on the specified port.
For example, assume that the upstream switch does not support QinQ
tunneling. If the command
switchport vlan-translation 10 100
is
used to map VLAN 10 to VLAN 100 for upstream traffic entering port 1,
and VLAN 100 to VLAN 10 for downstream traffic leaving port 1, then
the VLAN IDs will be swapped as shown below.
Figure 36-3: Configuring VLAN Translation
•
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.
•
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
command, VLAN tag assignments will be
determined by the QinQ process, not by VLAN translation.
E
XAMPLE
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
1
2
(VLAN
10)
(VLAN
100)
(VLAN
100)
(VLAN
10)
upstream
downstream
Содержание SSE-G2252
Страница 42: ...44 General IP Routing on page 627...
Страница 174: ...Chapter 6 VLAN Configuration Configuring VLAN Mirroring 178 Figure 6 27 Showing the VLANs to Mirror...
Страница 511: ...Chapter 14 Basic Administration Protocols UDLD Configuration 518 Figure 14 100 Displaying UDLD Neighbor Information...
Страница 603: ...Chapter 16 IP Configuration Setting the Switch s IP Address IP Version 6 609...
Страница 883: ...Chapter 24 General Security Measures Port based Traffic Segmentation 894...
Страница 989: ...Chapter 30 Congestion Control Commands Automatic Traffic Control Commands 1000 Console...
Страница 1007: ...Chapter 33 Address Table Commands 1019...
Страница 1137: ...Chapter 38 Quality of Service Commands 1150...
Страница 1366: ...Chapter 46 IP Routing Commands Global Routing Configuration 1381 Connected 2 Total 2 FIB 0 Console...