Configures a wireless client filter based on the department name
department [any|contains|exact|not-contains]
department [any|exact <WORD>|contains <WORD>|not-contains <WORD>]
department [any|exact <WORD>|contains <WORD>|not-contains <WORD>]
department |
Specifies a wireless client filter based on how the ‘department‘ name, returned by the RADIUS server, matches the provided expression. Select one of the following options: any, contains, exact, or not-contains. |
any |
No specific department associated with this user-defined role. This role can be applied to any wireless client from any department (no strings to match). This is the default setting. |
contains <WORD> |
The role is applied only when the department
name, returned by the RADIUS server, contains the string specified in the
role.
|
exact <WORD> |
The role is applied only when the department
name, returned by the RADIUS server, exactly matches the string specified in
the role.
|
not-contains <WORD> |
The role is applied only when the department
name, returned by the RADIUS server, does not contain the string specified
in the role.
|
nx9500-6C8809(config-role-policy-test-user-role-testing)#department exact TnV
nx9500-6C8809(config-role-policy-test-user-role-testing)#show context user-role testing precedence 10 authentication-type eq kerberos ap-location contains office captive-portal authentication-state pre-login city exact SanJose company exact ExampleCompany country exact America department exact TnV nx9500-6C8809(config-role-policy-test-user-role-testing)#
no |
Removes the department name configured with this user-defined role |