2-159
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
device-sensor filter-list dhcp
device-sensor filter-list dhcp
To create a DHCP filter containing a list of options that can be included or excluded in the Device Sensor
output, use the device-sensor filter-list dhcp command in global configuration mode. To remove the
DHCP filter containing the list of options, use the no form of this command.
device-sensor filter-list dhcp list option-list-name
no device-sensor filter-list dhcp list option-list-name
Syntax Description
Command Default DHCP options filter list is not available.
Command Modes Global configuration (config)
Command History
Usage Guidelines Use the device-sensor filter-list dhcp command to configure the name of the DHCP options filter list
and enter into DHCP sensor configuration mode. You can configure the list of options in DHCP sensor
configuration mode using the option {name option-name | number option-number} command. Use the
name option-name keyword-argument pair to specify the name of the DHCP option. Use the number
option-number keyword-argument pair to specify the TLV number to be added to the DHCP options
filter list.
Use the no option {name option-name | number option-number} command to remove individual
options from the DHCP options filter list.
Use the no device-sensor filter-list dhcp list option-list-name command to remove the entire DHCP
options filter list.
Examples The following example shows how to create a DHCP filter containing a list of options:
Switch> enable
Switch# configure terminal
Switch(config)# device-sensor filter-list dhcp list dhcp-list
Switch(config-sensor-dhcplist)# option name domain-name
Switch(config-sensor-dhcplist)# option name host-name
Switch(config-sensor-dhcplist)# option number 50
Switch(config-sensor-dhcplist)# end
list Contains a DHCP options filter list.
option-list-name DHCP options filter list name.
Release Modification
15.0(1)SE1 This command was introduced.