Loopback address and network interface handling, general commands
U
SER
G
UIDE
158
show interface frame-relay status
show interface isdn status|active-calls|history
show interface vlan status
show interface load-avg
T
RANSFERING FILES AND GENERIC COMMANDS
Various commands are available to transfer files from the router to an external system and vice
versa. The most common are:
scp
: transfers files from/to the router via SCP
ftpput
: sends a file to a remote system via FTP
ftpget
: receives a file from a remote system via FTP
tftp
: transfers files from/to the router via TFTP
ftp
: enables a FTP interactive session
The syntax of the command is the same as in Linux.
The TFTP protocol has also these two commands:
download command-file
upload command-file
these allows respectively to receive and to send a file using the auto-complete functions of the CLI.
The are also useful to transfer certificates used by various service, or, for example, to send log files
to a remote system.
There are other two commands available:
telnet
ssh
they are used to access the router from a remote system.
PING
COMMAND
The
ping
command allows to send request ICMP packets towards a remote IP address:
PING 151.1.1.1 (151.1.1.1) from 85.34.166.22: 56(84) bytes of data.
64 bytes from 151.1.1.1: icmp_seq=0 ttl=55 time=40.242 msec
64 bytes from 151.1.1.1: icmp_seq=1 ttl=55 time=39.860 msec
64 bytes from 151.1.1.1: icmp_seq=2 ttl=55 time=40.606 msec
64 bytes from 151.1.1.1: icmp_seq=3 ttl=55 time=40.107 msec
64 bytes from 151.1.1.1: icmp_seq=4 ttl=55 time=40.358 msec
64 bytes from 151.1.1.1: icmp_seq=5 ttl=55 time=39.570 msec
--- 151.1.1.1 ping statistics ---
6 packets transmitted, 6 packets received, 0% packet loss
round-trip min/avg/max/mdev = 39.570/40.123/40.606/0.424 ms
Packets are sent each second. Enter
<CTRL>-C
in order to interrupt the execution. Statistics show
the minimum, medium and maximum Round Trip time and the average standard deviation.