- Finding Feature Information
- Restrictions for Policy Classification Engine
- Information About Policy Classification Engine
- How to Configure Policy Classification Engine
- Configuration Examples for Policy Classification Engine
- Additional References for Policy Classification Engine
- Feature Information for Policy Classification Engine
Policy Classification Engine
The Policy Classification Engine feature helps configure device-based policies and client (network endpoint) profiling and enforces a per user or per device policy on a network. The policy classification engine enables bring-your-own-device (BYOD) deployments integrate user or wireless device policies into the wireless controller. This module explains how to configure policies and apply them to a wireless LAN (WLAN).
- Finding Feature Information
- Restrictions for Policy Classification Engine
- Information About Policy Classification Engine
- How to Configure Policy Classification Engine
- Configuration Examples for Policy Classification Engine
- Additional References for Policy Classification Engine
- Feature Information for Policy Classification Engine
Finding Feature Information
Your software release may not support all the features documented in this module. For the latest caveats and feature information, see Bug Search Tool and the release notes for your platform and software release. To find information about the features documented in this module, and to see a list of the releases in which each feature is supported, see the feature information table at the end of this module.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for Policy Classification Engine
Interface templates are not valid on wireless sessions.
Information About Policy Classification Engine
Policy Classification Engine Overview
The Policy Classification Engine feature helps configure device-based policies and client (network endpoint) profiling and enforces a per user or per device policy on a network.
You can configure sets of different policies that can be used for lookup and sequential matching. A policy is matched based on the configured policy statement. Use policies to profile devices based on the Dynamic Host Control Protocol (DHCP) or HTTP to identify end devices in a network. You can enforce specific policies at network endpoints.
The device (switch; for example, Cisco Catalyst 3850 Wireless LAN Controller) uses these attributes and predefined classification profiles to identify devices.
-
Device—Types of end devices. Examples are Windows machines, smart phones, Apple device like iPads, iPhones, and so on.
-
Regular expressions
-
User role—The user type or user group to which an user belongs. Examples are students, employees, and so on.
-
Username—Login credentials entered by users.
-
Time-of-day—The time-of-day when endpoints are allowed into a network.
-
OUI—The MAC address that identifies the Organizational Unique Identifier (OUI).
-
MAC address—The MAC address of the endpoint.
You can configure policies and based on the session attributes, enforce these policies on end points.
How to Configure Policy Classification Engine
Configuring Policies in Identity-Based Networking Services
-
Configure a service template.
For more information, see the Configuring Identity Services Templates module.
-
Configure an interface template.
For more information, see the Interface Templates module.
-
Create a parameter map.
-
Create a policy map.
-
Apply the policy on a wireless LAN (WLAN).
Configuring a Subscriber Parameter Map
1.
enable
2.
configure terminal
3.
parameter-map
type
subscriber
attribute-to-service
parameter-map-name
4.
priority-number
map
device-type
eq
device-type
oui
eq
MAC-address
5.
action-number
interface-template
interface-template-name
6.
end
7.
show
parameter-map
type
subscriber
attribute-to-service
parameter-map-name
DETAILED STEPS
Example
The following is sample output from the show parameter-map type subscriber attribute-to-service command:
Device# show parameter-map type subscriber attribute-to-service param-map Parameter-map name: param-map Map: 1 map device-type eq "Cisco-IP-Phone-9971" oui eq "08.cc.68" Action(s): 2 interface-template IP-PHONE-INTERFACE-TEMPLATE
Configuring a Subscriber Policy Map
1.
enable
2.
configure
terminal
3.
policy-map
type
control
subscriber
policy-map-name
4.
event
identity-update
{match-all
|
match-first}
5.
priority-number
class
always
{do-all
|
do-until-failure |
do-until-success}
6.
action-number
map
attribute-to-service
table
parameter-map-name
7.
end
8.
show
policy-map
type
control
subscriber
policy-map-name
DETAILED STEPS
Example
The following is sample output from the show policy-map type control subscriber command:
Device# show policy-map type control subscriber pmap show policy-map type control subscriber pmap policy-map event identity-update match-all 1 class always do-until-failure 1 map attribute-to-service table param-map
Applying a Subscriber Policy to a WLAN
1.
enable
2.
configure
terminal
3.
wlan
wlan-name
wlan-ID
SSID
4.
service-policy
type
control
subscriber
policy-map-name
5.
profiling
local
http
6.
end
DETAILED STEPS
Configuration Examples for Policy Classification Engine
Example: Configuring a Subscriber Parameter Map
Device# configure terminal Device(config)# parameter-map type subscriber attribute-to-service param-map Device(config-parameter-map-filter)# 1 map device-type eq “Cisco-IP-Phone-9971” oui “eq 08.cc.68” Device(config-parameter-map-filter-submode)# 2 interface-template IP-PHONE-INTERFACE-TEMPLATE Device(config-parameter-map-filter-submode)# end
Example: Configuring a Subscriber Policy Map
Device# configure terminal Device(config)# policy-map type control subscriber pmap Device(config-event-control-policymap)# event identity-update match-all Device(config-class-control-policymap)# 1 class always do-until-failure Device(config-action-control-policymap)# 2 map attribute-service table param-map Device(config-action-control-policymap)# end
Example: Applying a Subscriber Policy to a WLAN
Device# configure terminal Device(config)# wlan wlan1 9 policywlan Device(config-wlan)# service-policy type control subscriber pmap Device(config-wlan)# profiling local http Device(config-wlan)# end
Additional References for Policy Classification Engine
Related Documents
Related Topic |
Document Title |
---|---|
Cisco IOS commands |
|
Identity commands |
Cisco IOS Identity-Based Networking Services Command Reference |
Service templates |
“Configuring Identity Service Templates” module of the Identity-Based Networking Services Configuration Guide |
Interface templates |
“Interface Templates” module of the Identity-Based Networking Services Configuration Guide |
Technical Assistance
Description | Link |
---|---|
The Cisco Support website provides extensive online resources, including documentation and tools for troubleshooting and resolving technical issues with Cisco products and technologies. To receive security and technical information about your products, you can subscribe to various services, such as the Product Alert Tool (accessed from Field Notices), the Cisco Technical Services Newsletter, and Really Simple Syndication (RSS) Feeds. Access to most tools on the Cisco Support website requires a Cisco.com user ID and password. |
Feature Information for Policy Classification Engine
The following table provides release information about the feature or features described in this module. This table lists only the software release that introduced support for a given feature in a given software release train. Unless noted otherwise, subsequent releases of that software release train also support that feature.
Use Cisco Feature Navigator to find information about platform support and Cisco software image support. To access Cisco Feature Navigator, go to www.cisco.com/go/cfn. An account on Cisco.com is not required.
Feature Name |
Releases |
Feature Information |
---|---|---|
Policy Classification Engine |
Cisco IOS XE Release 3.6E Cisco IOS 15.2(1)SY |
The Policy Classification Engine feature helps configure device-based policies and client (network endpoint) profiling and enforces a per user or per device policy on a network. The policy classification engine enables bring-your-own-device (BYOD) deployments integrate user or wireless device policies into the wireless controller. In Cisco IOS 15.2(SY), this feature was supported on Cisco Catalyst 6500 Series Switches. |