cisco Identity Based Networking Services (IBNS) — Applying a Control Policy to an Interface

policy-map type control subscriber POLICY_1 event session-started match-all 10 class always do-until-failure 10 authenticate using dot1x For detailed examples of control policies for concurrent and sequential authentication, see the Configuration Examples for Cisco Identity-Based Control Policies, on page 17 section. Applying a Control Policy to an Interface Control policies typically control the authentication of subscriber identity and the activation of services on sessions. Perform this task to apply a control policy to an interface. Procedure Configuring Identity Control Policies Applying a Control Policy to an Interface Command or Action Purpose Step 1 enable Example:

Device> enable Enables privileged EXEC mode. • Enter your password if prompted. Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 interface type number Example: Device(config)# interface GigabitEthernet 1/0/1 Specifies an interface and enters interface configuration mode. Step 4 service-policy type control subscriber control-policy-name Example: Device(config-if)# service-policy type control subscriber POLICY 1 _ Applies a previously configured control policy. • To display a list of all configured control policies, use the question mark (?) online help function. Step 5 subscriber aging {inactivity-timer seconds [probe] | probe} Example:

Device(config-if)# subscriber aging inactivity-timer 60 probe Enables an inactivity timer for subscriber sessions. Starting with Cisco IOS XE Everest 16.5.1a if you configure this command, you must also configure the device-tracking binding reachable-lifetime command in global configuration mode, for probes to work as expected. Configure a reachable lifetime with the same value as the inactivity timer probe. This way, when the reachable lifetime expires, the state of the entry changes based on the reachability of the host. For more information, see the device-tracking binding command in Configuring Identity Control Policies 12