Device-Sensor Filter-Spec - Cisco Catalyst 4500 Series Command Reference Manual

Cisco ios command reference release ios xe 3.4.0sg and ios 15.1(2)sg
Hide thumbs Also See for Catalyst 4500 Series:
Table of Contents

Advertisement

Chapter 2
Cisco IOS Commands for the Catalyst 4500 Series Switches

device-sensor filter-spec

To apply a protocol filter list to the Device Sensor output, use the device-sensor filter-spec command
in global configuration mode. To remove the protocol filter list from the device sensor output, use the
no form of this command.
Syntax Description
cdp
lldp
dhcp
exclude
all
list list-name
include
Defaults
All TLVs or DHCP options are included in notifications and will trigger notifications.
Command Modes
Global configuration
Command History
Release
IOS XE 3.4.0SG and
IOS 15.1(2)SG)
Usage Guidelines
Use the device-sensor filter-spec command to specify a list of CDP or LLDP TLV fields or DHCP
options to be included in Device Sensor outputs.
Certain TLVs and message types such as DISCOVER, OFFER, REQUEST, ACK, and IP address are
unconditionally excluded. These excluded TLVs and message types are used as transport for higher layer
protocols, which change frequently and convey little useful information about endpoints. OFFER
messages are also excluded because they can be received from multiple servers, and therefore, do not
convey useful endpoint data.
Examples
The following example shows how to apply a CDP TLV filter list to the Device Sensor output:
Switch> enable
Switch# configure terminal
Switch(config)# device-sensor filter-spec cdp include cdp-list1
OL-27596 -01
device-sensor filter-spec {cdp | lldp | dhcp} {exclude {all | list list-name} | include list list-name}
Applies a CDP TLV filter list to the device sensor output.
Applies a LLDP TLV filter list to the device sensor output.
Applies a DHCP options filter list to the device sensor output.
Specifies the protocol TLVs or DHCP options to be excluded from the device sensor
output.
Disables all notifications for the associated protocol.
Specified the name of the filter list.
Specifies the TLVs or DHCP options that should be included in the Device Sensor
output.
Modification
Command introduced on the Catalyst 4500 Series switch.
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
device-sensor filter-spec
2-201

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents