Super Micro Intelligent Switch Command Line Interface User Guide
15.18
switchport trunk allowed vlan
This command configures the allowed vlans for trunk ports. By default, all the VLANs configured
on a switch are allowed on the trunk interfaces. User can limit the allowed vlans on the trunk ports
using this command.
switchport trunk allowed vlan { <vlan-list> | add <vlan-list> | all |
none | except <vlan-list> | remove <vlan-list> }
Syntax
<vlan-list> - This can be any VLAN number or list of VLAN numbers. Multiple VLAN
numbers can be provided as comma-separated values. Consecutive VLAN numbers can be
provided as a range, such as 5-10.
add – Adds the given vlans to the allowed vlans list
all – Configures all the vlans on the switches as the allowed vlans on this port
none – Removes the all the allowed vlans configured on this port
except – Configures all the vlans of the switch except the given vlans as the allowed vlan on this
port
remove – Removes the given vlans from the allowed vlans list configured on this port
Mode
Interface Configuration Mode
Defaults
All vlans
Example
SMIS(config-if)# switchport trunk allowed vlan 3-10
Related Command
show vlan port config - Displays the VLAN related parameters specific for ports
Release : 1.1f
356 / 985