VLAN Commands
Page 413
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
}
Parameters
•
add
vlan-list
— List of VLAN IDs to be added. Separate nonconsecutive VLAN IDs with a comma and no
spaces. A hyphen designates a range of IDs.
•
remove vlan-list
— List of VLAN IDs to be removed. Separate nonconsecutive VLAN IDs with a comma and
no spaces. A hyphen designates 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.
Example
The following example adds VLANs 1, 2, 5 to 6 to the allowed list of Ethernet port 1/16.
Console(config)#
interface ethernet
1/16
console(config-if)#
switchport trunk allowed vlan add
1
-
2,5-6
Summary of Contents for DXS-3250 - xStack Switch - Stackable
Page 12: ...Page 11 ...
Page 46: ...ACL Commands Page 45 ...
Page 68: ...Address Table Commands Page 67 ...
Page 124: ...Ethernet Configuration Commands Page 123 ...
Page 134: ...GVRP Commands Page 133 ...
Page 144: ...IGMP Snooping Commands Page 143 ...
Page 158: ...IP Addressing Commands Page 157 Console config ip helper address 172 16 9 9 49 53 ...
Page 166: ...IP Addressing Commands Page 165 ...
Page 186: ...Line Commands Page 185 ...
Page 194: ...Management ACL Commands Page 193 ...
Page 200: ...PHY Diagnostics Commands Page 199 ...
Page 208: ...Port Monitor Commands Page 207 ...
Page 216: ...Power over Ethernet Commands Page 215 ...
Page 272: ...RMON Commands Page 271 ...
Page 334: ...Spanning Tree Commands Page 333 ...
Page 428: ...VLAN Commands Page 427 ...
Page 466: ...802 1x Commands Page 465 ...