Open Frames Download Complete PDF Send Feedback Print This Page

Previous

Next

Showing Traffic Information (asg_ifconfig)

The asg_ifconfig command collects traffic statistics from all or a specified range of SGMs. The combined output shows the traffic distribution between SGMs and their interfaces (calculated during a certain period).

The asg_ifconfig command has these modes:

  • Native

    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 SGMs, and for interfaces on the local SGM.

  • Analyze

    Shows accumulated traffic information and traffic distribution between SGMs.

  • Banalyze

    Shows accumulated traffic information and traffic distribution between interfaces

Note:

  • 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 [-b <sgm_ids>] [<interface>] [analyze|banalyze] [-d <delay>] [-v] [-a]

Parameter

Description

Interface

The name of the interface

-b <sgm_ids>

Works with SGMs and/or Chassis as specified by <sgm_ids>.

<sgm_ids> can be:

  • No <sgm_ids> specified or all shows all SGMs and Chassis
  • One SGM
  • A comma-separated list of SGMs (1_1,1_4)
  • A range of SGMs (1_1-1_4)
  • One Chassis (Chassis1 or Chassis2)
  • The active Chassis (chassis_active)

 

-d delay

Delay, in seconds, between data samples (default = 5)

-v

Verbose mode: Shows traffic distribution between interfaces

-a

Shows total traffic volume

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

-h

Shows help information and exit

analyze

Shows accumulated traffic information

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

banalyze

Shows accumulated traffic information.

Use the -v, -a, 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.

Related Topics

Native Usage

Using the Analyze Option

 
Top of Page ©2014 Check Point Software Technologies Ltd. All rights reserved. Download Complete PDF Send Feedback Print