User’s Manual of FGSW-2620VM / FGSW-2620PVM

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 (disabledport-baseddot1q)

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-portno-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-portno-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

This VLAN entry has four members (from port1 to port4) and all members are untagged.

139