Feedback
|
Table Of Contents
Privilege Command Enhancements
Supported Standards, MIBs, and RFCs
Privilege Command Enhancements
Feature History
This document describes the Privilege Command Enhancements feature in Cisco IOS Release 12.0(22)S. It includes the following sections:
Supported Standards, MIBs, and RFCs
Feature Overview
This feature simplified the configuration of privilege levels for all commands through the enhancement of the privilege global configuration command. A privilege level can now be specified for all keyword options of a command with a single command-line interface (CLI) command. Previously, separate privilege commands were required for each keyword combination of a command.
Benefits
•
Reduces the number of commands to configure privilege levels for all the options of a command, reducing the CPU time and increasing performance.
•
Reduces the size of the configuration file freeing up space in NVRAM.
Related Documents
Cisco IOS Configuration Fundamentals Command Reference, Release 12.2
Cisco IOS Configuration Fundamentals Configuration Guide, Release 12.2
Supported Platforms
•
Cisco 7500 series
•
Cisco 10000 series
•
Cisco 12000 series
Determining Platform Support Through Cisco Feature Navigator
Cisco IOS software is packaged in feature sets that are supported on specific platforms. To get updated information regarding platform support for this feature, access Cisco Feature Navigator. Cisco Feature Navigator dynamically updates the list of supported platforms as new platform support is added for the feature.
Cisco Feature Navigator is a web-based tool that enables you to quickly determine which Cisco IOS software images support a specific set of features and which features are supported in a specific Cisco IOS image. You can search by feature or release. Under the release section, you can compare releases side by side to display both the features unique to each software release and the features in common.
To access Cisco Feature Navigator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
Cisco Feature Navigator is updated regularly when major Cisco IOS software releases and technology releases occur. For the most current information, go to the Cisco Feature Navigator home page at the following URL:
Availability of Cisco IOS Software Images
Platform support for particular Cisco IOS software releases is dependent on the availability of the software images for those platforms. Software images for some platforms may be deferred, delayed, or changed without prior notice. For updated information about platform support and availability of software images for each Cisco IOS software release, refer to the online release notes or, if supported, Cisco Feature Navigator.
Supported Standards, MIBs, and RFCs
Standards
No new or modified standards are supported by this feature.
MIBs
No new or modified MIBs are supported by this feature.
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL:
http://tools.cisco.com/ITDIT/MIBS/servlet/index
If Cisco MIB Locator does not support the MIB information that you need, you can also obtain a list of supported MIBs and download MIBs from the Cisco MIBs page at the following URL:
http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml
To access Cisco MIB Locator, you must have an account on Cisco.com. If you have forgotten or lost your account information, send a blank e-mail to cco-locksmith@cisco.com. An automatic check will verify that your e-mail address is registered with Cisco.com. If the check is successful, account details with a new random password will be e-mailed to you. Qualified users can establish an account on Cisco.com by following the directions found at this URL:
RFCs
No new or modified RFCs are supported by this feature.
Configuration Tasks
None
Configuration Examples
None
Command Reference
This section documents the following modified command. All other commands used with this feature are documented in the Cisco IOS Release 12.2 command reference publications.
•
privilege (global)
privilege (global)
To set the privilege level for a command, use the privilege (global) command in configuration mode. Use the no form of this command to revert to default privileges for a given command.
privilege mode [all {level level}] | [reset command]
no privilege mode [all {level level}] | [reset command]
Syntax Description
Defaults
No default behavior or values.
Command Modes
Global configuration
Command History
Usage Guidelines
The password for a privilege level defined using the privilege global configuration command is configured using the enable password command.
Level 0 can be used to specify a more-limited subset of commands for specific users or lines. For example, you can allow user "guest" to use only the show users and exit commands.
To change the privilege level of a particular command or its suboptions, use the all keyword.
Note
There are five commands associated with privilege level 0: disable, enable, exit, help, and logout. If you configure AAA authorization for a privilege level greater than 0, these five commands will not be included.
When you set a command to a privilege level, all commands whose syntax is a subset of that command are also set to that level. For example, if you set the show ip route command to level 15, the show commands and show ip commands are automatically set to privilege level 15—unless you set them individually to different levels. To set all the suboptions available under a command to the same level as the command, use the all keyword. For example, if you set the show ip keywords to level 5, show and ip will be changed to level 5 and all the suboptions under ip will be executed from level 5.
Table 1 shows the acceptable options for the mode argument in the privilege command
.
The following example shows how to set the configure command to privilege level 14 and establish SecretPswd14 as the password users must enter to use level 14 commands:
privilege exec level 14 configureenable secret level 14 SecretPswd14The following example shows how to reset the configure command privilege level:privilege exec reset configureThe following example shows how to set the show and ip keywords to level 5. The suboptions coming under ip will also be executed from level 5.privilege exec all level 5 show ip
Feedback