メインコンテンツまでスキップ

5. Operation and Maintenance

Network Working Group                                          R. Braden
Request for Comments: 1009 J. Postel
Obsoletes: 985 ISI
June 1987
Requirements for Internet Gateways

5. Operation and Maintenance​

5.1. Introduction​

Facilities to support operation and maintenance (O&M) activities form an essential part of any gateway implementation. The following kinds of activity are included under gateway O&M:

  *  Diagnosing hardware problems in the gateway processor, in
its network interfaces, or in the connected networks,
modems, or communication lines.

* Installing a new version of the gateway software.

* Restarting or rebooting a gateway after a crash.

* Configuring (or reconfiguring) the gateway.

* Detecting and diagnosing Internet problems such as
congestion, routing loops, bad IP addresses, black holes,
packet avalanches, and misbehaved hosts.

* Changing network topology, either temporarily (e.g., to
diagnose a communication line problem) or permanently.

* Monitoring the status and performance of the gateways and
the connected networks.

* Collecting traffic statistics for use in (Inter-)network
planning.

Gateways, packet-switches, and their connected communication lines are often operated as a system by a centralized O&M organization. This organization will maintain a (Inter-)network operation center, or NOC, to carry out its O&M functions. It is essential that gateways support remote control and monitoring from such a NOC, through an Internet path (since gateways might not be connected to the same network as their NOC). Furthermore, an IP datagram traversing the Internet will often use gateways under the control of more than one NOC; therefore, Internet problem diagnosis will often involve cooperation of personnel of more than one NOC. In some cases, the same gateway may need to be monitored by more than one NOC.

The tools available for monitoring at a NOC may cover a wide range of sophistication. Proposals have included multi-window, dynamic displays of the entire gateway system, and the use of AI techniques for automatic problem diagnosis.

Gateway O&M facilities discussed here are only a part of the large and difficult problem of Internet management. These problems encompass not only multiple management organizations, but also multiple protocol layers. For example, at the current stage of evolution of the Internet architecture, there is a strong coupling between host TCP implementations and eventual IP-level congestion in the gateway system [9]. Therefore, diagnosis of congestion problems will sometimes require the monitoring of TCP statistics in hosts. Gateway algorithms also interact with local network performance, especially through handling of broadcast packets and ARP, and again diagnosis will require access to hosts (e.g., examining ARP caches). However, consideration of host monitoring is beyond the scope of this RFC.

There are currently a number of R&D efforts in progress in the area of Internet management and more specifically gateway O&M. It is hoped that these will lead quickly to Internet standards for the gateway protocols and facilities required in this area. This is also an area in which vendor creativity can make a significant contribution.

5.2. Gateway O&M Models​

There is a range of possible models for performing O&M functions on a gateway. At one extreme is the local-only model, under which the O&M functions can only be executed locally, e.g., from a terminal plugged into the gateway machine. At the other extreme, the fully-remote model allows only an absolute minimum of functions to be performed locally (e.g., forcing a boot), with most O&M being done remotely from the NOC. There intermediate models, e.g., one in which NOC personnel can log into the gateway as a host, using the Telnet protocol, to perform functions which can also be invoked locally. The local-only model may be adequate in a few gateway installations, but in general remote operation from a NOC will be required, and therefore remote O&M provisions are required for most gateways.

Remote O&M functions may be exercised through a control agent (program). In the direct approach, the gateway would support remote O&M functions directly from the NOC using standard Internet protocols (e.g., UDP or TCP); in the indirect approach, the control agent would support these protocols and control the gateway itself using proprietary protocols. The direct approach is preferred, although either approach is acceptable. The use of specialized host hardware and/or software requiring significant additional investment is discouraged; nevertheless, some vendors may elect to provide the control agent as an integrated part of the network in which the gateways are a part. If this is the case, it is required that a means be available to operate the control agent from a remote site using Internet protocols and paths and with equivalent functionality with respect to a local agent terminal.

It is desirable that a control agent and any other NOC software tools which a vendor provides operate as user programs in a standard operating system. The use of the standard Internet protocols UDP and TCP for communicating with the gateways should facilitate this.

