DELL 8132 ユーザーズマニュアル
![DELL](https://files.manualsbrain.com/attachments/2e2ed634a275b6b98ad69257c58632e179ac1658/common/fit/150/50/0b94a25108df4a3b962d3b8aa65fc4eda1ead8e68832a26b3f5ed6aa6a0b/brand_logo.png)
808
VLAN Commands
Example
The following example configures 1/0/8 to discard untagged frames at ingress.
console(config)#interface gigabitethernet 1/0/8
console(config-if-1/0/8)#switchport general
acceptable-frame-type tagged-only
switchport general allowed vlan
Use the switchport general allowed vlan command in Interface
Configuration mode to add VLANs to or remove VLANs from a general port.
Syntax
switchport general allowed vlan add
vlan-list [tagged | untagged]
switchport general allowed vlan remove
vlan-list
• add
vlan-list — List of VLAN IDs to add. Separate nonconsecutive VLAN
IDs with a comma and no spaces. Use a hyphen to designate a range of
IDs.
•
remove
vlan-list — List of VLAN IDs to remove. Separate nonconsecutive
VLAN IDs with a comma and no spaces. Use a hyphen to designate a range
of IDs.
•
tagged — Sets the port to transmit tagged packets for the VLANs. If the
port is added to a VLAN without specifying tagged or untagged, the
default is untagged.
• untagged — Sets the port to transmit untagged packets for the VLANs.
Default Configuration
Untagged.
Command Mode
Interface Configuration (gigabitethernet, port-channel, tengigabitethernet,
fortygigabitethernet) mode
2CSPC4.X8100-SWUM102.book Page 808 Friday, March 15, 2013 8:56 AM