rule
rule
To configure rules for a user role or for users of privilege roles, use the rule command. To delete a rule, use
the no form of this command.
rule number {deny| permit} {command command-string| {read| read-write} oid snmp_oid_name [feature
feature-name| feature-group group-name]}
no rule number
Syntax Description
number
deny
permit
command command-string
read
read-write
oid snmp_oid_name
feature feature-name
feature-group group-name
Command Default
None
Command Modes
User role configuration
Command History
Release
4.0(1)
6.0(1)
Cisco Nexus 7000 Series Security Command Reference
636
Sequence number for the rule. The Cisco NX-OS
software applies the rule with the highest value first
and then the rest in descending order. The range is 1
to 256.
Denies access to commands or features.
Permits access to commands or features.
Specifies a command string.
Specifies read access.
Specifies read and write access.
Specifies a read-only or read-and-write-rule for an
SNMP object identifier (OID). The range it 1 to 32
elements.
(Optional) Specifies a feature name. Use the show
role feature command to list the Cisco NX-OS
feature names.
(Optional) Specifies a feature group.
Modification
This command was introduced.
Added the oid keyword.
R Commands