Administrator Guide

Security Commands 904
Example
console(admin-profile)#description “This profile allows access to QoS
commands.”
rule
Use the rule command to add a rule to an administrative profile.
Use the no form of this command to delete a rule.
Syntax
rule number {deny|permit} {command command-string|mode mode-
name}
no rule number
number—The sequence number of the rule. Rules are applied from the
highest sequence number to the lowest. Range: 1 to 256.
command-string—Specifies which commands to permit or deny. The
command-string may contain spaces and regular expressions. The
command string is required to be enclosed in quotes if it contains
embedded white space. Range: 1 to 128 characters). Regular expressions
should conform to Henry Spencer’s implementation of the POSIX 1003.2
specification.
NOTE: Note: In this usage, the beginning and end of line meta-characters have no
meaning.
mode-name—The name of the CLI mode to which the profile will permit
or deny access.
Default Configuration
This command has no default configuration.
Command Mode
Administrative Profile Configuration mode
User Guidelines
This command has no user guidelines.