home *** CD-ROM | disk | FTP | other *** search
/ Unix System Administration Handbook 1997 October / usah_oct97.iso / rfc / 800s / rfc869.txt < prev    next >
Text File  |  1992-09-22  |  95KB  |  4,171 lines

  1.  
  2.  
  3.  
  4.  
  5.                             RFC - 869
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.                    A Host Monitoring Protocol
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.                         Robert M. Hinden
  29.  
  30.  
  31.  
  32.  
  33.  
  34.                  BBN Communications Corporation
  35.  
  36.  
  37.  
  38.  
  39.  
  40.                           December 1983
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55. RFC-869                                             December 1983
  56.  
  57.  
  58.  
  59.                         Table of Contents
  60.  
  61.  
  62.  
  63.  
  64.  
  65. 1   Introduction.......................................... 1
  66.  
  67. 2   General Description................................... 3
  68.  
  69. 3   Relationship to Other Protocols....................... 6
  70.  
  71. 4   Protocol Operation.................................... 7
  72.  
  73. 5   Header Formats....................................... 12
  74. 5.1   IP Headers......................................... 12
  75. 5.2   HMP Header......................................... 13
  76.  
  77. 6   HMP Monitoring Center Message Formats................ 16
  78. 6.1   Message Type 100: Polling Message.................. 16
  79. 6.2   Message Type 101: Error in Poll.................... 18
  80. 6.3   Message Type 102: Control acknowledgment........... 20
  81.  
  82. A   Appendix A - IMP Monitoring.......................... 21
  83. A.1   Message Type 1: IMP Trap........................... 21
  84. A.2   Message Type 2: IMP status......................... 24
  85. A.3   Message Type 3: IMP Modem Throughput............... 29
  86. A.4   Message Type 4: IMP Host Throughput................ 32
  87.  
  88. B   Appendix B - TAC Monitoring.......................... 35
  89. B.1   Message Type 1: TAC Trap Message................... 35
  90. B.2   Message Type 2: TAC Status......................... 38
  91. B.3   Message Type 3: TAC Throughput..................... 42
  92.  
  93. C   Appendix C - Gateway Monitoring...................... 47
  94. C.1   Gateway Parameters................................. 47
  95. C.2   Message Type 1: Gateway Trap....................... 48
  96. C.3   Message Type 2: Gateway Status..................... 51
  97. C.4   Message Type 3: Gateway Throughput................. 58
  98. C.5   Message Type 4: Gateway Host Traffic Matrix........ 64
  99. C.6   Message Type 6: Gateway Routing.................... 67
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.                                -i-
  111.  
  112.  
  113. RFC-869                                             December 1983
  114. Replaces IEN-197
  115.  
  116.  
  117.                    A Host Monitoring Protocol
  118.  
  119.  
  120.  
  121.  
  122.  
  123. 1  Introduction
  124.  
  125.  
  126.      The Host Monitoring   Protocol  (HMP)  is  used  to  collect
  127.  
  128. information  from  hosts   in   various   networks.    A  host is
  129.  
  130. defined as an addressable  Internet  entity  that  can  send  and
  131.  
  132. receive  messages;  this  includes  hosts  such  as server hosts,
  133.  
  134. personal work stations, terminal concentrators, packet  switches,
  135.  
  136. and  gateways.  At present  the Host Monitoring Protocol is being
  137.  
  138. used to collect information from Internet Gateways and TACs,  and
  139.  
  140. implementations  are  being  designed  for  other  hosts.   It is
  141.  
  142. designed to monitor hosts spread over the  internet  as  well  as
  143.  
  144. hosts in a single network.
  145.  
  146.  
  147.      This document is organized into three parts.  Section 2  and
  148.  
  149. 3  contains a general description of the Host Monitoring protocol
  150.  
  151. and its relationship to other  protocols.   Section  4  describes
  152.  
  153. how  it  operates.   Section 5 and 6 contain the descriptions and
  154.  
  155. formats of the HMP messages.  These are  followed  by  appendices
  156.  
  157. containing the formats of messages sent by some of the hosts that
  158.  
  159. use the HMP  to  collect  their  monitoring  information.   These
  160.  
  161. appendicies included as examples only and are not part of the HMP
  162.  
  163. protocol.
  164.  
  165.  
  166.  
  167.  
  168.                                -1-
  169.  
  170.  
  171. RFC-869                                             December 1983
  172.  
  173.  
  174.  
  175.      This document replaces the previous HMP document "IEN-197, A
  176.  
  177. Host Monitoring Protocol."
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209.  
  210.  
  211.  
  212.  
  213.  
  214.  
  215.  
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223.  
  224.  
  225.  
  226.                                -2-
  227.  
  228.  
  229. RFC-869                                             December 1983
  230.  
  231.  
  232.  
  233. 2  General Description
  234.  
  235.  
  236.      The  Host  Monitoring  Protocol  is  a  transaction-oriented
  237.  
  238. (i.e.,  connection-less)  transport protocol.  It was designed to
  239.  
  240. facilitate  certain  simple  interactions  between  two  internet
  241.  
  242. entities,  one  of which may be considered to be "monitoring" the
  243.  
  244. other.  (In discussing the protocol we will sometimes speak of  a
  245.  
  246. "monitoring host" and a "monitored entity".)  HMP was intended to
  247.  
  248. be a useful transport protocol for applications that involve  any
  249.  
  250. or all of the following three different kinds of interactions:
  251.  
  252.  
  253.    - The monitored entity sometimes  needs  to  send  unsolicited
  254.      datagrams  to  the  monitoring  host.   The  monitoring host
  255.      should be able to tell  when  messages  from  the  monitored
  256.      entity  have  been lost in transit, and it should be able to
  257.      determine the order in which the messages were sent, but the
  258.      application  does  not require that all messages be received
  259.      or that they be received strictly in the  same  sequence  in
  260.      which they were sent.
  261.  
  262.    - The monitoring host needs to gather data from the  monitored
  263.      entity by using a query-response protocol at the application
  264.      level.  It is important to be able to determine which  query
  265.      is being answered by a particular response, and to determine
  266.      whether successive  responses  are  duplicates  of  previous
  267.      ones.
  268.  
  269.    - The monitoring host must be able to initiate certain control
  270.      functions  in  the  monitored entity, possibly including the
  271.      setting  of  parameters  in  the  monitored   entity.    The
  272.      monitoring  host  needs  to know if the control function has
  273.      been carried out.
  274.  
  275.  
  276.      In addition, we assume that a given monitoring host  may  be
  277.  
  278. monitoring  several  different  types of entities simultaneously,
  279.  
  280. and may be gathering several different types of data from a given
  281.  
  282.  
  283.  
  284.                                -3-
  285.  
  286.  
  287. RFC-869                                             December 1983
  288.  
  289.  
  290.  
  291. type of monitored entity.  Several different monitoring hosts may
  292.  
  293. be monitoring a given entity, and several processes on  the  same
  294.  
  295. host may even be monitoring the same entity.
  296.  
  297.  
  298.      Messages from the monitoring host to  the  monitored  entity
  299.  
  300. are  called  "polls".  They need to contain enough information to
  301.  
  302. allow the monitored entity to make the following determinations:
  303.  
  304.  
  305.    - The monitored entity must be able  to  determine  that  this
  306.      message  is  in  fact  a  poll  from a monitoring host.  The
  307.      "system type," "message type," and "password" fields in  the
  308.      HMP header have been defined to meet this need.
  309.  
  310.    - The monitored entity may need to be  able  to  identify  the
  311.      particular  process  on  the  monitoring host that sent this
  312.      poll, so it can send its response back to the right process.
  313.      The  "port  number" field in the HMP header has been defined
  314.      to meet this need.
  315.  
  316.    - The monitored  entity  must  be  able  to  indicate  to  the
  317.      monitoring  host,  in its response, precisely which query is
  318.      being answered by  a  particular  response.   The  "sequence
  319.      number field" has been defined to meet this need.
  320.  
  321.    - The monitored entity must be able  to  determine  just  what
  322.      kind  of action the monitoring host is requesting.  That is,
  323.      the  HMP  transport  protocol  must  provide  some  way   of
  324.      multiplexing  and  demultiplexing  the  various higher-level
  325.      applications which use it.  The  "R-message  type"  and  "R-
  326.      subtype"  fields of the polling message have been defined to
  327.      meet this need.
  328.  
  329.  
  330.      Messages from the monitored entity to  the  monitoring  host
  331.  
  332. need  to contain enough information to enable the monitoring host
  333.  
  334. to make the following determination:
  335.  
  336.  
  337.    - The monitoring host must be able to route  this  message  to
  338.      the  correct  process.   The  "port number" field meets this
  339.      need.
  340.  
  341.  
  342.                                -4-
  343.  
  344.  
  345. RFC-869                                             December 1983
  346.  
  347.  
  348.  
  349.    - The monitoring host  must  be  able  to  match  up  received
  350.      messages  with  the  polls, if any, that elicited them.  The
  351.      "returned sequence number" field in the HMP header has  been
  352.      defined to meet this need.
  353.  
  354.    - The monitoring host must be able to determine  which  higher
  355.      level  application should receive a particular message.  The
  356.      "system type" and "message type" fields are  used  for  this
  357.      purpose.
  358.  
  359.    - The monitoring host must be able to determine  whether  some
  360.      messages  of  a given type were lost in transit, and whether
  361.      messages  have  arrived  out  of  sequence.   Although  this
  362.      function,  strictly speaking, belongs to the application and
  363.      not to the  transport  layer,  the  HMP  header  contains  a
  364.      "sequence number" for this purpose.
  365.  
  366.  
  367.      In addition, a simple one's complement checksum is  provided
  368.  
  369. in the HMP header to detect data corruption during transmission.
  370.  
  371.  
  372.  
  373.  
  374.  
  375.  
  376.  
  377.  
  378.  
  379.  
  380.  
  381.  
  382.  
  383.  
  384.  
  385.  
  386.  
  387.  
  388.  
  389.  
  390.  
  391.  
  392.  
  393.  
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                                -5-
  401.  
  402.  
  403. RFC-869                                             December 1983
  404.  
  405.  
  406.  
  407. 3  Relationship to Other Protocols
  408.  
  409.  
  410.      The  Host  Monitoring  Protocol  is  a  transport   protocol
  411.  
  412. designed  to  fit into the layered internet protocol environment.
  413.  
  414. It operates on  top  of  the  Internet/ICMP  protocol  and  under
  415.  
  416. applications  that  require  its  services.  This relationship is
  417.  
  418. illustrated in the following diagram:
  419.  
  420.  
  421.      +------+    +------+  +-------+      +------+
  422.      |TELNET| ...|  FTP |  |GATEWAY|  ... | TAC  |   Application Layer
  423.      +------+    +------+  +-------+      +------+
  424.         |          |           |             |
  425.         |          |           |             |
  426.         |__________|           |_____________|
  427.               |                       |
  428.            +------+               +-------+
  429.            |  TCP |               |  HMP  |          Transport Layer
  430.            +------+               +-------+
  431.               |                       |
  432.               |                       |
  433.            +-------------------------------------+
  434.            |    Internet Protocol & ICMP         |   Internetwork Layer
  435.            +-------------------------------------+
  436.                               |
  437.                   +------------------------+
  438.                   | Local Network Protocol |         Network Layer
  439.                   +------------------------+
  440.  
  441.  
  442. If internetwork services are not required it should  be  possible
  443.  
  444. to  run  the HMP without an Internetwork layer.  As long as HMPs'
  445.  
  446. service requirnments (addressing,  protocol  demultiplexing,  and
  447.  
  448. occasional  delivery)  are  met  it  should run over a variety of
  449.  
  450. protocols.
  451.  
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.                                -6-
  459.  
  460.  
  461. RFC-869                                             December 1983
  462.  
  463.  
  464.  
  465. 4  Protocol Operation
  466.  
  467.  
  468.      The  HMP  is  built  around  the  idea  that  most  of   the
  469.  
  470. intelligence  needed  to  monitor  a  host  should  reside  in  a
  471.  
  472. monitoring center, not in the host.  The host should be  required
  473.  
  474. only to collect data and send it to the monitoring center, either
  475.  
  476. spontaneously or on request from the monitoring center.  The host
  477.  
  478. is  not  responsible  for insuring that the data arrives reliably
  479.  
  480. (except that it checksums  the  data);  instead,  the  monitoring
  481.  
  482. center  is  responsible for ensuring that the data it requests is
  483.  
  484. received correctly.
  485.  
  486.  
  487.      Consequently,  the  HMP  is  based  on  polling  hosts   for
  488.  
  489. messages.   When the monitoring center requires a particular type
  490.  
  491. of data (e.g., throughput data), it sends  a  poll  to  the  host
  492.  
  493. requesting  that  type  of  report.  The host, upon receiving the
  494.  
  495. poll, responds with its latest set of  collected  data.   If  the
  496.  
  497. host  finds that the poll is incorrect (e.g., if the poll was for
  498.  
  499. throughput data and the host is not collecting throughput  data),
  500.  
  501. it responds with an error message.  The monitoring center waits a
  502.  
  503. reasonable length of time for the host to answer its poll.  If no
  504.  
  505. response  is  received,  it sends another poll for the same data.
  506.  
  507. In this way, if either a  poll  or  the  response  is  lost,  the
  508.  
  509. correct data is still collected.
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.                                -7-
  517.  
  518.  
  519. RFC-869                                             December 1983
  520.  
  521.  
  522.  
  523.      The HMP is used to collect three different classes of data:
  524.  
  525.  
  526.      o  Spontaneous Events (or Traps)
  527.  
  528.      o  Current status
  529.  
  530.      o  Statistical data collected over time
  531.  
  532.  
  533. These classes of data allow a host to send data in a manner  best
  534.  
  535. suited  to  the  data.  For instance, the host may quickly inform
  536.  
  537. the monitoring center that a particular  event  has  happened  by
  538.  
  539. sending  a  trap message, while the monitoring center is reliably
  540.  
  541. collecting the host's throughput and accounting data.
  542.  
  543.  
  544.      Traps report spontaneous  events,  as  they  occur,  to  the
  545.  
  546. monitoring center.  In order to insure their prompt delivery, the
  547.  
  548. traps are  sent  as  datagrams  with  no  reliability  mechanisms
  549.  
  550. (except  checksums)  such as acknowledgments and retransmissions.
  551.  
  552. Trap messages usually contain an  identifier  to  indicate  which
  553.  
  554. event  is  being  reported,  the  local time in the host that the
  555.  
  556. event occured, and data pertinent to the event.  The data portion
  557.  
  558. is intended to be host and event specific.
  559.  
  560.  
  561.      Status information, the second type of data collected by the
  562.  
  563. Host Monitoring Protocol describes the current state of the host.
  564.  
  565. Status information is useful at one point, but it does  not  have
  566.  
  567. to be collected cumulatively over a certain period of time.  Only
  568.  
  569. the latest status is of interest; old status provides  no  useful
  570.  
  571. information.   The  monitoring center collects status information
  572.  
  573.  
  574.                                -8-
  575.  
  576.  
  577. RFC-869                                             December 1983
  578.  
  579.  
  580.  
  581. by sending a poll for status to a host.  Upon receiving the poll,
  582.  
  583. the  host  responds  with  its  latest status information, always
  584.  
  585. creating a new status message.  If the monitoring center does not
  586.  
  587. receive  a  response  to  its  poll,  it sends another poll.  The
  588.  
  589. monitoring center can decide if the host is up or down  based  on
  590.  
  591. whether the host responds to its polls.
  592.  
  593.  
  594.      The third type of data collected by the HMP  is  statistical
  595.  
  596. data.  These are measurements taken over time, such as the number
  597.  
  598. of packets sent or received by a host and the  count  of  packets
  599.  
  600. dropped  for  a  particular reason.  It is important that none of
  601.  
  602. this type of data be lost.  Statistical data is  collected  in  a
  603.  
  604. host  over  a  time  interval.  When the collection time interval
  605.  
  606. expires, the current data is copied  to  another  area,  and  the
  607.  
  608. counters  are cleared.  The copied data is sent to the monitoring
  609.  
  610. center when the  host  receives  a  poll  requesting  statistical
  611.  
  612. information.   If  another poll is received before the collection
  613.  
  614. time interval has expired, the data in the buffer is sent  again.
  615.  
  616. The  monitoring center can detect duplicate messages by using the
  617.  
  618. sequence number in the header of the message, since each type  of
  619.  
  620. statistical data has its own sequence number counter.
  621.  
  622.  
  623.      The collection frequency  for  statistics  messages  from  a
  624.  
  625. particular  host  must be relatively long compared to the average
  626.  
  627. round trip message time between the monitoring  center  and  that
  628.  
  629. host inorder to allow the monitoring center to re-poll if it does
  630.  
  631.  
  632.                                -9-
  633.  
  634.  
  635. RFC-869                                             December 1983
  636.  
  637.  
  638.  
  639. not receive an answer.   With  this  restriction,  it  should  be
  640.  
  641. possible   to   avoid  missing  any  statistics  messages.   Each
  642.  
  643. statistics message contains a field giving the  local  time  when
  644.  
  645. the  data  was  collected  and  the time at which the message was
  646.  
  647. sent.  This information allows the monitoring center to  schedule
  648.  
  649. when  it sends a poll so that the poll arrives near the beginning
  650.  
  651. of each collection period.  This ensures that  if  a  message  is
  652.  
  653. lost,  the  monitoring  center  will have sufficient time to poll
  654.  
  655. again for the statistics message for that period.
  656.  
  657.  
  658.      The HMP also includes a provision to send data to  and  read
  659.  
  660. parameters  in  hosts.   The  data may be used to set switches or
  661.  
  662. interval timers used to control measurements in  a  host,  or  to
  663.  
  664. control  the  host itself (e.g. a restart switch).  The format of
  665.  
  666. the data and parameters is host specific.
  667.  
  668.  
  669.      To send data to a host, the monitoring center sends the host
  670.  
  671. a  poll  for a control-acknowledgment message.  This poll message
  672.  
  673. includes the type of the data and the data being sent.  When  the
  674.  
  675. host  receives this poll, it processes the data and responds with
  676.  
  677. a control-acknowledgment message.
  678.  
  679.  
  680.      To read parameters in a host,  the  monitoring  center  will
  681.  
  682. send  a  poll for parameters to the host.  This poll includes the
  683.  
  684. type of the parameters being read.  When the host  receives  this
  685.  
  686. poll,  it  will  send the parameters of the requested type to the
  687.  
  688.  
  689.  
  690.                               -10-
  691.  
  692.  
  693. RFC-869                                             December 1983
  694.  
  695.  
  696.  
  697. monitoring center in a parameters message.
  698.  
  699.  
  700.  
  701.  
  702.  
  703.  
  704.  
  705.  
  706.  
  707.  
  708.  
  709.  
  710.  
  711.  
  712.  
  713.  
  714.  
  715.  
  716.  
  717.  
  718.  
  719.  
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.  
  746.  
  747.  
  748.                               -11-
  749.  
  750.  
  751. RFC-869                                             December 1983
  752.  
  753.  
  754.  
  755. 5  Header Formats
  756.  
  757.  
  758.      Host Monitor Protocol messages have the following format:
  759.  
  760.                     +----------------+
  761.                     |  Local Network |
  762.                     |    Header(s)   |
  763.                     +----------------+
  764.                     |  IP header     |
  765.                     +----------------+
  766.                     |      HMP       |
  767.                     |     Header     |
  768.                     |                |
  769.                     +----------------+
  770.                     |    D           |
  771.                     |      A         |
  772.                     |        T       |
  773.                     |          A     |
  774.                     +----------------+
  775.                     |  Padding       |
  776.                     +----------------+
  777.  
  778.  
  779.  
  780.  
  781.  
  782. 5.1  IP Headers
  783.  
  784. HMP messages are sent using the version 4 IP header as  described
  785. in  RFC-791  "Internet  Protocol."  The HMP protocol number is 20
  786. (decimal).  The time to live field should be set to a  reasonable
  787. value for the hosts being monitored.
  788.  
  789. All other fields should be set as specified in RFC-791.
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.                               -12-
  807.  
  808.  
  809. RFC-869                                             December 1983
  810.  
  811.  
  812.  
  813. 5.2  HMP Header
  814.  
  815. The HMP header format is:
  816.  
  817.                   0             0 0             1
  818.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  819.                  +---------------+---------------+
  820.                0 |  System Type  | Message Type  |
  821.                  +---------------+---------------+
  822.                1 |  Port Number  | Control Flag  |
  823.                  +---------------+---------------+
  824.                2 |        Sequence Number        |
  825.                  +---------------+---------------+
  826.                3 |  Password or Returned Seq. #  |
  827.                  +---------------+---------------+
  828.                4 |   One's Complement Checksum   |
  829.                  +---------------+---------------+
  830.  
  831. HMP FIELDS:
  832.  
  833. System Type
  834. Message Type
  835.  
  836.      The combination  of system type and message type  determines
  837.      the format of the data in the monitoring message.
  838.  
  839.      The system types which have been defined are:
  840.  
  841.  
  842.                    System Type  | Meaning
  843.                 ----------------+-----------------
  844.                        1        | Monitoring Host
  845.                        2        | IMP
  846.                        3        | TAC
  847.                        4        | Gateway
  848.                        5        | SIMP
  849.                        6        | BBN VAX/C70 TCP
  850.                        7        | PAD
  851.                        8        | Reserved
  852.                        9        | TIU
  853.                        10       | FEP
  854.                        11       | Cronus Host
  855.                        12       | Cronus MCS
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.                               -13-
  865.  
  866.  
  867. RFC-869                                             December 1983
  868.  
  869.  
  870.  
  871.      Message types are defined and  used  for  each  system  type
  872.      according  to  the  needs of that system.  The message types
  873.      currently defined are:
  874.  
  875.  
  876.  
  877.                     Type   | Description
  878.                  ----------+--------------------------
  879.                            |
  880.                     1      | Trap
  881.                     2      | Status
  882.                     3      | Thruput
  883.                     4      | HTM - Host Traffic Matrix
  884.                     5      | Parameters
  885.                     6      | Routing
  886.                     7      | Call Accounting
  887.                            |
  888.                     100    | Poll
  889.                     101    | Error
  890.                     102    | Control Acknowledgment
  891.  
  892.  
  893.  
  894.  
  895. Port Number
  896.  
  897.      This field can be used to multiplex similar messages to/from
  898.      different processes in one host.  It is currently unused.
  899.  
  900. Control Flag
  901.  
  902.      This field is used to pass control  information.   Currently
  903.      Bit  15  is  defined  as  the  "More bit" which is used in a
  904.      message in responce to a poll to indicate that there is more
  905.      data to poll for.
  906.  
  907. Sequence Number
  908.  
  909.      Every message contains  a  sequence  number.   The  sequence
  910.      number  is incremented when each new message of that type is
  911.      sent.
  912.  
  913. Password or Returned Sequence Number
  914.  
  915.      The  Password field of a polling message from an  monitoring
  916.      center  contains a password to  verify  that the  monitoring
  917.      center is  allowed  to  gather  information.   Responses  to
  918.      polling   messages   copy   the  Sequence  Number  from  the
  919.      polling  message   and  return  it   in   this   field   for
  920.  
  921.  
  922.                               -14-
  923.  
  924.  
  925. RFC-869                                             December 1983
  926.  
  927.  
  928.  
  929.      identification and round-trip time calculations.
  930.  
  931. Checksum
  932.  
  933.      The  Checksum  field  is  the one's complement of the  one's
  934.      complement  sum of all the 16-bit words in  the  header  and
  935.      data  area.
  936.  
  937.  
  938.  
  939.  
  940.  
  941.  
  942.  
  943.  
  944.  
  945.  
  946.  
  947.  
  948.  
  949.  
  950.  
  951.  
  952.  
  953.  
  954.  
  955.  
  956.  
  957.  
  958.  
  959.  
  960.  
  961.  
  962.  
  963.  
  964.  
  965.  
  966.  
  967.  
  968.  
  969.  
  970.  
  971.  
  972.  
  973.  
  974.  
  975.  
  976.  
  977.  
  978.  
  979.  
  980.                               -15-
  981.  
  982.  
  983. RFC-869                                             December 1983
  984.  
  985.  
  986.  
  987. 6  HMP Monitoring Center Message Formats
  988.  
  989. 6.1  Message Type 100: Polling Message
  990.  
  991. Description
  992.  
  993.      The monitoring center will send polls to  the  hosts  it  is
  994.      monitoring  to  collect their monitoring data. When the host
  995.      receives a poll it will  return   a   message  of  the  type
  996.      requested.   It   will  only  answer a poll with the correct
  997.      system type and password and will return  an  error  message
  998.      (Message  Type  101)  if  it  receives  a poll for the wrong
  999.      system type or an unsupported message type.
  1000.  
  1001.      The Poll message includes a  facility  to  send  data  to  a
  1002.      monitored host.  The poll message to send data consists of a
  1003.      poll  for  a  Control  Acknowledgment  message  (type   102)
  1004.      followed  by  the data.  The R-Subtype specifies the type of
  1005.      the data that  is  being  sent.   When  the  monitored  host
  1006.      receives  a  Poll for a Control acknowledgment, it processes
  1007.      the data, and then responds with an  Control  acknowledgment
  1008.      message.  If the monitored host can not process the data, it
  1009.      should respond with an error message.
  1010.  
  1011.      A poll to read parameters consists a poll for  a  Parameters
  1012.      message.   The  R-Subtype  specifies  the type of parameters
  1013.      being read.  When the monitored host receives a poll  for  a
  1014.      Parameters  message,  it  responds with a Parameters message
  1015.      containing the requested information.
  1016.  
  1017.      A polling message has the following form:
  1018.  
  1019.               0             0 0             1
  1020.               0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1021.              +---------------+---------------+
  1022.            0 | R-Message Type|   R-Subtype   |
  1023.              +---------------+---------------+
  1024.  
  1025.              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1026.            1 |             Data              |
  1027.              +                               +
  1028.            2 |                               |
  1029.              +                               +
  1030.              .                               .
  1031.              .                               .
  1032.            n |                               |
  1033.              +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1034.  
  1035.  
  1036.  
  1037.  
  1038.                               -16-
  1039.  
  1040.  
  1041. RFC-869                                             December 1983
  1042.  
  1043.  
  1044.  
  1045. HMP FIELDS
  1046.  
  1047. System Type
  1048.  
  1049.      The type of machine being polled.
  1050.  
  1051. Message Type
  1052.  
  1053.      Polling Message = 100
  1054.  
  1055. Port Number
  1056.  
  1057.      Unused
  1058.  
  1059. Control Flag
  1060.  
  1061.      Unused
  1062.  
  1063. Sequence Number
  1064.  
  1065.      The sequence number identifies  the  polling  request.   The
  1066.      Monitoring  Center  will  maintain separate sequence numbers
  1067.      for each host it monitors.  This sequence number is returned
  1068.      in the response to a poll and the monitoring center will use
  1069.      this information to associate polls with their responses and
  1070.      to determine round trip times.
  1071.  
  1072. Password
  1073.  
  1074.      The monitoring password.
  1075.  
  1076. POLL FIELDS
  1077.  
  1078. R-Message Type
  1079.  
  1080.      The message type requested.
  1081.  
  1082. R-Subtype
  1083.  
  1084.      This field is used when sending data and reading  parameters
  1085.      and  it  specifies  the  type  of  the  data  being  sent or
  1086.      parameters being read.
  1087.  
  1088. Data
  1089.  
  1090.      When  the  poll  is  requesting  a  Control   Acknowledgment
  1091.      message,  data  is included in the poll message.  A poll for
  1092.      any other type of message does not include any data  .   The
  1093.      contents of the data is host specific.
  1094.  
  1095.  
  1096.                               -17-
  1097.  
  1098.  
  1099. RFC-869                                             December 1983
  1100.  
  1101.  
  1102.  
  1103. 6.2  Message Type 101: Error in Poll
  1104.  
  1105. Description
  1106.  
  1107.      This message is sent  in  response  to  a  faulty  poll  and
  1108.      specifies the nature of the error.
  1109.  
  1110.      An error message has the following form:
  1111.  
  1112.               0             0 0             1
  1113.               0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1114.              +---------------+---------------+
  1115.            0 |          Error Type           |
  1116.              +---------------+---------------+
  1117.            1 | R-Message Type|   R-Subtype   |
  1118.              +---------------+---------------+
  1119.  
  1120. HMP FIELDS
  1121.  
  1122. System Type
  1123.  
  1124.      The type of machine sending message.
  1125.  
  1126. Message Type
  1127.  
  1128.      Error Message = 101
  1129.  
  1130. Port Number
  1131.  
  1132.      Unused
  1133.  
  1134. Control Flag
  1135.  
  1136.      Unused
  1137.  
  1138. Sequence Number
  1139.  
  1140.      A 16 bit number incremented each time an  error  message  is
  1141.      sent.
  1142.  
  1143. Returned Sequence Number
  1144.  
  1145.      The Sequence Number of the polling message which caused  the
  1146.      error.
  1147.  
  1148.  
  1149.  
  1150.  
  1151.  
  1152.  
  1153.  
  1154.                               -18-
  1155.  
  1156.  
  1157. RFC-869                                             December 1983
  1158.  
  1159.  
  1160.  
  1161. ERROR MESSAGE FIELDS
  1162.  
  1163. Error Type
  1164.  
  1165.      This field specifies the nature of the error  in  the  poll.
  1166.      The following error types have been defined.
  1167.  
  1168.  
  1169.                  1 = Reason unspecified.
  1170.                  2 = Bad R-Message Type.
  1171.                  3 = Bad R-Subtype.
  1172.                  4 = Unknown parameter
  1173.                  5 = Invalid parameter value
  1174.                  6 = Invalid parameter/value format
  1175.                  7 = Machine in Loader
  1176.  
  1177. R-Message Type
  1178. R-Subtype
  1179.  
  1180.      These fields identify the poll request in error.
  1181.  
  1182.  
  1183.  
  1184.  
  1185.  
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192.  
  1193.  
  1194.  
  1195.  
  1196.  
  1197.  
  1198.  
  1199.  
  1200.  
  1201.  
  1202.  
  1203.  
  1204.  
  1205.  
  1206.  
  1207.  
  1208.  
  1209.  
  1210.  
  1211.  
  1212.                               -19-
  1213.  
  1214.  
  1215. RFC-869                                             December 1983
  1216.  
  1217.  
  1218.  
  1219. 6.3  Message Type 102: Control acknowledgment
  1220.  
  1221. Description
  1222.  
  1223.      This message is sent in response to a poll for this type  of
  1224.      message.   It  is used to acknowledge poll messages that are
  1225.      used to set parameters in the monitored host.
  1226.  
  1227.      The Control acknowledgment has no fields other than the  HMP
  1228.      header.
  1229.  
  1230. HMP FIELDS
  1231.  
  1232. System Type
  1233.  
  1234.      The type of the system sending the message.
  1235.  
  1236. Message Type
  1237.  
  1238.      Control acknowledgment = 102
  1239.  
  1240. Port Number
  1241.  
  1242.      Unused
  1243.  
  1244. Control Flag
  1245.  
  1246.      Unused
  1247.  
  1248. Sequence Number
  1249.  
  1250.      A  16  bit  number   incremented   each   time   a   Control
  1251.      acknowledgment message is sent.
  1252.  
  1253. Returned Sequence Number
  1254.  
  1255.      The Sequence Number of the polling message  which  requested
  1256.      this message.
  1257.  
  1258.  
  1259.  
  1260.  
  1261.  
  1262.  
  1263.  
  1264.  
  1265.  
  1266.  
  1267.  
  1268.  
  1269.  
  1270.                               -20-
  1271.  
  1272.  
  1273. RFC-869                                             December 1983
  1274.  
  1275.  
  1276.  
  1277. A  Appendix A - IMP Monitoring
  1278.  
  1279. A.1  Message Type 1: IMP Trap
  1280.  
  1281. Description
  1282.  
  1283.      When a trap occurs, it is buffered in the IMP  and  sent  as
  1284.      soon  as possible.  Trap messages are unsolicited.  If traps
  1285.      happen in close sequence, several traps may be sent  in  one
  1286.      message.
  1287.  
  1288.      Through the use of sequence numbers, it will be possible  to
  1289.      determine   how  many  traps  are  being  lost.   If  it  is
  1290.      discovered that many are lost, a  polling  scheme  might  be
  1291.      implemented for traps.
  1292.  
  1293.      A IMP trap message has the following form:
  1294.  
  1295.                   0             0 0             1
  1296.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1297.                  +---------------+---------------+
  1298.                0 |       # of traps lost         |
  1299.                  +---------------+---------------+
  1300.                1 :         first                 :
  1301.                . :             trap              :
  1302.                . :                 data          :
  1303.                . +---------------+---------------+
  1304.                . :         additional            :
  1305.                . :             trap              :
  1306.                . :                 data          :
  1307.                  +---------------+---------------+
  1308.  
  1309.  
  1310. HMP Fields
  1311.  
  1312. System Type
  1313.  
  1314.      IMP = 2
  1315.  
  1316. Message Type
  1317.  
  1318.      IMP Trap Message = 1
  1319.  
  1320. Port Number
  1321.  
  1322.      Unused
  1323.  
  1324.  
  1325.  
  1326.  
  1327.  
  1328.                               -21-
  1329.  
  1330.  
  1331. RFC-869                                             December 1983
  1332.  
  1333.  
  1334.  
  1335. Control Flag
  1336.  
  1337.      Unused
  1338.  
  1339. Password
  1340.  
  1341.      Unused
  1342.  
  1343. Sequence Number
  1344.  
  1345.      A 16 bit number incremented each time a trap message is sent
  1346.      so  that  the  HM  can  order the received trap messages and
  1347.      detect missed messages.
  1348.  
  1349. IMP TRAP FIELDS
  1350.  
  1351. # of traps lost
  1352.  
  1353.      Under certain conditions, an IMP may overflow  its  internal
  1354.      trap  buffers  and  be  unable  to save traps to send.  This
  1355.      counter keeps track of such occurrences.
  1356.  
  1357. Trap Reports
  1358.  
  1359.      There can be several blocks of trap data  in  each  message.
  1360.      The format for each such block is below.
  1361.  
  1362.  
  1363.  
  1364.                  +---------------+---------------+
  1365.                  |             Size              |
  1366.                  +---------------+---------------+
  1367.                  |             Time              |
  1368.                  +---------------+---------------+
  1369.                  |            Trap ID            |
  1370.                  +---------------+---------------+
  1371.                  :             Trap              :
  1372.                  :             Data              :
  1373.                  +---------------+---------------+
  1374.  
  1375.  
  1376.   Size
  1377.  
  1378.      Size is the number of 16 bit words in the trap, not counting
  1379.      the size field.
  1380.  
  1381.   Time
  1382.  
  1383.      The time (in 640 ms. units)  at  which  the  trap  occurred.
  1384.  
  1385.  
  1386.                               -22-
  1387.  
  1388.  
  1389. RFC-869                                             December 1983
  1390.  
  1391.  
  1392.  
  1393.      This  field  is  used to sequence the traps in a message and
  1394.      associate groups of traps.
  1395.  
  1396.   Trap ID
  1397.  
  1398.      This is usually the program counter at  the  trap.   The  ID
  1399.      identifies  the  trap,  and  does  not  have to be a program
  1400.      counter, provided it uniquely identifies the trap.
  1401.  
  1402.   Trap Data
  1403.  
  1404.      The IMP returns data giving more information about the trap.
  1405.      There are usually two entries: the values in the accumulator
  1406.      and the index register at the occurrence of the trap.
  1407.  
  1408.  
  1409.  
  1410.  
  1411.  
  1412.  
  1413.  
  1414.  
  1415.  
  1416.  
  1417.  
  1418.  
  1419.  
  1420.  
  1421.  
  1422.  
  1423.  
  1424.  
  1425.  
  1426.  
  1427.  
  1428.  
  1429.  
  1430.  
  1431.  
  1432.  
  1433.  
  1434.  
  1435.  
  1436.  
  1437.  
  1438.  
  1439.  
  1440.  
  1441.  
  1442.  
  1443.  
  1444.                               -23-
  1445.  
  1446.  
  1447. RFC-869                                             December 1983
  1448.  
  1449.  
  1450.  
  1451. A.2  Message Type 2: IMP status
  1452.  
  1453. Description
  1454.  
  1455.      The status message gives a quick summary of the state of the
  1456.      IMP.   Status  of the most important features of the IMP are
  1457.      reported  as  well  as  the  current  configuration  of  the
  1458.      machine.
  1459.  
  1460.      The format of the status message is as follows:
  1461.  
  1462.                   0             0 0             1
  1463.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1464.                  +---------------+---------------+
  1465.                0 |    Software Version Number    |
  1466.                  +---------------+---------------+
  1467.                  |       Last Trap Message       |
  1468.                  +---------------+---------------+
  1469.                  | Max # Hosts   | Max # Modems  |
  1470.                  +---------------+---------------+
  1471.                  | Max # Channels|  Max # IMPs   |
  1472.                  +---------------+---------------+
  1473.                  |      Package bits 0-15.       |
  1474.                  +---------------+---------------+
  1475.                5 |      Package bits 16.-31.     |
  1476.                  +---------------+---------------+
  1477.                  |                               |
  1478.                  +          Crash                +
  1479.                  |                               |
  1480.                  +                Data           +
  1481.                  |                               |
  1482.                  +---------------+---------------+
  1483.                  |           Anomalies           |
  1484.                  +---------------+---------------+
  1485.               10 |   Free Pool   |   S+F Pool    |
  1486.                  +---------------+---------------+
  1487.                  |Reassembly Pool| Allocated Pool|
  1488.                  +---------------+---------------+
  1489.                  | HIHD0 | HIHD1 | HIHD2 | HIHD3 |
  1490.                . +---------------+---------------+
  1491.                . : HIHD4 | ...............       :
  1492.                . +---------------+---------------+
  1493.                              (cont.)
  1494.  
  1495.  
  1496.  
  1497.  
  1498.  
  1499.  
  1500.  
  1501.  
  1502.                               -24-
  1503.  
  1504.  
  1505. RFC-869                                             December 1983
  1506.  
  1507.  
  1508.  
  1509.  
  1510.  
  1511.      Imp Status (cont.)
  1512.  
  1513.                . +---------------+---------------+
  1514.                . |        Modem                  |
  1515.                . +             State             +
  1516.                . |                  Data         |
  1517.                . +---------------+---------------+
  1518.                . :         Modem   State         :
  1519.                . :             Data......        :
  1520.                  +---------------+---------------+
  1521.  
  1522.  
  1523.  
  1524. HMP FIELDS
  1525.  
  1526. System Type
  1527.  
  1528.      IMP = 2
  1529.  
  1530. Message Type
  1531.  
  1532.      IMP status message = 2
  1533.  
  1534. Port Number
  1535.  
  1536.      Unused
  1537.  
  1538. Control Flag
  1539.  
  1540.      Unused
  1541.  
  1542. Sequence Number
  1543.  
  1544.      A 16 bit number incremented each time a  status  message  is
  1545.      sent.
  1546.  
  1547. Password
  1548.  
  1549.      The password contains the sequence  number  of  the  polling
  1550.      message to which this message responds.
  1551.  
  1552. IMP STATUS FIELDS
  1553.  
  1554. Software Version Number
  1555.  
  1556.      The IMP version number.
  1557.  
  1558.  
  1559.  
  1560.                               -25-
  1561.  
  1562.  
  1563. RFC-869                                             December 1983
  1564.  
  1565.  
  1566.  
  1567. Last Trap Message
  1568.  
  1569.      Contains the sequence number of the last trap  message  sent
  1570.      to  the  HM.  This will allow the HM to detect how many trap
  1571.      messages are being lost.
  1572.  
  1573. Hosts
  1574.  
  1575.      The number of configured hosts in this system.
  1576.  
  1577. Modems
  1578.  
  1579.      The number of configured modems in this system.
  1580.  
  1581. Channels
  1582.  
  1583.      The maximum possible number  of  IMP-IMP  channels  in  this
  1584.      system.
  1585.  
  1586. IMPs
  1587.  
  1588.      The maximum possible number of IMPs in this system.
  1589.  
  1590. Package Bits
  1591.  
  1592.      This is a bit encoded word that reports the set of  packages
  1593.      currently loaded in the system.  The table below defines the
  1594.      bits.
  1595.  
  1596.  
  1597.  
  1598.  
  1599.  
  1600.  
  1601.  
  1602.  
  1603.  
  1604.  
  1605.  
  1606.  
  1607.  
  1608.  
  1609.  
  1610.  
  1611.  
  1612.  
  1613.  
  1614.  
  1615.  
  1616.  
  1617.  
  1618.                               -26-
  1619.  
  1620.  
  1621. RFC-869                                             December 1983
  1622.  
  1623.  
  1624.  
  1625.  
  1626.                     Bit    Package
  1627.                  (octal)
  1628.                 (1st Word)
  1629.                     1      VDH
  1630.                     2      Logical address tables
  1631.                     4      Mezmode
  1632.                    10      Cumulative Statistics
  1633.                    20      Trace
  1634.                    40      TTY
  1635.                   100      DDT
  1636.                   200      HDLC
  1637.                   400      HDH
  1638.                  1000      Cassette Writer
  1639.                  2000      Propagation Delay Measurement
  1640.                  4000      X25
  1641.                 10000      Profile Measurements
  1642.                 20000      Self Authenticating Password
  1643.                 40000      Host traffic Matrix
  1644.                100000      Experimental/Special
  1645.  
  1646.                 (2nd Word)
  1647.                     1      End-to-end Statistics
  1648.                     2      Store and Forward statistics
  1649.  
  1650. Crash Data
  1651.  
  1652.      Crash  data  reports  the   circumstances   surrounding   an
  1653.      unexpected  crash.   The  first word reports the location of
  1654.      the crash and the following two  are  the  contents  of  the
  1655.      accumulator and index registers.
  1656.  
  1657. Anomalies
  1658.  
  1659.      Anomalies is a collection of bit  flags  that  indicate  the
  1660.      state  of  various  switches or processes in the IMP.  These
  1661.      are  very  machine  dependent  and  only  a   representative
  1662.      sampling of bits is listed below.
  1663.  
  1664.                Bit       Meaning
  1665.              (octal)
  1666.                20      Override ON
  1667.               200      Trace ON
  1668.              1000      Statistics ON
  1669.              2000      Message Generator ON
  1670.              4000      Packet Trace ON
  1671.             10000      Host Data Checksum is BAD
  1672.             20000      Reload Location SET
  1673.  
  1674.  
  1675.  
  1676.                               -27-
  1677.  
  1678.  
  1679. RFC-869                                             December 1983
  1680.  
  1681.  
  1682.  
  1683. Buffer Pool Counts
  1684.  
  1685.      These are four bytes  of  counters  indicating  the  current
  1686.      usage  of  buffers in the IMP.   The four counters are: free
  1687.      buffers, store-and-forward buffers, reassembly  buffers  and
  1688.      allocated buffers.
  1689.  
  1690. HIHD0 - HIHDn
  1691.  
  1692.      Each  four  bit  HIHD  field  gives   the   state   of   the
  1693.      corresponding host.
  1694.  
  1695.            Value   Meaning
  1696.              0       UP
  1697.              1       ready line down
  1698.              2       tardy
  1699.              3       non-existent
  1700.  
  1701.  
  1702.  
  1703. Modem State Data
  1704.  
  1705.      Modem state data contains six  fields  of  data  distributed
  1706.      over  four  words.   The  first field (4 bits) indicates the
  1707.      line speed; the second field (4 bits) is the number  of  the
  1708.      modem  that is used by the neighboring IMP on this line; the
  1709.      third field (8 bits) is the number of  line  protocol  ticks
  1710.      covered  by  this  report; the fourth (1 bit) indicates line
  1711.      down(1) or up(0); the fifth (7 bits) is the  IMP  number  of
  1712.      neighbor  IMP on the line; and the sixth (8 bits) is a count
  1713.      of missed protocol packets over the  interval  specified  in
  1714.      the third field.
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720.  
  1721.  
  1722.  
  1723.  
  1724.  
  1725.  
  1726.  
  1727.  
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.                               -28-
  1735.  
  1736.  
  1737. RFC-869                                             December 1983
  1738.  
  1739.  
  1740.  
  1741. A.3  Message Type 3: IMP Modem Throughput
  1742.  
  1743. Description
  1744.  
  1745.      The modem throughput message reports traffic statistics  for
  1746.      each modem in the system. The IMP will collect these data at
  1747.      regular intervals and save them awaiting a poll from the HM.
  1748.      If  a  period  is  missed  by the HM, the new results simply
  1749.      overwrite the old.  Two time stamps bracket  the  collection
  1750.      interval  (data-time  and prev-time) and are an indicator of
  1751.      missed reports.  In addition, mess-time indicates  the  time
  1752.      at which the message was sent.
  1753.  
  1754.      The modem throughput message will accommodate up to fourteen
  1755.      modems  in  one  packet.   A provision is made to split this
  1756.      into multiple packets by including a modem  number  for  the
  1757.      first  entry  in  the packet.  This field is not immediately
  1758.      useful, but if machine sizes grow beyond fourteen modems  or
  1759.      if  modem  statistics become more detailed and use more than
  1760.      three words per modem, this can be used to keep the  message
  1761.      within a single ARPANET packet.
  1762.  
  1763.      The format of the modem throughput message is as follows:
  1764.  
  1765.                   0             0 0             1
  1766.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1767.                  +---------------+---------------+
  1768.                0 |           Mess-Time           |
  1769.                  +---------------+---------------+
  1770.                  |    Software Version Number    |
  1771.                  +---------------+---------------+
  1772.                  |           Data-Time           |
  1773.                  +---------------+---------------+
  1774.                  |           Prev-Time           |
  1775.                  +---------------+---------------+
  1776.                  | Total  Modems |  This  Modem  |
  1777.                  +---------------+---------------+
  1778.                5 |                               |
  1779.                . +             modem             +
  1780.                . |                               |
  1781.                . +           throughput          +
  1782.                . |                               |
  1783.                . +---------------+---------------+
  1784.                . :             modem             :
  1785.                . :                               :
  1786.                . :          throughput           :
  1787.                  +---------------+---------------+
  1788.  
  1789.  
  1790.  
  1791.  
  1792.                               -29-
  1793.  
  1794.  
  1795. RFC-869                                             December 1983
  1796.  
  1797.  
  1798.  
  1799. HMP FIELDS
  1800.  
  1801.  
  1802. System Type
  1803.  
  1804.      IMP = 2
  1805.  
  1806. Message Type
  1807.  
  1808.      IMP Modem Throughput message = 3
  1809.  
  1810. Port Number
  1811.  
  1812.      Unused
  1813.  
  1814. Control Flag
  1815.  
  1816.      Unused
  1817.  
  1818. Sequence Number
  1819.  
  1820.      A 16 bit number  incremented  at  each  collection  interval
  1821.      (i.e.  when  a new throughput message is assembled).  The HM
  1822.      will be  able  to  detect  lost  or  duplicate  messages  by
  1823.      checking the sequence numbers.
  1824.  
  1825. Password
  1826.  
  1827.      The password contains the sequence  number  of  the  polling
  1828.      message to which this message responds.
  1829.  
  1830. IMP MODEM THROUGHPUT FIELDS
  1831.  
  1832. Mess-time
  1833.  
  1834.      The time (in 640ms. units) at which the message was sent  to
  1835.      the HM.
  1836.  
  1837. Software Version Number
  1838.  
  1839.      The IMP version number.
  1840.  
  1841. Data-Time
  1842.  
  1843.      Data-time is the time (in 640ms. units)  when  this  set  of
  1844.      data was collected.  (See Description.)
  1845.  
  1846.  
  1847.  
  1848.  
  1849.  
  1850.                               -30-
  1851.  
  1852.  
  1853. RFC-869                                             December 1983
  1854.  
  1855.  
  1856.  
  1857. Prev-Time
  1858.  
  1859.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  1860.      collection of data (and therefore, is the time when the data
  1861.      in this message began accumulating.)
  1862.  
  1863. Total Modems
  1864.  
  1865.      This is the number of modems in the system.
  1866.  
  1867. This Modem
  1868.  
  1869.      This Modem is the number of the first modem reported in this
  1870.      message.   Large  systems  that  are unable to fit all their
  1871.      modem reports into a single packet may  use  this  field  to
  1872.      separate their message into smaller chunks to take advantage
  1873.      of single packet message efficiencies.
  1874.  
  1875. Modem Throughput
  1876.  
  1877.      Modem  throughput  consists   of   three   words   of   data
  1878.      reporting  packets  and  words  output  on  each modem.  The
  1879.      first  word  counts packets  output and  the  following  two
  1880.      count  word  throughput.   The  double  precision  words are
  1881.      arranged high order first.  (Note  also that  messages  from
  1882.      Honeywell  type machines (316s, 516s and C30s) use a fifteen
  1883.      bit low order word.)  The first block reports output on  the
  1884.      modem  specified  by  "This  Modem".   The  following blocks
  1885.      report on consecutive modems.
  1886.  
  1887.  
  1888.  
  1889.  
  1890.  
  1891.  
  1892.  
  1893.  
  1894.  
  1895.  
  1896.  
  1897.  
  1898.  
  1899.  
  1900.  
  1901.  
  1902.  
  1903.  
  1904.  
  1905.  
  1906.  
  1907.  
  1908.                               -31-
  1909.  
  1910.  
  1911. RFC-869                                             December 1983
  1912.  
  1913.  
  1914.  
  1915. A.4  Message Type 4: IMP Host Throughput
  1916.  
  1917. Description
  1918.  
  1919.      The host throughput message reports traffic  statistics  for
  1920.      each host in the system.  The IMP will collect these data at
  1921.      regular intervals and save them awaiting a poll from the HM.
  1922.      If  a  period  is  missed  by the HM, the new results simply
  1923.      overwrite the old.  Two time stamps bracket  the  collection
  1924.      interval  (data-time  and prev-time) and are an indicator of
  1925.      missed reports.  In addition, mess-time indicates  the  time
  1926.      at which the message was sent.
  1927.  
  1928.      The host throughput format will hold  only  three  hosts  if
  1929.      packet  boundaries are to be respected.  A provision is made
  1930.      to split this into multiple  packets  by  including  a  host
  1931.      number for the first entry in the packet.
  1932.  
  1933.      The format of the host throughput message is as follows:
  1934.  
  1935.                   0             0 0             1
  1936.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1937.                  +---------------+---------------+
  1938.                0 |           Mess-Time           |
  1939.                  +---------------+---------------+
  1940.                  |    Software Version Number    |
  1941.                  +---------------+---------------+
  1942.                  |           Data-Time           |
  1943.                  +---------------+---------------+
  1944.                  |           Prev-Time           |
  1945.                  +---------------+---------------+
  1946.                  |  Total Hosts  |   This  Host  |
  1947.                  +---------------+---------------+
  1948.                5 :              host             :
  1949.                . :           throughput          :
  1950.                  +---------------+---------------+
  1951.  
  1952. HMP FIELDS
  1953.  
  1954. System Type
  1955.  
  1956.      IMP = 2
  1957.  
  1958. Message Type
  1959.  
  1960.      IMP host Throughput message = 4
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.                               -32-
  1967.  
  1968.  
  1969. RFC-869                                             December 1983
  1970.  
  1971.  
  1972.  
  1973. Port Number
  1974.  
  1975.      Unused
  1976.  
  1977. Control Flag
  1978.  
  1979.      Unused
  1980.  
  1981. Sequence Number
  1982.  
  1983.      A 16 bit number  incremented  at  each  collection  interval
  1984.      (i.e.  when  a new throughput message is assembled).  The HM
  1985.      will be  able  to  detect  lost  or  duplicate  messages  by
  1986.      checking the sequence numbers.
  1987.  
  1988. Password
  1989.  
  1990.      The password contains the sequence  number  of  the  polling
  1991.      message to which this message responds.
  1992.  
  1993. IMP HOST THROUGHPUT FIELDS
  1994.  
  1995. Mess-time
  1996.  
  1997.      The time (in 640ms. units) at which the message was sent  to
  1998.      the HM.
  1999.  
  2000. Software Version Number
  2001.  
  2002.      The IMP version number.
  2003.  
  2004. Data-Time
  2005.  
  2006.      Data-time is the time (in 640ms. units)  when  this  set  of
  2007.      data was collected.  (See Description.)
  2008.  
  2009. Prev-Time
  2010.  
  2011.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  2012.      collection of data (and therefore, is the time when the data
  2013.      in this message began accumulating.)
  2014.  
  2015. Total Hosts
  2016.  
  2017.      The total number of hosts in this system.
  2018.  
  2019. This Host
  2020.  
  2021.      This host is the number of the first host reported  in  this
  2022.  
  2023.  
  2024.                               -33-
  2025.  
  2026.  
  2027. RFC-869                                             December 1983
  2028.  
  2029.  
  2030.  
  2031.      message.   Large  systems  that  are unable to fit all their
  2032.      host reports into a single packet  may  use  this  field  to
  2033.      separate their message into smaller chunks to take advantage
  2034.      of single packet message efficiencies.
  2035.  
  2036. Host Throughput
  2037.  
  2038.      Each host throughput block consists of eight  words  in  the
  2039.      following format:
  2040.  
  2041.                  +---------------+---------------+
  2042.                  |      messages to network      |
  2043.                  +---------------+---------------+
  2044.                  |     messages from network     |
  2045.                  +---------------+---------------+
  2046.                  |        packets to net         |
  2047.                  +---------------+---------------+
  2048.                  |       packets from net        |
  2049.                  +---------------+---------------+
  2050.                  |       messages to local       |
  2051.                  +---------------+---------------+
  2052.                  |      messages from local      |
  2053.                  +---------------+---------------+
  2054.                  |        packets to local       |
  2055.                  +---------------+---------------+
  2056.                  |       packets from local      |
  2057.                  +---------------+---------------+
  2058.  
  2059.      Each host throughput message will contain several blocks  of
  2060.      data.   The  first  block  will  contain  data  for the host
  2061.      specified in  First  Host  Number.   Following  blocks  will
  2062.      contain data for consecutive hosts.  All counters are single
  2063.      precision.
  2064.  
  2065.  
  2066.  
  2067.  
  2068.  
  2069.  
  2070.  
  2071.  
  2072.  
  2073.  
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.                               -34-
  2083.  
  2084.  
  2085. RFC-869                                             December 1983
  2086.  
  2087.  
  2088.  
  2089. B  Appendix B - TAC Monitoring
  2090.  
  2091. B.1  Message Type 1: TAC Trap Message
  2092.  
  2093. Description
  2094.  
  2095.      When a trap occurs, it is buffered in the TAC  and  sent  as
  2096.      soon  as possible.  Trap messages are unsolicited.  If traps
  2097.      happen in close sequence, several traps may be sent  in  one
  2098.      message.
  2099.  
  2100.      Through the use of sequence numbers, it will be possible  to
  2101.      determine   how  many  traps  are  being  lost.   If  it  is
  2102.      discovered that many are lost, a  polling  scheme  might  be
  2103.      implemented for traps.
  2104.  
  2105.      A TAC trap message has the following form:
  2106.  
  2107.                   0             0 0             1
  2108.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2109.                  +---------------+---------------+
  2110.                0 |           Version #           |
  2111.                  +---------------+---------------+
  2112.                1 :         first                 :
  2113.                . :             trap              :
  2114.                . :                 data          :
  2115.                . +---------------+---------------+
  2116.                . :         additional            :
  2117.                . :             trap              :
  2118.                . :                 data          :
  2119.                  +---------------+---------------+
  2120.  
  2121.  
  2122. HMP FIELDS
  2123.  
  2124. System Type
  2125.  
  2126.      TAC = 3
  2127.  
  2128. Message Type
  2129.  
  2130.      TAC Trap Message = 1
  2131.  
  2132. Port Number
  2133.  
  2134.      Unused
  2135.  
  2136.  
  2137.  
  2138.  
  2139.  
  2140.                               -35-
  2141.  
  2142.  
  2143. RFC-869                                             December 1983
  2144.  
  2145.  
  2146.  
  2147. Control Flag
  2148.  
  2149.      Unused
  2150.  
  2151. Password or Returned Sequence Number
  2152.  
  2153.      Unused
  2154.  
  2155. Sequence Number
  2156.  
  2157.      A 16 bit number incremented each time a trap message is sent
  2158.      so  that  the  HM  can  order the received trap messages and
  2159.      detect missed messages.
  2160.  
  2161. TAC TRAP FIELDS
  2162.  
  2163. Version #
  2164.  
  2165.      The version # of the TAC Software.
  2166.  
  2167. Trap Reports
  2168.  
  2169.      There can be several blocks of trap data in each message.
  2170.  
  2171.      The format of the trap data is as follows:
  2172.  
  2173.  
  2174.                  +---------------+---------------+
  2175.                  |             Size              |
  2176.                  +---------------+---------------+
  2177.                  |             Time              |
  2178.                  +---------------+---------------+
  2179.                  |            Trap ID            |
  2180.                  +---------------+---------------+
  2181.                  :             Trap              :
  2182.                  :             Data              :
  2183.                  +---------------+---------------+
  2184.                  |            Count              |
  2185.                  +-------------------------------+
  2186.  
  2187.   Size
  2188.  
  2189.      Size is the number of 16 bit words in the trap, not counting
  2190.      the size field.
  2191.  
  2192.   Time
  2193.  
  2194.      The time (in 640ms. units) at which the trap occurred.  This
  2195.      field  is  used  to  sequence  the  traps  in  a message and
  2196.  
  2197.  
  2198.                               -36-
  2199.  
  2200.  
  2201. RFC-869                                             December 1983
  2202.  
  2203.  
  2204.  
  2205.      associate groups of traps.
  2206.  
  2207.   Trap ID
  2208.  
  2209.      This is (usually) the program counter at the trap.   The  ID
  2210.      identifies  the  trap,  and  does  not  have to be a program
  2211.      counter, provided that it uniquely identifies the trap.
  2212.  
  2213.   Trap Data
  2214.  
  2215.      The TAC returns data giving more information about the trap.
  2216.      There are usually two entries: the values in the accumulator
  2217.      and the index register at the occurrence of the trap.
  2218.  
  2219.   Count
  2220.  
  2221.      The TAC Counts repetitions of the same trap ID  and  reports
  2222.      this count here.
  2223.  
  2224.  
  2225.  
  2226.  
  2227.  
  2228.  
  2229.  
  2230.  
  2231.  
  2232.  
  2233.  
  2234.  
  2235.  
  2236.  
  2237.  
  2238.  
  2239.  
  2240.  
  2241.  
  2242.  
  2243.  
  2244.  
  2245.  
  2246.  
  2247.  
  2248.  
  2249.  
  2250.  
  2251.  
  2252.  
  2253.  
  2254.  
  2255.  
  2256.                               -37-
  2257.  
  2258.  
  2259. RFC-869                                             December 1983
  2260.  
  2261.  
  2262.  
  2263. B.2  Message Type 2: TAC Status
  2264.  
  2265. Description
  2266.  
  2267.      The status message gives a quick summary of the state of the
  2268.      TAC.   Status  of the most important features of the TAC are
  2269.      reported  as  well  as  the  current  configuration  of  the
  2270.      machine.
  2271.  
  2272.  
  2273.      A TAC status message has the following form:
  2274.  
  2275.  
  2276.                   0             0 0             1
  2277.                   0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2278.                   ---------------+---------------+
  2279.                0 |         Version Number        |
  2280.                  +---------------+---------------+
  2281.                  |       Last Trap Message       |
  2282.                  +---------------+---------------+
  2283.                  |           Bit Flags           |
  2284.                  +---------------+---------------+
  2285.                  |         Free PDB count        |
  2286.                  +---------------+---------------+
  2287.                  |         Free MBLK count       |
  2288.                  +---------------+---------------+
  2289.                5 |      # of TCP connections     |
  2290.                  +---------------+---------------+
  2291.                  |      # of NCP connections     |
  2292.                  +---------------+---------------+
  2293.                  |         INA A Register        |
  2294.                  +---------------+---------------+
  2295.                  |         INA X Register        |
  2296.                  +---------------+---------------+
  2297.                  |         INA B Register        |
  2298.                  +---------------+---------------+
  2299.               l0 |         restart/reload        |
  2300.                  +---------------+---------------+
  2301.                  |                               |
  2302.                  +          Crash                +
  2303.                  |                               |
  2304.                  +                Data           +
  2305.               13 |                               |
  2306.                  +---------------+---------------+
  2307.  
  2308.  
  2309.  
  2310.  
  2311.  
  2312.  
  2313.  
  2314.                               -38-
  2315.  
  2316.  
  2317. RFC-869                                             December 1983
  2318.  
  2319.  
  2320.  
  2321. HMP FIELDS
  2322.  
  2323. System Type
  2324.  
  2325.      TAC = 3
  2326.  
  2327. Message Type
  2328.  
  2329.      TAC Status Message = 2
  2330.  
  2331. Port Number
  2332.  
  2333.      Unused
  2334.  
  2335. Control Flag
  2336.  
  2337.      Unused
  2338.  
  2339. Sequence Number
  2340.  
  2341.      A 16 bit number incremented each time a  status  message  is
  2342.      sent.
  2343.  
  2344. Returned Sequence Number
  2345.  
  2346.      Contains  the  sequence  number  from  the  polling  message
  2347.      requesting this report.
  2348.  
  2349. TAC STATUS FIELDS
  2350.  
  2351. Version Number
  2352.  
  2353.      The TAC's software version number.
  2354.  
  2355. Last Trap Message
  2356.  
  2357.      Contains the sequence number of the last trap  message  sent
  2358.      to  the  HM.  This will allow the HM to detect how many trap
  2359.      messages are being lost.
  2360.  
  2361.  
  2362.  
  2363.  
  2364.  
  2365.  
  2366.  
  2367.  
  2368.  
  2369.  
  2370.  
  2371.  
  2372.                               -39-
  2373.  
  2374.  
  2375. RFC-869                                             December 1983
  2376.  
  2377.  
  2378.  
  2379. Bit Flags
  2380.  
  2381.      There are sixteen bit  flags  available  for  reporting  the
  2382.      state  of  various  switches  (hardware and software) in the
  2383.      TAC.  The bits are numbered as follows for purposes  of  the
  2384.      discussion below.
  2385.  
  2386.  
  2387.                  0             0 0             1
  2388.                  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2389.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2390.                 | | | | | | | | | | | | | | | | |
  2391.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2392.  
  2393.           The bit flags report the status of the following:
  2394.  
  2395.           Bit         Meaning
  2396.           15          0 => DDT override off; 1 => override on.
  2397.           11-14       0 => Sense Switch n is off; 1 => SSn on.
  2398.           10          0 => Traps to remote monitor;
  2399.                       1 => Traps to console.
  2400.           9           1 => Message generator on.
  2401.           0-8         unused
  2402.  
  2403. Free PDB count
  2404.  
  2405.      The number of PDBs on the free queue.
  2406.  
  2407. Free MBLK count
  2408.  
  2409.      The number of MBLKs on the free queue.
  2410.  
  2411. # of TCP connections
  2412. # of NCP connections
  2413.  
  2414.      The number of open connections for each protocol.
  2415.  
  2416. INA Report
  2417.  
  2418.      These three fields report the values retained by an INA 1011
  2419.      instruction  in  a  C/30.  This  instruction  returns micro-
  2420.      machine status and  errors.   In  a  #316,  the  fields  are
  2421.      meaningless.
  2422.  
  2423.  
  2424.  
  2425.  
  2426.  
  2427.  
  2428.  
  2429.  
  2430.                               -40-
  2431.  
  2432.  
  2433. RFC-869                                             December 1983
  2434.  
  2435.  
  2436.  
  2437. Restart/Reload
  2438.  
  2439.      This word reports a restart or reload of the TAC
  2440.  
  2441.            Value      Meaning
  2442.              1       restarted
  2443.              2       reloaded
  2444.  
  2445.  
  2446. Crash Data
  2447.  
  2448.      Crash  data  reports  the   circumstances   surrounding   an
  2449.      unexpected  crash.   The  first word reports the location of
  2450.      the crash and the following two  are  the  contents  of  the
  2451.      accumulator and index registers.
  2452.  
  2453.  
  2454.  
  2455.  
  2456.  
  2457.  
  2458.  
  2459.  
  2460.  
  2461.  
  2462.  
  2463.  
  2464.  
  2465.  
  2466.  
  2467.  
  2468.  
  2469.  
  2470.  
  2471.  
  2472.  
  2473.  
  2474.  
  2475.  
  2476.  
  2477.  
  2478.  
  2479.  
  2480.  
  2481.  
  2482.  
  2483.  
  2484.  
  2485.  
  2486.  
  2487.  
  2488.                               -41-
  2489.  
  2490.  
  2491. RFC-869                                             December 1983
  2492.  
  2493.  
  2494.  
  2495. B.3  Message Type 3: TAC Throughput
  2496.  
  2497. Description
  2498.  
  2499.      The  TAC  throughput  message  reports  statistics  for  the
  2500.      various modules of the TAC.  The TAC will collect these data
  2501.      at regular intervals and save them awaiting a poll from  the
  2502.      HM.  If a period is missed by the HM, the new results simply
  2503.      overwrite the old.  Two time stamps bracket  the  collection
  2504.      interval  (data-time  and prev-time) and are an indicator of
  2505.      missed reports.  In addition, mess-time indicates  the  time
  2506.      at which the message was sent.
  2507.  
  2508.  
  2509.      A TAC throughput message has the following form:
  2510.  
  2511.                0             0 0             1
  2512.                0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2513.               +---------------+---------------+
  2514.             0 |           Mess-Time           |
  2515.               +---------------+---------------+
  2516.               |           Data-Time           |
  2517.               +---------------+---------------+
  2518.               |           Prev-Time           |
  2519.               +---------------+---------------+
  2520.               |         Version Number        |
  2521.               +---------------+---------------+
  2522.               |       Last Trap Message       |
  2523.               +---------------+---------------+
  2524.             5 |           Bit Flags           |
  2525.               +---------------+---------------+
  2526.               |         Free PDB count        |
  2527.               +---------------+---------------+
  2528.               |         Free MBLK count       |
  2529.               +---------------+---------------+
  2530.               |      # of TCP connections     |
  2531.               +---------------+---------------+
  2532.               |      # of NCP connections     |
  2533.               +---------------+---------------+ ----
  2534.            10 |     Host Input Throughput     |    ^
  2535.               +---------------+---------------+    |
  2536.               |     Host Input Abort Count    |    |
  2537.               +---------------+---------------+    |
  2538.               |    Host Input Garbled Count   |    |
  2539.               +---------------+---------------+    |
  2540.               |    Host Output Throughput     | 1822 info.
  2541.               +---------------+---------------+    |
  2542.                             (continued)
  2543.  
  2544.  
  2545.  
  2546.                               -42-
  2547.  
  2548.  
  2549. RFC-869                                             December 1983
  2550.  
  2551.  
  2552.  
  2553.  
  2554.      TAC throughput (cont.)
  2555.  
  2556.               +---------------+---------------+    |
  2557.               |    Host Output Abort Count    | 1822 info.
  2558.               +---------------+---------------+    |
  2559.            15 |        Host Down Count        |    v
  2560.               +---------------+---------------+ ----
  2561.               |      # of datagrams sent      |    ^
  2562.               +---------------+---------------+    |
  2563.               |    # of datagrams received    |    |
  2564.               +---------------+---------------+  IP info.
  2565.               |    # of datagrams discarded   |    |
  2566.               +---------------+---------------+    |
  2567.               |    # of fragments received    |    v
  2568.               +---------------+---------------+    |
  2569.            20 |    # of fragments discarded   |    v
  2570.               +---------------+---------------+ ----
  2571.               |      # of segments sent       |    ^
  2572.               +---------------+---------------+    |
  2573.               |    # of segments received     |    |
  2574.               +---------------+---------------+    |
  2575.               |    # of segments discarded    |    |
  2576.               +---------------+---------------+  TCP info.
  2577.               |       # of octets sent        |    |
  2578.               +---------------+---------------+    |
  2579.            25 |     # of octets received      |    |
  2580.               +---------------+---------------+    |
  2581.               |     # of retransmissions      |    v
  2582.               +---------------+---------------+ ----
  2583.  
  2584.  
  2585. HMP FIELDS
  2586.  
  2587. System Type
  2588.  
  2589.      TAC = 3
  2590.  
  2591. Message Type
  2592.  
  2593.      TAC Throughput Message = 3
  2594.  
  2595. Port Number
  2596.  
  2597.      Unused
  2598.  
  2599. Control Flag
  2600.  
  2601.      Unused
  2602.  
  2603.  
  2604.                               -43-
  2605.  
  2606.  
  2607. RFC-869                                             December 1983
  2608.  
  2609.  
  2610.  
  2611. Sequence Number
  2612.  
  2613.      A 16 bit number  incremented  at  each  collection  interval
  2614.      (i.e.  when  a new throughput message is assembled).  The HM
  2615.      will be  able  to  detect  lost  or  duplicate  messages  by
  2616.      checking the sequence numbers.
  2617.  
  2618. Returned Sequence Number
  2619.  
  2620.      Contains  the  sequence  number  from  the  polling  message
  2621.      requesting this report.
  2622.  
  2623. TAC THROUGHPUT FIELDS
  2624.  
  2625. Mess-time
  2626.  
  2627.      The time (in 640ms. units) at which the message was sent  to
  2628.      the HM.
  2629.  
  2630. Data-Time
  2631.  
  2632.      Data-time is the time (in 640ms. units)  when  this  set  of
  2633.      data was collected.  (See Description.)
  2634.  
  2635. Prev-Time
  2636.  
  2637.      Prev-time is the time (in 640 ms.  units)  of  the  previous
  2638.      collection of data (and therefore, is the time when the data
  2639.      in this message began accumulating.)
  2640.  
  2641. Version Number
  2642.  
  2643.      The TAC's software version number.
  2644.  
  2645. Last Trap Message
  2646.  
  2647.      Contains the sequence number of the last trap  message  sent
  2648.      to  the  HM.  This will allow the HM to detect how many trap
  2649.      messages are being lost.
  2650.  
  2651. Bit Flags
  2652.  
  2653.      There are sixteen bit  flags  available  for  reporting  the
  2654.      state  of  various  switches  (hardware and software) in the
  2655.      TAC.  The bits are numbered as follows for purposes  of  the
  2656.      discussion below.
  2657.  
  2658.  
  2659.  
  2660.  
  2661.  
  2662.                               -44-
  2663.  
  2664.  
  2665. RFC-869                                             December 1983
  2666.  
  2667.  
  2668.  
  2669.  
  2670.  
  2671.  
  2672.                  0             0 0             1
  2673.                  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2674.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2675.                 | | | | | | | | | | | | | | | | |
  2676.                 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2677.  
  2678.  
  2679.  
  2680.           The bit flags report the status of the following:
  2681.  
  2682.           Bit         Meaning
  2683.           15          0 => DDT override off; 1 => override on.
  2684.           11-14       0 => Sense Switch n is off; 1 => SSn on.
  2685.           10          0 => Traps to remote monitor;
  2686.                       1 => Traps to console.
  2687.           9           1 => Message generator on.
  2688.           0-8         unused
  2689.  
  2690.  
  2691.  
  2692. Free PDB count
  2693.  
  2694.      The number of PDBs on the free queue.
  2695.  
  2696. Free MBLK count
  2697.  
  2698.      The number of MBLKs on the free queue.
  2699.  
  2700. # of TCP connections
  2701. # of NCP connections
  2702.  
  2703.      The number of open connections for each protocol.
  2704.  
  2705. 1822 info.
  2706.  
  2707.      These  six  fields  report  statistics  which  concern   the
  2708.      operation  of  the  1822 protocol module, i.e. the interface
  2709.      between the TAC and its IMP.
  2710.  
  2711. IP info.
  2712.  
  2713.      These five fields report statistics which  concern  Internet
  2714.      Protocol in the TAC.
  2715.  
  2716. TCP info.
  2717.  
  2718.  
  2719.  
  2720.                               -45-
  2721.  
  2722.  
  2723. RFC-869                                             December 1983
  2724.  
  2725.  
  2726.  
  2727.      These  six  fields  report  statistics  which  concern   TCP
  2728.      protocol in the TAC.
  2729.  
  2730.  
  2731.  
  2732.  
  2733.  
  2734.  
  2735.  
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746.  
  2747.  
  2748.  
  2749.  
  2750.  
  2751.  
  2752.  
  2753.  
  2754.  
  2755.  
  2756.  
  2757.  
  2758.  
  2759.  
  2760.  
  2761.  
  2762.  
  2763.  
  2764.  
  2765.  
  2766.  
  2767.  
  2768.  
  2769.  
  2770.  
  2771.  
  2772.  
  2773.  
  2774.  
  2775.  
  2776.  
  2777.  
  2778.                               -46-
  2779.  
  2780.  
  2781. RFC-869                                             December 1983
  2782.  
  2783.  
  2784.  
  2785. C  Appendix C - Gateway Monitoring
  2786.  
  2787. C.1  Gateway Parameters
  2788.  
  2789.      The gateway supports parameters to set Throughput  and  Host
  2790.      traffic matrix measurements.  The type of parameters and the
  2791.      parameter and data pairs are as follows:
  2792.  
  2793.      Throughput - Type = 3
  2794.  
  2795.  
  2796.           Parm.  Description             Control Data Word
  2797.           -----  -----------             -----------------
  2798.  
  2799.           1      Start/Stop              0=Stop,1=Start
  2800.           2      Collection Interval     Time in 1 minute
  2801.                                          ticks
  2802.  
  2803.  
  2804.      Host Traffic Matrix - Type = 4
  2805.  
  2806.  
  2807.           Parm.  Description             Control Data Word
  2808.           -----  -----------             -----------------
  2809.  
  2810.           1      Start/Stop              0=Stop,1=Start
  2811.           2      Collection Interval     Time in 1 minute
  2812.                                          ticks
  2813.           3      HTM Switch Control      Include Control
  2814.                                          Protocols
  2815.  
  2816.  
  2817.  
  2818.  
  2819.  
  2820.  
  2821.  
  2822.  
  2823.  
  2824.  
  2825.  
  2826.  
  2827.  
  2828.  
  2829.  
  2830.  
  2831.  
  2832.  
  2833.  
  2834.  
  2835.  
  2836.                               -47-
  2837.  
  2838.  
  2839. RFC-869                                             December 1983
  2840.  
  2841.  
  2842.  
  2843. C.2  Message Type 1: Gateway Trap
  2844.  
  2845. Description
  2846.  
  2847.      When traps occur in the gateway they  are  buffered.   At  a
  2848.      fixed  time interval (currently 10 seconds) the gateway will
  2849.      send any traps that are in  the  buffer  to  the  monitoring
  2850.      center.  The traps are sent as unsolicited messages.
  2851.  
  2852.      A Gateway trap message has the following format:
  2853.  
  2854.            0             0 0             1
  2855.            0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2856.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2857.           |      Gateway Version #        |
  2858.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2859.  
  2860.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2861.           |    Size of Trap Entry         |       ;First Trap
  2862.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2863.           |       Time of Trap            |
  2864.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2865.           |       Trap ID                 |
  2866.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2867.           |       Process ID              |
  2868.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2869.           |              R0               |
  2870.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2871.           |              R1               |
  2872.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2873.           |              R2               |
  2874.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2875.           |              R3               |
  2876.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2877.                     (continued)
  2878.  
  2879.  
  2880.  
  2881.  
  2882.  
  2883.  
  2884.  
  2885.  
  2886.  
  2887.  
  2888.  
  2889.  
  2890.  
  2891.  
  2892.  
  2893.  
  2894.                               -48-
  2895.  
  2896.  
  2897. RFC-869                                             December 1983
  2898.  
  2899.  
  2900.  
  2901. Gateway Trap Message (cont'd.)
  2902.  
  2903.  
  2904.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2905.           |              R4               |
  2906.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2907.           |              R5               |
  2908.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2909.           |              R6               |
  2910.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2911.           |     Count of this Trap        |
  2912.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2913.                           .
  2914.                           .
  2915.                           .
  2916.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2917.           |                               |
  2918.           |    Additional Trap reports    |
  2919.           |                               |
  2920.           +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2921.  
  2922. HMP FIELDS
  2923.  
  2924. System Type
  2925.  
  2926.      Gateway = 4
  2927.  
  2928. Message Type
  2929.  
  2930.      Gateway Trap Message = 1
  2931.  
  2932. Port Number
  2933.  
  2934.      Unused
  2935.  
  2936. Control Flag
  2937.  
  2938.      Unused
  2939.  
  2940. Password or Returned Sequence Number
  2941.  
  2942.      Unused
  2943.  
  2944. Sequence Number
  2945.  
  2946.      A 16 bit number incremented each time a trap message is sent
  2947.      so  that  the  monitoring center can order the received trap
  2948.      messages and detect missed messages.
  2949.  
  2950.  
  2951.  
  2952.                               -49-
  2953.  
  2954.  
  2955. RFC-869                                             December 1983
  2956.  
  2957.  
  2958.  
  2959. GATEWAY TRAP FIELDS
  2960.  
  2961. Gateway Version #
  2962.  
  2963.      The software version number of the gateway sending the trap.
  2964.  
  2965. Trap Reports
  2966.  
  2967.      The remainder of the  trap  message  consists  of  the  trap
  2968.      reports.  Each consists of the following fields:
  2969.  
  2970.      Size of Trap Entry
  2971.  
  2972.           The size  in  16-bit  words  of  the  trap  entry,  not
  2973.           including the size field.
  2974.  
  2975.      Time of Trap
  2976.  
  2977.           The time in (in 1/60 sec.  ticks)  at  which  the  trap
  2978.           occurred.
  2979.  
  2980.      Trap ID
  2981.  
  2982.           The number of the trap which is used  to  identify  the
  2983.           trap.
  2984.  
  2985.      Process ID
  2986.  
  2987.           The identifier of the process that executed the trap.
  2988.  
  2989.      R0-R6
  2990.  
  2991.           The registers of the machine at the occurrence  of  the
  2992.           trap.
  2993.  
  2994.      Count of this Trap
  2995.  
  2996.           The number of times that this trap occurred.
  2997.  
  2998.  
  2999.  
  3000.  
  3001.  
  3002.  
  3003.  
  3004.  
  3005.  
  3006.  
  3007.  
  3008.  
  3009.  
  3010.                               -50-
  3011.  
  3012.  
  3013. RFC-869                                             December 1983
  3014.  
  3015.  
  3016.  
  3017. C.3  Message Type 2: Gateway Status
  3018.  
  3019. Description
  3020.  
  3021.      The gateway status message gives a summary of the status  of
  3022.      the  gateway.  It reports information such as version number
  3023.      of the gateway, buffer memory usage,  interface  status  and
  3024.      neighbor gateway status.
  3025.  
  3026.      A Gateway Status message has the following format:
  3027.  
  3028.  
  3029.  
  3030.  
  3031.  
  3032.  
  3033.  
  3034.  
  3035.  
  3036.  
  3037.  
  3038.  
  3039.  
  3040.  
  3041.  
  3042.  
  3043.  
  3044.  
  3045.  
  3046.  
  3047.  
  3048.  
  3049.  
  3050.  
  3051.  
  3052.  
  3053.  
  3054.  
  3055.  
  3056.  
  3057.  
  3058.  
  3059.  
  3060.  
  3061.  
  3062.  
  3063.  
  3064.  
  3065.  
  3066.  
  3067.  
  3068.                               -51-
  3069.  
  3070.  
  3071. RFC-869                                             December 1983
  3072.  
  3073.  
  3074.  
  3075.  
  3076.       0                   1         1         2                   3 3
  3077.       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
  3078.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3079.      |         Version Number        |
  3080.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3081.      |     Patch Version Number      |
  3082.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3083.      |  Time Since Gateway Restart   |       ;in minutes
  3084.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3085.      |       Measurement Flags       |       ; Bit flags to indicate which
  3086.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ; measurements are on, 1= On
  3087.      |      Routing Sequence No.     |       ; Sequence # of last routing
  3088.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   update sent
  3089.      |    Access Table Version #     |
  3090.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3091.      |  Load Sharing Table Ver. #    |
  3092.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3093.      |         Memory in Use         |
  3094.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3095.      |         Memory Idle           |
  3096.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3097.      |         Memory Free           |
  3098.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3099.      |   # of Blks   |                       ; Memory Allocation Info
  3100.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3101.      |  Size of 1st Block (in bytes) |
  3102.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3103.      |  # Allocated  |
  3104.      +-+-+-+-+-+-+-+-+
  3105.      |    # Idle     |
  3106.      +-+-+-+-+-+-+-+-+
  3107.              .
  3108.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3109.      | Size of n'th Block (in bytes) |
  3110.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3111.      |  # Allocated  |
  3112.      +-+-+-+-+-+-+-+-+
  3113.      |    # Idle     |
  3114.      +-+-+-+-+-+-+-+-+
  3115.                   (continued)
  3116.  
  3117.  
  3118.  
  3119.  
  3120.  
  3121.  
  3122.  
  3123.  
  3124.  
  3125.  
  3126.                               -52-
  3127.  
  3128.  
  3129. RFC-869                                             December 1983
  3130.  
  3131.  
  3132.  
  3133. Gateway Status Message (cont'd.)
  3134.  
  3135.      +-+-+-+-+-+-+-+-+
  3136.      |   # of Ints.  |
  3137.      +-+-+-+-+-+-+-+-+
  3138.      | Int 1 Flags   |                       ;Interface 1 Status Flags
  3139.      +-+-+-+-+-+-+-+-+                       ; Bit 0 - 1=Up, 0=Down
  3140.                                              ;     1 - 1=Looped, 0=Not
  3141.      +-+-+-+-+-+-+-+-+
  3142.      | Buffers       |                       ; # of buffers on write Queue
  3143.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3144.      | Time since last Status Change |       ;Time since last up/dwn change
  3145.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3146.      |    # of Buffers Allocated     |
  3147.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3148.      |    Data Size for Interface    |
  3149.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3150.      |    Interface 1 Address                                        |
  3151.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3152.                      .
  3153.                      .
  3154.      +---------------+
  3155.      | Int n Flags   |                       ;Interface n Status Flags
  3156.      +-+-+-+-+-+-+-+-+
  3157.      | Buffers       |
  3158.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3159.      | Time since last Status Change |
  3160.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3161.      |    # of Buffers Allocated     |
  3162.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3163.      |    Data Size for Interface    |
  3164.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3165.      |    Interface n Address                                        |
  3166.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3167.      | # Neighbors   |
  3168.      +-+-+-+-+-+-+-+-+
  3169.      | UP/DN Flags   |                       ;Bit flags for Up or Down
  3170.      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up
  3171.              .                               ; MSB is neighbor 1
  3172.              .                               ; (as many bytes as necessary)
  3173.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3174.      |    Neighbor 1 Address                                         |
  3175.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3176.                      .
  3177.                      .
  3178.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3179.      |    Neighbor n Address                                         |
  3180.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3181.  
  3182.  
  3183.  
  3184.                               -53-
  3185.  
  3186.  
  3187. RFC-869                                             December 1983
  3188.  
  3189.  
  3190.  
  3191. HMP FIELDS
  3192.  
  3193. System Type
  3194.  
  3195.      Gateway = 4
  3196.  
  3197. Message Type
  3198.  
  3199.      Gateway Status Message = 2
  3200.  
  3201. Port Number
  3202.  
  3203.      Unused
  3204.  
  3205. Control Flag
  3206.  
  3207.      Unused
  3208.  
  3209. Password or Returned Sequence Number
  3210.  
  3211.      Unused
  3212.  
  3213. Sequence Number
  3214.  
  3215.      A 16 bit number incremented each time a trap message is sent
  3216.      so  that  the  monitoring center can order the received trap
  3217.      messages and detect missed messages.
  3218.  
  3219. GATEWAY STATUS FIELDS
  3220.  
  3221. Version Number
  3222.  
  3223.      The  version  number  of  the  gateway  sending  the  Status
  3224.      message.
  3225.  
  3226. Patch Version Number
  3227.  
  3228.      The patch version number of the gateway.
  3229.  
  3230. Time Since Gateway Restart
  3231.  
  3232.      The time in minutes since the gateway was last restarted  or
  3233.      reloaded.
  3234.  
  3235.  
  3236.  
  3237.  
  3238.  
  3239.  
  3240.  
  3241.  
  3242.                               -54-
  3243.  
  3244.  
  3245. RFC-869                                             December 1983
  3246.  
  3247.  
  3248.  
  3249. Measurement Flags
  3250.  
  3251.      Flags that, if set, indicate which measurements  are  turned
  3252.      on.  Current values are:
  3253.  
  3254.  
  3255.           Bit 0   =   Message Generator
  3256.               1   =   Throughput
  3257.               2   =   Host Traffic Matrix
  3258.               3   =   Access Control 1
  3259.               4   =   Access Control 2
  3260.               5   =   Load Sharing
  3261.               6   =   EGP in Gateway
  3262.  
  3263.  
  3264. Routing Sequence Number
  3265.  
  3266.      The sequence number of the last routing update sent by  this
  3267.      gateway.
  3268.  
  3269. Access Control Table Version #
  3270.  
  3271.      The version number of the access control table.
  3272.  
  3273. Load Sharing Table Version #
  3274.  
  3275.      The version number of the load sharing table.
  3276.  
  3277. Memory In Use
  3278.  
  3279.      The number of bytes of buffer memory that are  currently  in
  3280.      use.
  3281.  
  3282. Memory Idle
  3283.  
  3284.      The  number  of  bytes  of  buffer  memory  that  have  been
  3285.      allocated but are currently idle.
  3286.  
  3287. Memory Free
  3288.  
  3289.      The number of bytes of  buffer  memory  that  has  not  been
  3290.      allocated.
  3291.  
  3292. MEMORY ALLOCATION INFORMATION
  3293.  
  3294.      The next part of the status message contains information  on
  3295.      the buffer pools in the gateway.    The fields are:
  3296.  
  3297.      # of Blocks
  3298.  
  3299.  
  3300.                               -55-
  3301.  
  3302.  
  3303. RFC-869                                             December 1983
  3304.  
  3305.  
  3306.  
  3307.           The number of different buffer pools.
  3308.  
  3309.      Size of Block
  3310.  
  3311.           The size of this block in bytes.
  3312.  
  3313.      # Allocated
  3314.  
  3315.           The number of  blocks  of  this  size  that  have  been
  3316.           allocated.
  3317.  
  3318.      # Idle
  3319.  
  3320.           The number of blocks of this size that are idle.
  3321.  
  3322. GATEWAY INTERFACE FIELDS
  3323.  
  3324.      The next part of the status message are fields that  provide
  3325.      information about the gateway's interfaces.  The fields are:
  3326.  
  3327.      # of Interfaces
  3328.  
  3329.           The number of network interfaces that the gateway has.
  3330.  
  3331.      Interface Flags
  3332.  
  3333.           Flags that indicate the status of this interface.   The
  3334.           current values are:
  3335.  
  3336.                Bit 0  -  1=Up/0=Down
  3337.                    1  -  1=Looped/0=Not Looped
  3338.  
  3339.  
  3340.      Buffers
  3341.  
  3342.           The numbers on this interfaces write queue.
  3343.  
  3344.      Time Since Last Status Change
  3345.  
  3346.           The time in minutes since this interface changed status
  3347.           (Up/Down).
  3348.  
  3349.      # of Buffers Allocated
  3350.  
  3351.           The number of buffers allocated for this interface.
  3352.  
  3353.      Data Size for Interface
  3354.  
  3355.           The buffer size required for this interface.
  3356.  
  3357.  
  3358.                               -56-
  3359.  
  3360.  
  3361. RFC-869                                             December 1983
  3362.  
  3363.  
  3364.  
  3365.      Interface Address
  3366.  
  3367.           The Internet address of this interface.
  3368.  
  3369. NEIGHBOR GATEWAY FIELDS
  3370.  
  3371.      The final part of the status message consists of information
  3372.      about this gateway's neighbor gateways.  The fields are:
  3373.  
  3374.      # of Neighbors
  3375.  
  3376.           The number of gateways that are  neighbor  gateways  to
  3377.           this gateway.
  3378.  
  3379.      UP/DN Flags
  3380.  
  3381.           Bit flags to indicate if the neighbor is up or down.
  3382.  
  3383.      Neighbor Address
  3384.  
  3385.           The Internet address of the neighbor gateway.
  3386.  
  3387.  
  3388.  
  3389.  
  3390.  
  3391.  
  3392.  
  3393.  
  3394.  
  3395.  
  3396.  
  3397.  
  3398.  
  3399.  
  3400.  
  3401.  
  3402.  
  3403.  
  3404.  
  3405.  
  3406.  
  3407.  
  3408.  
  3409.  
  3410.  
  3411.  
  3412.  
  3413.  
  3414.  
  3415.  
  3416.                               -57-
  3417.  
  3418.  
  3419. RFC-869                                             December 1983
  3420.  
  3421.  
  3422.  
  3423. C.4  Message Type 3: Gateway Throughput
  3424.  
  3425. Description
  3426.  
  3427.      The gateway collects throughput statistics for the  gateway,
  3428.      its interfaces, and its neighbor gateways.  It collects them
  3429.      for regular intervals and will save them for collection  via
  3430.      a  Poll  message  from the Monitoring host.  If they are not
  3431.      collected by the end of the next interval, they will be lost
  3432.      because another copy will be put into the saved area.
  3433.  
  3434.      A Gateway Throughput message has the following format:
  3435.  
  3436.       0                   1         1         2                   3 3
  3437.       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
  3438.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3439.      |     Gateway Version Number    |
  3440.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3441.      |     Collection Time in Min    |
  3442.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3443.      |      Number of Interfaces     |
  3444.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3445.      |       Number of Neighbors     |
  3446.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3447.      |  Number of Host Unreachable   |       ; # of packets dropped because
  3448.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   Host was Unreachable
  3449.      |  Number of Net Unreachable    |
  3450.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+       ;   Net was Unreachable
  3451.  
  3452.      ; Interface Counters
  3453.  
  3454.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3455.      |  Interface Address                                            |
  3456.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3457.      |   Packets Dropped on Input    |
  3458.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3459.      |     Count of IP Errors        |
  3460.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3461.      |   Count of Datagrams for Us   |
  3462.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3463.      |   Datagrams to be Forwarded   |
  3464.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3465.      |   Count of Datagrams Looped   |
  3466.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3467.                              (continued)
  3468.  
  3469.  
  3470.  
  3471.  
  3472.  
  3473.  
  3474.                               -58-
  3475.  
  3476.  
  3477. RFC-869                                             December 1983
  3478.  
  3479.  
  3480.  
  3481. Gateway Throughput Message (cont'd.)
  3482.  
  3483.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3484.      |  Count of Bytes Input                                         |
  3485.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3486.      |  Count of Datagrams From Us   |
  3487.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3488.      | Count that were Forwarded     |
  3489.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3490.      |  Count of Local Net Dropped   |
  3491.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3492.      |  Count of Queue full Dropped  |
  3493.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3494.      |  Count of Bytes Output                                        |
  3495.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3496.                      .
  3497.                      .
  3498.                      .
  3499.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3500.      |                                                               |
  3501.      |          Counters For Additional Interfaces                   |
  3502.      |                                                               |
  3503.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3504.  
  3505.      ; Neighbor counters
  3506.  
  3507.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3508.      |  Neighbor Address                                             |
  3509.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3510.      | Count of Routing Updates TO   |
  3511.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3512.      |Count of Routing Updates FROM  |
  3513.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3514.                               (continued)
  3515.  
  3516.  
  3517.  
  3518.  
  3519.  
  3520.  
  3521.  
  3522.  
  3523.  
  3524.  
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530.  
  3531.  
  3532.                               -59-
  3533.  
  3534.  
  3535. RFC-869                                             December 1983
  3536.  
  3537.  
  3538.  
  3539. Gateway Throughput Message (cont'd.)
  3540.  
  3541.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3542.      | Pkts from US sent to/via Neig |
  3543.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3544.      |  Pkts forwarded to/via Neighb |
  3545.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3546.      |  Datagrams Local Net Dropped  |
  3547.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3548.      | Datagrams Queue full Dropped  |
  3549.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3550.      | Count of Bytes send to Neighbor                               |
  3551.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3552.                      .
  3553.                      .
  3554.                      .
  3555.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3556.      |                                                               |
  3557.      |        Counters for Additional Neighbor Gateways              |
  3558.      |                                                               |
  3559.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3560.  
  3561.  
  3562. HMP FIELDS
  3563.  
  3564. System Type
  3565.  
  3566.      Gateway = 4
  3567.  
  3568. Message Type
  3569.  
  3570.      Gateway Throughput Message = 3
  3571.  
  3572. Port Number
  3573.  
  3574.      Unused
  3575.  
  3576. Control Flag
  3577.  
  3578.      Unused
  3579.  
  3580. Password or Returned Sequence Number
  3581.  
  3582.      Unused
  3583.  
  3584. Sequence Number
  3585.  
  3586.      A 16 bit number incremented each time a trap message is sent
  3587.      so  that  the  HM  can  order the received trap messages and
  3588.  
  3589.  
  3590.                               -60-
  3591.  
  3592.  
  3593. RFC-869                                             December 1983
  3594.  
  3595.  
  3596.  
  3597.      detect missed messages.
  3598.  
  3599. GATEWAY THROUGHPUT FIELDS
  3600.  
  3601. Gateway Version Number
  3602.  
  3603.      The software version number of the gateway sending the trap.
  3604.  
  3605. Collection Time in Min.
  3606.  
  3607.      The time period in minutes in which the throughput  data  is
  3608.      to be collected.
  3609.  
  3610. Number of Interfaces
  3611.  
  3612.      The number of interfaces this gateway has.
  3613.  
  3614. Number of Neighbors
  3615.  
  3616.      The number of neighbor gateways this gateway has.
  3617.  
  3618. Number of Host Unreachable
  3619.  
  3620.      The  number  of  packets  dropped  because  the   Host   was
  3621.      unreachable.
  3622.  
  3623. Number of Net Unreachable
  3624.  
  3625.      The number  of  packets  dropped  because  the  Network  was
  3626.      unreachable.
  3627.  
  3628. INTERFACE COUNTERS
  3629.  
  3630.      The next part of the Throughput  message  contains  counters
  3631.      for   the  gateways  interfaces.   Each  interface  has  the
  3632.      following fields:
  3633.  
  3634.      Interface Address
  3635.  
  3636.           The Internet address of this interface.
  3637.  
  3638.      Packets Dropped on Input
  3639.  
  3640.           The number  of  packets  on  input  to  this  interface
  3641.           because there were not enough buffers.
  3642.  
  3643.      Count of IP Errors
  3644.  
  3645.           The number of packets received with bad IP headers.
  3646.  
  3647.  
  3648.                               -61-
  3649.  
  3650.  
  3651. RFC-869                                             December 1983
  3652.  
  3653.  
  3654.  
  3655.      Count of Datagrams for Us
  3656.  
  3657.           The number of  datagrams  received  addressed  to  this
  3658.           gateway.
  3659.  
  3660.      Datagrams to be Forwarded
  3661.  
  3662.           The number of datagrams were not for this  gateway  and
  3663.           should be sent out another interface.
  3664.  
  3665.      Count of Datagrams Looped
  3666.  
  3667.           The number of datagrams that were received on and  sent
  3668.           out of this interface.
  3669.  
  3670.      Count of Bytes Input
  3671.  
  3672.           The number of bytes received on this interface.
  3673.  
  3674.      Count of Datagrams From Us
  3675.  
  3676.           The  number  of  datagrams  that  originated  at   this
  3677.           gateway.
  3678.  
  3679.      Count that were Forwarded
  3680.  
  3681.           The number of datagrams that were forwarded to  another
  3682.           gateway.
  3683.  
  3684.      Count of Local Net Dropped
  3685.  
  3686.           The number of packets  that  were  dropped  because  of
  3687.           local network flow control restrictions.
  3688.  
  3689.      Count of Queue full Dropped
  3690.  
  3691.           The number of packets that  were  dropped  because  the
  3692.           output queue was full.
  3693.  
  3694.      Count of Bytes Output
  3695.  
  3696.           The number of bytes sent out on this interface.
  3697.  
  3698.  
  3699.  
  3700.  
  3701.  
  3702.  
  3703.  
  3704.  
  3705.  
  3706.                               -62-
  3707.  
  3708.  
  3709. RFC-869                                             December 1983
  3710.  
  3711.  
  3712.  
  3713. NEIGHBOR COUNTERS
  3714.  
  3715.      The last part of the Throughput message are counts for  each
  3716.      neighbor gateway.  The fields are:
  3717.  
  3718.      Neighbor Address
  3719.  
  3720.           The Internet address of this neighbor gateway.
  3721.  
  3722.      Count of Routing Updates TO
  3723.  
  3724.           The number of routing updates  sent  to  this  neighbor
  3725.           gateway.
  3726.  
  3727.      Count of Routing Updates FROM
  3728.  
  3729.           The  number  of  routing  updates  received  from  this
  3730.           neighbor gateway.
  3731.  
  3732.      Pkts from US sent to/via Neig
  3733.  
  3734.           The number of packets from this gateway sent to or  via
  3735.           this neighbor gateway.
  3736.  
  3737.      Pkts forwarded to/via Neighb
  3738.  
  3739.           The number of packets forwarded to or via this neighbor
  3740.           gateway.
  3741.  
  3742.      Datagrams Local Net Dropped
  3743.  
  3744.           The  number  of  datagrams  dropped  to  this  neighbor
  3745.           gateway   because   of   local   network  flow  control
  3746.           restrictions.
  3747.  
  3748.      Datagrams Queue full Dropped
  3749.  
  3750.           The  number  of  datagrams  dropped  to  this  neighbor
  3751.           because the output queue was full.
  3752.  
  3753.      Count of Bytes send to Neighbor
  3754.  
  3755.           The number of bytes sent to this neighbor gateway.
  3756.  
  3757.  
  3758.  
  3759.  
  3760.  
  3761.  
  3762.  
  3763.  
  3764.                               -63-
  3765.  
  3766.  
  3767. RFC-869                                             December 1983
  3768.  
  3769.  
  3770.  
  3771. C.5  Message Type 4: Gateway Host Traffic Matrix
  3772.  
  3773. Description
  3774.  
  3775.      The Host Traffic Matrix (HTM) message  contains  information
  3776.      about  the  traffic  that  flows  through the gateway.  Each
  3777.      entry consists of the number of datagrams sent and  received
  3778.      for a particular source/destination pair.
  3779.  
  3780.      A Gateway HTM message has the following format:
  3781.  
  3782.       0                   1         1         2                   3 3
  3783.       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
  3784.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3785.      |     Gateway Version Number    |
  3786.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3787.      |        Overflow counter       |
  3788.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3789.      |     Collection Time in Min    |
  3790.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3791.      |     Number of HTM entries     |
  3792.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3793.  
  3794.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3795.      |    IP Source Address                                          |
  3796.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3797.      |    IP Destination Address                                     |
  3798.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3799.      | IP Protocol   |  (unused)     |
  3800.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3801.      |    Counter for SRC -> DST datagrams                           |
  3802.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3803.      |    Counter for DST -> SRC datagrams                           |
  3804.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3805.                      .
  3806.                      .
  3807.                      .
  3808.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3809.      |                                                               |
  3810.      |      Additional HTM Reports                                   |
  3811.      |                                                               |
  3812.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3813.  
  3814.  
  3815.  
  3816.  
  3817.  
  3818.  
  3819.  
  3820.  
  3821.  
  3822.                               -64-
  3823.  
  3824.  
  3825. RFC-869                                             December 1983
  3826.  
  3827.  
  3828.  
  3829. HMP FIELDS
  3830.  
  3831. System Type
  3832.  
  3833.      Gateway = 4
  3834.  
  3835. Message Type
  3836.  
  3837.      Gateway HTM Message = 4
  3838.  
  3839. Port Number
  3840.  
  3841.      Unused
  3842.  
  3843. Control Flag
  3844.  
  3845.      Unused
  3846.  
  3847. Password or Returned Sequence Number
  3848.  
  3849.      Unused
  3850.  
  3851. Sequence Number
  3852.  
  3853.      A 16 bit number incremented each time a trap message is sent
  3854.      so  that  the  HM  can  order the received trap messages and
  3855.      detect missed messages.
  3856.  
  3857. GATEWAY HTM FIELDS
  3858.  
  3859. Gateway Version Number
  3860.  
  3861.      The software version number of this gateway.
  3862.  
  3863. Overflow counter
  3864.  
  3865.      The number of HTM entries lost because the  HTM  buffer  was
  3866.      full.
  3867.  
  3868. Collection Time in Min
  3869.  
  3870.      The time period in minutes in which the HTM  data  is  being
  3871.      collected.
  3872.  
  3873. Number of HTM entries
  3874.  
  3875.      The number of HTM reports included in this message.
  3876.  
  3877.  
  3878.  
  3879.  
  3880.                               -65-
  3881.  
  3882.  
  3883. RFC-869                                             December 1983
  3884.  
  3885.  
  3886.  
  3887. HTM ENTRIES
  3888.  
  3889.      The remainder of the HTM message consists of the actual  HTM
  3890.      entries.  Each entry consists of the following fields:
  3891.  
  3892.      IP Source Address
  3893.  
  3894.           The source Internet  address  of  the  datagrams  being
  3895.           counted.
  3896.  
  3897.      IP Destination Address
  3898.  
  3899.           The destination Internet address of the datagrams being
  3900.           counted.
  3901.  
  3902.      IP Protocol
  3903.  
  3904.           The protocol number of the datagrams.
  3905.  
  3906.      Counter for SRC -> DST datagrams
  3907.  
  3908.           The  number  of  datagrams  sent  in  the   Source   to
  3909.           Destination address direction.
  3910.  
  3911.      Counter for DST -> SRC datagrams
  3912.  
  3913.           The number of datagrams  sent  in  the  Destination  to
  3914.           Source address direction.
  3915.  
  3916.  
  3917.  
  3918.  
  3919.  
  3920.  
  3921.  
  3922.  
  3923.  
  3924.  
  3925.  
  3926.  
  3927.  
  3928.  
  3929.  
  3930.  
  3931.  
  3932.  
  3933.  
  3934.  
  3935.  
  3936.  
  3937.  
  3938.                               -66-
  3939.  
  3940.  
  3941. RFC-869                                             December 1983
  3942.  
  3943.  
  3944.  
  3945. C.6  Message Type 6: Gateway Routing
  3946.  
  3947. Description
  3948.  
  3949.      The Routing message contains information  about  routes  the
  3950.      gateway  has  to the networks that make up the Internet.  It
  3951.      includes information about its interfaces and  its  neighbor
  3952.      gateways.
  3953.  
  3954.      A Gateway Routing message has the following format:
  3955.  
  3956.       0                   1         1         2                   3 3
  3957.       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
  3958.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3959.      |         Version Number        |
  3960.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3961.      |   # of Ints.  |
  3962.      +-+-+-+-+-+-+-+-+
  3963.      | UP/DN Flags   |                       ;Bit flags for Up or Down
  3964.      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up
  3965.              .                               ; MSB is interface 1
  3966.              .                               ; (as many bytes as necessary)
  3967.              .
  3968.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3969.      |    Interface 1 Address                                        |
  3970.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3971.                      .
  3972.                      .
  3973.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3974.      |    Interface n Address                                        |
  3975.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3976.      | # Neighbors   |
  3977.      +-+-+-+-+-+-+-+-+
  3978.      | UP/DN Flags   |                       ;Bit flags for Up or Down
  3979.      +-+-+-+-+-+-+-+-+                       ; 0 = Dwn,  1 = Up
  3980.              .                               ; MSB is neighbor 1
  3981.              .                               ; (as many bytes as necessary)
  3982.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3983.      |    Neighbor 1 Address                                         |
  3984.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3985.                      .
  3986.                      .
  3987.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3988.      |    Neighbor n Address                                         |
  3989.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3990.  
  3991.                          (continued)
  3992.  
  3993.  
  3994.  
  3995.  
  3996.                               -67-
  3997.  
  3998.  
  3999. RFC-869                                             December 1983
  4000.  
  4001.  
  4002.  
  4003. Gateway Routing Message (cont'd.)
  4004.  
  4005.      +-+-+-+-+-+-+-+-+
  4006.      | # of Networks |
  4007.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  4008.      | Network 1 #   |               |               |  ; 1, 2, or 3 bytes
  4009.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  4010.      |   Distance    |
  4011.      +-+-+-+-+-+-+-+-+
  4012.      |   Neighbor #  |
  4013.      +-+-+-+-+-+-+-+-+
  4014.                      .
  4015.                      .
  4016.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  4017.      | Network n #   |               |               |  ; 1, 2, or 3 bytes
  4018.      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  4019.      |   Distance    |
  4020.      +-+-+-+-+-+-+-+-+
  4021.      |   Neighbor #  |
  4022.      +-+-+-+-+-+-+-+-+
  4023.  
  4024. HMP FIELDS
  4025.  
  4026. System Type
  4027.  
  4028.      Gateway = 4
  4029.  
  4030. Message Type
  4031.  
  4032.      Gateway Trap Message = 6
  4033.  
  4034. Port Number
  4035.  
  4036.      Unused
  4037.  
  4038. Control Flag
  4039.  
  4040.      Unused
  4041.  
  4042. Password or Returned Sequence Number
  4043.  
  4044.      Unused
  4045.  
  4046. Sequence Number
  4047.  
  4048.      A 16 bit number incremented each time a trap message is sent
  4049.      so  that  the  HM  can  order the received trap messages and
  4050.      detect missed messages.
  4051.  
  4052.  
  4053.  
  4054.                               -68-
  4055.  
  4056.  
  4057. RFC-869                                             December 1983
  4058.  
  4059.  
  4060.  
  4061. GATEWAY ROUTING FIELDS
  4062.  
  4063. Gateway Version #
  4064.  
  4065.      The software version number of the gateway sending the trap.
  4066.  
  4067. INTERFACE FIELDS
  4068.  
  4069.      The first part of the routing message  contains  information
  4070.      about  the  gateway's  interfaces.   There  is data for each
  4071.      interface.  The fields are:
  4072.  
  4073.      # of Interfaces
  4074.  
  4075.           The number of interfaces that this gateway has.
  4076.  
  4077.      UP/DN Flags
  4078.  
  4079.           Bit flags to indicate if the Interface is up or down.
  4080.  
  4081.      Interface Address
  4082.  
  4083.           The Internet address of the Interface.
  4084.  
  4085. NEIGHBOR FIELDS
  4086.  
  4087.      The next part of the routing  message  contains  information
  4088.      about this gateway's neighbor gateways.  The fields are:
  4089.  
  4090.      # of Neighbors
  4091.  
  4092.           The number of gateways that are  neighbor  gateways  to
  4093.           this gateway.
  4094.  
  4095.      UP/DN Flags
  4096.  
  4097.           Bit flags to indicate if the neighbor is up or down.
  4098.  
  4099.      Neighbor Address
  4100.  
  4101.           The Internet address of the neighbor gateway.
  4102.  
  4103. NETWORK ROUTING FIELDS
  4104.  
  4105.      The last part of the routing  message  contains  information
  4106.      about   this  gateway's  routes  to  other  networks.   This
  4107.      includes the distance to each  network  and  which  neighbor
  4108.      gateway is the route to the network.  The fields are:
  4109.  
  4110.  
  4111.  
  4112.                               -69-
  4113.  
  4114.  
  4115. RFC-869                                             December 1983
  4116.  
  4117.  
  4118.  
  4119.      # of Networks
  4120.  
  4121.           The number of networks that  are  reachable  from  this
  4122.           gateway.
  4123.  
  4124.      Network #
  4125.  
  4126.           The network  number  of  this  network.   This  is  the
  4127.           network  part  of  the Internet address and may be one,
  4128.           two, or three bytes in length depending on  whether  it
  4129.           is a Class A, B, or C address.
  4130.  
  4131.      Distance
  4132.  
  4133.           The distance in hops to this network.  Zero hops  means
  4134.           that the network is directly connected to this gateway.
  4135.           A negative number means that the network  is  currently
  4136.           unreachable.
  4137.  
  4138.      Neighbor #
  4139.  
  4140.           The neighbor gateway that is the next hop to reach this
  4141.           network.    This   is   an   index  into  the  previous
  4142.           information on this gateway's neighbor gateways.   This
  4143.           field  is  only  valid  if the Distance is greater than
  4144.           zero.
  4145.  
  4146.  
  4147.  
  4148.  
  4149.  
  4150.  
  4151.  
  4152.  
  4153.  
  4154.  
  4155.  
  4156.  
  4157.  
  4158.  
  4159.  
  4160.  
  4161.  
  4162.  
  4163.  
  4164.  
  4165.  
  4166.  
  4167.  
  4168.  
  4169.  
  4170.                               -70-
  4171.