Cisco Cisco Prime IP Express 8.2 White Paper
© 2014 Cisco and/or its affiliates. All rights reserved. This document is Cisco Public Information.
Page 12 of 15
Lookup Expression
Lookup expression identifies whether the device is an existing device or is unregistered. It determines client-class
for the client-class-lookup-id attribute of the DHCP server, and the server executes this expression on every
incoming packet to determine the client class of the packet. It returns a string (client-class name for the packet, or
the distinguishing string indicating that no client-class value was considered for the client request) as per the
specified expression value. The goal of lookup expression is to ensure that each client receives its appropriate
class of service across the same network.
Setting up Lookup Expression
After BYOD is configured, the lookup expression can be set up by following the steps:
●
Enter Expert mode by clicking Expert.
●
Open the List/Add DHCP Client Classes page, (Navigation: Design > DHCP Settings > Client Classes).
●
Create or select an already created class in the Client Classes pane on the left.
●
On the Edit DHCP Client Class created client page, under Create New Embedded Policy, enter expression
in client-lookup-id and override-client-id; for example, enter (request option "relay-agent-info" "remote-id") in
the client-lookup-id text box and (request option "relay-agent-info" "remote-id") in the override-client-id text
box.
●
Click Save to save the settings.
●
Open the Manage Server Page (Navigation: Operate > Servers > Manage Servers).
●
Click the Local DHCP Server link in the Manage Servers pane on the left.
●
Click the Edit Local DHCP Server tab.
●
Enter the created client class name in the client-class-lookup-id text box.
●
Restart the local DHCP server to make these changes effective.
LDAP Client Create Support
The BYOD web server enables "LDAP client create" support when the Cisco Prime IP Express DHCP server is
enabled with the LDAP client option.
If the DHCP server is enabled with client-look-up in the LDAP then Regional Server LDAP configuration is required
for the BYOD to create the client in LDAP.
To create and configure the LDAP client in regional server, follow the steps below:
1. Enter Expert mode by clicking Expert.
2. Open List/Add LDAP Remote Servers page, (Navigation: Deploy > DHCP > LDAP).
3. Click the Add LDAP icon in the LDAP pane on the left. The Add DHCP LDAP Server window opens.
4. Enter the LDAP name and hostname in the name and hostname text boxes, and then click Add DHCP LDAP
Server. The DHCP LDAP server gets added with the given name in the LDAP pane on the left.
5. Click the newly added LDAP link in the LDAP pane on the left. The Edit LDAP Remote Server Page opens, in
which name and hostname are auto-populated.
6. Enter IP address, port values, and username and password in the respective text boxes.
7. Set the value for enable to True.
8. Set the value for can-create to Enabled.