30 authenticate using webauth parameter-map WEBAUTH_DEFAULT priority 30 event authentication-failure match-first 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 authenticate using dot1x priority 10 event authentication-failure match-first 10 class always do-until-failure 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 20 terminate webauth 30 authenticate using dot1x priority 10 The following example shows a control policy that is configured to allow sequential authentication methods using 802.1X and MAB.
If authentication fails, a service template for VLAN is activated. service-template VLAN210 vlan 210 ! class-map type control subscriber match-all DOT1X_FAILED match method dot1x Configuring Identity Control Policies Example: Configuring Control Policy for Sequential Authentication Methods Configuring Identity Control Policies 21