beautypg.com

5 line-password – CANOGA PERKINS 9175 Command Reference User Manual

Page 47

background image

CanogaOS Command Reference

4-3

Command Syntax

exit

Command Mode

All configuration modes

Usage

The exit command is used to exit from the current command mode to the next highest command mode

in the CLI mode hierarchy. For example, use the exit command in global configuration mode to return to

privileged EXEC mode. Use the exit command in interface, line, or router configuration mode to return to

global configuration mode.

Examples

The following example shows an exit from the line configuration mode to return to the global

configuration mode:

Switch(config-line)#exit

Switch(config)#

Related Commands

line console line-number

line vty line-number

4.5 line-password

Use this command to specify the password to access the line.

To remove the password, use the no form of this command.

Command Syntax

line-password [8] password

no line-password

8:

(Optional) Specifies a HIDDEN password will follow

password: Line password string

Command Mode

Line configuration

Usage

When specifies the HIDDEN password, the password will be encrypted in running configure. Reference

to service password-encryption for detail. System will not enable the encryption and the password will

not be encrypted by default.

Examples

The following example specifies the password to 123:

Switch(config-line)# line-password 123