5-19
engine of the device as 192.168.0.2, and that of the switching engine as 192.168.0.3 (to configure
the IP address of the switching engine, you need to change to CLI of the switching engine by using
the
oap
command). Verify the connection by using the
ping
command.
z
For operations on the switching engine, you need to log in to the switching engine using the
oap
command, configure the IP addresses as mentioned above, and verify the connection by using the
ping
command.
2) Maintain the device through the terminal connected to the console port of the device.
<System>ftp 192.168.0.1
Trying 192.168.0.1 ...
Press CTRL+K to abort
Connected to 192.168.0.1.
220 FTP service ready.
User(192.168.0.1:(none)):guest // Enter the username set on the server
331 Password required for quest.
Password: // Enter the password
230 User logged in
[ftp]
After a successful connection, you can execute the following commands to maintain the device.
Use the
get
and
put
commands to implement file download and backup.
[ftp]get main.bin main.bin // Download the file from the server to the device
flash:/main.bin has been existing. Overwrite it?[Y/N]:y
227 Entering passive mode (192,168,0,1,6,231).
125 Using exiting data connection………………
226 Closing data connection; File transfer successful.
FTP: 19189956 byte(s) received in 93.156 second(s) 206.00K byte(s)/sec.
[ftp]put main.bin main.bin // Back up the file from the device to the server
227 Entering passive mode (192,168,0,1,6,233).
125 Using exiting data connection
226 Closing data connection; File transfer successful.
FTP: 19189956 byte(s) sent in 21.417 second(s) 896.00Kbyte(s)/sec.
[ftp]quit
221 Service closing control connection