C
ONFIGURING
VLAN S

WAPPING

13-35

CLI – This example configures VLAN swapping for upstream traffic

between port 1 and port 18, exchanging VLAN ID 1 for VLAN ID 3. It

then sets VLAN swapping for downstream traffic to exchange VLAN ID

3 for VLAN ID 1.

Console(config)#system mode vlan-swap 20-13
Console(config)#interface ethernet 1/1 25-2
Console(config-if)#switchport vlan swap 1 3 1/18 32-27
Console(config-if)#exit
Console(config)#interface ethernet 1/18
Console(config-if)#switchport vlan swap 3 1 1/1
Console(config-if)#end
Console#show vlan swap
vlan-swap enable
ethernet 1/1
invlan outvlan outport
1 3 1/18
ethernet 1/18
invlan outvlan outport
3 1 1/1
Console#