User Manual
172
Users Manual of XGS-6350-24X4C
Run the following command to configure VLAN
Run… To…
vlan vlan-id Enter the VLAN configuration mode.
name str Name in the vlan configuration mode.
Exit Exit vlan configuration mode, and establish
vlan.
vlan vlan-range Establish multiple VLANs at the same time.
no vlan vlan-id | vlan-range Delete one or multiple VLANs.
Vlan can perform dynamic addtion and deletion via vlan management protocol GVRP.
16.3.2 Configuring Switch Port
The switch port supports the following modes: access mode, trunk mode and dot1q-tunnel mode.
The access mode indicates that this port is only subordinate to one vlan and only sends and receives
untagged ethernet frame.
The trunk mode indicates that this port is connected to other switches and can send and receive tagged
ethernet frame.
The dot1q-tunnel mode takes uncontionally the received packets as the ones without tag. The switch
chip automatically adds pvid of the port as the new tag, therefore allowing switch to ignore the different
vlan partitions that connected to the network. Then the packet will be delivered unchangedly to the other
port in the other subnetwork of the same customer. The transparent transmission is realized in this way.
Each port has one default vlan and pvid,and all the data without vlan tag received on the port belong to the
data packets of the vlan.
Trunk mode can ascribe port to multiple vlan and also can configure which kind of packet to forward and the
number of vlan that belongs, that is, the packet sent on the port is tagged or untagged, and the vlan list that
the port belongs.
Run the following command to configure the switch port:
Run… To…
switchport pvid vlan-id
Configure pvid of switch port.
switchport mode access|trunk|dot1q-tunnel
Configure port mode of the switch.
switchport trunk vlan-allowed … Configure vlan-allowed range of
switch port.
switchport trunk vlan-untagged … Configure vlan-untagged range of
switch port.
Not all switches support dot1q-tunnel feature. Some switches only support globally
enabling/disabling this feature, and cannot configure different strategies
for different
ports.










