Casa Sys Systt ems CMTS
Debuggi bug ging ng and Dia Diagn gnost ostic ics s Reference For Releases Releases 5.2 5.2 to 6.0. 6.0.3 3
DOC-3006-01 Document Version 6.0.3 July 2011
© 201 2011 Casa Casa System Sys tems, s, Inc . All rights rights reserved. reserved. Licensed software products are owned owned by Casa Casa Systems or its its suppliers suppliers and and are protected by United States States copyright laws and international treaty provisions. The information regarding the product in this manual is subject to change without notice. All statements, information, and recommendations recommendations in this manual are believed to be accurate but are presented without warranty of any kind, express of implied. Users must take full responsibility for their application of the product. In no event shall Casa or its suppliers be liable for any indirect, special, consequential, or incidental damages, including, including, without limitation, lost profits or loss or damage to data arising out of the use or inability to use this manual, even if Casa or its suppliers have been advised of the possibility of such damages .
© 201 2011 Casa Casa System Sys tems, s, Inc . All rights rights reserved. reserved. Licensed software products are owned owned by Casa Casa Systems or its its suppliers suppliers and and are protected by United States States copyright laws and international treaty provisions. The information regarding the product in this manual is subject to change without notice. All statements, information, and recommendations recommendations in this manual are believed to be accurate but are presented without warranty of any kind, express of implied. Users must take full responsibility for their application of the product. In no event shall Casa or its suppliers be liable for any indirect, special, consequential, or incidental damages, including, including, without limitation, lost profits or loss or damage to data arising out of the use or inability to use this manual, even if Casa or its suppliers have been advised of the possibility of such damages .
iii
Contents
Preface About this guide ............ ......................... ......................... ........................ ......................... ......................... ......................... ......................... ............ vii Revision history................. history............................. ......................... ......................... ........................ ........................ ......................... ................viii ...viii Contacting Casa ............. ......................... ........................ ......................... ......................... ......................... .......................... .......................viii ..........viii Corporate facility ............ ......................... ......................... ......................... ......................... ........................ ........................ ..................viii ......viii Technical Support ........... ....................... ......................... ......................... ........................ ........................ ........................ ..................viii ......viii Technical documentation ............ ........................ ........................ ......................... ........................ ........................ ...................viii ......viii Conventions used in Casa documentation ............ ........................ ......................... .......................... ...................... ......... ix Typographical conventions ............ ......................... ......................... ......................... .......................... .......................... ............... ix Acronyms ............. .......................... .......................... .......................... ......................... ......................... ......................... ......................... ................ ... x
Chapter 1. Casa Casa CMT CMTS S debugging debugg ing com commands mands Activating logging ............. ......................... ......................... .......................... .......................... .......................... ........................ ................. ...... 1-2 Additional logging .................................. ............................................... .......................... ........................ ........................ ................. .... 1-3 Displaying debug log settings ........... ........................ .......................... .......................... .......................... ................... ...... 1-3 Debug AAA AA A ........... ....................... ......................... .......................... .......................... .......................... ......................... ......................... ................ ... 1-4 Debug ARP ........... ....................... ......................... .......................... .......................... .......................... ......................... ......................... ................ ... 1-4 Debug cable plant ............ ........................ ......................... ......................... ......................... .......................... ......................... .................. ...... 1-5 Signal quality ............. ......................... ......................... .......................... .......................... .......................... ......................... .................. ...... 1-5 Table Tab le 1-1 1-1.. Signal Sig nal qua quality lity mod modula ulatio tion n ... ..... ..... ...... ...... ..... ..... ...... ...... ...... ...... ...... ...... ...... ...... ...... ..... ..... ..... .. 1-5 Displaying the noise level ........... ........................ .......................... .......................... .......................... .....................1-6 ........1-6 Debug cable modem ............ ......................... ......................... ......................... ......................... ......................... .......................... ............... 1-7 Cable modem flapping flappin g ............. .......................... ......................... ........................ ......................... .......................... ....................... .......... 1-9 Cable modem configuration configuration information ............ ......................... .......................... .......................... ................... ...... 1-10 Cable modem status ............ ......................... .......................... .......................... ......................... ......................... ........................ ........... 1-12 Cable modem remote query ............ ......................... ......................... ........................ ......................... ......................... .............. 1-13
.
.
.
.
.
.
.
.
.
.
.
.
Casa Syst ems CMTS Release 6.0.3 6.0.3
iv
Debugging and Diagnostics Reference Contents
Debug PacketCable ........................................................................................ 1-14 Debug IP ......................................................................................................... 1-14 Debug BGP ..................................................................................................... 1-15 Debug IS-IS .................................................................................................... 1-16 Debug OSPF ................................................................................................... 1-17 OSPF packet information .......................................................................... 1-20 Debug RIP ...................................................................................................... 1-21 Debug LACP ................................................................................................... 1-21 Connection testing .......................................................................................... 1-22
.
.
.
.
.
.
.
.
.
Chapter 2. Casa CMTS diagnostics commands SMM diagnostics ............................................................................................... 2-2 QAM diagnostics ............................................................................................... 2-4 Downstream and upstream interface statistics ................................................. 2-5 Checking for downstream errors ....................................................................... 2-8 Upstream diagnostics (Release 5.4 only) ......................................................... 2-9 Past DHCP transactions ................................................................................... 2-9 System kernel messages ................................................................................ 2-10 Capturing packets on the GigE interfaces .......................................................2-11 Tracing the IP path .......................................................................................... 2-13 Capturing cable modem traffic on the SMM .................................................... 2-16 Displaying cable modems by modem ID ......................................................... 2-18 Core dumps .................................................................................................... 2-19 Removing old core dump files ................................................................... 2-19 Testing connectivity (extended Ping) .............................................................. 2-20 Other diagnostic commands ........................................................................... 2-20 ARP table entry ......................................................................................... 2-21 Auto-reboot ............................................................................................... 2-21 Set the CPU receive rate .......................................................................... 2-22 Turning power on and off to individual CMTS module .............................. 2-22 Shutdown or restart SNMP ....................................................................... 2-23 Show ACL applications ............................................................................. 2-23 Casa Systems CMTS Release 6.0.3
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
.
Debugging and Diagnostics Reference
v
Contents
Reboot a module unconditionally ..............................................................2-24 Show kernel interface information .............................................................2-25 Display modem information by QAM .........................................................2-26 Display VLAN information ..........................................................................2-28 Display information about modems on a VLAN .........................................2-29
.
.
.
.
.
Casa Syst ems CMTS Release 6.0.3
vii
Preface
About this guide The Casa Systems – CMTS Debugging and Diagnostics Reference describes the debugging and diagnostic commands that are available for diagnosing possible problems with the CMTS or equipment that is connected to the CMTS. The debugging and diagnostic commands are supported in the Casa command line interface (CLI) and are included to help diagnose system problems. This guide is intended for system administrators, support engineers, and operators who are responsible for configuring and managing Casa CMTS products. Users who perform these tasks should be familiar with the Casa CMTS hardware and cabling, as well as have experience with the following: •
IP routing protocols
•
MPEG-2 protocol
•
DOCSIS protocol
•
RF cable plants
The following topics are covered in this guide: For information about
See
Debugging commands
Chapter 1.
Diagnostic commands
Chapter 2.
Casa Syst ems CMTS Release 6.0.3
viii
Debugging and Diagnostics Reference Contacting Casa
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
Technic al Support In the United States: Tel: 978-699-3045 E-mail:
[email protected]
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. •
Casa Systems – C2200 CMTS Quick Installation
•
Casa Systems – C2200 CMTS Hardware Installaton Guide
•
Casa Systems – C3200 CMTS Quick Installation
•
Casa Systems – C3200 CMTS Hardware Installation Guide
•
Casa Systems – C10200 CMTS Hardware Installation Guide
•
Casa Systems – C10G CMTS Hardware Installation Guide
•
Casa Systems – C10G/C10200 CMTS Quick Installation
•
Casa Systems – CMTS Software Configuration Guide
•
Casa Systems – CMTS Debugging and Diagnostics Reference
Casa Systems CMTS Release 6.0.3
Preface
ix
Conventions used in Casa documentation
•
Casa Systems – CMTS Release Notes
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.
Conventions used in Casa documentation Typogr aphical convention s Key Convention Boldface font
Function
Example
Commands and keywords in text are in The show running-config boldface .
command...
Bold italic font
Arguments mentioned in are in bold italic font.
Where:
: the area identifier.
brackets [ ]
Elements in square brackets are optional.
CASA- CMTS# show rstp port
Indicates a required argument with a choice of values; choose one.
CASA- CMTS( conf i g- r out er - o spf ) # area shortcut
braces {x | y | z}
[]
{enable | disable | default}
brackets [x | y | z]
Indicates an optional argument with a choice of values; choose one.
CASA- CMTS( conf i g- r out er - o spf ) # area nssa [translate-always | translatecandidate | translate-never]
vertical bar |
Separates parameter values. Same as CASA- CMTS( conf i g- r out er - o “or.” spf ) # ospf abr-type [cisco | ibm | shortcut | standard ]
string
A non-quoted set of characters. Do not CASA- CMTS# hostname use quotation marks (“”)around the string as the string will include the quotation marks.
Casa Syst ems CMTS Release 6.0.3
x
Debugging and Diagnostics Reference Conventions used in Casa documentation
Key Convention
Function
Example
Scr een font
Terminal sessions and information the system displays are in scr een font.
[ Wed Sep 1 20: 58: 07 2010] - AL- SYS- 1: Modul e 8 ( QAM) , i s up.
Bold screen font Bold italic screen
font
Information you must enter is in boldface screen font.
CMTS# show docsis channel utilization
Arguments for which you supply values CASA- CMTS( conf i g- r out er- o are in bold italic screen font. spf ) # timers spf
<>
Non-printing characters such as CASA- CMTS( conf i g) # system passwords are in angle brackets in monitor memory contexts where italics are not available. threshold Angle brackets are also used for variables.
!,#
An exclamation point (!) or a pound sign (#) at the beginning of a line of code indicates a comment line.
# This is a comment.
Acronyms Casa Systems manuals contain the following industry-standard and product-specific acronyms: AAA
Authentication, Authorization, Accounting
ACL
Access Control List
ARP
Address Resolution Protocol
ATDMA
Asynchronous Time Division Multiple Access
BGP
Border Gateway Protocol
BPI
Baseline Privacy Interface
CM
Cable Modem
CMTS
Cable Modem Termination System
DBC
Dynamic Bonding Change
DCC
Dynamic Channel Change
DDM
DOCSIS Data Manager
DOCSIS
Data Over Cable Service Interface Specification
DHCP
Dynamic Host Configuration Protocol
Casa Systems CMTS Release 6.0.3
Preface
xi
Conventions used in Casa documentation
DSG
DOCSIS Set-top Gateway
GigE
Gigabit Ethernet
HFC
Hybrid fiber coaxial
ICMP
Internet Control Message Protocol
IP
Internet Protocol
IS-IS
Intermediate System-to-Intermediate System
LACP
Link Aggregration Control Protocol
MIB
Management Information Base
NTP
Network Time Protocol
OSPF
Open Shortest Path First Protocol
PCMM
Packet Cable Multimedia
PIM
Protocol Independant Multicast
QAM
Quadrature Amplitude Modulation
RIP
Routing Information Protocol
SCDMA
Synchronous Code Division Multiple Access
SMM
Switch and Management Module (Casa Systems)
SNR
Signal to Noise Ratio
STB
Set-top Box
TACACS
Terminal Access Controller Access Control System
TCP
Transmission Control Protocol
TDMA
Time Division Multiple Access
TOS
Type of Service
UCC
Upstream Channel Change
VoIP
Voice over IP
VLAN
Virtual Local Area Network
Casa Syst ems CMTS Release 6.0.3
1-1
Chapter 1. Casa CMTS debugging commands
This chapter describes the Casa CMTS debugging commands available from the CLI for debugging purposes. The CMTS supports commands for debugging the following categories: •
AAA — Accounting, Authorization, and Authentication
•
ARP — Address Resolution Protocol
•
Cable — cable plant
•
IP — Internet Protocol
•
LACP — Link Aggregation Control 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
Displaying debug log settings
1-3
Debug AAA
1-4
Debug ARP
1-4
Debug cable plant
1-5
Debug cable modem
1-7
Cable modem flapping
1-9
Cable modem configuration information
1-10
Casa Syst ems CMTS Release 6.0.3
1-2
Debugging and Diagnostics Reference Ac ti vat in g l og gi ng
Topic
Page
Cable modem configuration information
1-10
Cable modem status
1-12
Cable modem remote query
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.
[no] logging debugging
Enables or disables debug logging.
Example:
Enable logging of debugging messages. CASA- CMTS( conf i g) # logging debugging
Disable logging of debugging messages. CASA- CMTS( conf i g) # 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
Casa CMTS debugging commands
1-3
Ac ti vat in g l og gi ng
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 Where: is the number of the unique module identifier,
usually the slot number of the module location in the chassis. Example:
CASA- CMTS# show tech
Displaying debug log settings To display debug logging settings before or during the log printing process, enter the show debugging command. Step
Command
Purpose
1.
show debugging [ bgp | isis | ospf | rip | ripng]
Displays the current debug log settings.
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 Cabl e: mac- addr ess: 0050. f 112. b764 mask : ff ff . ff ff . ff ff conf i g ver bose
Casa Syst ems CMTS Release 6.0.3
1-4
Debugging and Diagnostics Reference Debug AAA
Debug AAA To debug problems with AAA: Step
Command
Purpose
1.
[no] debug aaa [(accounti ng) | (authentication) | (authorization)]
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.
[no] debug arp
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] d ebug arp mac-address
CASA- CMTS# debug arp mac-address 0050.f112.b765
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
1-5
Debug c able plant
Debug cable plant To obtain information on the cable plant, use one of the following debugging commands: •
signal quality
•
debug cable
•
show cable flap list
•
show cable modem information
•
show cable modem remote query
Signal qu ality 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.
show upstream [] signal-quality
Displays signal quality. To display all the upstream channels at once, leave out the upstream port number.
Example:
CASA- CMTS# show upst r eam 1/ 4. 1 si gnal - qual i t y 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.
Signal quality modulation
Module
Conservative
Addressive
QPSK
130
100
8QAM
190
160
Casa Syst ems CMTS Release 6.0.3
1-6
Debugging and Diagnostics Reference Debug cable plant
Table 1-1.
Signal quality modulation (continued)
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.
show spectrum upstream [chan-wd>] r aw
Displays signal noise levels.
Where:
•
X/Y.C is the slot/port.channel specification.
•
is the channel width; default is 6400000
Example:
CASA- CMTS# FREQUENCY 6400000 5000000: 11400000: 17800000: 24200000: 30600000: 37000000: 43400000: 49800000: 56200000: 62600000:
show spectrum upstream 1/4.1 raw
NOI SE- LEVEL ( dB) 13. 0 19. 7 13. 4 14. 5 07. 8 00. 0 00. 0 10. 8 09. 0 09. 0
Casa Systems CMTS Release 6.0.3
at channel - wi dt h
Casa CMTS debugging commands
1-7
Debug cable modem
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.
Debug cable modem To view the messages between a cable modem and the CMTS, perform the following steps: Step
Command
Purpose
1.
debug cable mac-address
Specify the MAC address of the modem.
Where: is the media access control address of the
modem in hexadecimal format. Example:
CASA- CMTS# debug cabl e mac- addr ess 0015. f 2f e. c904
Specify the asterisk (*) wildcard to filter portions of the MAC address. CASA- CMTS# debug cabl e mac- addr ess 0015. *. * continued
Casa Syst ems CMTS Release 6.0.3
1-8
Debugging and Diagnostics Reference Debug cable modem
Step
Command
Purpose
2.
[no] debug cable [cfg | cm-ctrl | cm-status | dcc | dhcp |
Specify the information to display.
dynsrv | load-balance | mac-address | packetcable | privacy | ranging | registr ation | service-group | specmgmt | tlv | verbose] Where:
•
cf g — Debug cm downloading configuration file.
•
cm-ctrl — Debug cable cm-ctrl msg.
•
cm-status — Debug cable cm-status msg.
•
dc c — Debug dynamic channel change.
•
dhcp — Debug dhcp process .
•
dynsvr — Debug dynamic service transactions.
•
load-balance — Debug cable load-balance [static |
To view all the ranging messages at one time, do not select an optional argument
dynamic]. •
mac-address — Select cable modem to debug.
•
packetcable — Debug packet cable.
•
privacy — Debug baseline privacy process.
•
ranging — Debug ranging process.
•
registration — Debug registration process.
•
service-group — Debug the service group.
•
specmgmt — Spectrum management process.
•
tl v — Debug TLV information on all MAC packets.
•
verbose — Detailed information.
Example:
CASA- CMTS# debug cable tlv Feb 26 14: 26: 08. 483 CET: TLV- Bl ock Byt es: 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
Casa Systems CMTS Release 6.0.3
Turn on debug logging.
Casa CMTS debugging commands
1-9
Cable modem flapping
Example outp ut: Ranging information [ Fr i Apr 3 13: 34: 34 2009] - DE- RNG- 1: Sendi ng RNG- RSP message t o 0018. c0bf . 1058 o n qam 0/ 0/ 3, power adj ust ment 0, f r equency adj ust ment 0, t i mi ng adj ust ment 0, st at us SUCCESS [ Fr i Apr 3 13: 34: 44 2009] - DE- RNG- 1: Gr ant 0018. c0bf . 1058 r angi ng oppor t uni t y on upst r eam 1/ 5/ 0, i uc 4 [ Fr i Apr 3 13: 34: 44 2009] - DE- RNG- 1: RNG_REQ message r ecei ved f r om 0018. c0bf . 105 8 on upst r eam 1/ 5/ 0, power of f set 0, f r equency of f set 234, t i mi ng of f set 0, si d 220 [ Fr i Apr 3 13: 34: 44 2009] - DE- RNG- 1: Sendi ng RNG- RSP message t o 0018. c0bf . 1058 o n qam 0/ 0/ 3, power adj ust ment 0, f r equency adj ust ment 0, t i mi ng adj ust ment 0, st at us SUCCESS
For spectrum management debugging, specify more options as follows: CASA- CMTS# [no]debug cable specmgmt [trace | poll | event | fft |fsm |hop]
Cable modem flapping To display the cable modems that continually re-register: CASA- CMTS# show cable flap-list
Casa Syst ems CMTS Release 6.0.3
1-10
Debugging and Diagnostics Reference Cable modem configur ation information
Cable modem configuration infor mation To display the cable modem configuration information: Step
Command
Purpose
1.
show cable modem [ | ] [ verbose ]
Display the cable modem information.
Where: is one of the following:
•
classifiers — Classifiers information.
•
counters — Counter information.
•
cp e — CPE information.
•
dropped-packets — Dropped packets counters.
•
errors — Error counters.
•
mac — MAC layer information.
•
maintenance — Maintenance information.
•
multicast-session — Multicast session exists.
•
online — Display online cable modems
•
ph y — PHY information
•
qo s — Quality of Service (QOS) information
•
remote-query — show cable modem remote
information •
vendor — Vendor information
Example outp ut: MAC Addr ess I P Addr ess Pr i m Si d MAC Domai n Upst r eam Downst r eam Ti mi ng Of f set I ni t i al Ti mi ng Of f set Recei ved Power MAC Ver si on
Casa Systems CMTS Release 6.0.3
: 0018. 6892. 89b8 : 10. 12. 170. 214 : 870 :2 : 4/ 13/ 0 : 0/ 1/ 0 : 2613 : 2612 : 0 dBmV : DOC2. 0
Casa CMTS debugging commands
1-11
Cable modem configur ation inform ation
Qos Pr ovi si oned Mode Enabl e DOCSI S2. 0 Mode I ni t i al Rangi ng Message Regi st r at i on Request Mess age Phy Oper at i ng Mode Capabi l i t i es Opt i onal Fi l t er i ng Suppor t Number of CPE I Ps CFG Max- CPE Er r or s St n Mt n Fai l ur es Tot al US Fl ows Tot al DS Fl ows Tot al US Dat a Tot al US Thr oughput Tot al DS Dat a Tot al DS Thr oughput Ac t i ve Cl as si f i er s DSA/ DSX mess ages Dynami c Secr et Tot al Ti me Onl i ne
: DOC1. 0 :Y : RNG- REQ : REG- REQ : t dma : {Fr ag=Y, Concat =Y, PHS=N, Pr i v=N} : {802. 1P=N, 802. 1Q=N} :1 : 16 : 0 CRCs, 0 HCSes : 0 abort s, 0 exhaust ed :1 :1 : 392279 packet s, 62671197 byt es : 393 bi t s/ sec, 2 packet s/ sec : 725538 packet s, 978593918 byt es : 6140 bi t s/ sec, 4 packet s/ sec :0 : per mi t al l : 0000000000000000 : 159378 s
Sampl e out put f r om Mac Addr : 0018: 6892: 89b8 Sf i d : 2461823 Cur r ent St at e : Act i ve Si d : 870 Tr af f i c Pr i or i t y :0 Maxi mum Sust ai ned r at e : 2048000 bi t s/ sec Maxi mum Bur st : 1600 byt es Mi mi mum Reser ved r at e : 4000 bi t s/ sec Mi ni mum Packet Si ze : 0 byt es Admi t t ed QoS Ti meout : 0 seconds Act i ve QoS Ti meout : 0 seconds Maxi mum Concat enat ed Bur st : 0 byt es Schedul i ng Type : Best Ef f ort Request / Tr ansmi ssi on pol i cy : 0x0 I P ToS Over wr i t e[ AND- mask, OR- mask] : 0x0, 0x0 Cur r ent Thr oughput : 0 bi t s/ sec, 0 packet s/ sec Cont ent i on r equest : 94262 Pi ggyback r equest : 173510 Gr ant s sc hedul ed : 268341 Gr ant s not used : 0 Token bucket ( mi n r eser ved byt es) : 1467 Packet r ecei ved : 392284 Byt es r ecei ved : 62671708 ( byt es) HCS err ors : 0 CRC err ors : 0
Casa Syst ems CMTS Release 6.0.3
1-12
Debugging and Diagnostics Reference Cable Cable mod em status
Sf i d : 2461951 Cur r ent St at e : Act i ve Si d : N/ A Tr af f i c Pr i or i t y : 0 Maxi axi mum Sust ai ned ned r at e : 12288000 bi t s/ sec Maxi mum Bur st : 3044 3044 byt byt es Mi mi mum Reser eser ved ved r at e : 0 bi t s/ sec Mi ni mum Packe Packett Si ze : 0 byt es Admi t t ed QoS Ti meout eout : 0 secon sec onds ds Act i ve QoS Ti meout eout : 0 seconds seconds Maxi mum Concat oncat enat enat ed Bur st : 0 byt byt es Sched chedu ul i ng Typ Type : Not yet yet def i ned Request / Tr ansmi ssi on pol i cy : 0x0 I P ToS Over wr i t e[ AND- mask, OR- mask] : 0x0, x0, 0x0 Cur r ent Thr oughput : 0 bi t s/ sec, sec, 0 packe cket s/ sec
Cabl Cable e modem sta s tatu tus s The CMTS displays the following status information about the cable modems: •
offline — No signal from cable cable modem.
•
init(r1) — Cable modem sent initial ranging.
•
init(r2) — Cable modem is ranging.
•
init(ov) — CMTS moving CM to a new channel during static load balancing.
•
init(rc) — Cable modem ranging complete.
•
init(ua) — Upstream channel adjustment (3.0 modems).
•
init(d) — DHCP discover received by CMTS.
•
init(i) — DHCP reply received from server; no DHCP request from CM.
•
init(e) — Early authentication encryption started (3.0 modems).
•
init(t) — TOD exchange started.
•
init(o) — CM has started to download the config file.
•
init(r) — CMTS received register-request from CM, but not reg-ack yet.
•
init(bpi) — Baseline privacy started.
•
online — Cable modem registered; enabled for data.
•
online(d) — CM registered, but network access for the CM is disabled.
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
1-13
Cable Cable mod em remote query
Cable modem remot e query To get information from the modem, perform the following steps: St ep
Co m m an d
Pu r p o s e
1.
Configure remote query at the CMTS and verify that the Where: remote query is also is the polling interval in seconds; 0 turns the remote query configured on the off. modem.
2.
show cable modem remote-query remote-query i mmediate community string
cable modem remote-query
Display the modem information.
Where:
•
is the the MAC MAC addre address ss assoc associat iated ed with with the the cable cable modem.
•
g> is the the text text defin defining ing the the commu communit nity y strin string. g.
Example Example outp ut: The show cable modem command outputs the following information about the modem: MAC Addr ddr ess
I P Addr ddr ess
S/ N Rat i o
US Pwr
DS TX Ti me Mi cr o( dB) dB) Pwr Of f set Ref l ect i on
Modem St at e
Casa Syst ems CMTS Release 6.0.3 6.0.3
1-14
Debugging and Diagnostics Reference Debug Debug PacketCable PacketCable
Debu Debug g PacketCabl PacketCable e The debug cable packetcable command provides the following information: St ep
Co m m an d
Pu r p o s e
1.
debug c able packetcable packetcable
Start PacketCable debugging.
Where:
•
cops — COPS messages.
•
events — Event messages.
•
information. gate — Gate information.
•
control — Gate control events.
•
docsis — DOCSIS messages.
Example:
CMTS# debug cable packetcable cops
Debu Debug g IP The debug ip commands are as follows: St ep
Co m m an d
Pu r p o s e
1.
debug ip [bgp | isis | multicast | ospf | rip | snmp]
Start IP debugging.
Where:
•
bg p — BGP routing information.
•
isis — IS-IS information.
•
multicast — Debug multicast packets.
•
— OSPF information. ospf —
•
ri p — Routing Information Protocol (RIP) information.
•
snmp — Debug IP SNMP.
Example:
CMTS# debug ip rip
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
1-15
Debug BGP
Debug BGP The Border Gateway Protocol (BGP) debug commands are as follows: Step
Command
Purpose
1.
[no] debug ip b gp [events |filters | fsm | keepalives | updates]
Start BGP debugging.
Where:
•
events — BGP events.
•
filters — BGP filters.
•
fsm — BGP Finite State Machine.
•
keepalives — BGP keepalives.
•
updates — BGP updates.
Example:
CMTS# debug ip bgp events
Casa Syst ems CMTS Release 6.0.3
1-16
Debugging and Diagnostics Reference Debug IS-IS
Debug IS-IS The Intermediate System-to-Intermediate System (IS-IS) protocol commands are as follows: Step
Command
Purpose
1.
[no] debug i p isis [adj-packets | all |checksum-errors | events | local-updates | p rotocol -errors | route-events | snp-packets | spf-events | spf-statistics | spf-triggers | update-packets ]
Start IS-IS protocol debugging.
Where:
•
adj-packets — IS-IS Adjacency related packets.
•
all — All IS-IS packets.
•
checksum-errors — IS-IS LSP checksum errors.
•
events — IS-IS events.
•
local-updates — IS-IS local update packets.
•
protocol-errors — IS-IS LSP protocol errors.
•
route-events — IS-IS route related events.
•
snp-packets — IS-IS CSNP/PSNP packets.
•
spf-events — IS-IS Shortest Path First events.
•
spf-statistics — IS-IS SPF timing and statistic data.
•
spf-triggers — IS-IS SPF triggering events.
•
update-packets — IS-IS update related packets.
Example:
Display all IS-IS debugging statistics: CASA- CMTS# debug ip isis all [ Thu J ul 21 10: 47: 43 2011] - DE- CDB- 1: smm6: cdb_pop_ack_cache( ) : ack cache i s empt y, dbi d = 10( r epeat count 2) I S- I S Adj acency r el at ed packets debuggi ng i s on I S- I S l ocal updat es debuggi ng i s on I S- I S SPF t r i gger i ng event s debuggi ng i s on I S- I S aut hent i cat i on debuggi ng i s on I S- I S cl i ent / sever i nf or mat i on debuggi ng i s on
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
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:
Casa Syst ems CMTS Release 6.0.3
1-18
Debugging and Diagnostics Reference Debug OSPF
Step
Command
Purpose
1.
[no] d ebug ip ospf [erro r | events | ism| lsa | nsm | nssa| packet]
Start OSPF debugging.
Where:
•
error — OSPF error information.
•
events — OSPF event information.
•
is m — OSPF Interface State Machine:
events status timers •
ls a — OSPF Link State Advertisement.
flooding generate install refresh •
ns m — OSPF Neighbor State Machine
events status timers •
nssa — OSPF NSSA information.
•
packet — OSPF packets.
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
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
1-19
Debug OSPF
Step
Command (continued)
Purpose
Display information about the interface state machine: CASA- CMTS# debug ip ospf ism events CASA- CMTS# debug ip ospf ism status CASA- CMTS# debug ip ospf ism timers
Display information about link-state advertisement (LSA events: For flood events (updates received and acknowledgements): CASA- CMTS# debug ip ospf lsa flooding
For LSA events: CASA- CMTS# debug ip ospf lsa generate
For other events: CASA- CMTS# debug ip ospf lsa install CASA- CMTS# debug ip ospf lsa refresh
Display messages containing information about neighbor events: CASA- CMTS# debug ip ospf nsm events CASA- CMTS# debug ip ospf nsm timers CASA- CMTS# debug ip ospf nsm status
Display messages containing information about nssa: CASA- CMTS# debug ip ospf nssas
Casa Syst ems CMTS Release 6.0.3
1-20
Debugging and Diagnostics Reference Debug OSPF
OSPF packet inf ormation To display information about each packet transmitted and received: Step
Command
Purpose
1.
debug ip os pf packet [all|dd|hello|ls-ack|ls-request|ls-update] [(send [detail]|recv [detail]|detail)]
Display information about each packet transmitted and received.
Where:
•
all —Lists all OSPF packets.
•
dd — Gives the database description.
•
hello — Shows the OSPF hello traffic.
•
ls-ack — Shows the OSPF link state acknowledgements.
•
ls-request — Shows the link state requests.
•
ls-update — Shows the link state update.
•
send — Displays the sent packets.
•
detail — Shows the details.
•
recv — Displays the received packets.
Example:
CASA- CMTS# debug ip ospf packet all
Casa Systems CMTS Release 6.0.3
Casa CMTS debugging commands
1-21
Debug RIP
Debug RIP The Routing Information Protocol (RIP) commands provide event and packet information. Step
Command
Purpose
1.
debug ip rip [events | packets]
Display RIP information.
Where:
•
events — RIP events.
•
packets — RIP packets.
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.
debug ip lacp [fsm| events | packets]
Display LACP information.
Where: •
fsm — Finite state machine.
•
events — LACP events.
•
packets — LACP packets.
Example:
CASA- CMTS# debug ip lacp fsm
Casa Syst ems CMTS Release 6.0.3
1-22
Debugging and Diagnostics Reference Connection testing
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" PI NG 192. 168. 3. 8 ( 192. 168. 3. 8) f r om 10. 248. 1. 1 64 byt es f r om 192. 168. 3. 8: i cmp_seq=1 t t l =64 t i 64 byt es f r om 192. 168. 3. 8: i cmp_seq=2 t t l =64 t i 64 byt es f r om 192. 168. 3. 8: i cmp_seq=3 t t l =64 t i
Casa Systems CMTS Release 6.0.3
: 56( 84) me=0. 357 me=0. 372 me=0. 361
bytes of dat a. ms ms ms
2-1
Chapter 2. Casa CMTS diagnostics commands
The Casa CMTS supports the following diagnostics: •
SMM (GigE) and QAM diagnostics
•
Upstream and downstream diagnostics
•
DHCP tracing
•
System kernel messages
•
GigE interface monitoring
•
IP path tracing
•
Cable modem traffic monitoring
•
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
Downstream and upstream interface statistics
2-4
Checking for downstream errors
2-8
Upstream diagnostics (Release 5.4 only)
2-9
Past DHCP transactions
2-9
Casa Syst ems CMTS Release 6.0.3
2-2
Debugging and Diagnostics Reference SMM diagnostics
Topic
Page
System kernel messages
2-10
Capturing packets on the GigE interfaces
2-11
Tracing the IP path
2-13
Capturing cable modem traffic on the SMM
2-16
Displaying cable modems by modem ID
2-18
Core dumps
2-19
Removing old core dump files
2-19
Testing connectivity (extended Ping)
2-20
Other diagnostic commands
2-20
ARP table entry
2-21
Auto-reboot
2-21
Set the CPU receive rate
2-22
Turning power on and off to individual CMTS module
2-22
Shutdown or restart SNMP
2-23
Show ACL applications
2-23
Reboot a module unconditionally
2-24
Show kernel interface information
2-25
Display modem information by QAM
2-26
Display VLAN information
2-28
Display information about modems on a VLAN
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.”
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-3
SMM diagnostics
To obtain information about the SMM GigE ports: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS( di ag) #
2.
show gige stats Where: is the GigE port number on the SMM. Example:
CASA- CMTS( di ag) #show gige 2 stats
Example outp ut: CMTS( di ag) #show gige stats snmpI f I nOct et s = 359733, snmpI f I nUcast Pkt s = 2002 snmpI f I nNUcast Pkt s = 453, snmpI f I nDi sc ar ds = 378 snmpI f I nEr r or s = 0, snmpI f I nUnknownPr ot os = 0 snmpI f Out Oct et s = 386113, snmpI f Out Ucast Pkt s = 2055 snmpI f Out NUcast Pkt s = 234, snmpI f Out Di sc ar ds = 0 snmpI f Out Er r or s = 0, snmpI f Out QLen = 0 snmpI pI nRecei ves = 1808, snmpI pI nHdr Er r or s = 0 snmpI pFor wDat agr ams = 1402, snmpI pI nDi scar ds = 0 snmpDot 1dBasePor t Del ayExceededDi scar ds = 0, snmpDot 1dBasePor t Mt uExceededDi scar ds = 0 snmpDot 1dTpPor t I nFr ames = 2456, snmpDot 1dTpPor t Out Fr ames =2289 snmpDot 1dPor t I nDi sc ar ds = 0, snmpEt her St at sDr opEvent s = 0 snmpEt her St at sMul t i cast Pkt s = 580, snmpEt her St at sBr oadcast Pkt s=108 snmpEt her St at sUnder si zePkt s = 0, snmpEt her St at sFr agment s = 0 snmpEt her St at sPkt s64Oct et s = 767, snmpEt her St at sPkt s65t o127Oct et s = 1383
Casa Syst ems CMTS Release 6.0.3
2-4
Debugging and Diagnostics Reference QAM diagnostic s
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( di ag) #
2.
show module stat qam Where: is QAM slot number. Example:
CASA- CMTS( di ag) # show module 2 stat qam
Example outp ut: CASA- CMTS( di ag) # show module 2 stat qam mux_mgr _cnt : 512 pmt _mgr _f r ee_cnt : 512 pi d_mgr _f r ee_cnt : 2000 pg_queue_f r ee_c nt : 464 pkt_r ecv_cnt : 0 pkt _dr op_cnt : 0 pkt _ nul l _ c f g: 0 pkt _no_egr ess: 0 t s_pkt _r ecv_cnt : 0 t s_pkt_drop_cnt : 0 hi buf _enqueued: 0 hi buf _dequeued_t x: 0 hi buf _enqueued_f ai l ed: 0 hi buf _dr op: 0 hi buf _dept h: 0 over f l ow hi buf t o be f r ee: 0 as i pkt t x: 0 asi dat a r at e: 0 docsi s pkt send cnt : 0 docsi s pkt dr op cnt : 0 docsi s upst r eam dat a pkt cnt : 18297
Casa Systems CMTS Release 6.0.3
Show the QAM module statistics.
Casa CMTS diagnostics commands
2-5
Downstream and upstream interface statistics
docsi s downst r eam uni cast pkt cnt : 20 enqueue l i mi t per sf : 45000 pkt dr op due t o enqueue l i mi t : 0 ups_ pr oc_s t ep = 80 ds_pr oc_s t ep = 80 ds_ dat a_enqueue_cnt = 0
Downstream and upstream interface statistics The interface diagnostics reports downstream and upstream interface information. Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS( di ag) #
2.
Show the QAMdownstream interface statistics.
show i nterface qam stat is QAM slot number. Example: Release 5.4
CASA- CMTS( di ag) #show interface qam 0/1 stat Example: Release 5.2
CASA- CMTS( di ag) #show interface qam 0/0
3.
Show the QAMdownstream interface statistics.
show interface upstream stat is QAM slot number. Example: Release 5.4
CASA- CMTS( di ag) # show interface upstream 0/1 stat
Example: Release 5.2
CASA- CMTS( di ag) # show interface upstream 3/2
Casa Syst ems CMTS Release 6.0.3
2-6
Debugging and Diagnostics Reference Downstream and upstream interface statistics
Example outpu t: show interface qam (Release 5.4) CASA- CMTS( di ag) # show interface qam 0/1 stat I nt er f ace QAM 0/ 1 I P addr ess not assi gned MAC addr ess 0017. 1001. d189 Admi n St at us: UP Channel 0: Fr equency : 573000000 Net wor k I D : 0 Tr anspor t St r eam I D : 0 Cur r ent t hr oughput : 492 ( Kb/ s) Number of act i ve St r eams: 0 Admi n St at us : UP Channel 1: Fr equency : 579000000 Net wor k I D : 0 Tr anspor t St r eam I D : 0 Cur r ent t hr oughput : 492 ( Kb/ s) Number of act i ve St r eams: 0 Admi n St at us : UP Channel 2: Fr equency : 585000000 Net wor k I D : 0 Tr anspor t St r eam I D : 0 Cur r ent t hr oughput : 496 ( Kb/ s) Number of act i ve St r eams: 0 Admi n St at us : UP Channel 3: Fr equency : 591000000 Net wor k I D : 0 Tr anspor t St r eam I D : 0 Cur r ent t hr oughput : 496 ( Kb/ s) Number of act i ve St r eams: 0 Admi n St at us : UP
Example outp ut: sho w in terface qam (Release 5.2) CASA- C2200- 152( di ag) #show i nt er f ace qam 0/ 0 i nt er f ace qam 0/ 0 no spect r al i nver si on on annex B modul at i on 256qam i nt er l eave 16 power 510 channel 0 f r equency 615000000 channel 0 dsg dcd- enabl e no channel 0 shut down channel 1 f r equency 621000000 channel 1 dsg dcd- enabl e no channel 1 shut down
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-7
Downstream and upstream interface statistics
channel 2 f r equency 627000000 channel 2 dsg dcd- enabl e no channel 2 shut down channel 3 f r equency 633000000 channel 3 dsg dcd- enabl e no channel 3 shut down no shut down !
Example outp ut: sho w in terface upstr eam (Release 5.4) CASA- CMTS( di ag) # show interface upstream 1/0 stat I nt er f ac e ups t r eam 1/ 0 s t at i s t i c s Admi n st at us: UP Recei ved 18 br oadcast s, 0 mul t i cast s, 52736 uni cast s 0 di scar ds, 0 err ors , 0 unknown pr ot ocol 84809 Uner r or eds, 0 Cor r ect eds, 0 Uncor r ect abl es Tot al Modems On Thi s Upst r eam Channel : 1 , 1 act i ve cm, 0 secondar y cm Req Msl ot s 1883329570, Used Req Msl ot s 21280 I ni t Mt n Msl ot s 142217505, Used I ni t Mt n Msl ot s 0 Tot al Msl ot s 2025800893, Ucast Gr ant ed Msl ot s 253802 Avg upst r eam channel ut i l i zat i on: 0 Channel ut i l i z at i on i nt er val : 30
Example outp ut: sho w in terface upstr eam (Release 5.2) CASA- CMTS( di ag) # show interface upstream 3/2 i nt er f ace upst r eam 3/ 2 f r equency 28000000 channel - wi dt h 3200000 power - l evel 0 power - adj ust ment cont i nue 2 power - adj ust ment noi se- per cent age 30 power - adj ust t hr eshol d 1 voi ce- bw- r eser ve 75 r at e- l i mi t no i ngr ess- cancel l at i on l ogi cal - channel 0 pr ov- at t r - mask 0x0 l ogi c al - c hannel 0 pr of i l e 2 l ogi cal - channel 0 mi ni sl ot 2 l ogi cal - channel 0 dat a- backof f aut omat i c l ogi cal - channel 0 r angi ng- backof f 0 4 no l ogi cal - channel 0 pr e- equal i zat i on l ogi cal - channel 0 r angi ng- pr i or i t y 0x0 l ogi cal - channel 0 cl ass- i d 0x0 no l ogi cal - channel 0 shut down no shut down
Casa Syst ems CMTS Release 6.0.3
2-8
Debugging and Diagnostics Reference Checking for do wnstream errors
Checking for downstream errors When checking for downstream errors between any QAM and the SMM from diagnostic mode, note the following: •
eth 1 is the QAM to SMM interface
•
eth 2 is the QAM to FPGA interface
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.
If there are spares, swap the QAM first and recheck.
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.
To check for downstream errors: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show module stat gige Where: is QAM module number. Example:
CASA- CMTS( di ag) # show module 2 stat gige
Example outp ut: CASA- CMTS( di ag) # show module 2 stat gige Por t et h1 or et h2: t ot al r x : 351556736 dma0 : 71148 dma1 : 351485588 ker nel : 3372
Casa Systems CMTS Release 6.0.3
Show the QAM downstream statistics.
Casa CMTS diagnostics commands
2-9
Upstream diagno stic s (Release 5.4 only)
l ocal : dr op : er r or : c r c er r : hi _wat er 0 : hi _wat er 1 : bi t r a t e r x 0: bi t r at e r x1: bi t r at e t x0: t ot al t x ker nel dr op er r or
: : : :
351556736 0 0 0 4 11 0 2585360 8192
0 or less than .1% when divided by total rx
1558768 11167 0 0
Upstream diagnostics (Release 5.4 only) To obtain the SMM and the upstream card diagnostics, use the same command as described in the previous section.
Past DHCP transactions For problems with modems registering over the Dynamic Host Control Protocol (DHCP), check the 128 past DHCP transactions: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show dhcp-trace
Show DHCP transactions.
Example:
CASA- CMTS( di ag) # show dhcp-trace
Example outp ut: CASA- CMTS( di ag) # show dhcp-trace 0
US DI S xi d=0149d38f domai n=02 l c=1 ch= 2 t m=49f 91c34 cm_i d=00000022
Casa Syst ems CMTS Release 6.0.3
2-10
Debugging and Diagnostics Reference System kernel messages
yi p=000. 000. 000. 000 00: 12: c9: 20: 5a: ea xi d=0149d38f domai n=02 l c=1 ch= 0 yi p=010. 231. 001. 128 00: 12: c9: 20: 5a: ea xi d=0149d38f domai n=02 l c=1 ch= 2 00: 12: c9: 20: 5a: ea xi d=0149d38f domai n=02 l c=1 ch= 0 yi p=010. 231. 001. 128
gw=010. 231. 001. 001 s=192. 168. 009. 001 0
DS OFF
t m=49f 91c34 cm_i d=00000022 gw=010. 231. 001. 001 s=192. 168. 009. 001 0
US REQ
t m=49f 91c34 cm_i d=00000022 yi p=000. 000. 000. 000 gw=010. 231. 001. 001 s=192. 168. 009. 001 0 DS ACK t m=49f 91c34 cm_i d=00000022
System kernel messages Serious problems with the CMTS system kernel will result in error messages that are collected in non-volatile random-access memory (NVRAM). To view these messages, use the show dmesg command. Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show dmesg
Show CMTS system kernel messages.
Example:
CASA- CMTS( di ag) # 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 i n ar ch/ mi ps/ mm/ f aul t . c: : do_page_f aul t , l i ne 185[ #1] : [ 1265795931] Cpu 0 1265795931] $ 0 : 00000000 10001f 01 00000000 00000000 1265795931] $ 4 : 803f 0004 00000000 00000057 82f 69f 2a 1265795931] $ 8 : 82f 69f e0 00001f 00 00000000 82f ca000
Copy these messages and send them to [email protected]. Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-11
Capturing packets on the GigE interfaces
Capturing packets on the GigE interfaces To capture the packets on a GigE interface, use the tcpdump command. To display the output on the screen or to write the output to a file, perform these steps: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Start the tcpdump routine on a GigE interface.
tcpdump “ -i gige ” Where:
•
-i — Specifies that an interface on which to listen will be
specified in the next argument. • — The GigE interface number on the SMM. Example:
CASA- CMTS( di ag) # t cpdump “- i gi ge 1”
3.
tcpdmp “ -i gige -w /fdsk/filename Where:
•
Write tcpdump output to a file on the SMM.
-i — Specifies that an interface on which to listen will be
specified in the next argument. • — The GigE interface port number on the SMM. •
-w — Write the output to the specified directory and filename on the SMM. The dir command displays the file.
Example:
CASA- CMTS( di ag) # tcpdump "-i gige 1 -w / fdsk/test.out”
To read the file, move it from the SMM to a TFTP server.
Casa Syst ems CMTS Release 6.0.3
2-12
Debugging and Diagnostics Reference Capturing packets on the GigE interfaces
Use the other tcpdump arguments to specify specific traffic to capture, such as traffic running over UDP ports 67 and 68.
Example CMTS( di ag) #tcpdump "-i gige 0 -vvv udp port 67 or udp port 68"
To collect the traffic to a specific host (such as the DHCP server):
Example CMTS( di ag) #t cpdump "- i gi ge 0 host 192. 168. 1. 1”
Example outp ut: ***** Type Ct r l - C t o exi t ***** t cpdump: l i st eni ng on et h2, l i nk- t ype EN10MB ( Et her net) , capt ur e si ze 65535 byt es 38 packet s capt ur ed 38 packet s r ecei ved by f i l t er 0 packet s dr opped by ker nel Sampl e f i l e l i s t i ng: 19106 Dec 22 13: 37 cor e. SMM- cr l _r pc_s er ver . 275. t xt 454281 J an 27 15: 49 cor e. SMM- shel l . exe. t ar . gz 2411 J an 27 15: 49 cor e. SMM- shel l . exe. t xt 24 Mar 9 14: 35 t est . out
Parse the file and send it to [email protected].
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-13
Tracing th e IP path
Tracing the IP path To trace the IP path from any source to any destination, use the traceroute command with the following options. The options must be enclosed in quotation marks. Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
CMTS(diag)# traceroute " [ -dFInrvx ] [ -f first _ttl ] [ -g gateway] [ -i iface ] [ -m max_ttl ] [ -p por t ] [ -q nq ueries ] " [ -s src_addr] [ -t tos ][ -w waittime ] [ -z pausemsecs ] host [ packetlen ]"
Trace the IP path from source to destination.
Where:
•
-d — Enable socket level debugging.
•
-F — Set the "Don't Fragment" bit.
•
-I — Use ICMP ECHO for probes.
•
-n — Do not try to map IP addresses to host names when
displaying them. •
-r — Bypass the normal routing tables and send directly to
a host on an attached network. If the host is not on a directly-attached network, an error is returned. This option can be used to ping a local host through an interface that has no route through it. •
-v — Verbose output. Received ICMP packets other than
TIME_EXCEEDED and UNREACHABLEs are listed. •
-x — Toggle IP checksums. Normally, this prevents
traceroute from calculating IP checksums. In some cases, the operating system can overwrite parts of the outgoing packet but not recalculate the checksum (so in some cases the default is to not calculate checksums and using –x causes them to be calculated). Note that checksums are usually required for the last hop when using ICMP ECHO probes ( -I ). So they are always calculated when using ICMP.
Casa Syst ems CMTS Release 6.0.3
2-14
Debugging and Diagnostics Reference Tracing t he IP path
Step
Command
Purpose
continued •
-f first_ttl — Specifies with what TTL to start. Defaults to
1. •
-g gateway — Tells traceroute to add an IP source routing
option to the outgoing packet that tells the network to route the packet through the specified gateway. Not very useful because most routers have disabled source routing for security reasons. •
-i iface — Specifies the interface through which traceroute
should send packets. By default, the interface is selected according to the routing table. •
-m max_ttl — Specifies the maximum number of hops
(max time-to-live value) traceroute will probe. The default is 30. •
-p port — For UDP tracing, specifies the destination port
base traceroute will use (the destination port number will be incremented by each probe). •
-q nqueries — Sets the number of probe packets per hop.
The default is 3. •
-s src_addr — Chooses an alternative source address.
Note that you must select the address of one of the interfaces. By default, the address of the outgoing interface is used. •
-t tos — For IPv4, set the Type of Service (TOS) and
Precedence value. Useful values are 16 (low delay) and 8 (high throughput). Note that in order to use some TOS precendence values, you have to be super user. •
-w waittime — Set the time (in seconds) to wait for a
response to a probe (default 5.0 sec.). •
-z pausemsec —Minimal time interval between probes
(default 0). If the value is more than 10, then it specifies a number in milliseconds, else it is a number of seconds (float point values allowed too). Useful when some routers use rate-limit for icmp messages. •
host — Host name or IP address.
•
packetlen — The default probe datagram length is 38
bytes, but this may be increased by specifying a packet size (in bytes) after the destination host name.
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-15
Tracing th e IP path
Example outp ut: t r acer out e t o veri zon. net ( 206. 46. 232. 39) , 30 hops max, 38 byt e packet s 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. cl i ent . dsl . net ( 208. 41. 205. 1) 20. 577 ms 16. 912 ms 19. 954 ms 6 ge- 2- 2- 0. c00. nyc. megapat h. net ( 155. 229. 123. 121) 19. 863 ms 17. 526 ms 19. 568 ms 7 ge- 6- 5. car 1. NewYor k1. Level 3. net ( 209. 246. 126. 1) 19. 946 ms 17. 224 ms 19. 897 ms 8 vl an69. cs w1. NewYor k1. Level 3. net ( 4. 68. 16. 62) 19. 893 ms 17. 967 ms 19. 767 ms 9 ae- 64- 64. ebr 4. NewYor k1. Level 3. net ( 4. 69. 134. 113) 24. 904 ms 22. 647 ms * 10 ae- 6- 6. ebr 2. NewYor k2. Level 3. net ( 4. 69. 141. 22) 19. 224 ms 17. 346 ms 19. 626 ms 11 ae- 2- 52. edge2. NewYor k2. Level 3. net ( 4. 69. 138. 227) 23. 098 ms 17. 541 ms ae- 1- 51. edge2. NewYor k2. Level 3. 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 - l evel 3- xe. newyor k2. Level 3. net ( 4. 68. 110. 234) 17. 970 ms mci - l evel 3- xe. newyor k2. Level 3. 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 ver i zon- gw. cust omer. al t er . net ( 63. 65. 122. 26) 104. 015 ms 102. 131 ms 103. 928 ms 17 po121. ct n- cor e1. vzl i nk. 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
Casa Syst ems CMTS Release 6.0.3
2-16
Debugging and Diagnostics Reference Capturing cable modem traffic on the SMM
Capturing cable modem traffic on the SMM To capture the traffic to and from a cable modem on the SMM (in flash) instead of a remote server, use the mirror and tcpdump commands together. First, open one window on the CMTS and start the mirror command (where 1.0.0.7 is the IP address of the SMM interface): Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
mirror cm tr affic Where:
•
— IP address of the SMM.
•
— MAC address of the cable modem.
Example:
CASA- CMTS( di ag) # mirror cm traffic 1.0.0.7 0018.c0bf.1058
Mi r r or i ng t r af f i c f or CM 0014. f 887. d939 t o 0x1000007
Casa Systems CMTS Release 6.0.3
Begin monitoring cable modem traffic.
Casa CMTS diagnostics commands
2-17
Capturing cable modem traffic on the SMM
Step
Command
Purpose
3.
tcpdmp “ -i gige -w /fdsk/filename -s 0 udp port or udp por t ”
Write tcpdump output to a file on the SMM.
Where:
•
-i — Specifies that an interface on which to listen will be
specified in the next argument. • — Indicates the GigE interface port number on the SMM. •
-w — Writes the output to the specified directory and filename on the SMM. The dir command displays the file.
• /fdsk/filename — Specifies the name of the destination file to which tcpdump information is written. •
-s — Specifies the number of bytes of data per packet.
•
0 — Specifies the number of bytes of data per packet. 0
indicates no limit to the number of bytes. •
— The UDP upstream and downstream
port addresses. Example:
CASA- CMTS( di ag) # tcpdump "-i gige1 -w / fdsk/file.out -s 0 udp port 0xcace or udp port 0xcacf”
To read the file, move it from the SMM to a TFTP server.
Example outp ut: CASA- CMTS( di ag) # tcpdump "-i gige1 -w /fdsk/file.out -s 0 udp port 0xcace or udp port 0xcacf” ***** Type Ct r l - C t o exi t ***** t cpdump: l i st eni ng on et h2, l i nk- t ype EN10MB ( Et her net ) , capt ur e si ze 65535 byt es
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 Syst ems CMTS Release 6.0.3
2-18
Debugging and Diagnostics Reference Displaying cable modems by modem ID
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.
Displaying cable modems by modem ID Cable modem status can be displayed by specifying the cable modem identifier from the CMTS diag mode. Gathering cable modem information using the CMTS identifier may be helpful when troubleshooting modem problems. Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Begin monitoring cable modem traffic.
show cable Where:
•
— Specifies the cable modem ID in the
range 1 to 4294967295. • Example:
CASA- CMTS( di ag) # show cabl e modem 1
Example CASA- C3000( di ag) #s how cabl e modem 1 MAC Addr ess I P Addr ess US I nt f 0026. 5e77. 43ba 0. 0. 0. 0 3/ 1/ 0* 2000: 232: 1: : 6de2: d447
DS I nt f 0/ 0/ 1*
MAC St at us onl i ne( pt)
Pr i m RxPwr Ti mi ng Num BPI Si d ( dB) Of f set CPEs Enb 29 - 0. 2 2359 0 yes
CASA- C3000( di ag) #s how cabl e modem 2 MAC Addr ess I P Addr ess US
DS
MAC
Pr i m RxPwr Ti mi ng Num BPI
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-19
Core dumps
0024. 0147. 9a2c 10. 232. 1. 51
I nt f 3/ 1/ 0
CASA- C3000( di ag) #show cabl e modem 3 MAC Addr ess I P Addr ess US I nt f 5cac. 4c9c. 793b 0. 0. 0. 0 3/ 1/ 0* 2000: 232: 1: : f 6ba: e732 CASA- C3000( di ag) #
I nt f 0/ 0/ 0
St at us onl i ne( pt)
Si d 27
( dB) 0. 0
Of f set CPEs Enb 2357 0 yes
DS I nt f 0/ 0/ 1*
MAC St at us onl i ne( pt )
Pr i m RxPwr Ti mi ng Num BPI Si d ( dB) Of f set CPEs Enb 30 - 0. 2 2363 0 yes
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
cor e. QAM- 0- qam_daemon. 145. t ar . gz cor e. QAM- 0- qam_daemon. 145. t xt cor e. SMM- snmpd. 292. t ar . gz cor e. SMM- snmpd. 292. t xt
Use TFTP to transfer both the text and gz files; send them to [email protected].
Removin g old cor e dump f iles Delete old core dumps from memory: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Remove old core dump files.
coredump cleanup Example:
CASA- CMTS( di ag) # cor edump cl eanup
Casa Syst ems CMTS Release 6.0.3
2-20
Debugging and Diagnostics Reference Testing connectivity (extended Ping)
Testing connectivity (extended Ping) 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" PI NG 192. 168. 3. 8 ( 192. 168. 3. 8) f r om 10. 248. 1. 1 64 byt es f r om 192. 168. 3. 8: i cmp_seq=1 t t l =64 t i 64 byt es f r om 192. 168. 3. 8: i cmp_seq=2 t t l =64 t i 64 byt es f r om 192. 168. 3. 8: i cmp_seq=3 t t l =64 t i
Other diagnostic commands Other useful diagnostic commands include: •
Get ARP table entry
•
Auto-reboot
•
Set CPU receive rate
•
Turn off power modules
•
Shutdown/restart SNMP
•
Show ACL applications
•
Reboot module unconditional
•
Show kernel interface
•
Display modem information by QAM
•
Display VLAN information
•
Display information about modems on a VLAN
Casa Systems CMTS Release 6.0.3
: 56( 84) me=0. 357 me=0. 372 me=0. 361
bytes of dat a. ms ms ms
Casa CMTS diagnostics commands
2-21
Other diagnostic commands
ARP tab le entry To get the ARP entry for a specific host: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Get host ARP entry.
arp get Where: is the host IP address. Example:
CASA- CMTS( di ag) # 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 ( di ag) #
2.
Set CMTS to auto-boot.
auto-reboot monitor Where: is the host IP address. Example:
CASA- CMTS( di ag) #aut o- r eboot moni t or 192. 168. 8. 100
Casa Syst ems CMTS Release 6.0.3
2-22
Debugging and Diagnostics Reference Other diagnostic commands
Set the CPU receiv e rate To set the receive rate from the gigabit switch to the CPU interface: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
gigabit-rx-cpu-rate
Set the CPU receive rate.
Where: is number between 0 and 8000 packets per second. Example:
CASA- CMTS( di ag) # gigabit-rx-cpu-rate 1000
Turnin g pow er on and off t o in divid ual CMTS module To individually turn power on and off to specified CMTS modules: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
power module {on | off} Where: specifies the module number in the range
0 to 15 depending on the specific CMTS you are managing. Example:
CASA- CMTS( di ag) # power module 4 off
Casa Systems CMTS Release 6.0.3
Turn a specific power module on or off.
Casa CMTS diagnostics commands
2-23
Other diagnostic commands
Shutdow n or r estart SNMP To reset SNMP, first shut it down and then restart it. Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Shutdown and restart SNMP.
snmp shutdown snmp r estart Example:
CASA- CMTS( di ag) # snmp shutdown CASA- CMTS( di ag) # snmp restart
Show ACL applic ations To show the application when an access control list is applied: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Show the ACL-associated applications.
show i p access-list applications Where: is the access list name.
This command accepts output modifiers. Example:
CASA- CMTS( di ag) # show ip access-list acl50 applications
Casa Syst ems CMTS Release 6.0.3
2-24
Debugging and Diagnostics Reference Other diagnostic commands
Reboot a module uncon ditio nally To force a module to reboot in the event that the module reboot command does not complete: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS( di ag) #
2.
reboot module uncondi tional Where: is the slot number of the module to be rebooted. Example:
CASA- CMTS( di ag) # reboot module 3 unconditional
Casa Systems CMTS Release 6.0.3
Force an unconditional reboot of a specific module.
Casa CMTS diagnostics commands
2-25
Other diagnostic commands
Show kernel interface infor mation To show information about the access control lists per interface: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
Show kernel interface information.
show kernel interface acl Where: is one of the following options:
•
eth — Ethernet interface with port specified.
•
gige — GigE interface with port specified.
•
trunk — Trunk interface with port specified.
•
loopback — The loopback interface number .
•
docsis-mac — The DOCSIS mac-domain ID.
•
access-class {in | ou t} — The system-level access class
(in or out). Example:
CASA- CMTS( di ag) # show kernel interface docsis-mac 4 acl
Casa Syst ems CMTS Release 6.0.3
2-26
Debugging and Diagnostics Reference Other diagnostic commands
Display modem information by QAM To show the information about a modem associated with the QAM on which it is registered: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show qo s ds cm qam ip address Show modem
information by QAM. Where:
•
is the QAM module number.
•
is the IPV4 or IPV6 address of the modem.
Example:
CASA- CMTS( di ag) # show qos ds cm qam 4 ip address 4.5.6.7
Example outp ut: t t l =341785873 i p=341228169 uni =340333695 mc=0 nx=0 t y=1 l c= 0 mcast =0000 pcnt =35 10. 155. 127. 149 00186855961d cm_i d=2983 ci d=10 cm_t bl _i dx= 3786 cm_i d=2983 ci d=10 psi d=1452 v=0 00186855961d t ek=025b1568 pkt : 0 18419 dbyt e=14743143 ar p: 18 14 dhcp: 2 2 maxi p: 16 2 0 a=0 l =1 SF sf =01793f 48 nx=017a4748 cm=2983 sf i d=763903 dsi d=1452 domai n=3 f =01 t os_ow =0xf f 00 cnt pkt =18180 byt e=13621440 pkt sent =18180 byt e sent =13621440 over _mx dr op_pkt =0 dr op_byt e=0 enqueue 0 pkt 0 byt e mar ker _i n 0 enqueue_pr i or i t y 0 enqueue_l i mi t 750000 qos_set_ t ype: 06 docsi s ver si on: 0 act i ve: pr i or i t y=0 g_r at e=0 g_bucket =60880 mx_r at e=16001 mx_bucket =60880 gu_r at e_bucket _c ount er = 60880, mx_r at e_bucket _c ount er = 59560 mx_ gu_negat i ve = 0 admi t t ed: pr i or i t y=0 g_r at e=0 g_bucket =60880 mx_r at e=16000 mx_ bucket =60880 mappi ng pr i 0 enqueue pr i 0 mar ker i n 0 channel set i d: 10 [ 10 ] debug: gu_r at e=0 mx_ r at e=3200001 l apsed=1614 mx_ c=16000 gu_c=0 l ct =0000e8a8 SF s f =017a4748 nx=00000000 cm=2983 sf i d=763777 dsi d=1452 domai n=3 f =00 t os_ow =0xf f 00 cnt pkt =239 byt e=35067 pkt sent =239 byt e sent =35067 over _mx dr op_pkt =0 dr op_byt e=0 enqueue 0 pkt 0 byt e mar ker _i n 0 enqueue_pr i or i t y 0 enqueue_l i mi t 16000
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-27
Other diagnostic commands
qos_set_ t ype: 06 docsi s versi on: 0 act i ve: pr i or i t y=1 g_r at e=0 g_bucket =60880 mx_r at e=241 mx_bucket =60880 gu_r at e_bucket _c ount er = 60880, mx_r at e_bucket _c ount er = 58380 mx_ gu_negat i ve = 0 admi t t ed: pr i or i t y=1 g_r at e=0 g_bucket =60880 mx_r at e=240 mx_bucket =60880 mappi ng pr i 0 enqueue pr i 0 mar ker i n 0 channel set i d: 10 [ 10 ] debug: gu_r at e=0 mx_ r at e=48001 l apsed=154 mx_ c=240 gu_c=0 l ct =0000e40c DS Cl assi f i er s: CL cl =00a70768 nx=00a706f 0 cm=2983 cl _i d=15 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=c0a8f e80 f f f f f f f e sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =0 byt e=0 phs=00000000 CL cl =00a706f 0 nx=00a70678 cm=2983 cl _i d=14 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=17 di p=00000000 00000000 si p=3eb3013c f f f f f f f c sp=53 53 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =219 byt e=28771 phs=00000000 CL c l =00a70678 nx=00a70600 cm=2983 cl _i d=13 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=3eb30280 f f f f f f c0 sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =0 byt e=0 phs=00000000 CL c l =00a70600 nx=00a70588 cm=2983 cl _i d=12 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=0a800140 f f f f f f f e sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =0 byt e=0 phs=00000000 CL c l =00a70588 nx=00a70510 cm=2983 cl _i d=11 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=ac1f 8000 f f f f f 000 sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =0 byt e=0 phs=00000000 CL c l =00a70510 nx=00a70498 cm=2983 cl _i d=10 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=0a800700 f f f f f f 00 sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =20 byt e=5340 phs=00000000 CL c l =00a70498 nx=00000000 cm=2983 cl _i d=9 sf i d=763777 pr i =0 es=0 i pver =4 i pv4 t os=00 00 00 pr ot o=256 di p=00000000 00000000 si p=c0a8f c00 f f f f f c00 sp=0 65535 dp=0 65535 i pv6 l abel 0x0 t os 0x0 0x0 0x0, next hdr 0x100, src : : / 0, dst : : / 0 vl an i d l ow=0 hi gh=0 pr i l ow=0 hi gh=0 pkt =0 byt e=0 phs=00000000 DS L2VPN Cl assi f i ers: pr t _ ds _cl as si f i er _ l i s t ( ) : nul l poi nt e r TEK addr =025b1568 nx=00000000 cm=2983 mac=0 sai d=1452 act i ve_t i me=0 pkt =18402 al g=1 s1= 1 bb1e28c3679745d60e38cd7cdcf 7d23b
Casa Syst ems CMTS Release 6.0.3
2-28
Debugging and Diagnostics Reference Other diagnostic commands
Display VLAN infor mation To show the information about the VLANs associated with the QAM on which it is registered: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show qo s ds cm qam ip address Show VLAN information by QAM. 114 Where:
•
is the QAM module number.
•
is the IPV4 or IPV6 address of the modem.
Example:
CASA- CMTS( di ag) # show qos ds cm qam 4 ip address 114
Example outp ut: CASA- C10000( di ag) #show qos ds cm qam 4 ip address 114 L2VPN US: t t l =0 dr op=0 DS: t t l =0 dr op=0 Not Def i ned pkt =0 i d=0 bc_s r c=0 l 2vpn_ vl an_ t bl _ pr t ( ) : l 2vpn_addr _hs_t bl _pr t ( ) : CASA- C10000( di ag) #CASA- C10000( di ag) #
Casa Systems CMTS Release 6.0.3
Casa CMTS diagnostics commands
2-29
Other diagnostic commands
Display information about m odems on a VLAN To show the information about the modems on a VLAN: Step
Command
Purpose
1.
diag
Enter diagnostic mode in the CLI.
Example:
CASA- CMTS# diag CASA- CMTS ( di ag) #
2.
show q os ds cm qam ip address Show information about modems on a 115
VLAN. Where:
•
is the QAM module number.
•
is the IPV4 or IPV6 address of the modem.
Example:
CASA- CMTS( di ag) # show qos ds cm qam 4 ip address 115
Example outp ut: CASA- C10000( di ag) #show qos ds cm qam 4 ip address 115 qam_c m_vl an_mac_t r ee_pr t ( ) : qam_vl an_c m_mac_t r ee_pr t ( ) : qam_vl an_mac_t r ee_pr t ( ) : vl an_mac qam_vl an_mac_t r ee_pr t ( ) : vl an_mac_uni Addr qam_vl an_mac_t r ee_pr t ( ) : vl an_ mac_mcAddr qam_l 2vpn_cm_st at _t r ee_pr t ( ) : CASA- C10000( di ag) #
Casa Syst ems CMTS Release 6.0.3