Cisco Nexus 5000 Series Command Reference Release 4.0(1a)N2(1) (OL-16599-01, March 2009)

Send comments to nx5000-docfeedback@cisco.com
6-92
Cisco Nexus 5000 Series Command Reference
OL-16599-01
Chapter 6 Security Commands
role name
role name
To create or specify a user role and enter user role configuration mode, use the role name command. To
delete a user role, use the no form of this command.
role name role-name
no role name role-name
Syntax Description
Command Default None
Command Modes Configuration mode
Command History
Usage Guidelines A Cisco Nexus 5000 Series switch provides the following default user roles:
Network Administrator—Complete read-and-write access to the entire switch
Complete read access to the entire switch
You cannot change or remove the default user roles.
Examples This example shows how to create a user role and enter user role configuration mode:
switch(config)# role MyRole
switch(config-role)#
This example shows how to remove a user role:
switch(config)# no role name MyRole
Related Commands
role-name User role name. The role-name has a maximum length of 16 characters and
is a case-sensitive, alphanumeric character string.
Release Modification
4.0(0)N1(1a) This command was introduced.
Command Description
show role Displays the user roles.