318
VLAN Commands
User Guidelines
• There are no user guidelines for this command
Example
The following example sets the port's VLAN when the interface is in customer mode.
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
/
all
|
remove
vlan-list
/
all
}
•
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. The option
all
adds all
configured VLAN 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. The option
all
removes
all configured VLAN 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.
Example
The following example shows how to add VLANs 2 and 5 to 8 to the allowed list of g16.
Console(config)#
interface ethernet g
5
Console(config-if)#
switchport customer vlan vlan-id
console(config)#
interface ethernet
g16
console(config-if)#
switchport trunk allowed vlan add
2,5-8
Summary of Contents for PowerConnect 5316M
Page 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 5316M CLI Reference Guide ...
Page 19: ...Contents 19 show dot1x advanced 356 ...
Page 20: ...20 Contents ...
Page 44: ...24 Command Groups ...
Page 56: ...36 Command Modes ...
Page 66: ...46 Using the CLI ...
Page 92: ...72 Address Table Commands ...
Page 108: ...88 Clock ...
Page 140: ...120 Ethernet Configuration Commands ...
Page 156: ...136 IGMP Snooping Commands ...
Page 178: ...158 Line Commands ...
Page 188: ...168 LLDP Commands ...
Page 198: ...178 PHY Diagnostics Commands ...
Page 206: ...186 Port Monitor Commands ...
Page 216: ...196 QoS Commands ...
Page 238: ...218 RMON Commands ...
Page 258: ...238 SNMP Commands ...
Page 284: ...264 Spanning Tree Commands ...
Page 294: ...274 SSH Commands ...
Page 304: ...284 Syslog Commands ...
Page 332: ...312 User Interface ...
Page 348: ...328 VLAN Commands ...
Page 360: ...340 Web Server ...