xStack
®
DGS-3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide
1072
Examples
To begin counting ingress and egress broadcast traffic for port 3 of VLAN 1 by packets, create a
control entry as below:
DGS-3120-24TC:admin#create vlan_counter vlanid 1 ports 1:3 broadcast packet
Command: create vlan_counter vlanid 1 ports 1:3 broadcast packet
Success.
DGS-3120-24TC:admin#
To begin counting ingress multicast traffic for port 3 of VLAN 2 by packets, create a control entry
as below:
DGS-3120-24TC:admin#create vlan_counter vlanid 2 ports 1:3 multicast packet rx
Command: create vlan_counter vlanid 2 ports 1:3 multicast packet rx
Success.
DGS-3120-24TC:admin#
To begin counting egress unicast traffic for port 5 of VLAN 4 by packets, create a control entry as
below:
DGS-3120-24TC:admin#create vlan_counter vlanid 4 ports 1:5 unicast packet tx
Command: create vlan_counter vlanid 4 ports 1:5 unicast packet tx
Success.
DGS-3120-24TC:admin#
117-2
clear vlan_counter statistics
Description
This command is used to clear statistics gathered by VLAN control entries for VLAN traffic flow
statistics.
Format
clear vlan_counter statistics [all | [vlan <vlan_name> | vlanid <vidlist>] [all | ports <portlist>]]
{[rx | tx]}
Parameters
all
- Specify that all of the statistics will be cleared.
vlan
- Specify the VLAN name that will be used for this configuration.
<vlan_name>
- Enter the VLAN name that will be used for this configuration.
vlanid
- Specify the VLAN ID that will be used for this configuration.
<vidlist>
- Enter the VLAN ID that will be used for this configuration.
ports
- (Optional) Specify the list of ports that will be used for this configuration.
<portlist>
- Enter the list of ports that will be used for this configuration.
all
- Specify that all ports will be used for this configuration.
Summary of Contents for xStack DGS-3120-24PC
Page 1: ......
Page 186: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 181 ...
Page 204: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 199 ...
Page 363: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 358 ...
Page 1056: ...xStack DGS 3120 Series Layer 3 Managed Gigabit Ethernet Switch CLI Reference Guide 1051 ...