D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
307
config vlan_trunk
Purpose
Used to configure a port as a 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 ports on the Switch are VLAN trunk ports. 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 configurations are not allowed to form an
aggregated link. However, if they are specified as VLAN trunk ports, 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 that particular 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> Specifies 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-level users can issue this command.
Example usage:
To configure a VLAN Trunk port:
DES-3200-28:4#config vlan_trunk ports 1-5 state enable
Command: config vlan_trunk ports 1-5 state enable
Success.
DES-3200-28:4#
To configure a VLAN Trunk port if Port 6 is LA-1 member port; port 7 is LA-2 master port.
DES-3200-28:4# config vlan_trunk ports 6-7 state enable
Command: config vlan_trunk ports 6-7 state enable
Can not operate the member ports of any trunk.
DES-3200-28:4# config vlan_trunk ports 7 state disable
Command: config vlan_trunk ports 7 state disable
Success.
DES-3200-28:4# config vlan_trunk ports 6-7 state disable
Command: config vlan_trunk ports 6-7 state disable
Can not operate the member ports of any trunk.
DES-3200-28:4#