2-79
Cisco Broadband Cable Command Reference Guide
OL-1581-08
Chapter 2 Cisco CMTS Configuration Commands
cable enable-trap
•
The
cable enable-trap cmonoff-interval
command sets the cdxCmtsCmOnOffTrapInterval
attribute to the specified time period (0 to 86400 seconds), which sets the minimum interval that
must exist before the CMTS sends out the same trap for the same CM. For example, if the interval
is set to the default of 600 seconds, and the same CM goes offline three times and online twice in
that time period, only one online trap and one offline trap is sent to the SNMP manager.
•
The
no cable enable-trap cmonoff-interval
command sets the cdxCmtsCmOnOffTrapInterval
attribute to 0, which means a trap will be sent for every CM online/offline transition.
Note
Setting the
cmonoff-interval
option and the cdxCmtsCmOnOffTrapInterval attribute has meaning only
if cdxCmtsCmOnOffNotification traps have been previously enabled.
Examples
The following commands enable the sending of CM on or off traps, with a minimum interval of 1200
seconds between traps being sent for the same CM:
router(config)#
interface c6/0
router(config-if)#
cable enable-trap cmonoff-notification
router(config-if)#
cable enable-trap cmonoff-interval 1200
router(config-if)#
exit
router(config)#
The following commands disable the sending of CM on or off traps.
router(config)#
interface c6/0
router(config-if)#
no cable enable-trap cmonoff-notification
router(config-if)#
exit
router(config)#
Related Commands
Command
Description
snmp-server enable traps
cable
Enables traps for cable-related events.
snmp-server enable traps
docsis-cmts
Enables traps for DOCSIS-related MAC-layer events.