Default Configuration
VID=1
Command Mode
Interface configuration (Ethernet, port-channel) mode
User Guidelines
•
The command automatically removes the port from the previous VLAN, and adds it to the
new VLAN.
Example
The following example configures a VLAN ID of 23 to the untagged layer 2 VLAN interface
number g8.
Console (config)# interface ethernet g8
Console (config-if)# switchport access vlan
switchport trunk allowed vlan
The switchport trunk allowed vlan Interface Configuration mode command adds or removes
VLANs, to or from a trunk port.
Syntax
switchport trunk allowed vlan {add vlan-list | 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 designate a range of IDs.
Default Configuration
This command has no default configuration.
Command Mode
Interface Configuration (Ethernet, port-channel) mode
User Guidelines
•
There are no user guidelines for this command.
23
VLAN Commands
343
Need help?
Do you have a question about the PowerConnect 5324 and is the answer not in the manual?
Questions and answers