CLI Command Reference
Port
Host Status
show logging traplogs
This command displays SNMP trap events and statistics.
Format
Mode
Number of Traps Since Last Reset The number of traps since the last boot.
Trap Log Capacity The number of traps the system can retain.
Number of Traps Since Log Last Viewed The number of new traps since the command was
Log
System Time Up How long the system had been running at the time the trap was sent.
Trap
System Utility and Clear Commands
This section describes the commands you use to help troubleshoot connectivity issues and to
restore various configurations to their factory defaults.
traceroute
Use the
to their destination through the network on a hop-by-hop basis. The
a valid IP address. The
(zero) to 65535. The optional port parameter is the UDP port used as the destination of packets
sent as part of the traceroute. This port should be an unused port on the destination system.
The default value is 33434.
Format
Mode
clear config
This command resets the configuration to the factory defaults without powering off the switch.
When you issue this command, a prompt appears to confirm that the reset should proceed.
When you enter
default values. It does not reset the switch.
Format
Mode
272
© 2001- 2008 D-Link Corporation/D-Link Systems, Inc. All Rights Reserved.
The server port number, which is the port on the local host from which syslog
messages are sent.
The state of logging to configured syslog hosts. If the status is disable, no log-
ging occurs.
show logging traplogs
Privileged EXEC
last executed.
The log number.
The text of the trap message.
command to discover the routes that packets actually take when traveling
traceroute
[<port>]
traceroute <ipaddr> [<port>]
Privileged EXEC
, you automatically reset the current configuration on the switch to the
y
clear config
Privileged EXEC
value should be a valid decimal integer in the range of 0
value should be
<ipaddr>