Note
This command and its syntax is common to both the User Executable and Privilege Executable configuration modes.ping6 <IPv6/HOSTNAME> {<INTF-NAME>} {(count <1-10000>|size <1-64000>)}
ping6 <IPv6/HOSTNAME> {<INTF-NAME>} {(count <1-10000>|size <1-64000>)}
<IPv6/HOSTNAME> | Specify the destination IPv6 address or hostname. |
<INTF-NAME> | Specify the interface name for link local/broadcast address |
count <1-10000> | Optional. Sets the pings to the specified IPv6 destination
|
size <1-64000> | Optional. Sets the IPv6 ping payload size in bytes
|
To configure a device‘s IPv6 address, in the VLAN interface
configuration mode, use the ipv6 > address
<IPv6-ADDRESS>
command. After configuring the IPv6
address, use the ipv6 > enable
command to enable IPv6. For more
information, see ipv6 (profile config mode).
nx9500-6C8809(config-device-00-23-68-1B-35-96-if-ge4)#show ipv6 interface brief -------------------------------------------------------------------------------- INTERFACE IPV6 MODE IPV6-ADDRESS/MASK TYPE STATUS PROTOCOL -------------------------------------------------------------------------------- vlan1 True fe80::223:68ff:fe88:da7/64 Link-Local UP up vlan1 True 2001:10:10:10:10:10:10:1/64 Global-Permanent UP up vlan2 False UNASSIGNED None UP up -------------------------------------------------------------------------------- nx9500-6C8809(config-device-00-23-68-1B-35-96-if-ge4)#
nx9500-6C8809>ping6 2001:10:10:10:10:10:10:1 count 6 PING 2001:10:10:10:10:10:10:1(2001:10:10:10:10:10:10:1) 100 data bytes 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=1 ttl=64 time=0.401 ms 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=2 ttl=64 time=0.311 ms 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=3 ttl=64 time=0.300 ms 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=4 ttl=64 time=0.309 ms 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=5 ttl=64 time=0.299 ms 108 bytes from 2001:10:10:10:10:10:10:1: icmp_seq=6 ttl=64 time=0.313 ms --- 2001:10:10:10:10:10:10:1 ping statistics --- 6 packets transmitted, 6 received, 0% packet loss, time 6999ms rtt min/avg/max/mdev = 0.299/0.318/0.401/0.031 ms nx9500-6C8809>