mac
VLAN Configuration
192
Example: Display current VLAN translation state information.
Switch#show vlan-translation
Interface Ethernet1/1:
vlan-translation is enable
Interface Ethernet1/2:
vlan-translation is enable
Interface Ethernet1/3:
vlan-translation is enable
15.1.28 switchport access vlan
Command: switchport access vlan <vlan-id>
no switchport access vlan
Function: Add the current Access port to the specified VLAN. The “no switchport
access vlan” command deletes the current port from the specified VLAN, and the port
will be partitioned to VLAN1.
Parameter: <vlan-id> is the VID for the VLAN to be added the current port, valid range
is 1 to 4094.
Command mode: Port Mode.
Default: All ports belong to VLAN1 by default.
Usage Guide: Only ports in Access mode can join specified VLANs, and an Access port
can only join one VLAN at a time.
Example: Add some Access port to VLAN100.
Switch(config)#interface ethernet 1/8
Switch(Config-If-Ethernet1/8)#switchport mode access
Switch(Config-If-Ethernet1/8)#switchport access vlan 100
Switch(Config-If-Ethernet1/8)#exit
15.1.29 switchport dot1q-tunnel
This command is not supported by this switch.
15.1.30 switchport forbidden vlan
Command: switchport forbidden vlan {WORD | all | add WORD | except WORD |
remove WORD}
no switchport forbidden vlan
Function: Configure the forbidden vlan for a port. Note that this command can only be










