DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
681
72-18
clear vlan_counter statistics
Description
This command is used to clear statistics gathered by VLAN counters.
Format
clear vlan_counter statistics [all | [vlan <vlan_name> | vlanid <vidlist>] [all | ports <portlist>]]
Parameters
all
- Specifies to clear all VLAN statistics.
vlan
- Specifies the VLAN name.
<vlan_name>
- Specifies the VLAN name.
vlanid
- Specifies a list of VLANs by VLAN ID.
<vidlist>
- Specifies a list of VLANs by VLAN ID.
all
- Specifies to clear statistics counters for all ports on a specifc VLAN.
ports
- Specifies to clear statistics counters by a specific port on a specific VLAN.
<portlist>
- Specifies a port list.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To clear counter statistics for all VLANs:
DGS-3710-12C:admin#clear vlan_counter statistics all
Command: clear vlan_counter statistics all
Success.
DGS-3710-12C:admin#
72-19
show vlan_counter
Description
This command is used to display the VLAN counter rules.
Format
show vlan_counter {[vlan <vlan_name> | vlanid <vidlist>]}
Parameters
vlan
- (Optional) Specifies the VLAN name.
<vlan_name>
- Specifies the VLAN name.
vlanid
- (Optional) Specifies a list of VLANs by VLAN ID.
<vidlist>
- Specifies a list of VLANs by VLAN ID.