policy-map type control subscriber BHT_QPS_BASIC_FTTH_PM event session-start match-first class type control subscriber IP do-until-failure 10 activate dynamic-template UNAUTH_TPL 20 authorize aaa list AUTHOR_QNS_ML format USERNAME password cisco ! ! event authorization-failure match-first class type control subscriber IP do-until-failure 10 activate dynamic-template HTTP_RDRT_TPL 20 set-timer UNAUTH_TMR 10 ! ! event account-logon match-first class type control subscriber IP do-until-failure 10 authenticate aaa list AUTHEN_QNS_ML 20 deactivate dynamic-template HTTP_RDRT_TPL ! class type control subscriber UNAUTH_TMR_CM do-until-failure 10 disconnect ! ! end-policy-map ###################################################################### aaa attribute format USERNAME format-string length 253 "%s" client-mac-address-ietf ###################################################################### RP/0/RSP0/CPU0:QPS_LAB#show subscriber sess all det inter Wed May 27 09:14:54.017 UTC Interface: None Circuit ID: Unknown Remote ID: Unknown Type: IP: DHCP-trigger IPv4 State: Up Pending, Wed May 27 09:14:50 2015 Mac Address: ac81.12a1.7945 Account-Session Id: 000005ee Nas-Port: Unknown User name: ac-81-12-a1-79-45 Formatted User name: ac-81-12-a1-79-45 Client User name: unknown Outer VLAN ID: 96 Subscriber Label: 0x0000004f Created: Wed May 27 09:14:50 2015 State: Connecting Authentication: unauthenticated Authorization: unauthorized Ifhandle: 0x00000000 Session History ID: 0 Access-interface: Bundle-Ether1.96 SRG Flags: 0x00000000 Policy Executed: event Session-Start match-first [at Wed May 27 09:14:50 2015] class type control subscriber IP do-until-failure [Succeeded] 10 activate dynamic-template UNAUTH_TPL [cerr: No error][aaa: Success] Session Accounting: disabled Last COA request received: unavailable User Profile received from AAA: None Pending Callbacks: PPSM-Sub>Policy,Policy>Author,Author>AAA, Services: Name : UNAUTH_TPL Service-ID : 0x4000003 Type : Template Status : Associated ------------------------- [Event History] May 27 09:14:51.008 IPv4 Start ######################################################################