xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
138
show utilization
Purpose
Use to show real-time port utilization statistics.
Syntax
show utilization ports {<portlist>}
Description
The show utilization command displays real-time ports utilization statistics.
Parameters
portlist
- Specifies a range of ports to be displayed. (Unit ID: port number).
Restrictions
None.
Example usage:
To show the ports utilization:
DGS-3450:admin# show utilization ports
Command: show utilization ports
Port TX/sec RX/sec Util Port TX/sec RX/sec Util
------ ---------- ---------- ---- ------ ---------- ---------- ----
1:1 0 0 0 1:22 0 0 0
1:2 0 0 0 1:23 0 0 0
1:3 0 0 0 1:24 0 0 0
1:4 0 0 0 1:25 0 0 0
1:5 0 0 0 1:26 19 49 1
1:6 0 0 0 2:1 0 0 0
1:7 0 0 0 2:2 0 0 0
1:8 0 0 0 2:3 0 0 0
1:9 0 0 0 2:4 0 0 0
1:10 0 0 0 2:5 0 0 0
1:11 0 0 0 2:6 0 0 0
1:12 0 0 0 2:7 0 30 1
1:13 0 0 0 2:8 0 0 0
1:14 0 0 0 2:9 30 0 1
1:15 0 0 0 2:10 0 0 0
1:16 0 0 0 2:11 0 0 0
1:17 0 0 0 2:12 0 0 0
1:18 0 0 0 2:13 0 0 0
1:19 0 0 0 2:14 0 0 0
1:20 0 0 0 2:15 0 0 0
1:21 0 0 0 2:16 0 0 0
clear counter
Purpose
Used to clear the switch’s statistics counters.
Syntax
clear counters {ports <portlist>}
Description
The clear counters command clears the switch’s statistics counters.
Parameters
portlist
- Specifies a range of ports to be configured. 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 the end of the port list range are separated by a
dash.
For example:
1:3 would specify unit 1, port 3;
2:4 specifies unit 2, port 4;
1:3-
2:4 specifies all of the ports between unit 1, port 3 and unit 2, port 4 − in numerical order.