Users Guide

0035d60c <f10_save_mmu+0x120>:
00274f8c <panic+0x144>:
0024e2b0 <db_fncall+0x134>:
0024dee8 <db_command+0x258>:
0024d9c4 <db_command_loop+0xc4>:
002522b0 <db_trap+0x158>:
0026a8d0 <mi_switch+0x1b0>:
0026a00c <bpendtsleep>:
------------------------STACK TRACE END----------------
---------------------------FREE MEMORY---------------
uvmexp.free = 0x2312
Full Kernel Core Dumps
The system supports full core dumps for kernel crashes. The kernel core dump applies to all switch CPUs and is not enabled by default. To
enable full kernel core dumps, enter the logging coredump command in global conguration mode. The kernel core dump is copied to
ash://CORE_DUMP_DIR/f10_cpu_timestamp.kcore.gz
Where cpu species a switch CPU and is one of the following values: cp (Control Processor), cp (Route Processor), lp0 (line-card
processor 0), lp1 (line-card processor 1), or lp2 (line-card processor 2);
timestamp is a text string in the format: yyyyddmmhhmmss (YearDayMonthHourMinuteSecond).
To disable the full kernel and other core dumps, enter the no logging coredump command.
The Kernel full core dump name in RPM’s uses the following formats:
Kernel full core dump generated from CP of the RPMs
f10Ch<Chassis ID>_rpm<0/1>_cp_<timestamp>.kcore.gz
Kernel full core dump from RP application
f10Ch<Chassis ID>_rpm<0/1>_rp_<timestamp>.kcore.gz
Kernel full core dump from LP application
f10Ch<Chassis ID>_lp<slot#>_<timestamp>.kcore.gz
Enabling TCP Dumps
A TCP dump captures CPU-bound control-plane trac to improve troubleshooting and system manageability. You can perform a TCP
dump on the Control Processor (CP) and Route Processor (RP) CPUs.
When you enable TCP dumps, a dump captures all the packets on the local CPU, as specied in the CLI.
You can save the trac capture les to ash, to FTP, SCP, or TFTP. The les saved on the ash are located in the ash://
TCP_DUMP_DIR/tcpdump_<time_stamp_dir>/ directory and are labeled tcpdump_*.pcap. There can be up to 20
tcpdump_<time_stamp_dir> directories. The le after 20 overwrites the oldest saved le. The maximum le size for a TCP dump capture is
1MB. When a le reaches 1MB, a new le is created, up to the specied total number of les.
Maximize the number of packets recorded in a le by specifying the snap-length to capture the le headers only.
The tcpdump command has a nite run process. When you enable the command, it runs until the capture-duration timer and/or the
packet-count counter threshold is met. If you do not set a threshold, the system uses a default of 5 minute capture-duration and/or a
single 1k le as the stopping point for the dump.
You can use the capture-duration timer and the packet-count counter at the same time. The TCP dump stops when the rst of the
thresholds are met. That means that even if the duration timer is 9000 seconds, if the maximum le count parameter is met rst, the
dumps stop.
Enable a TCP dump for CPU bound trac.
CONFIGURATION mode
336
Debugging and Diagnostics