xStack
® 
DGS-3120 Series Managed Switch CLI Reference Guide 
28 
 
Parameters 
<portlist> - A range of ports for which you want ingress checking. The port list is specified by 
listing the lowest switch number and the beginning port number on that switch, separated by a 
colon. Then highest switch number, and the highest port number of the range (also separated 
by a colon) are specified. The beginning and end of the port list range are separated by a 
dash. For example, 1:3 would specify switch number 1, port 3. 2:4 specifies switch number 2, 
port 4. 1:3-2:4 specifies all of the ports between switch 1, port 3 and switch 2, port 4 − i n 
all - Specify that all the port will be used for this configuration. 
gvrp_state - (Optional) Enabled or disables GVRP for the ports specified in the port list. 
enable - Specify that GVRP for the specified ports will be enabled. 
disable - Specify that GVRP for the specified ports will be disabled. 
ingress_checking - (Optional) Enables or disables ingress checking for the specified portlist. 
enable - Specify that ingress checking will be enabled for the specified portlist. 
 - Specify that ingress checking will be disabled for the specified portlist. 
acceptable_frame - (Optional) The type of frame will be accepted by the port. There are two 
types: 
tagged_only - Only tagged packets can be accepted by this port. 
admit_all - All packets can be accepted. 
pvid - (Optional) Specify the PVID of the ports. 
<vlanid 1-4094> - Enter the VLAN ID here. The VLAN ID value must be between 1 and 4094. 
 
Restrictions 
Only Administrator and Operator-level users can issue this command. 
 
Example 
To sets the ingress checking status, the sending and receiving GVRP information: 
DGS-3120-24TC:admin#  config port_vlan 1:1-1:5 gvrp_state enable 
ingress_checking enable acceptable_frame tagged_only pvid 2 
Command: config port_vlan 1:1-1:5 gvrp_state enable ingress_checking enable 
acceptable_frame tagged_only pvid 2 
 
Success 
 
DGS-3120-24TC:admin#  
 
3-8  show vlan 
Description 
This command is used to display the vlan information including of parameters setting and 
operational value. 
 
Format 
show vlan {<vlan_name 32>} 
 
Parameters 
<vlan_name 32> - (Optional) Enter the VLAN name to be displayed. The VLAN name can be up 
to 32 characters long.