Config Router

  • Google Sheets
  • CCNA Online training
    • CCNA
  • CISCO Lab Guides
    • CCNA Security Lab Manual With Solutions
    • CCNP Route Lab Manual with Solutions
    • CCNP Switch Lab Manual with Solutions
  • Juniper
  • Linux
  • DevOps Tutorials
  • Python Array
You are here: Home / Juniper / Manual core dump generation – Junos

Manual core dump generation – Junos

May 31, 2016 by Marques Brownlee

This article provides information on how to manually generate core dumps on various Ex/M/MX/T-series devices.

Manually generate core dumps on various M/MX/T-series devices.

Generate a daemon Core Dump

user@Router> request system core-dump <process name>
or

root@Router% kill -6 <PID>

Generate a Live daemon Core Dump without Restarting

root@Router% gcore -s -c /var/tmp/<process_name.core.pid> <pid>

Generate a Kernel Core Dump (RE will reboot)

root@Router% sysctl -w debug.kdb.panic=1

Or, to shock it:

set system debugger-on-break

then 
router>edit
router# 
ctrl ]

telnet>send brk
db> panic

Generate a Live Kernel Core Dump without Reboot

root@Router% sysctl -w kern.live_core_dump=1

Note: Do not forget to reverse it.

Generate a FPC/IQ2/MS-PIC Core Dump (CPU board will reboot; that is, it will get shocked)

FPC0(Router vty)# set parser security 10
Security level set to 10

FPC0(Router vty)# test panic 

Generate a FPC/PFE/IQ2/MS Core Dump without Reboot (service PIC might restart)

FPC0(Router vty)# write coredump

 

Related

Filed Under: Juniper

Recent Posts

  • How do I give user access to Jenkins?
  • What is docker volume command?
  • What is the date format in Unix?
  • What is the difference between ARG and ENV Docker?
  • What is rsync command Linux?
  • How to Add Music to Snapchat 2021 Android? | How to Search, Add, Share Songs on Snapchat Story?
  • How to Enable Snapchat Notifications for Android & iPhone? | Steps to Turn on Snapchat Bitmoji Notification
  • Easy Methods to Fix Snapchat Camera Not Working Black Screen Issue | Reasons & Troubleshooting Tips to Solve Snapchat Camera Problems
  • Detailed Procedure for How to Update Snapchat on iOS 14 for Free
  • What is Snapchat Spotlight Feature? How to Make a Spotlight on Snapchat?
  • Snapchat Hack Tutorial 2021: Can I hack a Snapchat Account without them knowing?

Copyright © 2025 · News Pro Theme on Genesis Framework · WordPress · Log in