Académique Documents
Professionnel Documents
Culture Documents
CMTS
DOC-3006-01
Document Version 6.0.3
July 2011
iii
Contents
Preface
About this guide ................................................................................................... vii
Revision history..............................................................................................viii
Contacting Casa ..................................................................................................viii
Corporate facility ............................................................................................viii
Technical Support ..........................................................................................viii
Technical documentation ...............................................................................viii
Conventions used in Casa documentation ........................................................... ix
Typographical conventions ............................................................................. ix
Acronyms ......................................................................................................... x
iv
Contents
vii
Preface
IP routing protocols
MPEG-2 protocol
DOCSIS protocol
RF cable plants
See
Debugging commands
Chapter 1.
Diagnostic commands
Chapter 2.
viii
Revision history
This guide supports Casa CMTS software releases up to version 5.4.21. See the Casa
Systems CMTS Release Notes for additional information.
Contacting Casa
Corporate facility
Casa Systems, Inc.
100 Old River Road
Andover, MA 01810
Tel.: 978-688-6706
World Wide Web: www.casa-systems.com
Technical Support
In the United States: Tel: 978-699-3045
E-mail: support@casa-systems.com
Technical documentation
Casa Systems provides the following documentation set in PDF format, viewable
using Adobe Reader 5.0 or later. These PDF files are available from the Casa FTP site
at ftp://support.casa-systems.com.
Preface
ix
Note: Casa Systems provides updates to the manuals on a regular basis. Log
on to Casa FTP site for the latest files in PDF format.
Function
Example
Boldface font
Where:
<id>: the area identifier.
brackets [ ]
braces {x | y | z}
CASA-CMTS(config-router-o
spf)# area <id> shortcut
{enable | disable |
default}
brackets [x | y | z]
CASA-CMTS(config-router-o
spf)# area <id> nssa
[translate-always |
translatecandidate |
translate-never]
vertical bar |
string
Key Convention
Function
Example
Screen font
<>
!,#
# This is a comment.
Acronyms
Casa Systems manuals contain the following industry-standard and product-specific
acronyms:
AAA
ACL
ARP
ATDMA
BGP
BPI
CM
Cable Modem
CMTS
DBC
DCC
DDM
DOCSIS
DHCP
Preface
xi
DSG
GigE
Gigabit Ethernet
HFC
ICMP
IP
Internet Protocol
IS-IS
LACP
MIB
NTP
OSPF
PCMM
PIM
QAM
RIP
SCDMA
SMM
SNR
STB
Set-top Box
TACACS
TCP
TDMA
TOS
Type of Service
UCC
VoIP
Voice over IP
VLAN
1-1
This chapter describes the Casa CMTS debugging commands available from the CLI
for debugging purposes. The CMTS supports commands for debugging the following
categories:
IP Internet Protocol
You can also debug connectivity issues with the extended ping command.
This chapter covers the following topics:
Topic
Page
Activating logging
1-2
Additional logging
1-3
1-3
Debug AAA
1-4
Debug ARP
1-4
1-5
1-7
1-9
1-10
1-2
Topic
Page
1-10
1-12
1-13
Debug PacketCable
1-14
Debug IP
1-14
Debug BGP
1-15
Debug IS-IS
1-16
Debug OSPF
1-17
Debug RIP
1-21
Debug LACP
1-21
Connection testing
1-22
Activating logging
Debug output is captured in the CMTS log. It is necessary to first enable logging
functionality before enabling the debug options.
To enable or disable debugging output:
Step
Command
Purpose
1.
Enables or disables
debug logging.
Example:
Enable logging of debugging messages.
CASA-CMTS(config)# logging debugging
Disable logging of debugging messages.
CASA-CMTS(config)# no logging debugging
For additional information on logging commands, refer to the Casa Systems CMTS
Software Configuration Guide.
Casa Systems CMTS Release 6.0.3
1-3
Activating logging
Additional logging
Additional logging information can be collected for analysis by Casa Technical
Support using the following commands:
Step
Command
Purpose
1.
show tech
Get module-specific
information for use
by Casa Technical
Support.
or
show tech module <module_id>
Where:
<module_id> is the number of the unique module identifier,
usually the slot number of the module location in the chassis.
Example:
CASA-CMTS# show tech
Command
Purpose
1.
Example:
CASA-C10000#logging debugging
CASA-C10000#debug cable mac-address
0050.f112.b764
CASA-C10000#debug cable cfg
CASA-C10000#debug cable verbose
CASA-C10000#show debugging
Cable:
mac-address: 0050.f112.b764
mask
: ffff.ffff.ffff
config
verbose
1-4
Debug AAA
To debug problems with AAA:
Step
Command
Purpose
1.
Enable or disable
AAA debugging.
Example:
CASA-CMTS# debug aaa
CASA-CMTS# debug aaa authentication
Use the no form of the command to disable AAA or a AAA
option.
When enabled, the logging session will show the AAA-related transaction.
Debug ARP
To debug problems with the Address Resolution Protocol (ARP):
Step
Command
Purpose
1.
Enable or disable
ARP debugging, or
debug ARP on a
specific cable
modem.
Example:
CASA-CMTS# debug arp
To debug ARP problems with specific cable modems, specify
the MAC address:
[no] debug arp mac-address <cm-mac-addr>
CASA-CMTS# debug arp mac-address
0050.f112.b765
1-5
signal quality
debug cable
Signal quality
To check the signal quality on the plant as detected by the CMTS, use the commands
that display the signal quality and spectrum characteristics.
For signal noise:
Step
Command
Purpose
1.
Displays signal
quality. To display all
the upstream
channels at once,
leave out the
upstream port
number.
Example:
CASA-CMTS# show upstream 1/4.1 signal-quality
Where:
X/Y.C is the slot/port.channel specification.
Check the following values in Table 1-1against the modulation profile to be sure the
noise level can support the modulation that is running. Use the show spectrum
snr-threshold-default command to display these values.
Table 1-1.
Module
Conservative
Addressive
QPSK
130
100
8QAM
190
160
1-6
Table 1-1.
Module
Conservative
Addressive
16QAM
220
190
32QAM
250
220
64QAM
280
250
128QAM
310
290
If the signal is too low, find the source of the noise or adjust attenuation first, then
adjust power levels.
Displaying the noise level
To display the noise level in tenths of a dB at each frequency on an upstream channel:
Step
Command
Purpose
1.
Where:
Example:
CASA-CMTS# show spectrum upstream 1/4.1 raw
FREQUENCY NOISE-LEVEL at channel-width
6400000
(dB)
5000000: 13.0
11400000: 19.7
17800000: 13.4
24200000: 14.5
30600000: 07.8
37000000: 00.0
43400000: 00.0
49800000: 10.8
56200000: 09.0
62600000: 09.0
1-7
To determine the signal-to-noise ratio, subtract the dB from 42. In the above example,
the SNR at 49.8 MHz is 31.2. This will support 16 QAM, but not QAM per the table.
To debug the upstream ports, disconnect the port and run the show spectrum
upstream command. The result should be 0. If the result is not 0, then there is a
problem with the port.
Command
Purpose
1.
Where:
<mac_address> is the media access control address of the
modem in hexadecimal format.
Example:
CASA-CMTS# debug cable mac-address
0015.f2fe.c904
Specify the asterisk (*) wildcard to filter portions of the MAC
address.
CASA-CMTS# debug cable mac-address 0015.*.*
continued
1-8
Step
Command
Purpose
2.
Specify the
information to
display.
Where:
dynamic].
Example:
CASA-CMTS# debug cable tlv
Feb 26 14:26:08.483 CET: TLV-Block Bytes:
Feb 26 14:26:08.483 CET: 0x0000: 12 01 04 03
01 01 1D 01 01 19 1C 01 02 00 01 06
Feb 26 14:26:08.483 CET: 0x0010: 01 07 07 01
03 08 04 00 00 00 00 09 04 00 00 1F
Feb 26 14:26:08.483 CET: 0x0020: 40 0A 04 00
00 00 00 18 29 01 02 00 02 06 01 07
3.
logging debugging
Turn on debug
logging.
1-9
Example output:
Ranging information
[Fri Apr 3 13:34:34 2009]-DE-RNG-1: Sending RNG-RSP message to
0018.c0bf.1058 o n qam 0/0/3, power adjustment 0, frequency
adjustment 0, timing adjustment 0, status SUCCESS
[Fri Apr 3 13:34:44 2009]-DE-RNG-1: Grant 0018.c0bf.1058 ranging
opportunity on
upstream 1/5/0,iuc 4
[Fri Apr 3 13:34:44 2009]-DE-RNG-1: RNG_REQ message received from
0018.c0bf.105 8 on upstream 1/5/0, power offset 0, frequency
offset 234, timing offset 0, sid
220
[Fri Apr 3 13:34:44 2009]-DE-RNG-1: Sending RNG-RSP message to
0018.c0bf.1058 o n qam 0/0/3, power adjustment 0, frequency
adjustment 0, timing adjustment 0, status SUCCESS
1-10
Command
Purpose
1.
Where:
<info> is one of the following:
Example output:
MAC Address
IP Address
Prim Sid
MAC Domain
Upstream
Downstream
Timing Offset
Initial Timing Offset
Received Power
MAC Version
:0018.6892.89b8
:10.12.170.214
:870
:2
:4/13/0
:0/1/0
:2613
:2612
:0 dBmV
:DOC2.0
1-11
:DOC1.0
:Y
:RNG-REQ
:REG-REQ
:tdma
:{Frag=Y, Concat=Y, PHS=N, Priv=N}
:{802.1P=N, 802.1Q=N}
:1
:16
:0 CRCs,0 HCSes
:0 aborts,0 exhausted
:1
:1
:392279 packets,62671197 bytes
:393 bits/sec,2 packets/sec
:725538 packets,978593918 bytes
:6140 bits/sec,4 packets/sec
:0
:permit all
:0000000000000000
:159378 s
1-12
Sfid
: 2461951
Current State
: Active
Sid
: N/A
Traffic Priority
: 0
Maximum Sustained rate
: 12288000 bits/sec
Maximum Burst
: 3044 bytes
Mimimum Reserved rate
: 0 bits/sec
Minimum Packet Size
: 0 bytes
Admitted QoS Timeout
: 0 seconds
Active QoS Timeout
: 0 seconds
Maximum Concatenated Burst
: 0 bytes
Scheduling Type
: Not yet defined
Request/Transmission policy
: 0x0
IP ToS Overwrite[AND-mask, OR-mask]
: 0x0, 0x0
Current Throughput
: 0 bits/sec, 0 packets/sec
init(i) DHCP reply received from server; no DHCP request from CM.
init(r) CMTS received register-request from CM, but not reg-ack yet.
1-13
Command
Purpose
1.
2.
Configure remote
query at the CMTS
Where:
and verify that the
remote query is also
<x> is the polling interval in seconds; 0 turns the remote query configured on the
off.
modem.
Where:
Example output:
The show cable modem command outputs the following information about the
modem:
MAC Address
IP Address
S/N
Ratio
US
Pwr
DS TX Time Micro(dB)
Pwr Offset Reflection
Modem
State
1-14
Debug PacketCable
The debug cable packetcable command provides the following information:
Step
Command
Purpose
1.
Start PacketCable
debugging.
Where:
Example:
CMTS# debug cable packetcable cops
Debug IP
The debug ip commands are as follows:
Step
Command
Purpose
1.
Start IP debugging.
Where:
Example:
CMTS# debug ip rip
1-15
Debug BGP
Debug BGP
The Border Gateway Protocol (BGP) debug commands are as follows:
Step
Command
Purpose
1.
Start BGP
debugging.
Where:
Example:
CMTS# debug ip bgp events
1-16
Debug IS-IS
The Intermediate System-to-Intermediate System (IS-IS) protocol commands are as
follows:
Step
Command
Purpose
1.
Where:
Example:
Display all IS-IS debugging statistics:
CASA-CMTS# debug ip isis all
[Thu Jul 21 10:47:43 2011]-DE-CDB-1: smm6:
cdb_pop_ack_cache(): ack cache is empty, dbid
= 10(repeat count 2)
IS-IS Adjacency related packets debugging is
on
IS-IS local updates debugging is on
IS-IS SPF triggering events debugging is on
IS-IS authentication debugging is on
IS-IS client/sever information debugging is on
1-17
Debug OSPF
Debug OSPF
This sction describes the debugging commands for the Open Shortest Path First
(OSPF) routing protocol. The OSPF debug commands provide the following
information:
1-18
Step
Command
Purpose
1.
Start OSPF
debugging.
Where:
Example:
Display a list of OSPF errors:
CASA-CMTS# debug ip ospf error
Display a list of OSPF events:
CASA-CMTS# debug ip ospf events
continued
1-19
Debug OSPF
Step
Command (continued)
Purpose
1-20
Command
Purpose
1.
Display information
about each packet
transmitted and
received.
Where:
Example:
CASA-CMTS# debug ip ospf packet all
1-21
Debug RIP
Debug RIP
The Routing Information Protocol (RIP) commands provide event and packet
information.
Step
Command
Purpose
1.
Display RIP
information.
Where:
Example:
CASA-CMTS# debug ip rip packets
Debug LACP
The Link Aggregation Protocol (LACP) commands provide finite state machine,
events and LACP packet information:
Step
Command
Purpose
1.
Display LACP
information.
Where:
Example:
CASA-CMTS# debug ip lacp fsm
1-22
Connection testing
For testing connectivity, the Casa CMTS supports the extended ping command with
Linux arguments that you enclose in quotations ().
In the following example, 192.168.3.8 is a host on the gige side and 10.248.1.1 is the
IP-bundle interface.
CASA-CMTS# ping "-I 10.248.1.1 192.168.3.8"
PING 192.168.3.8 (192.168.3.8) from 10.248.1.1 : 56(84)
64 bytes from 192.168.3.8: icmp_seq=1 ttl=64 time=0.357
64 bytes from 192.168.3.8: icmp_seq=2 ttl=64 time=0.372
64 bytes from 192.168.3.8: icmp_seq=3 ttl=64 time=0.361
bytes of data.
ms
ms
ms
2-1
DHCP tracing
IP path tracing
Core dumps
In addition, problems with the kernel will usually leave core dumps in memory that
can be retrieved and sent to Casa for analysis. The diagnostics are available in
diagnostic mode, by entering "diag" at the enable prompt and then entering the
password. This chapter covers the following topics:
Topic
Page
SMM diagnostics
2-2
QAM diagnostics
2-4
2-4
2-8
2-9
2-9
2-2
Topic
Page
2-10
2-11
2-13
2-16
2-18
Core dumps
2-19
2-19
2-20
2-20
2-21
Auto-reboot
2-21
2-22
2-22
2-23
2-23
2-24
2-25
2-26
2-28
2-29
SMM diagnostics
Two diagnostic commands are available for the SMM. One reports information on the
network side, and the other reports information about the path between the SMM and
the line cards. The second command is described in the section, QAM diagnostics.
2-3
SMM diagnostics
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS(diag)#
2.
Example output:
CMTS(diag)#show gige <number> stats
snmpIfInOctets = 359733,
snmpIfInUcastPkts = 2002
snmpIfInNUcastPkts = 453,
snmpIfInDiscards = 378
snmpIfInErrors = 0,
snmpIfInUnknownProtos = 0
snmpIfOutOctets = 386113,
snmpIfOutUcastPkts = 2055
snmpIfOutNUcastPkts = 234,
snmpIfOutDiscards = 0
snmpIfOutErrors = 0,
snmpIfOutQLen = 0
snmpIpInReceives = 1808,
snmpIpInHdrErrors = 0
snmpIpForwDatagrams = 1402,
snmpIpInDiscards = 0
snmpDot1dBasePortDelayExceededDiscards = 0,
snmpDot1dBasePortMtuExceededDiscards = 0
snmpDot1dTpPortInFrames = 2456,snmpDot1dTpPortOutFrames =2289
snmpDot1dPortInDiscards = 0,
snmpEtherStatsDropEvents = 0
snmpEtherStatsMulticastPkts = 580,
snmpEtherStatsBroadcastPkts=108
snmpEtherStatsUndersizePkts = 0,snmpEtherStatsFragments = 0
snmpEtherStatsPkts64Octets = 767,
snmpEtherStatsPkts65to127Octets = 1383
2-4
QAM diagnostics
The QAM diagnostics reports statistics about the QAM card, information about the
memory, and information about the data path between the SMM and the QAM.
Step
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS(diag)#
2.
Example output:
CASA-CMTS(diag)# show module 2 stat qam
mux_mgr_cnt: 512
pmt_mgr_free_cnt: 512
pid_mgr_free_cnt: 2000
pg_queue_free_cnt: 464
pkt_recv_cnt: 0
pkt_drop_cnt: 0
pkt_null_cfg: 0
pkt_no_egress: 0
ts_pkt_recv_cnt: 0
ts_pkt_drop_cnt: 0
hibuf_enqueued: 0
hibuf_dequeued_tx: 0
hibuf_enqueued_failed: 0
hibuf_drop: 0
hibuf_depth: 0
overflow hibuf to be free: 0
asi pkt tx: 0
asi data rate: 0
docsis pkt send cnt: 0
docsis pkt drop cnt: 0
docsis upstream data pkt cnt: 18297
2-5
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS(diag)#
2.
Show the
QAMdownstream
interface statistics.
Show the
QAMdownstream
interface statistics.
2-6
2-7
2-8
If the errors on the eth 1 interface exceed 0.1% (divide errors by total rx), the SMM is
likely the cause of the errors. To confirm, replace the QAM and see if the errors are
still present. The following trouble-shooting steps will be necessary:
1.
2.
If the errors persist after swapping the QAM, swap the SMM.
3.
If there are still errors, then the card cage must be replaced.
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Example output:
CASA-CMTS(diag)# show module 2 stat gige
Port eth1 or eth2:
total rx
: 351556736
dma0
: 71148
dma1
: 351485588
kernel : 3372
2-9
local :
drop
:
error
:
crc err
:
hi_water 0 :
hi_water 1 :
bitrate rx0:
bitrate rx1:
bitrate tx0:
351556736
0
0
0
4
11
0
2585360
8192
total tx
kernel
drop
error
1558768
11167
0
0
:
:
:
:
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
show dhcp-trace
Show DHCP
transactions.
Example:
CASA-CMTS(diag)# show dhcp-trace
Example output:
CASA-CMTS(diag)# show dhcp-trace
0
2-10
yip=000.000.000.000
00:12:c9:20:5a:ea
xid=0149d38f
domain=02 lc=1 ch= 0
yip=010.231.001.128
00:12:c9:20:5a:ea
xid=0149d38f
domain=02 lc=1 ch= 2
00:12:c9:20:5a:ea
xid=0149d38f
domain=02 lc=1 ch= 0
yip=010.231.001.128
gw=010.231.001.001 s=192.168.009.001 0
DS OFF
tm=49f91c34 cm_id=00000022
gw=010.231.001.001 s=192.168.009.001 0
US REQ
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
show dmesg
Example:
CASA-CMTS(diag)# show dmesg
Look for messages that are repeated more than 10 times. Messages containing the
words oops, panic, warning, are considered critical as in the examples below:
[1265795931] Oops in arch/mips/mm/fault.c::do_page_fault, line
185[#1]:
[1265795931] Cpu 0
1265795931] $ 0
: 00000000 10001f01 00000000 00000000
1265795931] $ 4
: 803f0004 00000000 00000057 82f69f2a
1265795931] $ 8
: 82f69fe0 00001f00 00000000 82fca000
2-11
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Where:
Example:
CASA-CMTS(diag)# tcpdump -i gige 1
3.
Write tcpdump
output to a file on the
SMM.
Example:
CASA-CMTS(diag)# tcpdump "-i gige 1 -w /
fdsk/test.out
To read the file, move it from the SMM to a TFTP server.
2-12
Use the other tcpdump arguments to specify specific traffic to capture, such as traffic
running over UDP ports 67 and 68.
Example
CMTS(diag)#tcpdump "-i gige 0 -vvv udp port 67 or udp port 68"
Example output:
*****
Type Ctrl-C to exit
*****
tcpdump: listening on eth2, link-type EN10MB (Ethernet), capture size
65535 bytes
38 packets captured
38 packets received by filter
0 packets dropped by kernel
Sample file listing:
19106 Dec 22 13:37 core.SMM-crl_rpc_server.275.txt
454281 Jan 27 15:49 core.SMM-shell.exe.tar.gz
2411 Jan 27 15:49 core.SMM-shell.exe.txt
24 Mar 9 14:35 test.out
2-13
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Where:
2-14
Step
Command
Purpose
continued
2-15
Example output:
traceroute to verizon.net (206.46.232.39), 30 hops max, 38 byte
packets
1 192.168.2.1 (192.168.2.1) 0.564 ms 0.438 ms 0.402 ms
2 192.168.1.1 (192.168.1.1) 1.724 ms 1.482 ms 1.334 ms
3 192.168.0.1 (192.168.0.1) 3.573 ms 3.308 ms 3.400 ms
4 209.101.35.209 (209.101.35.209) 4.334 ms * 4.179 ms
5 208-41-205-1.client.dsl.net (208.41.205.1) 20.577 ms 16.912 ms
19.954 ms
6 ge-2-2-0.c00.nyc.megapath.net (155.229.123.121) 19.863 ms 17.526
ms 19.568 ms
7 ge-6-5.car1.NewYork1.Level3.net (209.246.126.1) 19.946 ms 17.224
ms 19.897 ms
8 vlan69.csw1.NewYork1.Level3.net (4.68.16.62) 19.893 ms 17.967 ms
19.767 ms
9 ae-64-64.ebr4.NewYork1.Level3.net (4.69.134.113) 24.904 ms
22.647 ms *
10 ae-6-6.ebr2.NewYork2.Level3.net (4.69.141.22) 19.224 ms 17.346
ms 19.626 ms
11 ae-2-52.edge2.NewYork2.Level3.net (4.69.138.227) 23.098 ms
17.541 ms ae-1-51.edge2.NewYork2.Level3.net (4.69.138.195) 25.399
ms
12 0.ge-2-0-0.BR3.NYC4.ALTER.NET (204.255.173.53) 17.668 ms
mci-level3-xe.newyork2.Level3.net (4.68.110.234) 17.970 ms
mci-level3-xe.newyork2.Level3.net (4.68.110.106) 57.640 ms
13 0.xe-0-1-3.XL3.NYC4.ALTER.NET (152.63.17.58) 18.088 ms
0.xe-5-0-3.XL3.NYC4.ALTER.NET (152.63.18.6) 17.976 ms
0.xe-5-1-3.XL3.NYC4.ALTER.NET (152.63.16.182) 19.120 ms
14 0.ge-7-2-0.XL3.DFW7.ALTER.NET (152.63.0.34) 102.254 ms 101.897
ms 104.069 ms
15 POS7-0.GW2.DFW13.ALTER.NET (152.63.103.229) 103.922 ms
POS6-0.GW2.DFW13.ALTER.NET (152.63.103.225) 102.292 ms 101.520 ms
16 verizon-gw.customer.alter.net (63.65.122.26) 104.015 ms 102.131
ms 103.928 ms
17 po121.ctn-core1.vzlink.com (206.46.225.18) 114.777 ms 101.656 ms
103.760 ms
18 206.46.228.130 (206.46.228.130) 104.236 ms 101.775 ms 104.338 ms
19 206.46.232.34 (206.46.232.34) 103.508 ms 102.530 ms 103.747 ms
2-16
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Example:
CASA-CMTS(diag)# mirror cm traffic 1.0.0.7
0018.c0bf.1058
Mirroring traffic for CM 0014.f887.d939 to
0x1000007
Begin monitoring
cable modem traffic.
2-17
Step
Command
Purpose
3.
Write tcpdump
output to a file on the
SMM.
Where:
Example:
CASA-CMTS(diag)# tcpdump "-i gige1 -w /
Example output:
CASA-CMTS(diag)# tcpdump "-i gige1 -w /fdsk/file.out -s 0 udp
In the first window, reset the cable modem. After a few minutes, type Ctrl-C key
combination to stop the capture, then transfer the file to the TFTP server. (Remember
to delete it from the SMM after transferring it.)
Casa Systems CMTS Release 6.0.3
2-18
On the TFTP server, run the ccap command (./ccap test.out) to create a file called
out.cap. Use FTP to transfer this file to a PC running Wireshark (or a program
equivalent to Wireshark).
Change the Wireshark settings by editing preferences and frame protocols by
checking off the Treat all frames as DOCSIS frames box. Wireshark will decode the
DOCSIS control packets.
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Begin monitoring
cable modem traffic.
Where:
Example:
CASA-CMTS(diag)# show cable modem 1
Example
CASA-C3000(diag)#show cable modem 1
MAC Address
IP Address
US
Intf
0026.5e77.43ba 0.0.0.0
3/1/0*
2000:232:1::6de2:d447
CASA-C3000(diag)#show cable modem 2
MAC Address
IP Address
US
DS
Intf
0/0/1*
MAC
Status
online(pt)
DS
MAC
BPI
2-19
Core dumps
0024.0147.9a2c 10.232.1.51
Intf
3/1/0
Intf
0/0/0
Status
online(pt)
Sid
27
(dB)
0.0
DS
Intf
0/0/1*
MAC
Status
online(pt)
Core dumps
Serious problems with the kernel processes will cause the system to dump core
memory. These core dumps contain useful data for Casa engineering. Use the ls or dir
commands to see if these files exist. Core dumps start with the word core in the title as
in:
637205
18395
424762
17561
Dec
Dec
Nov
Nov
4
4
9
9
11:08
11:08
13:09
13:09
core.QAM-0-qam_daemon.145.tar.gz
core.QAM-0-qam_daemon.145.txt
core.SMM-snmpd.292.tar.gz
core.SMM-snmpd.292.txt
Use TFTP to transfer both the text and gz files; send them to
support@casa-systems.com.
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
coredump cleanup
Example:
CASA-CMTS(diag)# coredump cleanup
2-20
Auto-reboot
Shutdown/restart SNMP
bytes of data.
ms
ms
ms
2-21
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Where:
<ip_address> is the host IP address.
Example:
CASA-CMTS(diag)# arp get 192.168.8.232
Auto-reboot
To configure the CMTS to auto-reboot if it does not receive a response from a
specified host within 40 seconds:
Step
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Set CMTS to
auto-boot.
Where:
<ip_address> is the host IP address.
Example:
CASA-CMTS(diag)#auto-reboot monitor
192.168.8.100
2-22
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
gigabit-rx-cpu-rate <rate>
Where:
<rate> is number between 0 and 8000 packets per second.
Example:
CASA-CMTS(diag)# gigabit-rx-cpu-rate 1000
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Turn a specific
power module on or
off.
2-23
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
snmp shutdown
Shutdown and
restart SNMP.
snmp restart
Example:
CASA-CMTS(diag)# snmp shutdown
CASA-CMTS(diag)# snmp restart
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Show the
ACL-associated
applications.
Where:
<name> is the access list name.
This command accepts output modifiers.
Example:
CASA-CMTS(diag)# show ip access-list acl50
applications
2-24
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS(diag)#
2.
Force an
unconditional reboot
of a specific module.
2-25
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Show kernel
interface information.
Where:
<interface> is one of the following options:
Example:
CASA-CMTS(diag)# show kernel interface
docsis-mac 4 acl
2-26
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Example:
CASA-CMTS(diag)# show qos ds cm qam 4 ip
address 4.5.6.7
Example output:
ttl=341785873 ip=341228169 uni=340333695 mc=0
nx=0 ty=1 lc= 0 mcast=0000 pcnt=35 10.155.127.149 00186855961d cm_id=2983
cid=10
cm_tbl_idx= 3786 cm_id=2983 cid=10 psid=1452 v=0 00186855961d tek=025b1568
pkt: 0 18419 dbyte=14743143 arp: 18 14 dhcp: 2 2 maxip: 16 2 0 a=0 l=1
SF sf=01793f48 nx=017a4748 cm=2983 sfid=763903 dsid=1452 domain=3 f=01 tos_ow
=0xff00
cnt pkt=18180 byte=13621440 pkt sent=18180 byte sent=13621440 over_mx
drop_pkt=0 drop_byte=0
enqueue 0 pkt 0 byte marker_in 0 enqueue_priority 0 enqueue_limit 750000
qos_set_type: 06 docsis version: 0
active: priority=0 g_rate=0 g_bucket=60880 mx_rate=16001 mx_bucket=60880
gu_rate_bucket_counter = 60880, mx_rate_bucket_counter = 59560
mx_gu_negative = 0
admitted: priority=0 g_rate=0 g_bucket=60880 mx_rate=16000
mx_bucket=60880
mapping pri 0
enqueue pri 0 marker in 0
channel set id: 10
[ 10 ]
debug: gu_rate=0 mx_rate=3200001 lapsed=1614 mx_c=16000 gu_c=0
lct=0000e8a8
SF sf=017a4748 nx=00000000 cm=2983 sfid=763777 dsid=1452 domain=3 f=00 tos_ow
=0xff00
cnt pkt=239 byte=35067 pkt sent=239 byte sent=35067 over_mx drop_pkt=0
drop_byte=0
enqueue 0 pkt 0 byte marker_in 0 enqueue_priority 0 enqueue_limit 16000
2-27
2-28
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Example:
CASA-CMTS(diag)# show qos ds cm qam 4 ip
address 114
Example output:
CASA-C10000(diag)#show qos ds cm qam 4 ip address 114
L2VPN US: ttl=0 drop=0
DS: ttl=0 drop=0 NotDefined pkt=0 id=0
bc_src=0
l2vpn_vlan_tbl_prt():
l2vpn_addr_hs_tbl_prt():
CASA-C10000(diag)#CASA-C10000(diag)#
2-29
Command
Purpose
1.
diag
Enter diagnostic
mode in the CLI.
Example:
CASA-CMTS# diag
CASA-CMTS (diag)#
2.
Example:
CASA-CMTS(diag)# show qos ds cm qam 4 ip
address 115
Example output:
CASA-C10000(diag)#show qos ds cm qam 4 ip address 115
qam_cm_vlan_mac_tree_prt():
qam_vlan_cm_mac_tree_prt():
qam_vlan_mac_tree_prt(): vlan_mac
qam_vlan_mac_tree_prt(): vlan_mac_uniAddr
qam_vlan_mac_tree_prt(): vlan_mac_mcAddr
qam_l2vpn_cm_stat_tree_prt():
CASA-C10000(diag)#
Casa Systems
CMTS
Debugging and Diagnostics Reference
2011 Casa Systems, Inc.
All rights reserved.
DOC-3006-01
Release 6.0.3
July 2011
Printed in United States of America