xStack DGS-3612G Layer 3 Gigabit Ethernet Managed Switch CLI Manual
9
N
ETWORK
M
ONITORING
C
OMMANDS
The network monitoring commands in the Command Line Interface (CLI) are listed (along with the appropriate parameters) in the
following table.
Command Parameters
show packet ports
<portlist>
show error ports
<portlist>
show utilization
[ports | cpu]
clear counters
{ports <portlist>}
clear log
show log
index <value 1-65535>
enable syslog
disable syslog
show syslog
create syslog host
<index 1-4> {severity [informational | warning | all] | facility [local0 |
local1 | local2 | local3 | local4 | local5 | local6 | local7] | udp_port
<udp_port_number> | ipaddress <ipaddr> | state [enable | disable]
config syslog host
[all | <index 1-4>] {severity [informational | warning | all] | facility
[local0 | local1 | local2 | local3 | local4 | local5 | local6 | local7] |
udp_port <udp_port_number> | ipaddress <ipaddr> | state [enable
| disable]}
delete syslog host
[<index 1-4> | all]
show syslog host
{<index 1-4>}
config system_severity
[trap | log | all] [critical | warning | information]
show system_severity
Each command is listed, in detail, in the following sections.
show packet ports
Purpose
Used to display statistics about the packets sent and received by the
Switch.
Syntax
show packet ports <portlist>
Description
This command is used to display statistics about packets sent and
received by ports specified in the
<portlist>
.
Parameters
<portlist>
−
Specifies a port or range of ports to be displayed.
Restrictions None.
Example usage:
To display the packets analysis for port 2:
59