[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Troubleshooting the System

You can use log commands to discover and isolate problems with the system. For information about using the log commands, see the JUNOSe System Event Logging Reference Guide. Juniper Networks Customer Service can use core dump files to troubleshoot line module and SRP module failures.

Creating Core Dump Files

You can enable the system to create a core dump file if a module fails. You can choose to send the core dump file to an FTP server or save the file to NVS. Juniper Networks Customer Service can then access the core dump file and analyze it to determine what went wrong. Local core dumps—stored in NVS—are enabled by default. You can enable the core dump from Boot mode or Global Configuration mode.

CAUTION: Create a core dump file only under the direction of Juniper Networks Customer Service. Network function can be disrupted if you create a core dump file while the system is running in a network.


On the E120 router and the E320 router, the failure of some components on a line module generates multiple core dumps to provide more complete information about system state at the time of the failure. Other E-series routers generate only a single core dump for line module failures. When you contact Juniper Networks Customer Service for assistance, send all of the generated core dump files.

Boot Mode

To enable the core dump from Boot mode:

  1. Access Boot mode by reloading the SRP module; then press the mb key sequence (case insensitive) during the countdown.
  2. Specify where the system should transfer the core dump file.
  3. Set the IP address and mask of the system interface over which you want to send the core dump file.
  4. Specify the gateway through which the system sends the core dump file to the FTP server.
  5. (Optional) Set a username and password for FTP access to the server where you transferred the core dump file.
  6. Reload the operating system.

Example

:boot##exception dump 192.168.56.7 CORE_DUMPS
:boot##exception protocol ftp user_name user_password
:boot##exception gateway 192.168.12.3
:boot##exception source 10.10.33.8 255.255.255.0
:boot##reload

Global Configuration Mode

To enable the core dump from Global Configuration mode:

  1. Access Global Configuration mode.
  2. Specify where the system should transfer the core dump file.
  3. Set the IP address and mask of the system interface over which you want to send the core dump file.
  4. Specify the gateway through which the system sends the core dump file to the FTP server.
  5. (Optional) Set a username and password for FTP access to the server where you want to transfer the core dump file.
  6. (Optional) View parameters associated with creating a core dump file.

Example

host1(config)#exception dump 192.168.56.7 CORE_DUMPS
host1(config)#exception protocol ftp username userpassword
host1(config)#exception gateway 192.168.12.3
host1(config)#exception source 10.10.33.8 255.255.255.0
host1(config)#reload

exception dump

exception gateway

exception protocol ftp

exception source

reload

show exception dump

Managing Core Dump Files

When a core dump occurs on a redundant SRP and you have the router configured to store network core dumps, the SRP that experiences the trouble retains the management Ethernet port to perform the core dump. This prevents the standby SRP from taking over operations until the core dump is complete.

When a router uses local NVS to store a core dump, the SRP does not need the management Ethernet port. However, because of the immense size of local core dump files, using NVS to store core dumps is not practical.

The SRP-120 available on the E120 router and the SRP-320 available on the E120 and E320 routers has a second NVS card which is dedicated to storing core dump files.

The core dump monitor eliminates the impact that core dumps may have on redundant routers by allowing you to manage core dump files in NVS. The core dump monitor allows you to automatically transfer core dump files from NVS to an FTP server location for storage. The core dump monitor can also automatically delete transferred core dump files.

The core dump monitor attempts to delete transferred files when all of the following conditions have been met:

Only those core dump files that have already been transferred from NVS are considered for deletion. Of those, the oldest files are deleted first, and the router generates a log message for each core dump file it deletes.

NOTE: If the router NVS does not contain sufficient space to hold a new core dump file even after deleting all possible core dump files, the core dump fails and the router generates a log message for this condition.


Enabling and Disabling the Core Dump Monitor

The core dump monitor is disabled by default. To enable the core dump monitor, use the exception monitor command. Use the no version of this command to disable the core dump monitor.

exception monitor

Specifying the Core Dump Monitor Interval

To specify the length of time that the router waits between checking for core dump files, use the exception monitor interval command. Use the no version of this command to revert the core dump monitor interval to its default value of 60 minutes (1 hour).

exception monitor interval

Viewing Core Dump Monitor Status

To view information about core dump monitor status and configuration, use the show exception monitor command.

show exception monitor

Accessing the Core Dump File

If a module fails and saves a core dump file to NVS memory (which can take several minutes), and you have not configured the Core Dump Monitor for automatic transfer, you must transfer the file to a network host before it can be examined. You can transfer the core dump file when the module is back online or has assumed a redundant status. For information about the status of modules, see ERX Hardware Guide, Chapter 9, Troubleshooting. To transfer the core dump file to a network host, use the copy command.

In a system with two SRP modules, the following behavior applies if you have configured the SRP modules to save core dump files to an FTP server:

The show version command output indicates the failed SRP module state as not responding during the save process. Consequently, when the failed SRP module recovers and assumes the role of redundant module, the show version command output indicates the SRP module state as standby and displays output for the standby SRP. The standby SRP can notify the primary SRP during a core dump. Output from the show version command displays core dumping for the Standby SRP.

If the standby SRP boot image encounters a problem loading the diagnostics or operational image, the state of the standby SRP appears as disabled (image error). When standby SRP diagnostics encounter a test failure, the primary SRP is notified and the state is set to hardware error.

You can now transfer the core dump file to a network host for examination. For example, to transfer the file SRP_1_SC_05_24_2000_02_20.dmp from NVS of the failed SRP module to the host server1, enter the following command:

host1#copy SRP_1_SC_05_24_2000_02_20.dmp 
host:/public/server1/SRP-5G_1_SC_05_24_2000_02_20.dmp

copy

Capturing and Writing Core Dumps

You can capture and write a core dump to a file for an active or a standby SRP module or the line modules. You can store the file on the file system or on a network host. The SRP core dump files are stored on the respective SRP flash memory. The line module core dump files are stored on the active SRP flash memory at the instance of the core dump event. The core dump files are not synchronized between the active and the standby SRP module. You can use the resulting information to help diagnose a problem or to verify whether the core settings are correct (primarily for the network settings).

write core

Understanding the Core Dump File

The dump file indicates which module has failed by referencing that module's hardware slot number. The hardware slot number is the slot number designation on the systems's backplane. This slot number is different from the chassis slot number that appears on the front of the chassis and in screen displays (for example, in the display resulting if you issue the show version command).

Table 36 shows how the chassis slot numbers relate to the hardware slot numbers.

Table 36: Chassis Slot Numbers Versus Hardware Slot Numbers 
Slot Number
on Chassis
ERX-7xx Model Hardware Slot Number
ERX-14xx Model Hardware Slot Number
E320 Model Hardware Slot Number

0

1

0

16

1

2

1

17

2

3

2

18

3

4

3

19

4

5

4

20

5

6

5

21

6

7

7

8

7

8

9

10

8

10

9

9

11

12

10

12

13

11

13

25

12

14

26

13

15

27

14

28

15

29

16

30


Tracking IP Prefix Reachability

You can use the track command to define an IPv4 prefix object and track its reachability. The show track command displays the tracked information for any specified objects.

show track

show track brief

track

Gathering Information for Customer Support

When you report a problem with your router, customer support personnel from the Juniper Networks Technical Assistance Center (JTAC) may request that you issue the show tech-support command. This command was created to help streamline the information-gathering process by providing a large amount of router information from one command and avoiding the need to access certain diagnostic commands.

The show tech-support command functions like any other show command, and you can issue this command the same way you issue any other show commands on the router. This means that you can redirect the output from the command to a file. For information about redirecting show command output, see Redirection of show Command Output.

Another command that customer support personnel might ask you to use is the tech-support encoded-string command. Customer support will provide you with an encoded string of commands that this command then executes.

tech-support encoded-string

show tech-support


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]