CLI commands
This Command section contains the following commands:
To do...
Display a list of CLI commands on the device
Reboot the device and run the default configuration
Specify VLAN-interface 1 to obtain an IP address through
DHCP or manual configuration
Modify the login password of a user
Download the Boot ROM image or system software image file
from the TFTP server and specify as the startup configuration
file
Reboot the device and run the main configuration file
View the summary information of the device
Ping a specified destination
initialize
Syntax
initialize
Parameters
None
Description
Use the initialize command to delete the configuration file to be used at the next startup and reboot the
device with the default configuration being used during reboot.
Use the command with caution because this command deletes the configuration file to be used at the
next startup and restores the factory default settings.
Examples
# Delete the configuration file to be used at the next startup and reboot the device with the default
configuration being used during reboot.
<Sysname> initialize
The startup configuration file will be deleted and the system will be rebooted.Continue?
[Y/N]:y
Please wait...
ipsetup
Syntax
ipsetup { dhcp | ip address ip-address { mask | mask-length } [ default-gateway ip-address ] }
Parameters
dhcp: Specifies the interface to obtain an IP address through DHCP.
Use the command...
?
initialize
ipsetup { dhcp | ip address ip-address { mask
| mask-length } [ default-gateway
ip-address ] }
password
upgrade server-address source-filename
{ bootrom | runtime }
reboot
summary
ping host
21