46-122
Software Configuration Guide—Release IOS XE 3.6.0E and IOS 15.2(2)E
OL_28731-01
Chapter 46 Configuring 802.1X Port-Based Authentication
Configuring Device Sensor
Creating a DHCP Filter
To create a DHCP filter containing a list of DHCP options that can be included or excluded in the Device
Sensor output, follow these steps, beginning in privileged EXEC mode:
Applying a Protocol Filter to the Device Sensor Output
Beginning in privileged EXEC mode, follow these steps to apply a CDP, LLDP, or DHCP filter to the
sensor output. The output is session notifications to internal sensor clients and accounting requests to
the RADIUS server.
Note Only one filter list can be included or excluded at a time.
Command Purpose
Step 1
configure terminal
Switch# configure terminal
Enters global configuration mode.
Step 2
device-sensor filter-list lldp list
tlv-list-name
Switch(config)# device-sensor
filter-list lldp list lldp-list
Creates a TLV list and enters LLDP sensor configuration mode, where
you can configure individual TLVs.
Step 3
tlv {name tlv-name | number
tlv-number}
Switch(config-sensor-cdplist)# tlv
number 10
Adds individual LLDP TLVs to the TLV list. You can delete the TLV
list without individually removing TLVs from the list by using the no
device-sensor filter-list lldp list tlv-list-name command.
Step 4
end
Switch(config-sensor-lldplist)# end
Returns to privileged EXEC mode.
Command Purpose
Step 1
configure terminal
Switch# configure terminal
Enters global configuration mode.
Step 2
device-sensor filter-list dhcp list
option-list-name
Switch(config)# device-sensor
filter-list dhcp list dhcp-list
Creates an options list and enters DHCP sensor configuration mode,
where you can specify individual DHCP options.
Step 3
option {name option-name | number
option-number}
Switch(config-sensor-dhcplist)# option
number 50
Adds individual DHCP options to the option list. You can delete the
entire option list without removing options individually from the list
by using the no device-sensor filter-list dhcp list option-list-name
command.
Step 4
end
Switch(config)# end
Returns to privileged EXEC mode.