Switchport trunk allowed vlan – Allied Telesis AT-S100 User Manual
Page 265
AT-S100 Management Software User’s Guide
Section II: Advanced Configuration
265
SWITCHPORT TRUNK ALLOWED VLAN
Syntax
switchport trunk allowed vlan add|remove VLANID
no switchport trunk vlan
Parameters
add
Add a VLAN to transmit and receive through the Layer-2
interface.
remove
Remove a VLAN that transmits and receives through the Layer-
2 interface.
VLANID Specifies a VLAN ID or a list of VLAN IDs. Enter a value from 2
to 4094. Set a single VLAN, VLAN range, or a VLAN list.
For a VLAN range, specify the lowest VLAN, then the highest
VLAN number in the range, and separate them with a hyphen.
For a VLAN list, specify VLAN IDs separated by commas.
Note
Do not enter spaces between hyphens or commas when setting
parameters for VLAN ranges or lists.
Description
Use the SWITCHPORT TRUNK ALLOWED VLAN command to change
the default VLAN for an interface. Use the no form of this command to
remove a previously created VLAN with the specified VLAN ID.
Command Mode
Interface Configuration mode
Examples
The following commands add a single VLAN, VLAN 2, to the member set
of port 6:
switch#configure terminal
switch(config)#interface ge6