EasyManua.ls Logo

Cisco Nexus 5000 Series - Configuring Rbac; Creating User Roles and Rules

Cisco Nexus 5000 Series
660 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Send feedback to nx5000-docfeedback@cisco.com
1-5
Cisco Nexus 5000 Series Switch CLI Software Configuration Guide
OL-16597-01
Chapter 1 Configuring User Accounts and RBAC
Configuring RBAC
The following example shows how to configure a user account:
switch# configure terminal
switch(config)# username NewUser password 4Ty18Rnt
switch(config)# exit
switch# show user-account
switch# copy running-config startup-config
Configuring RBAC
This section includes the following topics:
Creating User Roles and Rules, page 1-5
Changing User Role Interface Policies, page 1-7
Creating User Roles and Rules
Each user role can have up to 256 rules. You can assign a user role to more that one user account.
The rule number 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.
To create user roles and specify rules, perform this task:
Step 3
switch(config)# username user-id [password
password] [expire date] [role role-name]
Configure a user account. The user-id argument is a
case-sensitive, alphanumeric character string with a
maximum length of 28 characters.
The default password is undefined.
Note If you do not specify a password, the user
might not be able to log in to the Nexus 5000
Series switch.
The expire date option format is YYYY-MM-DD.
The default is no expiry date.
Step 4
switch(config)# exit
switch#
Exits global configuration mode.
Step 5
switch# show user-account
(Optional) Displays the role configuration.
Step 6
switch# copy running-config startup-config
(Optional) Copies the running configuration to the
startup configuration.
Command Purpose
Command Purpose
Step 1
switch# configure terminal
Enters global configuration mode.
Step 2
switch(config)# role name role-name
Specifies a user role and enters role configuration
mode. The role-name argument is a case-sensitive,
alphanumeric character string with a maximum
length of 16 characters.

Table of Contents

Other manuals for Cisco Nexus 5000 Series

Related product manuals