Usage Guidelines
You can configure up to 256 rules for each role.
The rule number that you specify determines the order in which the rules are applied. Rules are applied in
descending order. For example, if a role has three rules, rule 3 is applied before rule 2, which is applied before
rule 1.
This command does not require a license.
Examples
This example shows how to add rules to a user role:
switch# configure terminal
switch(config)# role MyRole
switch(config-role)# rule 1 deny command clear users
switch(config-role)# rule 1 permit read-write feature-group L3
This example shows how to remove rule from a user role:
switch# configure terminal
switch(config)# role MyRole
switch(config-role)# no rule 10
Related Commands
DescriptionCommand
Creates or specifies a user role name and enters user
role configuration mode.
role name
Displays the user roles.show role
Cisco Nexus 7000 Series Security Command Reference    
637
R Commands
rule