Command line interface Display status and statistics using the show command
Digi Connect IT® 16/48 User Guide
704
Transfer a file from the Connect IT 16/48 device to a remote host
To copy a file from the Connect IT 16/48 device to a remote host, use the scp command as follows:
> scp host hostname-or-ip user username remote remote-path local local-path to
remote
where:
n hostname-or-ip is the hostname or ip address of the remote host.
n username is the name of the user on the remote host.
n remote-path is the location on the remote host where the file will be copied.
n local-path is the path and filename on the Connect IT 16/48 device.
For example:
To copy a support report from the Connect IT 16/48 device to a remote host at the IP address of
192.168.4.1:
1. Use the system support-report command to generate the report:
> system support-report /var/log/
Saving support report to /var/log/support-report-0040D0133536-21-02-26-
8:04:23.bin
Support report saved.
>
2. Use the scp command to transfer the report to a remote host:
> scp host 192.168.4.1 user admin remote /home/admin/temp/ local
/var/log/support-report-00:40:D0:13:35:36-21-02-26-8:04:23.bin to remote
admin@192.168.4.1's password: adminpwd
support-report-0040D0133536-21-02-26-8:04:23.bin
>
Display status and statistics using the show command
The Connect IT 16/48 show command display status and statistics for various features.
For example:
show config
The show config command displays all the configuration settings for the device that have been
changed from the default settings. This is a particularly useful when troubleshooting the device.
> show config
auth tacacs+ service "login"
auth user admin password
"$2a$05$WlJQhquI7BgsytkpobKhaeLPtWraGANBcrlEaJX/wJv63JENW/HOu"
add auth user test
add auth user test group end "admin"
add auth user test group end "serial"
auth user test password
"$2a$05$RdGYz1sLKbWrqe6cZjlsd.otg03JZR6n9939XV6EYWUSP0tMAzO5W"