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 / How to create a Services PIC core dump

How to create a Services PIC core dump

June 8, 2016 by Marques Brownlee

This article provides information on how to create a Services PIC core dump. You have an issue with a Services PIC and want to create a core dump.

You can connect to the Services PIC and issue the write coredump command. A core dump will be written to the /var/tmp/ or /var/crash/ directory.

The following example is the step-by-step procedure:

  1. Determine in which slot the PIC is installed:
    user@router> show interfaces terse sp-* 
    Interface Admin Link Proto Local Remote 
    sp-1/3/0 up up 
    sp-1/3/0.16383 up up inet 10.0.0.1 --> 10.0.0.35
  2. Connect to the FPC:
    user@router> start shell pfe network fpc1
  3. Connect to the PIC:
    FPC1(vty)# pty 3
    Connected.
    
    sp13(atr8)#
  4. Force a core dump:
    sp13(atr8)# write coredump
    coredump requested by CPU 8: requested by user
    connecting to 10.0.0.1:31341 (fsad)
    #.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.#.
    
    < ... output truncated ...>
  5. Disconnect by using ^C:
    sp13(atr8)# exit on signal 2
    user@router>
  6. Check if a core dump has been written to the file system:
    user@router> show system core-dumps  
    -rw-r--r--  1 root  wheel    7287461 Aug 21 15:10 /var/crash/core-sp13.core.0.20060821.1508.gz

Note: If you are working on a router with SBR (M5 or M10) or CSBR (M7i or M10i), you have to connect to the FEB or CFEB; instead of the FPC. Additionally, in order to connect to the appropriate PIC-slot on FPC1, the PIC slot would be PIC-slot+4.

In the above example, the procedure to connect to the PIC in slot 1/3 would be:

user@router-M10i> start shell pfe network cfeb0

CSBR platform (266Mhz PPC 603e processor, 256MB memory, 512KB flash)

CSBR0(router vty)# pty 7
Connected.

sp13(atr8)#


NOTICE: "write coredump" will cause MS/AS-PIC reset , you can check the uptime by issue "show version" 
sp13(vty)# sh version 

Juniper Embedded Microkernel Version 10.0R3.10
Built by builder on 2010-04-16 08:37:44 UTC
Copyright (C) 1998-2010, Juniper Networks, Inc.
All rights reserved.


Stargate platform (500Mhz XLR processor, 1024MB memory, 0KB flash)
Current time : Mar 22 08:39:55.435303
Elapsed time : 2+23:09:41

 

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