user-role

Creates and updates the user role configuration.
Syntax
user-role role-name
no user-role[role-name]

After the user-role command is entered to enter user role configuration mode, the following configuration syntax is available:

{firewall-profilefirewall-name|max-devices{number|unlimited}
Command Default

No user roles are defined.

Parameters
role-name
Specifies the user role name.
firewall-profilefirewall-name
Specifies the firewall profile name to be used.
max-devicesnumber
Specifies the maximum number of devices.
number
Specifies the maximum number of devices. Number from 1 to 10.
unlimited
Specifies an unlimited number of devices.
Modes

Global configuration mode

Usage Guidelines

The no form of the command deletes user roles. If no role-name is specified, all user roles will be deleted.

If no firewall-profile is specified, all fire wall profile will be deleted.

Examples

The following example creates a user role named user1, assigns a firewall profile, and sets the maximum number of devices to 3.

device# config
device(config)# user-role user1
device(config-user-role)# firewall-profile "System Default"
device(config-user-role)# max-devices 3
device(config-user-role)# end

The following example deletes all the configured user roles.

device# config
device(config)# no user-role 
Do you want to continue to delete (or input 'no' to cancel)? [yes/no] yes
History
Release version Command history
5.2

(config-user-role)# firewall-profile and(config-user-role)# no firewall-profile commands were introduced.

7.2.0 The command is updated.