emailid

Configures a wireless client filter based on the e-mail ID

Supported in the following platforms:

Syntax

emailid [any|contains|exact|not-contains]
emailid [any|exact <WORD>|contains <WORD>|not-contains <WORD>]

Parameters

emailid [any|exact <WORD>|contains <WORD>|not-contains <WORD>]

emailid

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

any

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

contains <WORD>

The role is applied only when the e-mail ID, 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 e-mail ID returned by the RADIUS server). It should contain the provided expression.

exact <WORD>

The role is applied only when the e-mail ID, 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 e-mail ID returned by the RADIUS server). It should be an exact match.

not-contains <WORD>

The role is applied only when the e-mail ID, 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 e-mail ID returned by the RADIUS server). It should not contain the provided expression.

Examples

nx9500-6C8809(config-role-policy-test-user-role-testing)#emailid exact testing@
examplecompany.com
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
  emailid exact testing@examplecompany.com
nx9500-6C8809(config-role-policy-test-user-role-testing)#

Related Commands

no

Removes the e-mail ID configured with this user-defined role