
VLAN Commands
345
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 non consecutive VLAN IDs with a
comma and no spaces. A hyphen designates a range of IDs.
•
remove
vlan-list
—List of VLAN IDs to remove. Separate non consecutive VLAN IDs with
a comma and no spaces. A hyphen designates 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 tagged.
•
untagged
—Sets the port to transmit untagged packets for the VLANs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
You can use this command to change the egress rule (e.g. from tagged to untagged), without
first removing the VLAN from the list.
Example
The following example shows how to add VLANs 2, 5, and 6 to the allowed list.
switchport general pvid
The
switchport general pvid
Interface Configuration mode command configures the PVID when
the interface is in general mode. To configure the default value, use the
no
form of this command.
Syntax
switchport general pvid
vlan-id
no switchport general pvid
•
vlan-id
—PVID (Port VLAN ID). The vlan-id may belong to a non-existent VLAN.
Default Configuration
VLAN ID=1
Console (config)#
interface ethernet
g8
Console (config-if)#
switchport general allowed vlan add
2,5,6
tagged
Содержание 5324 - PowerConnect Switch
Страница 1: ...w w w d e l l c o m s u p p o r t d e l l c o m Dell PowerConnect 5324 Systems CLI Reference Guide ...
Страница 20: ...20 DELL CONFIDENTIAL PRELIMINARY 9 12 06 FOR PROOF ONLY ...
Страница 44: ...44 Command Groups w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 56: ...56 Command Modes w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 64: ...64 Using the CLI w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 76: ...76 AAA Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 108: ...108 Clock w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 156: ...156 IGMP Snooping Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 178: ...178 Line Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 188: ...188 LLDP Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 200: ...200 PHY Diagnostics Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 208: ...208 Port Monitor Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 260: ...260 SNMP Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 302: ...302 SSH Commands w w w d e l l c o m s u p p o r t d e l l c o m ...
Страница 312: ...312 Syslog Commands w w w d e l l c o m s u p p o r t d e l l c o m ...