3 configuring the enable password, 4 validation – CANOGA PERKINS CanogaOS Configuration Guide User Manual
Page 333

CanogaOS Configuration Guide
Proprietary & Confidential Canoga Perkins Metro Ethernet Switches
Page 333 of 350
DUT(config)# line console 0
DUT(config)# line password abc123
DUT(config-line)# login
After the above setting, login the switch will need the line password, and user can try to login at
most 3 times. This is a sample output of the login prompt:
User Access Verification
Password:
44.3 Configuring the enable password
The enable password controls access to the privileged EXEC mode.
To set the enable password, follow these steps:
DUT# configure terminal
Enter global configuration mode.
DUT(config)# enable password abc123
Define a new password or change an existing password
for access to privileged EXEC mode. By default, no
password is defined
To remove the password, use the
no enable password
global configuration command.
This example shows how to change the enable password to l1u2c3k4y5. The password is not
encrypted and provides access to level 15 (traditional privileged EXEC mode access):
DUT(config)# enable password l1u2c3k4y5
44.4 Validation
To display the co Commands nfigured users, use the show usernames privileged EXEC
command.
DUT#show usernames
Number User name Privilege Password Rsa Key
==============================================================
1 aaa 1 *
2 ccc 1 *
To display all the login information, use the show users privileged EXEC command.
DUT#show users
Line User Host(s) Idle Location
0 con 0 ccc idle 18:41:28 127.0.0.1
130 vty 0 ddd idle 00:00:53 10.10.29.20
131 vty 1 ccc idle 00:04:43 10.10.29.20
*132 vty 2 eeed idle 00:00:00 10.10.29.20