431
System Utility and Clear Commands
The following are examples of the CLI command.
Example:
traceroute Success:
(DWS-4026) # traceroute 10.240.10.115 initTtl 1 maxTtl 4 maxFail 0 interval 1 count 3
port 33434 size 43
Traceroute to 10.240.10.115 ,4 hops max 43 byte packets:
1 10.240.4.1 708 msec 41 msec 11 msec
2 10.240.10.115 0 msec 0 msec 0 msec
Hop Count = 1 Last TTL = 2 Test attempt = 6 Test Success = 6
Example:
traceroute Failure:
(DWS-4026) # traceroute 10.40.1.1 initTtl 1 maxFail 0 interval 1 count 3
port 33434 size 43
Traceroute to 10.40.1.1 ,30 hops max 43 byte packets:
1 10.240.4.1 19 msec 18 msec 9 msec
2 10.240.1.252 0 msec 0 msec 1 msec
3 172.31.0.9 277 msec 276 msec 277 msec
4 10.254.1.1 289 msec 327 msec 282 msec
5 10.254.21.2 287 msec 293 msec 296 msec
6 192.168.76.2 290 msec 291 msec 289 msec
7 0.0.0.0 0 msec *
Hop Count = 6 Last TTL = 7 Test attempt = 19 Test Success = 18
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
y
, you automatically reset the current
configuration on the switch to the default values. It does not reset the switch.
clear counters
This command clears the statistics for a specified
<slot/port>,
for all the ports, or for the entire switch based upon the
argument.
count
Use the optional
count
parameter to specify the number of probes to send for each TTL value. Range
is 1 to 10 probes.
port
Use the optional
port
parameter to specify destination UDP port of the probe. This should be an
unused port on the remote destination system. Range is 1 to 65535.
size
Use the optional
size
parameter to specify the size, in bytes, of the payload of the Echo Requests
sent. Range is 0 to 65507 bytes.
Format
clear config
Mode
Privileged EXEC
Format
clear counters
{<slot/port> | all}
Mode
Privileged EXEC
Parameter
Description
Summary of Contents for DWS-4000 Series
Page 20: ...D Link Unified Switch CLI Command Reference 12 2009 D Link Corporation All Rights Reserved ...
Page 170: ...D Link Unified Switch CLI Command Reference 162 2009 D Link Corporation All Rights Reserved ...
Page 369: ...361 Captive Portal Status Commands Locale Link The names of the languages Field Description ...
Page 416: ...D Link Unified Switch CLI Command Reference 408 2009 D Link Corporation All Rights Reserved ...
Page 528: ...D Link Unified Switch CLI Command Reference 520 2009 D Link Corporation All Rights Reserved ...
Page 545: ...537 O SSupport ...
Page 546: ...D Link Unified Switch CLI Command Reference 538 2009 D Link Corporation All Rights Reserved ...
Page 566: ...D Link Unified Switch CLI Command Reference 558 2009 D Link Corporation All Rights Reserved ...