Chapter 26
| IP Interface Commands
Interface Address Configuration and Utilities
– 673 –
size - Number of bytes in a packet. (Range: 48-18024 bytes)
The actual packet size will be eight bytes larger than the size specified
because the router adds header information.
Default Setting
count: 5
size: 100 bytes
Command Mode
Privileged Exec
Command Usage
â—† Use the ping6 command to see if another site on the network can be reached,
or to evaluate delays over the path.
â—† The same link-local address may be used by different interfaces/nodes in
different zones (RFC 4007). Therefore, when specifying a link-local address,
include zone-id information indicating the VLAN identifier after the % delimiter.
For example, FE80::7272%1 identifies VLAN 1 as the interface from which the
ping is sent.
â—† When pinging a host name, be sure the DNS server has been enabled (see
page 624). If necessary, local devices can also be specified in the DNS static host
table (see page 626).
â—† When using ping6 with a host name, the switch first attempts to resolve the
alias into an IPv6 address before trying to resolve it into an IPv4 address.
Example
Console#ping6 FE80::2E0:CFF:FE00:FC%1/64
Type ESC to abort.
PING to FE80::2E0:CFF:FE00:FC%1/64, by 5 32-byte payload ICMP packets,
timeout is 3 seconds
response time: 20 ms [FE80::2E0:CFF:FE00:FC] seq_no: 1
response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 2
response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 3
response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 4
response time: 0 ms [FE80::2E0:CFF:FE00:FC] seq_no: 5
Ping statistics for FE80::2E0:CFF:FE00:FC%1/64:
5 packets transmitted, 5 packets received (100%), 0 packets lost (0%)
Approximate round trip times:
Minimum = 0 ms, Maximum = 20 ms, Average = 4 ms
Console#