cisco Identity Based Networking Services (IBNS) — Configuring a Control Policy

Example: Control Class The following example shows a control class that is configured with two match conditions: class-map type control subscriber match-all DOT1X_NO_AGENT match method dot1x match result-type agent-not-found Configuring a Control Policy Control policies determine the actions that the system takes in response to specified events and conditions. The control policy contains one or more control policy rules that associate a control class with one or more actions. The actions that you can configure in a policy rule depend on the type of event that you specify. Note This task includes all of the actions that you can configure in a control policy regardless of the event.

All of these actions, and their corresponding steps, are optional (steps 6 through 21 below). To display the supported actions for a particular event, use the question mark ( ? ) online help function. Procedure Configuring Identity Control Policies Configuring a Control Policy Command or Action Purpose Step 17 {match | no-match} timer timer-name Example: Device(config-filter-control-classmap)# match timer restart (Optional) Creates a condition that evaluates true based on an event’s timer. Step 18 {match | no-match} username username Example: Device(config-filter-control-classmap)# match username josmiths (Optional) Creates a condition that evaluates true based on an event’s username.

Step 19 end Example: Device(config-filter-control-classmap)# end (Optional) Exits control class-map filter configuration mode and returns to privileged EXEC mode. Step 20 show class-map type control subscriber {all | name control-class-name} Example: Device# show class-map type control subscriber all (Optional) Displays information about Identity-Based Networking Services control classes. Command or Action Purpose Step 1 enable Example: Enables privileged EXEC mode. • Enter your password if prompted. Configuring Identity Control Policies 8