3-50
Cisco Broadband Cable Command Reference Guide
OL-1581-08
Chapter 3 Cisco CMTS Show Commands
show cable logging
Use the
show cable logging summary
command to check whether the logging feature is enabled and
the status of the logging buffer.
The Broadband Processing Engine (BPE) cable interface line cards (such as the Cisco uBR-MC16U/X
and Cisco uBR-MC28U/X) contain an onboard processor that also maintains its own log buffer. To
display the contents of this log, add the card’s slot number after the
show cable logging
command.
Note
The BADIPSOURCE and DOCSIS-layer messages are stored in separate buffers. Enabling, clearing, or
displaying the one buffer does not affect the other buffer.
Tip
Use the
service timestamps log date local msec
command to include a timestamp with the logging
messages.
Examples
The following example shows a typical display of the
show cable logging badipsource
command. The
oldest messages are displayed first.
Router#
show cable logging badipsource
00:01:19: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/1, IP packet from invalid source.
IP=10.44.50.13, MAC=0050.0f02.1d15, Expected SID=1, Actual SID=1
00:01:26: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/1, IP packet from invalid source.
IP=10.44.50.13, MAC=0050.0f02.1d15, Expected SID=1, Actual SID=1
01:49:33: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/0, IP packet from invalid source.
IP=0.0.0.44, MAC=0030.eb00.029d, Expected Interface=Cable6/1/0 SID=2833
02:12:03: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/0, IP packet from invalid source.
IP=0.0.0.44, MAC=0030.eb15.73bd, Expected Interface=Cable6/1/0 SID=2800
02:12:43: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/0, IP packet from invalid source.
IP=0.0.0.44, MAC=00e0.ca01.287a, Expected Interface=Cable6/1/0 SID=3299
02:22:50: %UBR10000-3-BADIPSOURCE: Interface Cable6/1/0, IP packet from invalid source.
IP=0.0.0.44, MAC=0030.eb00.02a2, Expected Interface=Cable6/1/0 SID=394
The following example shows the display of the
show cable logging badipsource
command when
logging has not been enabled with the
cable logging badipsource
command:
Router#
show cable logging badipsource
Cable logging: BADIPSOURCE Disabled
Router#
The following example shows a typical display for the
summary
option, showing whether logging is
enabled, the total size of the buffer, how many bytes are currently used, and how many error messages
have been logged since the buffer was last cleared.
Router#
show cable logging summary
Cable logging: BADIPSOURCE Enabled
Total buffer size (bytes): 1000000
Used buffer size (bytes) : 36968
Logged messages : 231
Router#
The following example shows typical output from the DOCSIS-layer buffer. This example shows the log
buffer on a BPE cable interface line card that is in slot 4:
Router#
show cable logging layer2events slot 4