- Preface
- Using the Command-Line Interface
-
- IP Multicast Routing Technology Overview
- Configuring IGMP
- Configuring IGMP Proxy
- Constraining IP Multicast in Switched Ethernet
- Configuring PIM
- Configuring PIM MIB Extension for IP Multicast
- Configuring MSDP
- Configuring Wireless Multicast
- Configuring SSM
- Configuring Basic IP Multicast Routing
- Configuring Multicast Routing over GRE Tunnel
- Configuring the Service Discovery Gateway
- IP Multicast Optimization: Optimizing PIM Sparse Mode in a Large IP Multicast Deployment
- IP Multicast Optimization: Multicast Subsecond Convergence
- IP Multicast Optimization: IP Multicast Load Splitting across Equal-Cost Paths
- IP Multicast Optimization: SSM Channel Based Filtering for Multicast
- IP Multicast Optimization: PIM Dense Mode State Refresh
- IP Multicast Optimization: IGMP State Limit
-
- Configuring the Device for Access Point Discovery
- Configuring Data Encryption
- Configuring Retransmission Interval and Retry Count
- Configuring Adaptive Wireless Intrusion Prevention System
- Configuring Authentication for Access Points
- Converting Autonomous Access Points to Lightweight Mode
- Using Cisco Workgroup Bridges
- Configuring Probe Request Forwarding
- Optimizing RFID Tracking
- Configuring Country Codes
- Configuring Link Latency
- Configuring Power over Ethernet
-
- Preventing Unauthorized Access
- Controlling Switch Access with Passwords and Privilege Levels
- Configuring TACACS+
- MACsec Encryption
- Configuring RADIUS
- Configuring Kerberos
- Configuring Local Authentication and Authorization
- Configuring Secure Shell (SSH)
- X.509v3 Certificates for SSH Authentication
- Configuring Secure Socket Layer HTTP
- Configuring IPv4 ACLs
- Configuring IPv6 ACLs
- Configuring DHCP
- Configuring IP Source Guard
- Configuring Dynamic ARP Inspection
- Configuring IEEE 802.1x Port-Based Authentication
- Configuring Web-Based Authentication
- Configuring Port-Based Traffic Control
- Configuring IPv6 First Hop Security
- Configuring Cisco TrustSec
- Configuring Control Plane Policing
- Configuring Wireless Guest Access
- Managing Rogue Devices
- Classifying Rogue Access Points
- Configuring wIPS
- Configuring Intrusion Detection System
-
- Administering the Switch
- Boot Integrity Visibility
- Performing Device Setup Configuration
- Configuring Autonomic Networking
- Configuring Right-To-Use Licenses
- Configuring Administrator Usernames and Passwords
- Configuring 802.11 parameters and Band Selection
- Configuring Aggressive Load Balancing
- Configuring Client Roaming
- Configuring Application Visibility and Control
- Configuring Application Visibility and Control
- Configuring Location Settings
- Configuring Voice and Video Parameters
- Configuring RFID Tag Tracking
- Configuring Location Settings
- Cisco Hyperlocation
- Monitoring Flow Control
- Configuring SDM Templates
- Configuring System Message Logs
- Configuring Online Diagnostics
- Managing Configuration Files
- Configuration Replace and Configuration Rollback
- Working with the Flash File System
- Upgrading the Switch Software
- Conditional Debug and Radioactive Tracing
- Troubleshooting the Software Configuration
- Index
Configuring Local
Policies
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 http://www.cisco.com/go/cfn. An account on Cisco.com is not required.
Restrictions for Configuring Local Policies
Information About Configuring Local Policies
Local policies can profile devices based on HTTP and DHCP to identify the end devices on the network. Users can configure device-based policies and enforce the policies per user or per device policy on the network.
Local policies allow profiling of mobile devices and basic onboarding of the profiled devices to a specific VLAN. They also assign ACL and QoS or configure session timeouts.
-
Device—Defines the type of device. Windows-based computer, Smart phone, Apple devices such as iPad and iPhone.
-
Username—Defines the username of the user.
-
User role—Defines the user type or the user group the user belongs to, such as a student or employee.
-
MAC—Defines the mac-address of the end point.
-
MAC OUI—Defines the mac-address OUI.
You can configure these policies and enforce end points with specified policies. The wireless clients are profiled based on MAC OUI and DHCP. The device uses these attributes and predefined classification profiles to identify devices.
Replacing Default Profile Text File
Disabling session monitor on trunk ports
Configuring Local Policies (CLI)
To configure local policies, complete these procedures:
Creating an Interface Template (CLI)
Creating a Parameter Map (CLI)
Parameter map is preferred to use than class map.
Creating a Class Map (CLI)
Creating a Policy Map (CLI)
Applying a Local Policy for a Device on a WLAN (CLI)
If the service policy contains any device type-based rules in the parameter map, ensure that the device classifier is already enabled.
![]() Note | You should use the device classification command to classify the device for it to be displayed correctly on the show command output. |
Monitoring Local Policies
The following commands can be used to monitor local policies configured on the device.
|
Command |
Purpose |
||
| show access-session |
Displays the summary of access session with authorization status, method and domain for each client or MAC address displayed. |
||
| show access-session cache |
Displays the latest classification for the client. |
||
| show device classifier attached detail |
Displays the latest classification for the client based on parameters such as Mac, DHCP, or HTTP. |
||
| show access-session mac mac-address details |
Displays the policy mapped, service template used, and attributes for the client.
|
||
| show access-session mac mac-address policy |
Displays the policy mapped, service template used, and attributes for the client. |
Examples: Local Policies Configuration
![]() Note | At the end of each configuration command line, enter CTRL Z to execute the command and proceed to the next line. |
Device# configure terminal Device(config)#template cisco-phone-template Device(config-template)#switchport mode access Device(config-template)#switchport voice vlan 20 Device(config-template)# end
Device# configure terminal Device(config)#parameter-map type subscriber attribute-to-service param-wired Device(config-parameter-map-filter)#10 map device-type regex Cisco-IP-Phone Device(config-parameter-map-filter-submode)#10 interface-template cisco-phone-template Device(config-parameter-map)# end
Device(config)# policy-map type control subscriber apple-tsim Device(config-policy-map)# event identity-update match-all Device(config-policy-map)# 1 class always do-until-failure Device(config-policy-map)# 1 map attribute-to-service table apple-tsim-param Device(config-policy-map)# end
Device(config)# wlan wlan1 Device(config-wlan)# client vlan VLAN0054 Device(config-wlan)# profiling local http Device(config-wlan)# service-policy type control subscriber apple-tsim Device(config-wlan)# no shutdown Device# end
Additional References for Configuring Local Policies
Related Documents
| Related Topic | Document Title |
|---|---|
| Security commands |
Security Command Reference Guide, Cisco IOS XE Release 3SE (Cisco WLC 5700 Series) |
Standards and RFCs
| Standard/RFC | Title |
|---|---|
| None |
— |
MIBs
| MIB | MIBs Link |
|---|---|
| All supported MIBs for this release. |
To locate and download MIBs for selected platforms, Cisco IOS releases, and feature sets, use Cisco MIB Locator found at the following URL: |
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 History for Performing Local Policies Configuration
| Release | Feature Information |
|---|---|
|
Cisco IOS XE 3E |
This feature was introduced. |

Feedback