A SERVICE OF

logo

xStack
®
DGS-3400 Series Layer 2 Gigabit Managed Switch CLI Manual
67
10
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 <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 [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
config log_save_timing [time_interval <min 1–65535> | on_demand | log_trigger]
show log_save_timing
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. The port list is specified by
listing the lowest switch number and the beginning port number on that switch, separated
by a colon. Then the highest switch number, and the highest port number of the range
(also separated by a colon) are specified. The beginning and end of the port list range are
separated by a dash. For example, 1:3 specifies switch number 1, port 3. 2:4 specifies
switch number 2, port 4. 1:3–2:4 specifies all of the ports between switch 1, port 3 and
switch 2, port 4 in numerical order. Non–contiguous portlist entries are separated by a
comma. (ex: 1:1–1:3,1:7–1:9)
Restrictions None.