Skip to main content

Appendix C - Gateway Monitoring (Status)

C.3 Message Type 2: Gateway Status​

Description

The gateway status message gives a summary of the status of the gateway. It reports information such as version number of the gateway, buffer memory usage, interface status and neighbor gateway status.

A Gateway Status message has the following format:

  0                   1         1         2                   3 3
  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |         Version Number        |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |     Patch Version Number      |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  Time Since Gateway Restart   |       ;in minutes
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |       Measurement Flags       |       ; Bit flags to indicate which
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ; measurements are on, 1= On
 |      Routing Sequence No.     |       ; Sequence # of last routing
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   update sent
 |    Access Table Version #     |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  Load Sharing Table Ver. #    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |         Memory in Use         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |         Memory Idle           |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |         Memory Free           |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |   # of Blks   |                       ; Memory Allocation Info
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  Size of 1st Block (in bytes) |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  # Allocated  |
 +-+-+-+-+-+-+-+-+
 |    # Idle     |
 +-+-+-+-+-+-+-+-+
         .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | Size of n'th Block (in bytes) |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |  # Allocated  |
 +-+-+-+-+-+-+-+-+
 |    # Idle     |
 +-+-+-+-+-+-+-+-+
              (continued)

 Gateway Status Message (cont'd.)

 +-+-+-+-+-+-+-+-+
 |   # of Ints.  |
 +-+-+-+-+-+-+-+-+
 | Int 1 Flags   |                       ;Interface 1 Status Flags
 +-+-+-+-+-+-+-+-+                       ; Bit 0 - 1=Up, 0=Down
                                         ;     1 - 1=Looped, 0=Not
 +-+-+-+-+-+-+-+-+
 | Buffers       |                       ; # of buffers on write Queue
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | Time since last Status Change |       ;Time since last up/dwn change
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    # of Buffers Allocated     |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Data Size for Interface    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Interface 1 Address                                        |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                 .
                 .
 +---------------+
 | Int n Flags   |                       ;Interface n Status Flags
 +-+-+-+-+-+-+-+-+
 | Buffers       |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | Time since last Status Change |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    # of Buffers Allocated     |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Data Size for Interface    |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Interface n Address                                        |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 | # Neighbors   |
 +-+-+-+-+-+-+-+-+
 | UP/DN Flags   |                       ;Bit flags for Up or Down
 +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up
         .                               ; MSB is neighbor 1
         .                               ; (as many bytes as necessary)
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Neighbor 1 Address                                         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
                 .
                 .
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
 |    Neighbor n Address                                         |
 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

HMP FIELDS

System Type

Gateway = 4

Message Type

Gateway Status Message = 2

Port Number

Unused

Control Flag

Unused

Password or Returned Sequence Number

Unused

Sequence Number

A 16 bit number incremented each time a trap message is sent so that the monitoring center can order the received trap messages and detect missed messages.

GATEWAY STATUS FIELDS

Version Number

The version number of the gateway sending the Status message.

Patch Version Number

The patch version number of the gateway.

Time Since Gateway Restart

The time in minutes since the gateway was last restarted or reloaded.

Measurement Flags

Flags that, if set, indicate which measurements are turned on. Current values are:

      Bit 0   =   Message Generator
1 = Throughput
2 = Host Traffic Matrix
3 = Access Control 1
4 = Access Control 2
5 = Load Sharing
6 = EGP in Gateway

Routing Sequence Number

The sequence number of the last routing update sent by this gateway.

Access Control Table Version #

The version number of the access control table.

Load Sharing Table Version #

The version number of the load sharing table.

Memory In Use

The number of bytes of buffer memory that are currently in use.

Memory Idle

The number of bytes of buffer memory that have been allocated but are currently idle.

Memory Free

The number of bytes of buffer memory that has not been allocated.

MEMORY ALLOCATION INFORMATION

The next part of the status message contains information on the buffer pools in the gateway. The fields are:

  • # of Blocks: The number of different buffer pools.

  • Size of Block: The size of this block in bytes.

  • # Allocated: The number of blocks of this size that have been allocated.

  • # Idle: The number of blocks of this size that are idle.

GATEWAY INTERFACE FIELDS

The next part of the status message are fields that provide information about the gateway's interfaces. The fields are:

  • # of Interfaces: The number of network interfaces that the gateway has.

  • Interface Flags: Flags that indicate the status of this interface. The current values are:

    Bit 0  -  1=Up/0=Down
    1 - 1=Looped/0=Not Looped
  • Buffers: The numbers on this interfaces write queue.

  • Time Since Last Status Change: The time in minutes since this interface changed status (Up/Down).

  • # of Buffers Allocated: The number of buffers allocated for this interface.

  • Data Size for Interface: The buffer size required for this interface.

  • Interface Address: The Internet address of this interface.

NEIGHBOR GATEWAY FIELDS

The final part of the status message consists of information about this gateway's neighbor gateways. The fields are:

  • # of Neighbors: The number of gateways that are neighbor gateways to this gateway.

  • UP/DN Flags: Bit flags to indicate if the neighbor is up or down.

  • Neighbor Address: The Internet address of the neighbor gateway.