The first time you log in to the switch you must use the default administrator account. This account has no password, so you will be prompted on login to define one to safeguard the switch.
Procedure
- When prompted to log in, specifyadmin. When prompted for the password, pressENTER. (By default, no password is defined.)
For example:
switch login:adminpassword:
- Define a password for theadmin帐户。密码可以包含多达32 alphanumeric characters in the range ASCII 32 to 127, which includes special characters such as asterisk (*), ampersand (&), exclamation point (!), dash (-), underscore (_), and question mark (?).
For example:
Please configure the 'admin' user account password. Enter new password:*******Confirm new password:*******switch#
- You are placed into the manager command context, which is identified by the prompt:
switch#
, whereswitch
is the model number of the switch. Enter the commandconfig
to change to the global configuration contextconfig
.
For example:
switch#configswitch(config)#