
Chapter 5 | CLI – Layer 2 |
|
|
Clear screen Command
The clear screen command clears the current terminal display.
The syntax for this command is:
clear screen
Ping Command
Use the ping command to send ICMP echo request packets to another node on the network.
The syntax for this command is:
ping [host[number]]
host | Host IP address/Internet address of route destination. If missing |
| then the last host IP is used. |
number | Number of packets to send. If missing, then the last number is used. |
| If the last number is not available, the default is 4. |
Note: You can use this command via the Master module only.
Example:
To ping the IP number 149.49.48.1 four times:
PING 149.49.48.1: 56 data bytes
64 bytes from 149.49.48.1: icmp_seq=0. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=1. time=0. ms
64 bytes from 149.49.48.1: icmp_seq=2. time=0. ms
4 packets transmitted, 4 packets received, 0% packet loss
45 |