xStack
®
DGS-3600 Series Layer 3 Gigabit Ethernet Managed Switch CLI Manual
726
DGS-3627:admin# disable vlan_trunk
Command: disable vlan_trunk
Success.
DGS-3627:admin#
config vlan_trunk
Purpose
Used to configure a port as a the VLAN trunk port.
Syntax
config vlan_trunk ports [<portlist> | all] | state [enable | disable]
Description
This command is used to configure a port as a VLAN trunk port. By default, none of the port
is a VLAN trunk port.
If the user enables the global VLAN trunk function and configurethe VLAN trunk ports, then
the trunk port will be member port of all VLANs. That is, if a VLAN is already configured by
the user, but the trunk port is not member port of that VLAN, this trunk port will atutomatically
become tagged member port of that VLAN. If a VLAN is not created yet, the VLAN will be
automatically created, and the trunk port will become tagged member of this VLAN.
When the user disables the VLAN trunk globally, all VLANs automatically created by VLAN
Trunk enabled shall be destroyed, and all the automatically added port membership will be
removed.
A VLAN trunk port and a non-VLAN trunk port cannot be grouped as an aggregated link. To
change the VLAN trunk setting for an aggregated link, the user must apply the command to
the master port. However, this setting will disappear as the aggregated link is destroyed, and
the VLAN trunk setting of the individual port will follow the original setting of the port.
If the command is applied to link aggregation member port excluding the master, the
command will be rejected.
The ports with different VLAN configuration is not allowed to form an aggregated link.
However, if they are specified as VLAN trunk port, they are allowed to form an aggregated
link.
For a VLAN trunk port, the VLANs on which the packets can be by passed will not be
advertised
by GVRP on this port. However, since the traffic on these VLANs are forwarded,
this vlan trunk port should participate the MSTP instances corresponding to these VLAN.
Parameters
portlist
- Specify the list of ports to be configured.
enable
- Specifies that the port is a VLAN trunk port.
disable
- Specifies that the port is not a VLAN trunk port.
Restrictions
Only Administrator can issue this command.
Example usage:
To config vlan_trunk port:
DGS-3627:admin# config vlan_trunk ports 1-5 state enable
Command: config vlan_trunk ports 1-5 state enable
Success.
DGS-3627:admin#
show vlan_trunk
Purpose
Used to show the VLAN trunk configuration.
Syntax
show vlan_trunk