Supermicro SSE-F3548S/SSE-F3548SR Configuration User’s Guide
below commands could 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.
switchport trunk allowed vlan <vlan-list>
This command configures the list of
allowed VLANs on this trunk. Only the
VLANs provided on the vlan-list will be
switchport trunk allowed vlan add <vlan-list>
This command adds the given list of
VLANS to the existing set of allowed
switchport trunk allowed vlan remove <vlan-list>
This command removes the given list of
VLANS from the existing set of allowed
switchport trunk allowed vlan except <vlan-list>
This command makes all the configured
VLANs allowed on this trunk except for
switchport trunk allowed vlan all
This command sets the default
behavior of allowing all VLANs
configured in the switch as allowed
switchport trunk allowed vlan none
This command removes all the allowed
VLANs from this trunk.
show vlan port config port <iftype> <ifnum>
and
Displays the configured, allowed VLANs
for this trunk interface.
Optional step – saves this VLAN
configuration to be part of startup
The “switchport trunk allowed vlan …” commands will be accepted only if the port is in trunk
mode.
A trunk port will not carry traffic for any VLANs that are not configured in the switch.
For example, if a user wants to allow traffic for VLANs 1 to 100, VLANs 1 to 100 need to be
created in the switch using the “vlan” command.
The examples below show examples of configurations to allow VLANs on trunk ports.
Configure to allow only VLANs 2 to 20 on trunk interface fx 0/1.
SMIS# configure terminal
SMIS(config)# vlan 2-20
SMIS(config-vlan)# exit