Specifications

switchport trunk
142
values, see Specifiable values for parameters.
remove <VLAN ID list>
Removes a VLAN from the VLAN list that is set.
1. Default value when this parameter is omitted:
This parameter cannot be omitted.
2. Range of values:
For details about how to specify <VLAN ID list> and the specifiable range of
values, see Specifiable values for parameters.
Default behavior
None. If a trunk port has been set by using the switchport mode trunk command and the
switchport trunk command is omitted, communication is impossible.
Impact on communication
None
When the change is applied
The change is applied immediately after setting values are changed.
Notes
If the applicable interface is set as a trunk port, you must set allowed vlan. If you do not
set
allowed vlan, no frames are sent or received through the applicable interface.
If untagged frames will also be sent and received, you must set the same VLAN ID for both
of the following parameters:
allowed vlan
native vlan
If the ID is not set, the untagged frames on the applicable interface are discarded.
Related commands
switchport mode
vlan