xStack DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
9
NETWORK MONITORING COMMANDS
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_list>
enable syslog
disable 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 {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 {severity [informational | warning | all] | facility [local0 | local1 |
local2 | local3 | local4 | local5 | local6 | local7] | udp_port
<udp_port_number> | state [enable | disable]}
delete syslog host [<index 1-4> | all]
show syslog host {<index 1-4>}
show syslog
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 7:
54