TAC throughput (cont.)
+---------------+---------------+ |
| Host Output Abort Count | 1822 info.
+---------------+---------------+ |
15 | Host Down Count | v
+---------------+---------------+ ----
| # of datagrams sent | ^
+---------------+---------------+ |
| # of datagrams received | |
+---------------+---------------+ IP info.
| # of datagrams discarded | |
+---------------+---------------+ |
| # of fragments received | v
+---------------+---------------+ |
20 | # of fragments discarded | v
+---------------+---------------+ ----
| # of segments sent | ^
+---------------+---------------+ |
| # of segments received | |
+---------------+---------------+ |
| # of segments discarded | |
+---------------+---------------+ TCP info.
| # of octets sent | |
+---------------+---------------+ |
25 | # of octets received | |
+---------------+---------------+ |
| # of retransmissions | v
+---------------+---------------+ ----
HMP FIELDS
System Type
TAC = 3
Message Type
TAC Throughput Message = 3
Port Number
Unused
Control Flag
Unused
-43-
RFC-869 December 1983
Sequence Number
A 16 bit number incremented at each collection interval
(i.e. when a new throughput message is assembled). The HM
will be able to detect lost or duplicate messages by
checking the sequence numbers.
Returned Sequence Number
Contains the sequence number from the polling message
requesting this report.
TAC THROUGHPUT FIELDS
Mess-time
The time (in 640ms. units) at which the message was sent to
the HM.
Data-Time
Data-time is the time (in 640ms. units) when this set of
data was collected. (See Description.)
Prev-Time
Prev-time is the time (in 640 ms. units) of the previous
collection of data (and therefore, is the time when the data
in this message began accumulating.)
Version Number
The TAC's software version number.
Last Trap Message
Contains the sequence number of the last trap message sent
to the HM. This will allow the HM to detect how many trap
messages are being lost.
Bit Flags
There are sixteen bit flags available for reporting the
state of various switches (hardware and software) in the
TAC. The bits are numbered as follows for purposes of the
discussion below.
-44-
RFC-869 December 1983
0 0 0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| | | | | | | | | | | | | | | | |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
The bit flags report the status of the following:
Bit Meaning
15 0 => DDT override off; 1 => override on.
11-14 0 => Sense Switch n is off; 1 => SSn on.
10 0 => Traps to remote monitor;
1 => Traps to console.
9 1 => Message generator on.
0-8 unused
Free PDB count
The number of PDBs on the free queue.
Free MBLK count
The number of MBLKs on the free queue.
# of TCP connections
# of NCP connections
The number of open connections for each protocol.
1822 info.
These six fields report statistics which concern the
operation of the 1822 protocol module, i.e. the interface
between the TAC and its IMP.
IP info.
These five fields report statistics which concern Internet
Protocol in the TAC.
TCP info.
-45-
RFC-869 December 1983
These six fields report statistics which concern TCP
protocol in the TAC.
-46-
RFC-869 December 1983
C Appendix C - Gateway Monitoring
C.1 Gateway Parameters
The gateway supports parameters to set Throughput and Host
traffic matrix measurements. The type of parameters and the
parameter and data pairs are as follows:
Throughput - Type = 3
Parm. Description Control Data Word
----- ----------- -----------------
1 Start/Stop 0=Stop,1=Start
2 Collection Interval Time in 1 minute
ticks
Host Traffic Matrix - Type = 4
Parm. Description Control Data Word
----- ----------- -----------------
1 Start/Stop 0=Stop,1=Start
2 Collection Interval Time in 1 minute
ticks
3 HTM Switch Control Include Control
Protocols
-47-
RFC-869 December 1983
C.2 Message Type 1: Gateway Trap
Description
When traps occur in the gateway they are buffered. At a
fixed time interval (currently 10 seconds) the gateway will
send any traps that are in the buffer to the monitoring
center. The traps are sent as unsolicited messages.
A Gateway trap message has the following format:
0 0 0 1
0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Gateway Version # |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Size of Trap Entry | ;First Trap
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Time of Trap |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Trap ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Process ID |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R0 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R1 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R2 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R3 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(continued)
-48-
RFC-869 December 1983
Gateway Trap Message (cont'd.)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R4 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R5 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| R6 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of this Trap |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Additional Trap reports |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
HMP FIELDS
System Type
Gateway = 4
Message Type
Gateway Trap Message = 1
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.
-49-
RFC-869 December 1983
GATEWAY TRAP FIELDS
Gateway Version #
The software version number of the gateway sending the trap.
Trap Reports
The remainder of the trap message consists of the trap
reports. Each consists of the following fields:
Size of Trap Entry
The size in 16-bit words of the trap entry, not
including the size field.
Time of Trap
The time in (in 1/60 sec. ticks) at which the trap
occurred.
Trap ID
The number of the trap which is used to identify the
trap.
Process ID
The identifier of the process that executed the trap.
R0-R6
The registers of the machine at the occurrence of the
trap.
Count of this Trap
The number of times that this trap occurred.
-50-
RFC-869 December 1983
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:
-51-
RFC-869 December 1983
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)
-52-
RFC-869 December 1983
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 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-53-
RFC-869 December 1983
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.
-54-
RFC-869 December 1983
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
-55-
RFC-869 December 1983
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.
-56-
RFC-869 December 1983
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.
-57-
RFC-869 December 1983
C.4 Message Type 3: Gateway Throughput
Description
The gateway collects throughput statistics for the gateway,
its interfaces, and its neighbor gateways. It collects them
for regular intervals and will save them for collection via
a Poll message from the Monitoring host. If they are not
collected by the end of the next interval, they will be lost
because another copy will be put into the saved area.
A Gateway Throughput 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Gateway Version Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Collection Time in Min |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Number of Interfaces |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Number of Neighbors |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Number of Host Unreachable | ; # of packets dropped because
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ; Host was Unreachable
| Number of Net Unreachable |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ ; Net was Unreachable
; Interface Counters
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Packets Dropped on Input |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of IP Errors |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Datagrams for Us |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Datagrams to be Forwarded |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Datagrams Looped |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(continued)
-58-
RFC-869 December 1983
Gateway Throughput Message (cont'd.)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Bytes Input |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Datagrams From Us |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count that were Forwarded |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Local Net Dropped |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Queue full Dropped |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Bytes Output |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Counters For Additional Interfaces |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
; Neighbor counters
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Neighbor Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Routing Updates TO |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
|Count of Routing Updates FROM |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(continued)
-59-
RFC-869 December 1983
Gateway Throughput Message (cont'd.)
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pkts from US sent to/via Neig |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Pkts forwarded to/via Neighb |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Datagrams Local Net Dropped |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Datagrams Queue full Dropped |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Count of Bytes send to Neighbor |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Counters for Additional Neighbor Gateways |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
HMP FIELDS
System Type
Gateway = 4
Message Type
Gateway Throughput Message = 3
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 HM can order the received trap messages and
-60-
RFC-869 December 1983
detect missed messages.
GATEWAY THROUGHPUT FIELDS
Gateway Version Number
The software version number of the gateway sending the trap.
Collection Time in Min.
The time period in minutes in which the throughput data is
to be collected.
Number of Interfaces
The number of interfaces this gateway has.
Number of Neighbors
The number of neighbor gateways this gateway has.
Number of Host Unreachable
The number of packets dropped because the Host was
unreachable.
Number of Net Unreachable
The number of packets dropped because the Network was
unreachable.
INTERFACE COUNTERS
The next part of the Throughput message contains counters
for the gateways interfaces. Each interface has the
following fields:
Interface Address
The Internet address of this interface.
Packets Dropped on Input
The number of packets on input to this interface
because there were not enough buffers.
Count of IP Errors
The number of packets received with bad IP headers.
-61-
RFC-869 December 1983
Count of Datagrams for Us
The number of datagrams received addressed to this
gateway.
Datagrams to be Forwarded
The number of datagrams were not for this gateway and
should be sent out another interface.
Count of Datagrams Looped
The number of datagrams that were received on and sent
out of this interface.
Count of Bytes Input
The number of bytes received on this interface.
Count of Datagrams From Us
The number of datagrams that originated at this
gateway.
Count that were Forwarded
The number of datagrams that were forwarded to another
gateway.
Count of Local Net Dropped
The number of packets that were dropped because of
local network flow control restrictions.
Count of Queue full Dropped
The number of packets that were dropped because the
output queue was full.
Count of Bytes Output
The number of bytes sent out on this interface.
-62-
RFC-869 December 1983
NEIGHBOR COUNTERS
The last part of the Throughput message are counts for each
neighbor gateway. The fields are:
Neighbor Address
The Internet address of this neighbor gateway.
Count of Routing Updates TO
The number of routing updates sent to this neighbor
gateway.
Count of Routing Updates FROM
The number of routing updates received from this
neighbor gateway.
Pkts from US sent to/via Neig
The number of packets from this gateway sent to or via
this neighbor gateway.
Pkts forwarded to/via Neighb
The number of packets forwarded to or via this neighbor
gateway.
Datagrams Local Net Dropped
The number of datagrams dropped to this neighbor
gateway because of local network flow control
restrictions.
Datagrams Queue full Dropped
The number of datagrams dropped to this neighbor
because the output queue was full.
Count of Bytes send to Neighbor
The number of bytes sent to this neighbor gateway.
-63-
RFC-869 December 1983
C.5 Message Type 4: Gateway Host Traffic Matrix
Description
The Host Traffic Matrix (HTM) message contains information
about the traffic that flows through the gateway. Each
entry consists of the number of datagrams sent and received
for a particular source/destination pair.
A Gateway HTM 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
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Gateway Version Number |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Overflow counter |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Collection Time in Min |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Number of HTM entries |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IP Source Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IP Destination Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| IP Protocol | (unused) |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Counter for SRC -> DST datagrams |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Counter for DST -> SRC datagrams |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| |
| Additional HTM Reports |
| |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
-64-
RFC-869 December 1983
HMP FIELDS
System Type
Gateway = 4
Message Type
Gateway HTM Message = 4
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 HM can order the received trap messages and
detect missed messages.
GATEWAY HTM FIELDS
Gateway Version Number
The software version number of this gateway.
Overflow counter
The number of HTM entries lost because the HTM buffer was
full.
Collection Time in Min
The time period in minutes in which the HTM data is being
collected.
Number of HTM entries
The number of HTM reports included in this message.
-65-
RFC-869 December 1983
HTM ENTRIES
The remainder of the HTM message consists of the actual HTM
entries. Each entry consists of the following fields:
IP Source Address
The source Internet address of the datagrams being
counted.
IP Destination Address
The destination Internet address of the datagrams being
counted.
IP Protocol
The protocol number of the datagrams.
Counter for SRC -> DST datagrams
The number of datagrams sent in the Source to
Destination address direction.
Counter for DST -> SRC datagrams
The number of datagrams sent in the Destination to
Source address direction.
-66-
RFC-869 December 1983
C.6 Message Type 6: Gateway Routing
Description
The Routing message contains information about routes the
gateway has to the networks that make up the Internet. It
includes information about its interfaces and its neighbor
gateways.
A Gateway Routing 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 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| # of Ints. |
+-+-+-+-+-+-+-+-+
| UP/DN Flags | ;Bit flags for Up or Down
+-+-+-+-+-+-+-+-+ ; 0 = Dwn, 1 = Up
. ; MSB is interface 1
. ; (as many bytes as necessary)
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Interface 1 Address |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| 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 |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
(continued)
-67-
RFC-869 December 1983
Gateway Routing Message (cont'd.)
+-+-+-+-+-+-+-+-+
| # of Networks |
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Network 1 # | | | ; 1, 2, or 3 bytes
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Distance |
+-+-+-+-+-+-+-+-+
| Neighbor # |
+-+-+-+-+-+-+-+-+
.
.
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Network n # | | | ; 1, 2, or 3 bytes
+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
| Distance |
+-+-+-+-+-+-+-+-+
| Neighbor # |
+-+-+-+-+-+-+-+-+
HMP FIELDS
System Type
Gateway = 4
Message Type
Gateway Trap Message = 6
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 HM can order the received trap messages and
detect missed messages.
-68-
RFC-869 December 1983
GATEWAY ROUTING FIELDS
Gateway Version #
The software version number of the gateway sending the trap.
INTERFACE FIELDS
The first part of the routing message contains information
about the gateway's interfaces. There is data for each
interface. The fields are:
# of Interfaces
The number of interfaces that this gateway has.
UP/DN Flags
Bit flags to indicate if the Interface is up or down.
Interface Address
The Internet address of the Interface.
NEIGHBOR FIELDS
The next part of the routing message contains 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.
NETWORK ROUTING FIELDS
The last part of the routing message contains information
about this gateway's routes to other networks. This
includes the distance to each network and which neighbor
gateway is the route to the network. The fields are:
-69-
RFC-869 December 1983
# of Networks
The number of networks that are reachable from this
gateway.
Network #
The network number of this network. This is the
network part of the Internet address and may be one,
two, or three bytes in length depending on whether it
is a Class A, B, or C address.
Distance
The distance in hops to this network. Zero hops means
that the network is directly connected to this gateway.
A negative number means that the network is currently
unreachable.
Neighbor #
The neighbor gateway that is the next hop to reach this
network. This is an index into the previous
information on this gateway's neighbor gateways. This
field is only valid if the Distance is greater than
zero.