user-role

Creates and updates the user role configuration.
Syntax
user-rolerole-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}|user-traffic-profiletraffic-profile-name
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.
user-traffic-profiletraffic-profile-name
Specifies the user traffic profile name to be used. See the Usage Guidelines section for details about
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.

The user-traffic-profile command can be used to specify the user traffic profile to be used. To configure the user traffic profile parameters, use the user-traffic-profile command in configuration mode.

Examples

The following example creates a user role, user1, adds a firewall and traffic profile and sets the maximum number fo devices to 3.

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

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.