3 advanced 802.1q vlan configuration, Show vlan mode, Vlan mode – PLANET WGSW-2620HP User Manual
Page 156: Vlan add
User’s Manual of WGSW-2620HP
6.5.3 Advanced 802.1Q VLAN Configuration
Ingress filters configuration
When a packet was received on a port, you can govern the switch to drop it or not if it is an untagged packet. Furthermore, if
the received packet is tagged but not belonging to the same VALN group of the receiving port, you can also control the
switch to forward or drop the packet. The example below configures the switch to drop the packets not belonging to the
same VLAN group and forward the packets not containing VLAN tags.
VLAN Commands
:
show vlan mode
Description:
Display the current VLAN mode.
vlan mode
Description:
Change VLAN mode.
Syntax:
vlan mode (disabled|port-based|dot1q)
Parameters:
(disabled | port-based | dot1q) specifies the VLAN mode.
Change the VLAN mode for every time, user have to restart the switch for valid value.
vlan add
Description:
Add or edit VLAN entry.
Syntax:
vlan add <1-4094> NAME (cpu-port|no-cpu-port) LIST [LIST]
Parameters:
<1-4094>
specifies the VLAN id or Group id (if port based VLAN mode)
NAME
specifies the VLAN group name.
(cpu-port|no-cpu-port)
specifies the CPU port belong this VLAN group.
LIST
specifies the ports to be set to VLAN members.
[LIST]
specifies the ports to be set to tagged members. If not entered, all members set to untagged.
e.g.. switch(config)# vlan add 1 vlan1 cpu-port 1-4
156