132
Task Command
Remarks
Display the contents of
a file.
more file-url N/A
Permanently delete a
file.
delete file-url N/A
Delete a folder. rmdir directory
To delete a folder, first delete all files and child folders
in the folder.
Format a storage
medium.
format storage-medium N/A
Obtaining a system image from an FTP/TFTP server
If the required system image is saved on an FTP or TFTP server, configure the management Ethernet port
and obtain the system image as described in the following sections.
The version of the system image must match that of the boot image. Before obtaining a system image,
check the version of the boot image by using the display version command and the version of the system
image by reading the release notes.
Configuring the management Ethernet port
To use FTP, TFTP, SSH, and Telnet services in emergency shell mode, you must configure an IP address for
the management Ethernet port and bring up the port at first. If the servers are on a different network, you
must also specify a gateway for the management Ethernet port.
To configure the management Ethernet port on an IPv4 network:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter management
Ethernet port view.
interface m-eth0 N/A
3. Assign an IPv4 address
to the port.
ip address ip-address { mask-length | mask }
By default, the management
Ethernet port has no IPv4
address.
4. Specify an IPv4 gateway
for the port.
ip gateway ip-address
By default, the management
Ethernet port has no IPv4
gateway configured.
5. Bring up the port.
undo shutdown
By default, the management
Ethernet port is up.
6. Return to system view.
quit N/A
To configure the management Ethernet port on an IPv6 network:
Ste
Command
Remarks
1. Enter system view.
system-view N/A