•
These commands are always permitted for the priv-0 role: configure, copy, dir, enable, ping, show,
ssh, telnet, terminal, traceroute, end, and exit.
This command does not require a license.
Examples
This example shows how to create a user role and enter user role configuration mode:
switch# configure terminal
switch(config)# role name MyRole
switch(config-role)#
This example shows how to remove a user role:
switch# configure terminal
switch(config)# no role name MyRole
This example shows how to enable privilege level 5 for users:
switch# configure terminal
switch(config)# role name priv-5
switch(config-role)#
Related Commands
DescriptionCommand
Configure rules for a user role or for users of privilege
roles.
rule
Displays the user roles.show role
Cisco Nexus 7000 Series Security Command Reference
631
R Commands
role name