ssid

Configures a SSID based filter

Supported on the following devices:

Syntax

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

Parameters

ssid any

ssid any

Specifies a wireless client filter based on how the SSID is specified in a WLAN.

  • any – The role is applied to any SSID location. This is the default setting.

ssid [exact|contains|not-contains] <WORD>

ssid

Specifies a wireless client filter based on how the SSID is specified in a WLAN. This options are: contains, exact, or not-contains.

exact <WORD>

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

  • <WORD> – Specify the SSID string to match. The SSID is case sensitive and is compared against the SSID configured for the WLAN.

contains <WORD>

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

  • <WORD> – Specify the SSID string to match. The SSID is case sensitive and is compared against the SSID configured for the WLAN.

not-contains <WORD>

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

  • <WORD> – Specify the SSID string not to match. The SSID is case sensitive and is compared against the SSID configured for the WLAN.

Examples

nx9500-6C8809(config-role-policy-test-user-role-testing)#ssid not-contains DevUser
nx9500-6C8809(config-role-policy-test-user-role-testing)#show context
 user-role testing precedence 10
  ssid not-contains DevUser
  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 SSID configured for a user-defined role