Console> enable

Enter password:

5.Because you have not yet set a Privileged EXEC mode password, pressing Enter will put you into Privileged EXEC mode. The console will show the following prompt:

Console> (enable)

You are now in Privileged EXEC mode.

Warning Starting here, all configuration changes are executed and saved to memory immediately.

Setting the Login and Enable Passwords

Because you don’t want the janitor coming in and trying to configure your networks, you need to configure a password. You should close your security hole to prevent unauthorized access to your switch.

1.To set a password for user access, enter the following command in Privileged EXEC mode (the new password is noaccess):

Console> (enable) set password

Enter old password: <press enter>

Enter new password: noaccess

Retype new password: noaccess

Password changed.

2.Now add an additional layer of security by changing the password to enter Privileged EXEC mode on your switch. It looks similar to the User EXEC mode change. For security purposes, the password will be masked. To change the Privileged EXEC mode password, enter the following (set the password as noone):

Console> (enable) set enablepass

Enter old password: <press enter>

Enter new password: noone

Retype new password: noone

Password changed.

Tip

At any time, you can type “?” or “help” to access the CLI help facility. For help on specific

 

commands, you can enter the command followed by a question mark; for example, set ? or set

 

help.

 

Related solutions:

Found on page:

Creating a Standard Access List

402

Creating an Extended Access List

403

Enabling Port Security

411

Changing the Console Prompt

The switch prompt is set by default to Console>. To help you to identify the switch you are configuring—especially when you Telnet into your switch—you should name the switch prompt something

that identifies it. If you fail to identify the switch correctly, it can be pretty embarrassing to work on the wrong switch. To change your hostname to CORIOLIS5000, use the following command:

Console(enable) set prompt CORIOLIS5000

CORIOLIS5000(enable)

Remember, you are still in Privileged EXEC mode, and the change will take place immediately.

43

Page 59
Image 59
Cisco Systems RJ-45-to-AUX manual Setting the Login and Enable Passwords, Changing the Console Prompt, Help