DGS-3710 Series Layer 2 Managed Gigabit Switch CLI Reference Guide
680
DGS-3710-12C:admin#create vlan_counter vlanid 1 broadcast packet
Command: create vlan_counter vlanid 1 broadcast packet
Success.
DGS-3710-12C:admin#
72-17
delete vlan_counter
Description
This command is used to delete the control entries for VLAN traffic flow statistics.
Format
delete vlan_counter [all | [vlan <vlan_name> | vlanid <vidlist>] [all | ports <portlist> [all |
[all_frame | broadcast | multicast | unicast] {packet | byte}]]]
Parameters
all
- Specifies to delete all VLAN statistics control entries.
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 delete statistics counter for all ports.
ports
- Specifies to disable to count statistics by a specific port on a specific VLAN.
<portlist>
- Specifies a port list.
all
- Specifies to stop the counting of all the categories below.
all_frame
- Specifies to stop the counting of all packets.
broadcast
- Specifies to stop the counting of broadcast packets.
multicast
- Specifies to stop the counting of multicast packets.
unicast
- Specifies to stop the counting of unicast packets.
packet
- (Optional) Specifies to stop packet level counting.
byte
- (Optional) Specifies to stop byte level counting.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example
To stop the counting at the packet level for all packet types for VLAN 1:
DGS-3710-12C:admin#delete vlan_counter vlanid 1 all
Command: delete vlan_counter vlanid 1 all
Success.
DGS-3710-12C:admin#