beautypg.com

Changing the default privilege level for lines, Logging into and exiting a privilege level – IBM 12.1(22)EA6 User Manual

Page 88

background image

5-8

Cisco Systems Intelligent Gigabit Ethernet Switch Modules for the IBM BladeCenter, Software Configuration Guide

24R9746

Chapter 5 Configuring Switch-Based Authentication

Protecting Access to Privileged EXEC Commands

This example shows how to set the configure command to privilege level 14 and define SecretPswd14
as the password users must enter to use level 14 commands:

Switch(config)# privilege exec level 14 configure

Switch(config)# enable password level 14 SecretPswd14

Changing the Default Privilege Level for Lines

Beginning in privileged EXEC mode, follow these steps to change the default privilege level for a line:

Users can override the privilege level you set using the privilege level line configuration command by
logging in to the line and enabling a different privilege level. They can lower the privilege level by using
the disable command. If users know the password to a higher privilege level, they can use that password
to enable the higher privilege level.

To return to the default line privilege level, use the no privilege level line configuration command.

Logging into and Exiting a Privilege Level

Beginning in privileged EXEC mode, follow these steps to log in to a specified privilege level and to exit
to a specified privilege level:

Command

Purpose

Step 1

configure terminal

Enter global configuration mode.

Step 2

line vty line

Select the virtual terminal line on which to restrict access.

Step 3

privilege level level

Change the default privilege level for the line.

For level, the range is from 0 to 15. Level 1 is for normal user EXEC mode
privileges. Level 15 is the level of access permitted by the enable
password.

Step 4

end

Return to privileged EXEC mode.

Step 5

show running-config

or

show privilege

Verify your entries.

The first command displays the password and access level configuration.
The second command displays the privilege level configuration.

Step 6

copy running-config startup-config

(Optional) Save your entries in the configuration file.

Command

Purpose

Step 1

enable level

Log in to a specified privilege level.

For level, the range is 0 to 15.

Step 2

disable level

Exit to a specified privilege level.

For level, the range is 0 to 15.