mac

Commands for Basic Switch Configuration
42
Command mode: Admin and Config Mode.
Default: The default setting is English display.
Usage Guide: Switch provides help information in two languages, the user can select
the language according to their preference. After the system restart, the help information
display will revert to English.
1.1.20 login
Command: login
no login
Function: login enable password authentication, no login command cancels the login
configuration.
Command mode: Global mode
Default: No login by default
Usage guide: By using this command, users have to enter the password set by
password command to enter normal user mode with console; no login cancels this
restriction.
Example: Enable password
Switch(config)#login
1.1.21 password
Command: password [0 | 7] <password>
no password
Function: Configure the password used for enter normal user mode on the console. The
no password” command deletes this password.
Parameter: password is the password for the user. If input option 0 on password setting,
the password is not encrypted; if input option 7, the password is encrypted.
Command mode: Global mode
Default: This password is empty by system default
Usage guide: When both this password and login command are configured, users have
to enter the password set by password command to enter normal user mode on console.
Example:
Switch(config)#password 0 test
Switch(config)#login
1.1.22 privilege
Command: privilege mode level <1-15> LINE