Switchport vlan swap, Switchport vlan swap -31, Vlan s – SMC Networks TigerAccess SMC7816M User Manual
Page 839
C
ONFIGURING
VLAN S
WAPPING
32-31
uplink port (using the command parameters – input VLAN ID,
output VLAN ID, and uplink interface).
3. Enter Interface Configuration mode for the uplink port, and map the
service provider’s VLAN ID to the customer’s VLAN ID for traffic
forwarded to the downlink port (using the command parameters –
input VLAN ID, output VLAN ID, and downlink interface).
switchport vlan swap
This command maps VLAN IDs between uplink and downlink ports.
Syntax
switchport vlan swap vlan-id1 vlan-id2 interface
no switchport vlan swap {all | vlan-id1 vlan-id2 interface}
• vlan-id1 - The VLAN ID to be replaced on traffic leaving the
interface specified by the interface command. (Range: 1-4093)
• vlan-id2 - The new VLAN ID to use on traffic entering the interface
specified by the interface parameter in this command.
(Range: 1-4093)
• all - Deletes all VLAN map entries for the current interface.
• interface
• ethernet unit/port
- unit - Stack unit. (Range: 1)
- port - Port number. (Range: 1-18)
Default Setting
Disabled
Command Mode
Interface Configuration (Ethernet)
Command Usage
• Use the system mode vlan-swap command (page 20-13) to enable
VLAN swap mode globally on the switch, then use the switchport
vlan swap command to map the customer VLAN ID to the service
provider’s VLAN ID.