Logging in to the CLI

The login process requires a username and password. The default username for first time configuration is admin, no password is required. Usernames and passwords are case sensitive.

To log in to the CLI:

1.Press Enter. The Username prompt displays:

Login authentication

Username:

2.Enter your username at the Username prompt.

Username:admin

3.Press Enter. The Password prompt appears.

Password:

The login information is verified, and the following CLI menu appears:

<HP 1920 Switch>

If the password is invalid, the following message appears and process restarts.

% Login failed!

CLI commands

This section contains the following commands:

Task

Command

Display a list of CLI commands on the device.

?

 

 

Reboot the device and run the default configuration.

initialize

 

 

Configure VLAN-interface 1 to obtain an IPv4 address through

ipsetup { dhcp ip-address ip-address{ mask

mask-length} [ default-gateway

DHCP or manual configuration.

ip-address ] }

 

 

 

Configure VLAN-interface 1 to obtain an IPv6 address through

ipsetup ipv6 { auto address { ipv6-address

prefix-length ipv6-address/prefix-length }

the autoconfiguration function or manual configuration.

[ default-gateway ipv6-address] }

 

 

 

Modify the login password.

password

 

 

Log out of the system.

quit

 

 

Download the Boot ROM image or system software image file

upgrade [ ipv6 ] server-address

from the TFTP server and specify it as the startup configuration

source-filename{ bootrom runtime }

file.

 

 

 

Reboot the device and run the main configuration file.

reboot

 

 

View the summary information about the device.

summary

 

 

Ping a specified destination.

ping [ ipv6 ] host

 

 

Tear down the current connection and quit the system.

quit

 

 

24