2-155
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 accounting
device-sensor accounting
To add Device Sensor protocol data to accounting records and to generate accounting events when new
Device Sensor data is detected, use the device-sensor accounting command in global configuration
mode. To disable adding the Device Sensor protocol data to accounting records and to disable generating
accounting events, use the no form of this command.
device-sensor accounting
no device-sensor accounting
Syntax Description This command has no arguments or keywords.
Command Default Device Sensor protocol data is added to accounting records and accounting events are generated when
new Device Sensor data is detected.
Command Modes Global configuration (config)
Command History
Usage Guidelines Device Sensor gathers endpoint information from Cisco Discovery Protocol (CDP), Link Layer
Discovery Protocol (LLDP), and DHCP messages and makes this information available to registered
clients in the context of an access session. You can use the device-sensor accounting command to
include Device Sensor protocol data in RADIUS accounting messages.
Before Device Sensor protocol data can be added to accounting messages, you must first enable session
accounting with the aaa and radius-server commands.
Examples The following example shows how to add the Device Sensor protocol data to accounting records:
Switch> enable
Switch# configure terminal
Switch(config)# aaa new-model
Switch(config)# aaa accounting dot1x default start-stop group radius
Switch(config)# radius-server host host1
Switch(config)# radius-server vsa send accounting
Switch(config)# device-sensor accounting
Related Commands
Release Modification
15.0(1)SE1 This command was introduced.
Command Description
debug device-sensor Enables debugging for Device Sensor.
show device-sensor
cache
Displays the Device Sensor cache entries.