Remote gateway monitoring and (especially) remote gateway control present important access control problems which must be addressed. Care must also be taken to ensure control of the use of gateway resources for these functions. It is not desirable to let gateway monitoring take more than some limited fraction of the gateway CPU time, for example. On the other hand, O&M functions must receive priority so they can be exercised when the gateway is congested, i.e., when O&M is most needed.

There are no current Internet standards for the control and monitoring protocols, although work is in progress in this area. The Host Monitoring Protocol (HMP) [7] could be used as a model until a standard is developed; however, it is strongly recommended that gateway O&M protocol be built on top of one of the standard Internet end-to-end protocols UDP or TCP. An example of a very simple but effective approach to gateway monitoring is contained in RFC-996 [43].

5.3. Gateway O&M Functions​

The following O&M functions need to be performed in a gateway:

  A.  Maintenance -- Hardware Diagnosis

     Each gateway must operate as a stand-alone device for the
     purposes of local hardware maintenance.  Means must be
     available to run diagnostic programs at the gateway site
     using only on-site tools, which might be only a diskette or
     tape and local terminal.  It is desirable, although not
     required, to be able to run diagnostics or dump the gateway
     via the network in case of fault.  Means should be provided
     to allow remote control from the NOC of of modems attached
     to the gateway.  The most important modem control capability
     is entering and leaving loopback mode, to diagnose line
     problems.

  B.  Control -- Dumping and Rebooting

     It must be possible to dump and reboot a stand-alone gateway
     upon command from the NOC.  In addition, a stand-alone
     gateway must include a watchdog timer that either initiates
     a reboot automatically or signals a remote control site if
     not reset periodically by the software.  It is desirable
     that the boot data involved reside at an Internet host
     (e.g., the NOC host) and be transmitted via the net;
     however, the use of local devices at the gateway site is
     acceptable.

  C.  Control -- Configuring the Gateway

     Every gateway will have a number of configuration parameters
     which must be set (see the next section for examples).  It
     must be possible to update the parameters without rebooting
     the gateway; at worst, a restart may be required.

  D.  Monitoring -- Status and Performance

     A mechanism must be provided for retrieving status and
     statistical information from a gateway.  A gateway must
     supply such information in response to a polling message
     from the NOC.  In addition, it may be desirable to configure
     a gateway to transmit status spontaneously and periodically
     to a NOC (or set of NOCs), for recording and display.

     Examples of interesting status information include: link
     status, queue lengths, buffer availability, CPU and memory
     utilization, the routing data-base, error counts, and packet
     counts.  Counts should be kept for dropped datagrams,
     separated by reason.  Counts of ICMP datagrams should be
     kept by type and categorized into those originating at the
     gateway, and those destined for the gateway.  It would be
     useful to maintain many of these statistics by network
     interface, by source/destination network pair, and/or by
     source/destination host pair.

     Note that a great deal of useful monitoring data is often to
     be found in the routing data-base.  It is therefore useful
     to be able to tap into this data-base from the NOC.

  E.  Monitoring -- Error Logging

     A gateway should be capable of asynchronously sending
     exception ("trap") reports to one or more specified Internet
     addresses, one of which will presumably be the NOC host.

     There must also be a mechanism to limit the frequency of
     such trap reports, and the parameters controlling this
     frequency must be settable in the gateway configuration.

     Examples of conditions which should result in traps include:
     datagrams discarded because of TTL expiration (an indicator
     of possible routing loops); resource shortages; or an
     interface changing its up/down status.

5.4. Gateway Configuration Parameters​

Every gateway will have a set of configuration parameters controlling its operation. It must be possible to set these parameters remotely from the NOC or locally at any time, without taking the gateway down.

The following is a partial but representative list of possible configuration parameters for a full-function gateway. The items marked with "(i)" should be settable independently for each network interface.

      * (i)  IP (sub-) network address

* (i) Subnet address mask

* (i) MTU of local network

* (i) Hardware interface address

* (i) Broadcast compatibility option (0s or 1s)

* EGP parameters -- neighbors, Autonomous System number,
and polling parameters

* Static and/or default routes, if any

* Enable/Disable Proxy ARP

* Source Quench parameters

* Address filter configuration

* Boot-host address

* IP address of time server host

* IP address(es) of logging host(s)

* IP address(es) of hosts to receive traps

* IP address(es) of hosts authorized to issue control
commands

* Error level for logging

* Maximum trap frequency

* Hold-down period (if any)