2 configuring the user management in login mode – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 332

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 332 of 350

DUT# configure terminal

Enter global configuration mode.

DUT(config)# cipher detect strong

Set high level of cipher detect on the switch

DUT(config)# exit

Exit the Configure mode

This is a sample output from the command displaying how to set high level of cipher detect on
the switch:

DUT(config)# cipher detect strong

Note: This cmd will make all un-strong clear text passwords lost!!

DUT(config)# username testName password 1111

Strong cipher MUST contain digital, normal character and special character

44.1.3 Creating a local user account on the switch
A local user account must also contain at least one alphabetic character and at most 31characters.
To create a local user account on the switch, follow these steps:

DUT# configure terminal

Enter global configuration mode.

DUT(config)# username testname password
123abc<>

Create a local user account

DUT(config)# exit

Exit the Configure mode

This is a sample output from this command displaying how to add a user named testName and
with the password of 123abc<>.

DUT(config)#username testName password 123abc<>

After the above setting, login the switch will need a username and password, and user can try to
login at most 3 times. This is a sample output of the login prompt:

User Access Verification

Username: testName

Password:

44.2 Configuring the user management in login mode

The login mode requires the line password without a username.
To configure the user management in login mode, follow these steps:

DUT# configure terminal

Enter global configuration mode.

DUT(config)# line vty 0 7

Enter line configuration mode, use line console 0 if you

want to set console port access

DUT(config-line)# login

Enable login authentication on the switch

This is a sample output from the command displaying how to enable local authentication on the
switch.

Advertising