User`s manual

42
VLAN & Interface command
Switch(config)# interface
[port_list]
[port_list]
Enter several discontinuous port numbers
separated by commas or a range of ports
with a hyphen. For example:1,3 or 2-4
Switch(config-if-PORT-PORT)#
vlan dot1q-vlan access-vlan [1-
4094]
[1-4094]
Set up the selected ports PVID.
Switch(config-if-PORT-PORT)#
vlan dot1q-vlan trunk-vlan [1-
4094]
[1-4094]
Assign the selected ports to a specified
VLAN.
Switch(config-if-PORT-PORT)#
vlan dot1q-vlan mode access
Set the selected ports to access mode
(untagged).
Switch(config-if-PORT-PORT)#
vlan dot1q-vlan mode trunk
Set the selected ports to trunk mode
(tagged).
Switch(config-if-PORT-PORT)#
vlan dot1q-vlan mode trunk native
Enable native VLAN for untagged traffic.
No command
Switch(config)# no vlan dot1q-
vlan [1-4094]
[1-4094]
Delete the specified VID.
Switch(config)# no vlan dot1q-
vlan isolation
Disable VLAN Isolation mode.
Switch(config)# no vlan qinq-vlan
Disable Q-in-Q VLAN.
Switch(config)# no vlan qinq-vlan
bypass-ctag
Activate C-tag checking.
Switch(config)# no vlan qinq-vlan
pass-through-mode
Disable pass-through mode.
Switch(config)# no vlan qinq-vlan
pass-through-vlan
Set the pass-through VLAN ID to the default
setting.
Switch(config)# no vlan qinq-vlan
isp-port
Remove ISP port settings.
Switch(config)# no vlan qinq-vlan
stag-ethertype
Remove the ether type for the service tag
settings.
Switch(config)# no vlan qinq-vlan
stag-priority
Remove the priority bit for the service tag
settings.
Switch(config)# no vlan qinq-vlan
stag-vid
Remove the VID for the service tag settings.
Switch(config-if-PORT-PORT)# no
vlan dot1q-vlan access-vlan
Set the selected ports PVID to the default
setting.
Switch(config-if-PORT-PORT)# no
vlan dot1q-vlan mode
Remove port mode.
Switch(config-if-PORT-PORT)# no
vlan dot1q-vlan mode trunk native
Disable native VLAN for untagged traffic.
Switch(config-if-PORT-PORT)# no
vlan dot1q-vlan trunk [1-4094]
[1-4094]
Remove the selected ports VLAN
membership. The selected ports are no
longer member ports in the specified VLAN.