Kernel Debug Syntax

Description

During a kernel debug session, Security GatewayClosed Dedicated Check Point server that runs Check Point software to inspect traffic and enforce Security Policies for connected network resources. / Cluster MemberClosed Security Gateway that is part of a cluster. / Scalable Platform Security Group MemberClosed Member of a Security Group in ElasticXL Cluster, Maestro, and Scalable Chassis. Acronym: SGM. prints special debug messages that help Check Point Support and R&D understand how it processes the applicable connections.

Important:

Action Plan to Collect a Kernel Debug

Note - See the Kernel Debug Procedure, or the Kernel Debug Procedure with Connection Life Cycle.

Step

Action

Instructions

1

Configure the applicable debug settings:

  1. Restore the default settings.

  2. Allocate the debug buffer.

In this step, you prepare the kernel debug options:

  1. Restore the default debug settings, so that any other debug settings do not interfere with the kernel debug.

  2. Allocate the kernel debug buffer, in which Security Gateway / Cluster Member / each Security Group Member holds the applicable debug messages.

2

Configure the applicable kernel debug modules and their debug flags.

In this step, you prepare the applicable kernel debug modules and their debug flags, so that Security Gateway / Cluster Member / each Security Group Member collects only applicable debug messages.

3

Start the collection of the kernel debug into an output file.

In this step, you configure Security Gateway / Cluster Member / each Security Group Member to write the debug messages from the kernel debug buffer into an output file.

4

Stop the kernel debug.

In this step, you configure Security Gateway / Cluster Member / each Security Group Member to stop writing the debug messages into an output file.

5

Restore the default kernel debug settings.

In this step, you restore the default kernel debug options.

Kernel Debug Behavior on Security Gateways with 72 and more CPU Cores

When you enable the kernel debug, all CoreXLClosed Performance-enhancing technology for Security Gateways on multi-core processing platforms. Multiple Check Point Firewall instances are running in parallel on multiple CPU cores. Firewall instances on a Security Gateway start to print their applicable debug messages.

To present the complete chronological overview, the Security Gateway performs real-time merge of these debug messages in RAM.

The more CPU cores the Security Gateway has, the more CPU and RAM resources this real-time merge consumes.

Therefore, starting in R82, by default, the kernel debug behaves differently on Security Gateways with 72 and more CPU cores:

CLI Syntax

When there are differences in the syntax, this section provides the CLI syntax for the new kernel debug (see Kernel Debug Behavior on Security Gateways with 72 and more CPU Cores) and the legacy kernel debug.

Notes:

Important - To run these commands in the Expert mode on a Scalable Platform Security Group, you must use the "g_fw ..." command instead of the "fw ..." command.

CLI Parameters