C122-E003-02EN 8-73
GSWB
8.2 Configuration Definition Commands
• vlan id doesn’t exist.
Cause: The specified VLAN does not exist.
Action: Reenter the command after creating a VLAN.
• It is necessary to review specified VLAN and port.
Cause: The VLAN and port definitions do not match.
Action: Review the VLAN and port definitions.
8.2.9.4 switchport allowed vlan
This command specifies trunk properties:
z The VLANs that can be used in Trunk mode are determined by this command and
the switchport native vlan command.
z Trunk mode must be set before this command is executed.
z A single VLAN or a range of consecutive VLANs is specified in a setting.
z The default setting is [add 1].
z Since each interface must be a part of at least one VLAN, all VLANs cannot be
deleted by using "remove."
z Before the default VLAN 1 is deleted, another VLAN must be added.
When making this setting for a port-channel port, no setting is required for a physical
link that is a part of the target port-channel. The contents of settings made for such
links are not reflected. The setting for a physical link in the port-channel is reflected
in the physical link at the time the link is removed from the port-channel.
(1) Synopsis
• Specifies interface properties for operation of an interface in Trunk mode (tagged
VLAN mode)
• Specifies trunk properties for a member of the default VLAN
switchport allowed vlan <vlan-list>
no switchport allowed vlan