Showing Traffic Information (asg_ifconfig)

Description

The asg_ifconfig command in Gaia gClishClosed The name of the global command line shell in Check Point Gaia operating system for Security Appliances connected to Check Point Quantum Maestro Orchestrators. Commands you run in this shell apply to all Security Appliances in the Security Group. or the Expert mode collects traffic statistics from all or a specified range of Security GroupClosed A logical group of Security Appliances that provides Active/Active cluster functionality. A Security Group can contain one or more Security Appliances. Security Groups work separately and independently from each other. To the production networks, a Security Group appears a single Security Gateway. Every Security Group contains: (A) Applicable Uplink ports, to which your production networks are connected; (B) Security Appliances (the Quantum Maestro Orchestrator determines the applicable Downlink ports automatically); (C) Applicable management port, to which the Check Point Management Server is connected. Members.

The combined output shows the traffic distribution between Security Group Members and their interfaces (calculated during a certain period).

The asg_ifconfig command has these modes:

Mode

Description

Native

This is the default setting. When the analyze or banalyze option is not specified the command behaves almost the same as the native Linux ifconfig command. However, the output shows statistics for all interfaces on all Security Group Members, and for interfaces on the local Security Group Member.

Analyze

Shows accumulated traffic information and traffic distribution between Security Group Members.

Banalyze

Shows accumulated traffic information and traffic distribution between interfaces.

Notes:

  • The analyze and banalyze parameters cannot be used together.

  • If you run this command in a Virtual System context, you can only see the output that applies to that context.

Syntax

asg_ifconfig -h

asg_ifconfig [-b <SGM_IDs>] [<interface>] [analyze | banalyze] [-d <delay>] [-a] [-v]

Parameters

Parameter

Description

-h

Shows the built-in help.

-b <SGM_IDs>

Applies to Security Group Members as specified by <SGM_IDs>.

<SGM_IDs> can be:

  • No <SGM_IDs > specified, or all - Applies to all Security Group Members and Sites

  • One Security Group Member (for example, 1_1)

  • A comma-separated list of Security Group Members (for example, 1_1,1_4)

  • A range of Security Group Members (for example, 1_1-1_4)

  • In Dual Site, one Site (chassis1, or chassis2)

  • In Dual Site, the Active Site (chassis_active)

<interface>

The name of the interface.

analyze

Shows accumulated traffic information.

Use the -a, -v, and -d <delay> parameters to show traffic distribution between interfaces.

banalyze

Shows accumulated traffic information.

Use the -a, -v, and -d <delay> parameters to show traffic distribution between interfaces.

You can use these parameters to sort the traffic distribution table:

  • -rp X packets
  • -rb X bytes
  • -rd X dropped packets
  • -tp X packets
  • -tb X bytes
  • -td X dropped packet

For example, if you sort with the -rb option, the higher values appear at the top of the RX bytes column in the traffic distribution table:

SGM ID  RX packets   RX bytes   RX dropped
1_03                   70%
1_02                   20%
1_01                   10%

By default, the traffic distribution table is not sorted.

-d <delay>

Delay, in seconds, between data samples. Default = 5.

-a

Shows total traffic volume.

By default (without -a), the average traffic volume per second shows.

-v

Verbose mode - shows traffic distribution between interfaces.

Native Usage

This example shows the total traffic sent and received by eth2-01 for all Security Group Members on Site 1 (Active Site).

By default, the average traffic volume per second shows.

Using the Analyze Option

This example shows accumulated traffic volume statistics for eth2-Sync for each Security Group Member and the total for all Security Group Members.

The traffic distribution for each Security Group Member also shows.

The -a option shows the total traffic volume instead of the average volume per second.