System information
Publication date: Feb., 2012
Revision A1
- 42 -
CLIReferenceGuide
Copyright @ 2012 by Amer Networks
Chapter 12 DiagnosticCommandsofCLI
Diagnostic
Thissectionprovidesasetofbasicsystemdiagnosis.Itletusersknowthat
whetherthesystemishealthorneedstobefixed.Thebasicsystemcheck
includesICMPPing,ICMPv6,andVeriPHYCableDiagnostics.
Table 11: Diagnostic Commands
Command
Function
ping
Uses the ICMP protocol's mandatory ECHO_REQUEST
datagram to elicit an ICMP ECHO_RESPONSE from a host
or
g
atewa
y
.
ping6
Uses the ICMP protocol's mandatory ECHO_REQUEST
datagram to elicit an ICMP ECHO_RESPONSE from a host
or
g
atewa
y
.
veriphy
Run cable diagnostics.
ping: The command lets you to use the ICMP protocol's
mandatoryECHO_REQUESTdatagramtoelicitanICMP
ECHO_RESPONSEfromahostorgateway
Syntax:
clear <ip-hostname> <60-1400>
Parameter :
<ip-hostname>
Hostname or IP address
<60-1400> Size of ICMP echo packet
EXAMPLE:
ping6:
The command lets you to use the ICMP protocol's
mandatoryECHO_REQUESTdatagramtoelicitanICMP
ECHO_RESPONSEfromahostorgateway
Syntax:
clear <ipv6-address> <60-1400>
Parameter :
<ipv6-address>
T
he parameter you need to type IPv6 address
<60-1400> Size of ICMP echo packet
Switch(diagnostic)# ping 192.168.6.200 80
PING server 192.168.6.200, 80 bytes of data.
88 bytes from 192.168.6.200: icmp_seq=0, time=0ms
88 bytes from 192.168.6.200: icmp_seq=1, time=0ms
88 bytes from 192.168.6.200: icmp_seq=2, time=0ms
88 bytes from 192.168.6.200: icmp_seq=3, time=0ms
88 bytes from 192.168.6.200: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
Switch(diagnostic)#