employee-type

Configures a wireless client filter based on the employee type

Supported on the following devices:

Syntax

employee-type [any|contains|exact|not-contains]
employee-type [any|exact <WORD>|contains <WORD>|not-contains <WORD>]

Parameters

employee-type [any|exact <WORD>|contains <WORD>|not-contains <WORD>]

employee-type

Specifies a wireless client filter based on how the ‘employee type‘, returned by the RADIUS server, matches the provided expression. Select one of the following options: any, contains, exact, or not-contains.

any

No specific employee type associated with this user-defined role. This role can be applied to any wireless client having any employee type (no strings to match). This is the default setting.

contains <WORD>

The role is applied only when the employee type, returned by the RADIUS server, contains the string specified in the role.

  • <WORD> – Specify the string to match (this is case sensitive, and is compared against the employee type returned by the RADIUS server). It should contain the provided expression.

exact <WORD>

The role is applied only when the employee type, returned by the RADIUS server, exactly matches the string specified in the role.

  • <WORD> – Specify the exact string to match (this is case sensitive, and is compared against the employee type returned by the RADIUS server). It should be an exact match.

not-contains <WORD>

The role is applied only when the employee type, returned by the RADIUS server, does not contain the string specified in the role.

  • <WORD> – Specify the string not to match (this is case sensitive, and is compared against the employee type returned by the RADIUS server). It should not contain the provided expression.

Examples

nx9500-6C8809(config-role-policy-test-user-role-test1)#employee-type exact consultant
nx9500-6C8809(config-role-policy-test-user-role-user1)#show context
 user-role user1 precedence 1
  employee-type exact consultant
nx9500-6C8809(config-role-policy-test-user-role-user1)#

Related Commands

no

Removes the employee type filter configured with this user-defined role