Reference v4.1.0 Instruction Manual
Network OS Command Reference 1123
53-1003115-01
show running-config rule
2
show running-config rule
Displays configured access rules.
Synopsis show running-config rule [index] [{action {reject | accept}| command command_name |
operation {read-only | read-write}| role role_number}]
Operands rule Displays all configured rules
index Displays the rule with the specified index number. The valid range is from 1
through 512.
action {reject | accept}
Displays all rules with the specified action: accept or reject.
command command_name
Displays all rules for the specified command. Type a question mark (?) to
display a list of valid commands.
operation {read-only | read-write}
Displays the operation for the command.
role role_number Displays all rules for the specified role.
Defaults None
Command Modes Privileged EXEC mode
Description Use this command to display configured access rules.
Use this command without operands to display rules that have been defined and associated with a
particular role.
Usage Guidelines None
Examples To display the configured roles and their access rules:
switch# show running-config rule
rule 30 action accept operation read-write role NetworkSecurityAdmin
rule 30 command role
!
rule 31 action accept operation read-write role NetworkSecurityAdmin
rule 31 command rule
!
rule 32 action accept operation read-write role NetworkSecurityAdmin
rule 32 command username
!
rule 33 action accept operation read-write role NetworkSecurityAdmin
rule 33 command aaa
!
rule 34 action accept operation read-write role NetworkSecurityAdmin
rule 34 command radius-server
!
rule 35 action accept operation read-write role NetworkSecurityAdmin
rule 35 command configure
!
rule 40 action accept operation read-write role FCOEAdmin
rule 40 command "interface fcoe"