cisco Identity Based Networking Services (IBNS) — Example: Configuring Control Policy for Sequential Authentication Methods

no-match result-type method webauth success ! class-map type control subscriber match-all DOT1X match method dot1x ! class-map type control subscriber match-all MAB match method mab !

policy-map type control subscriber CONCURRENT_DOT1X_MAB_WEBAUTH event session-started match-all 10 authenticate using mab priority 20 20 authenticate using dot1x priority 10 30 authenticate using webauth parameter-map WEBAUTH_DEFAULT priority 30 event authentication-failure match-first 10 class always do-until-failure 10 authentication-restart 60 event authentication-success match-all 10 class ALL_FAILED 10 class DOT1X 10 terminate MAB 20 terminate webauth 20 class MAB 10 terminate webauth event agent-found match-all 10 class always do-until-failure 10 authenticate using dot1x priority 10 Example:

Configuring Control Policy for Sequential Authentication Methods The following example shows a control policy that is configured to allow sequential authentication methods using 802.1X (dot1x), MAB, and web authentication. parameter-map type webauth WEBAUTH_FALLBACK type webauth ! class-map type control subscriber match-all DOT1X_NO_RESP match method dot1x match result-type method dot1x agent-not-found ! class-map type control subscriber match-all MAB_FAILED match method mab match result-type method mab authoritative !

policy-map type control subscriber POLICY_Gi3/0/10 event session-started match-all 10 class always do-until-failure 10 authenticate using dot1x priority 10 event authentication-failure match-first 10 class DOT1X_NO_RESP do-until-failure 10 terminate dot1x 20 authenticate using mab priority 20 20 class MAB_FAILED do-until-failure 10 terminate mab 20 authenticate using webauth parameter-map WEBAUTH_FALLBACK priority 30 30 class always do-until-failure 10 terminate dot1x 20 terminate mab 30 terminate webauth 40 authentication-restart 60 event agent-found match-all 10 class always do-until-failure 10 terminate mab Configuring Identity Control Policies Example:

Configuring Control Policy for Sequential Authentication Methods Configuring Identity Control Policies 18