Chapter 4: Commands for CLI configuration
Switch#
no erps 1 command force port0
ping
ping ip
Command:
ping ip <v_ip_addr> [ repeat <count> ] [ size <size> ] [ interval
<seconds> ]
ping
Send ICMP echo messages
ip
IP (ICMP) echo
<v_ip_addr>
ICMP destination address
interval
Specify repeat interval
<Seconds : 0-30>
0-30; Default is 0
repeat
Specify repeat count
<Count : 1-60>
1-60; Default is 5
size
Specify datagram size
<Size : 2-1452>
2-1452; Default is 56 (excluding MAC, IP and ICMP headers)
Default:
N/A
Usage Guide:
To run the
IPv4 Ping
function
Example:
To run the
IPv4 Ping
(192.168.0.78) function
Switch#
ping ip 192.168.0.78
PING server 192.168.0.78, 56 bytes of data.
64 bytes from 192.168.0.78: icmp_seq=0, time=0ms
64 bytes from 192.168.0.78: icmp_seq=1, time=0ms
64 bytes from 192.168.0.78: icmp_seq=2, time=0ms
64 bytes from 192.168.0.78: icmp_seq=3, time=0ms
64 bytes from 192.168.0.78: icmp_seq=4, time=0ms
Sent 5 packets, received 5 OK, 0 bad
ping ipv6
Command:
ping ipv6 <v_ipv6_addr> [ repeat <count> ] [ size <size> ]
[ interval <seconds> ] [ interface vlan <v_vlan_id> ]
ping
Send ICMP echo messages
ipv6
IPv6 (ICMPv6) echo
interface
Select an interface to configure
vlan
VLAN Interface
<v_vlan_id>
VLAN identifier(s): VID
interval
Specify repeat interval
NS3500-24T-4C Managed Switch Command Guide
249