home *** CD-ROM | disk | FTP | other *** search
/ Internet Info 1997 December / Internet_Info_CD-ROM_Walnut_Creek_December_1997.iso / rfc / rfc1841 < prev    next >
Text File  |  1995-10-04  |  146KB  |  3,700 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7. Network Working Group                                         J. Chapman
  8. Request For Comments: 1841                           Cisco Systems, Inc.
  9. Category: Informational                                          D. Coli
  10.                                                      Cisco Systems, Inc.
  11.                                                                A. Harvey
  12.                                                      Cisco Systems, Inc.
  13.                                                                B. Jensen
  14.                                                      Cisco Systems, Inc.
  15.                                                                K. Rowett
  16.                                                      Cisco Systems, Inc.
  17.                                                           September 1995
  18.  
  19.  
  20.             PPP Network Control Protocol for LAN Extension
  21.  
  22. Status of Memo
  23.  
  24.    This memo provides information for the Internet community.  This memo
  25.    does not specify an Internet standard of any kind.  Distribution of
  26.    this memo is unlimited.
  27.  
  28. Abstract
  29.  
  30.    Telecommunications infrastructure is improving to offer higher
  31.    bandwidth connections at lower cost. Access to the network is
  32.    changing from modems to more intelligent devices. This informational
  33.    RFC discusses a PPP Network Control Protocol for one such intelligent
  34.    device. The protocol is the LAN extension interface protocol.
  35.  
  36. Table of Contents
  37.  
  38.    1.0    Introduction ...........................................    3
  39.       1.1   LAN Extension Interface Topology .....................    4
  40.       1.2   LAN Extension Interface Architecture .................    5
  41.       1.3   LAN Extension Interface Protocol .....................    6
  42.  
  43.    2.0    LAN Extension Interface Protocol Control Packets........    8
  44.       2.1   Startup Options ......................................    8
  45.       2.2   Remote Command Options ...............................   14
  46.       2.3   Conditions for Sending PPP-LEX Packet ................   17
  47.  
  48.    3.0    Filter Protocol Type ...................................   18
  49.       3.1   LEX_RCMD_REQUEST - Filter Protocol Type...............   19
  50.       3.2   Response Packets - Filter Protocol Type...............   21
  51.  
  52.    4.0    Filter MAC Address .....................................   22
  53.       4.1   LEX_RCMD_REQUEST - Filter MAC Address ................   23
  54.       4.2   Response Packets - Filter MAC Address.................   25
  55.  
  56.  
  57.  
  58. Chapman, et al               Informational                      [Page 1]
  59.  
  60. RFC 1841           LAN Extension Interface Protocol       September 1995
  61.  
  62.  
  63.    5.0    Set Priority ...........................................   27
  64.       5.1   LEX_RCMD_REQUEST - Set Priority ......................   27
  65.       5.2   Response Packets - Set Priority ......................   29
  66.  
  67.    6.0    Disable LAN Extension Ethernet Interface ...............   30
  68.       6.1   LEX_RCMD_REQUEST - Disable LAN Extension
  69.             Ethernet Interface ...................................   31
  70.       6.2   Response Packets - Disable LAN Extension
  71.             Ethernet Interface ...................................   32
  72.  
  73.    7.0    Enable LAN Extension Ethernet Interface ................   33
  74.       7.1   LEX_RCMD_REQUEST - Enable LAN Extension
  75.             Ethernet Interface ...................................   33
  76.       7.2   Response Packets - Enable LAN Extension
  77.             Ethernet Interface ...................................   34
  78.  
  79.    8.0    Reboot LAN Extension Interface Unit ....................   35
  80.       8.1   LEX_RCMD_REQUEST - Reboot LAN Extension Interface
  81.             Unit .................................................   35
  82.       8.2   Response Packets - Reboot LAN Extension
  83.             Interface Unit .......................................   36
  84.  
  85.    9.0    Request Statistics .....................................   37
  86.       9.1   LEX_RCMD_REQUEST - Request Statistics ................   37
  87.       9.2   LEX_RCMD_ACK - Request Statistics ....................   39
  88.       9.3   LEX_RCMD_NAK/LEX_RCMD_REJ - Request Statistics .......   44
  89.  
  90.    10.0    Download Request ......................................   45
  91.       10.1   LEX_RCMD_REQUEST - Download Request .................   46
  92.       10.2   Response Packets - Download Request..................   48
  93.  
  94.    11.0    Download Data .........................................   49
  95.       11.1   LEX_RCMD_REQUEST - Download Request .................   49
  96.       11.2   Response Packets - Download Data ....................   51
  97.  
  98.    12.0    Download Status .......................................   52
  99.       12.1   LEX_RCMD_REQUEST - Download Status ..................   53
  100.       12.2   LEX_RCMD_ACK - Download Status ......................   54
  101.       12.3   LEX_RCMD_NAK/LEX_RCMD_REJ - Download Status .........   56
  102.  
  103.    13.0    Inventory Request .....................................   56
  104.       13.1   LEX_RCMD_REQUEST - Inventory Request ................   57
  105.       13.2   LEX_RCMD_ACK - Inventory Request ....................   58
  106.       13.3   LEX_RCMD_NAK/LEX_RCMD_REJ - Inventory Request .......   61
  107.  
  108.    14.0    LAN Extension Interface Protocol Data Packets .........   62
  109.       14.1   Frame Format ........................................   62
  110.       14.2   Summary Field Descriptions...........................   63
  111.  
  112.  
  113.  
  114. Chapman, et al               Informational                      [Page 2]
  115.  
  116. RFC 1841           LAN Extension Interface Protocol       September 1995
  117.  
  118.  
  119.    NOTES ......................................................      65
  120.    REFERENCES .................................................      65
  121.    SECURITY CONSIDERATIONS ....................................      66
  122.    AUTHORS' ADDRESSES .........................................      66
  123.  
  124. 1.0 Introduction
  125.  
  126.    An increasing number of corporations allow their employees to
  127.    telecommute to work due to local government regulations on traffic
  128.    and air pollution. Additionally, many businesses are run out of
  129.    internetworked home offices and small branch offices. With these
  130.    changes in the workplace, more people and businesses require Internet
  131.    access from small LANs.
  132.  
  133.    Today, routers serve the LAN-to-LAN traffic using high-speed WAN
  134.    links such as leased lines, ISDN, or Frame Relay. This new breed of
  135.    Internet users from home offices and small branch offices may have a
  136.    different, less network-literate skill set than those connecting up
  137.    to the Internet today. These new users need an alternative to the
  138.    complex and hard-to-configure routers currently employed for
  139.    connectivity. One such alternative is a LAN extension interface unit.
  140.  
  141.    A LAN extension interface unit is a hardware device installed at
  142.    remote sites (such as a home office or small branch office) that
  143.    connects a LAN across a WAN link to a router at a central site. The
  144.    following sections introduce a LAN extension interface topology,
  145.    architecture, and protocol.
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170. Chapman, et al               Informational                      [Page 3]
  171.  
  172. RFC 1841           LAN Extension Interface Protocol       September 1995
  173.  
  174.  
  175. 1.1 LAN Extension Interface Topology
  176.  
  177.    Figure 1 shows the topology of LAN extension interfaces. The figure
  178.    shows two LAN extension interface units connected via a WAN link to a
  179.    central or "host router."
  180.  
  181.                  Figure 1 LAN Extension Interface Topology
  182.  
  183.                   -----------------------------------------
  184.                                     Router
  185.                   -----------------------------------------
  186.                      Virtual Interface   Virtual Interface
  187.                         123.123.78.1        123.123.89.1
  188.                   .........................................
  189.                            Serial 0           Serial n
  190.                   -----------------------------------------
  191.                              |<---- WAN Link ---->|
  192.                 ------------------                    ------------------
  193.                 | LAN Extension  |                    | LAN Extension  |
  194.                 | Interface Unit |                    | Interface Unit |
  195.                 ------------------                    ------------------
  196.                         |                                     |
  197.                 ------------------                    ------------------
  198.                   |                                      |
  199.                 ------------                          ------------
  200.                 | End node |                          | End node |
  201.                 ------------                          ------------
  202.                 123.123.78.2                          123.123.46.2
  203.  
  204.    Each LAN extension interface unit maps to a virtual interface at the
  205.    host router. The virtual interface mirrors the characteristics of the
  206.    LAN extension interface unit. To the routing protocols, the virtual
  207.    interface looks just like a local interface, but with the bandwidth
  208.    of a serial line. The virtual interface keeps the state (up or down)
  209.    of the LAN extension interface unit, and identifies each LAN
  210.    extension interface unit by its MAC address.
  211.  
  212.    A LAN extension interface protocol transfers MAC frames from the LAN
  213.    extension interface unit across the serial line to the host router.
  214.    At the termination point in the router, the router routes the
  215.    packets. This topology uses only one subnet per remote LAN rather
  216.    than two, as is the case when routers exist on both ends of a WAN
  217.    link. Figure 1 shows this subnetting structure. The IP addresses of
  218.    the virtual interfaces on the router are in the same subnet as the IP
  219.    addresses of the end nodes on the LAN of the LAN extension interface
  220.    unit. The LAN extension interface unit itself has no IP address.
  221.  
  222.  
  223.  
  224.  
  225.  
  226. Chapman, et al               Informational                      [Page 4]
  227.  
  228. RFC 1841           LAN Extension Interface Protocol       September 1995
  229.  
  230.  
  231.    LAN extension interface units resemble bridges, but with the
  232.    following distinct differences:
  233.  
  234.    *  LAN extension interface units always depend on a host router.
  235.       They cannot operate standalone or even back-to-back with other
  236.       LAN extension interface units.
  237.  
  238.    *  LAN extension interface units need not employ any spanning tree
  239.       algorithm.
  240.  
  241.    *  (LAN extension interface units transfer MAC frames across a
  242.       serial line (like bridges), but a router can either route or
  243.       bridge the LAN extension interface data packets.
  244.  
  245. 1.2 LAN Extension Interface Architecture
  246.  
  247.    Figure 2 shows the basic LAN extension interface architecture.
  248.  
  249.                Figure 2 LAN Extension Interface Architecture
  250.  
  251.                  Router                        LAN Extension Interface
  252.           -------------------                  -------------------
  253.           |   Network Layer |                  |     MAC Layer   |
  254.           -------------------                  -------------------
  255.                   |                                       |
  256.           -------------------                  -------------------
  257.      |    |Virtual Interface|                  |       Filters   |   |
  258.      |    -------------------                  -------------------   |
  259.      |            |                                 |                |
  260.      |    -------------------                  -------------         |
  261.      |    |      PPP        |                  |   RCMD    |         |
  262.      |    |                 |                  |   Handler |         |
  263.      |    -------------------                  -------------         |
  264.      |            |                                 |                |
  265.      |    -------------------                  -------------------   |
  266.      |    |Serial Interface |                  |        PPP      |   |
  267.      |    -------------------                  -------------------   |
  268.      |            |                                      |           |
  269.      |            |                            -------------------   |
  270.      |            |                            | Serial Interface|   |
  271.      |            |                            -------------------   |
  272.      |            |          WAN Link                    |           |
  273.      |            ---------------------------------------            |
  274.      |                                                               |
  275.      |   Outbound                                          Inbound   |
  276.      -------------->                                  <---------------
  277.  
  278.  
  279.  
  280.  
  281.  
  282. Chapman, et al               Informational                      [Page 5]
  283.  
  284. RFC 1841           LAN Extension Interface Protocol       September 1995
  285.  
  286.  
  287.    In the inbound direction (from the remote LAN, to the LAN extension
  288.    interface unit, across the WAN link, to the host router), the LAN
  289.    extension interface unit can filter received frames to optimize WAN
  290.    utilization. The LAN extension interface unit can filter frames by
  291.    protocol type or by MAC address. Frames that pass through the LAN
  292.    extension interface filters go to the WAN protocol state machine. In
  293.    Figure 2, this state machine is PPP. The LAN extension interface unit
  294.    adds PPP encapsulation and forwards the packet to the router via the
  295.    WAN serial link.
  296.  
  297.    Upon receiving the frame, the host router decapsulates the PPP header
  298.    and passes the packet to the virtual interface. From there the
  299.    virtual interface handles the packet like any packet received on a
  300.    local interface -- by routing or bridging the packet to another
  301.    interface, depending on configuration.
  302.  
  303.    In the outbound direction (from the host router, across the WAN link,
  304.    to the LAN extension interface unit, to the LAN), the host router's
  305.    virtual interface builds the full MAC header, before adding PPP
  306.    encapsulation. The router then sends the packet across the WAN serial
  307.    link to the LAN extension interface unit. The LAN extension interface
  308.    unit strips the PPP header and forwards the packet directly onto the
  309.    LAN. The host router has already determined that the packet needs to
  310.    be forwarded to the LAN extension interface unit, hence there is no
  311.    need for additional filtering or processing at that end.
  312.  
  313.    Embedded in the data stream is a control stream for configuring and
  314.    managing the LAN extension interface unit from the host router. The
  315.    virtual interface makes the remote LAN extension interface unit
  316.    appear like a local router interface to the routing protocols.
  317.  
  318.    Configuration commands and statistics gathering commands are issued
  319.    on the router to the virtual interface. The virtual interface formats
  320.    the LAN extension interface remote commands into encoded messages and
  321.    transfers them in-band with the data packets. The LAN extension
  322.    interface unit decodes the remote commands and executes them.
  323.    Responses are similarly formatted messages sent by the LAN extension
  324.    interface unit to the host router. The remote command messages use a
  325.    different encapsulation type than the data packets, as described
  326.    later in this document in the "LAN Extension Interface Protocol
  327.    Control Packets" and "LAN Extension Interface Protocol Data Packets"
  328.    sections.
  329.  
  330. 1.3 LAN Extension Interface Protocol
  331.  
  332.    To accommodate this LAN extension interface architecture, a new
  333.    Network Control Protocol (NCP) for PPP exists. This NCP is called
  334.    PPP-LEX. The basic functionality of PPP-LEX is to encapsulate LAN
  335.  
  336.  
  337.  
  338. Chapman, et al               Informational                      [Page 6]
  339.  
  340. RFC 1841           LAN Extension Interface Protocol       September 1995
  341.  
  342.  
  343.    extension interface control and data packets. The IETF has assigned
  344.    two new protocol types for these functions, as shown in Table 1.
  345.  
  346.                  Table 1  IETF Protocol Types for PPP-LEX
  347.  
  348.    Protocol Type       Function
  349.  
  350.    0x8041              Encapsulates control packets
  351.    0x0041              Encapsulates data packets (MAC frames)
  352.  
  353.    PPP is a natural choice for a LAN extension interface protocol
  354.    because it allows for negotiating a specific control protocol and
  355.    options at connection time. This means that network administrators do
  356.    not have to statically configure the router interface for remote
  357.    interfaces. Rather, remote interfaces negotiate the link at
  358.    connection time.
  359.  
  360.    The LAN extension interface protocol employs PPP link operation as
  361.    described in RFC 1331, which reads as follows:
  362.  
  363.       In order to establish communications of a point-to-point link,
  364.       each end of the PPP link must first send [Link Control Protocol]
  365.       LCP packets to configure and test the data link. After the link
  366.       has been established,the peer may be authenticated. Then PPP must
  367.       send NCP packets to choose and configure one or more network layer
  368.       protocols. Once each of the chosen network-layer protocols has
  369.       been configured, datagrams from each network layer protocol can be
  370.       sent over the link.
  371.  
  372.       The link will remain configured for communications until explicit
  373.       LCP or NCP packets close the link down, or until some external
  374.       event occurs (an inactivity timer expires or network administrator
  375.       intervention). (References, [1])
  376.  
  377.    Thus, the LAN extension interface unit and the host router exchange
  378.    PPP-LCP packets at connection time to dynamically configure and test
  379.    the WAN serial link. Once the link reaches an "opened" state, the LAN
  380.    extension interface unit and host router exchange PPP-LEX NCP packets
  381.    to configure the LAN extension interface protocol. Once it is
  382.    configured, the NCP (PPP-LEX) reaches an "opened" state, and PPP
  383.    carries the PPP-LEX control and data packets across the serial link.
  384.    At this point, link traffic is a any combination of LCPs, PPP-LEX
  385.    NCPs, PPP-LEX control packets, and PPP-LEX data packets.
  386.  
  387.    Note that the LAN extension interface protocol is not a bridging
  388.    protocol. The only similarity to the PPP Bridging Control Protocol
  389.    (References. [2]) is that the LAN extension interface protocol also
  390.    encapsulates MAC frames.
  391.  
  392.  
  393.  
  394. Chapman, et al               Informational                      [Page 7]
  395.  
  396. RFC 1841           LAN Extension Interface Protocol       September 1995
  397.  
  398.  
  399.    The following sections detail PPP-LEX control packets and data
  400.    packets.
  401.  
  402. 2.0 LAN Extension Interface Protocol Control Packets
  403.  
  404.    There are two types of PPP-LEX control packets, as follows:
  405.  
  406.       *  Startup options packet
  407.       *  Remote command options packets
  408.  
  409.    The startup options packet is the first PPP-LEX NCP packet that the
  410.    LAN extension interface unit sends to the host router after the LCP
  411.    has reached an "opened" state. This required startup options packet
  412.    configures the LAN extension interface protocol and puts the PPP-LEX
  413.    NCP in an "opened" state.
  414.  
  415.    Remote command options are the PPP-LEX NCP packets that control the
  416.    functioning and statistics gathering of the LAN extension interface
  417.    protocol.
  418.  
  419. 2.1 Startup Options
  420.  
  421.    The LAN extension interface unit sends a startup options packet to
  422.    the host router to negotiate the following startup options:
  423.  
  424.       *  MAC Type
  425.       *  MAC Address
  426.       *  LAN Extension
  427.  
  428.    The MAC Type startup option informs the host router of the type of
  429.    media that the LAN extension interface unit is connected to. For
  430.    example, the LAN extension interface unit may be connected to an
  431.    Ethernet LAN or a Token Ring LAN. Currently, only Ethernet is
  432.    supported. The MAC type tells the host router what type of traffic
  433.    the LAN extension interface unit is prepared to receive. If the host
  434.    router rejects the MAC type, the LAN extension interface unit sends
  435.    the Configure-Request again.
  436.  
  437.    The MAC Address startup option sends the MAC address of the LAN
  438.    extension interface unit to the host router to authenticate the LAN
  439.    extension interface unit and bind it to the corresponding virtual
  440.    interface at the host router. The host router also inserts the MAC
  441.    address in outbound packets. The MAC address is represented in IEEE
  442.    802.3 canonical format.
  443.  
  444.    The LAN Extension startup option establishes the network layer
  445.    protocol (NCP) as PPP-LEX and provides the host router with the LAN
  446.    extension interface protocol version number.
  447.  
  448.  
  449.  
  450. Chapman, et al               Informational                      [Page 8]
  451.  
  452. RFC 1841           LAN Extension Interface Protocol       September 1995
  453.  
  454.  
  455.    Each startup option is transmitted in a series of three fields:
  456.    Option-Type, Option-Length, and Option-Data fields. The fields are
  457.    concatenated in the startup options Configure-Request packet.
  458.  
  459.    Frame Format
  460.  
  461.    Figure 3 shows a summary of the frame format for the startup options
  462.    packet. The LAN extension interface unit sends this startup options
  463.    packet to the host router. The LAN extension interface unit transmits
  464.    these fields from left to right.
  465.  
  466.         Figure 3  Startup Options Frame Format (Configure-Request)
  467.  
  468.                      PPP Header
  469. <-------------------------------------------------------------->
  470.  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
  471. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  472. |    Address    |     Control   |          Protocol Type        |
  473. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  474.      (1 octet)          (1)                      (2)
  475.  
  476.                LAN Extension Interface Protocol Header
  477. <-------------------------------------------------------------->
  478.  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
  479. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  480. |     Code      |   Identifier  |             Length            |
  481. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  482.      (1 octet)         (1)                      (2)
  483.  
  484.             LAN Extension Interface Startup Options
  485. <-------------------------------------------------------------->
  486.  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
  487. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  488. |  Option-Type  | Option-Length |          Option-Data          |
  489. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  490.      (1 octet)          (1)
  491.  
  492.    Address
  493.  
  494.    This PPP-specified field is one octet and contains the binary
  495.    sequence 11111111 (hexadecimal 0xFF), the All-Stations address. PPP
  496.    does not assign individual station addresses. The All-Stations
  497.    address must be recognized and received by all devices. For more
  498.    information on this field, refer to "The Point-to-Point Protocol
  499.    (PPP) for the Transmission of Multi-protocol Datagrams over Point-
  500.    to-Point Links." (References, [1])
  501.  
  502.  
  503.  
  504.  
  505.  
  506. Chapman, et al               Informational                      [Page 9]
  507.  
  508. RFC 1841           LAN Extension Interface Protocol       September 1995
  509.  
  510.  
  511.    Control
  512.  
  513.    This PPP-specified field is one octet and contains the binary
  514.    sequence 00000011 (hexadecimal 0x03), the Unnumbered Information (UI)
  515.    command with the P/F bit set to zero.
  516.  
  517.    For more information on this field, refer to "The Point-to-Point
  518.    Protocol (PPP) for the Transmission of Multi-protocol Datagrams over
  519.    Point-to Point Links." (References, [1])
  520.  
  521.    Protocol-Type
  522.  
  523.    The Protocol-Type field is two octets and contains the IETF-assigned
  524.    protocol type value. Valid LAN extension interface protocol type
  525.    values are as follows:
  526.  
  527.       *  0x8041 (for control packets)
  528.       *  0x0041 (for data packets)
  529.  
  530.    Because the startup options packet encapsulates LAN extension
  531.    interface control data, the valid value for this field is 0x8041.
  532.  
  533.    Code
  534.  
  535.    The Code field is one octet and identifies the type of LCP packet
  536.    that the LAN extension interface packet is sending. Valid values are
  537.    as follows:
  538.  
  539.       *  0x01 - Configure-Request
  540.       *  0x02 - Configure-Ack
  541.       *  0x03 - Configure-Nak
  542.       *  0x04 - Configure-Rej
  543.  
  544.    The LAN extension interface unit initiates the startup options
  545.    packet; therefore, the valid value for this field is 1.
  546.  
  547.    Identifier
  548.  
  549.    The Identifier field is one octet and contains a randomly generated
  550.    value. The value aids matching requests and replies. It is
  551.    recommended that a non-zero value be used for the identifier. That
  552.    is, zero could be used in the future for unsolicited messages from
  553.    the LAN extension interface unit. Valid values are 0x01-0xFF.
  554.  
  555.  
  556.  
  557.  
  558.  
  559.  
  560.  
  561.  
  562. Chapman, et al               Informational                     [Page 10]
  563.  
  564. RFC 1841           LAN Extension Interface Protocol       September 1995
  565.  
  566.  
  567.    Length
  568.  
  569.    The Length field is two octets and indicates the length of the entire
  570.    packet in octets, including the Code, Identifier, Length, and startup
  571.    options fields.
  572.  
  573.    Option-Type
  574.  
  575.    The Option-Type field is one octet and identifies the startup option
  576.    being negotiated. Valid values are as follows:
  577.  
  578.       *  0x01 - MAC Type
  579.       *  0x03 - MAC Address
  580.       *  0x05 - LAN Extension
  581.  
  582.    Option-Length
  583.  
  584.    The Option-Length field is one octet and specifies the length of the
  585.    startup option fields, including the Option-Type, Option-Data, and
  586.    Option-Length fields.
  587.  
  588.    Option-Data
  589.  
  590.    The Option-Data field contains the data relating to the value
  591.    specified in the Option-Type field. That is, if the Option-Type field
  592.    specifies MAC type (0x01), then the Option-Data field contains the
  593.    MAC type (Ethernet, Token Ring, and so on). If the Option-Type field
  594.    specifies MAC address (0x03), then the Option-Data field contains the
  595.    actual MAC address. If the Option-Type field specifies LAN Extension
  596.    (0x05), then the Option-Data field contains LAN extension interface
  597.    software information. The following table defines the contents of the
  598.    Option-Data field for each possible Option-Type field value:
  599.  
  600.    Option-Type Field Value   Option-Data
  601.  
  602.    0x01 (MAC Type)           The most up-to-date value of the MAC type as
  603.                              specified in the most recent "Assigned
  604.                              Numbers" RFC. The current valid value from
  605.                              that RFC follows:
  606.                              *  0x01: IEEE 802.3/Ethernet with canonical
  607.                                 addresses
  608.    0x03 (MAC Address)        The burned-in MAC address in IEEE 802.3
  609.                               canonical format.
  610.    0x05 (LAN Extension)      The LAN extension interface protocol version
  611.                              number. 0x01 is the current protocol version
  612.                              supported.
  613.  
  614.  
  615.  
  616.  
  617.  
  618. Chapman, et al               Informational                     [Page 11]
  619.  
  620. RFC 1841           LAN Extension Interface Protocol       September 1995
  621.  
  622.  
  623.    Example
  624.  
  625.    In the Configure-Request packet that it sends to the host router, the
  626.    LAN extension interface unit concatenates the Option-Type, Option-
  627.    Data, and Option-Length fields for each startup option, as shown in
  628.    Figure 4. The LAN extension interface unit transmits these fields
  629.    from left to right.
  630.  
  631.          Figure 4 Sample Startup Options Configure-Request Packet
  632.  
  633.                          PPP Header
  634. <-------------------------------------------------------------->
  635.  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
  636. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  637. |      0xFF     |      0x03     |             0x8041            |
  638. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  639.      Address          Control             Protocol-Type
  640.  
  641.                 LAN Extension Interface Protocol Header
  642. <-------------------------------------------------------------->
  643.  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
  644. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  645. |     0x01      |      0x09     |             0x12              |
  646. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  647.    Option-Type      Identifier               Length
  648.  
  649.               LAN Extension Interface Startup Options
  650. <------------------------------------------------
  651.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
  652. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  653. |      0x01     |               0x03            |
  654. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  655.    Option-Type             Option-Length
  656.  
  657.                                   ------------------------------>
  658.                                   4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  659.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  660.                                                0x01             |
  661.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  662.                                              Option-Data
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674. Chapman, et al               Informational                     [Page 12]
  675.  
  676. RFC 1841           LAN Extension Interface Protocol       September 1995
  677.  
  678.  
  679.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
  680. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  681. |      0x03     |               0x08            |
  682. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  683.    Option-Type             Option-Length        |
  684.  
  685.                                   4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  686.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  687.                                     0A  0A  0A  0A  0B  0C      |
  688.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  689.                                  ---------- Option-Data --------|
  690.  
  691.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3
  692. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  693. |      0x05     |               0x03            |
  694. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  695.    Option-Type             Option-Length
  696.  
  697.                                   4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  698.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  699.                                                 0x01            |
  700.                                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  701.                                            Option-Data
  702.  
  703.    In Figure 4, the Address field always contains 0xFF, and the Control
  704.    field always contains 0x03. The Protocol-Type field value is 0x8041
  705.    because the startup options packet is a LAN extension interface
  706.    control packet. The Code field value is 0x01 because the LAN
  707.    extension interface unit is sending an LCP Configure-Request packet
  708.    to configure or negotiate PPP-LEX. The Identifier field contains a
  709.    randomly generated number. The Length field gives the total length of
  710.    the entire packet.
  711.  
  712.    The first startup option is the MAC Type startup option. The Option-
  713.    Type value for MAC Type is 0x01. The Option-Length field value for
  714.    the MAC type startup option is 3 octets. The Option-Data field value
  715.    is 0x01 because, in this example, the LAN extension interface unit
  716.    connects to an Ethernet LAN using 802.3 canonical addresses.
  717.  
  718.    The next startup option transmitted is the MAC Address. Its Option-
  719.    Type field value is 0x03, its Option-Length field value is 8 octets,
  720.    and its Option-Data field value is the actual MAC address.
  721.  
  722.    Lastly, the LAN Extension startup option is transmitted. Its Option-
  723.    Type field value is 0x05, its Option-Length field value is 3 octets,
  724.    and its Option-Data field value is the LAN extension interface
  725.    protocol version number (0x01).
  726.  
  727.  
  728.  
  729.  
  730. Chapman, et al               Informational                     [Page 13]
  731.  
  732. RFC 1841           LAN Extension Interface Protocol       September 1995
  733.  
  734.  
  735.    The host router responds to this LCP Configure-Request packet with an
  736.    LCP Configure-Ack packet, Configure-Nak packet, or Configure-Rej
  737.    packet. For more information on these packets, refer to "The Point-
  738.    to-Point Protocol (PPP) for the Transmission of Multi-protocol
  739.    Datagrams over Point-to-Point Links" RFC. (References, [1])
  740.  
  741. 2.2 Remote Command Options
  742.  
  743.    Once the host router responds to the startup options Configure-
  744.    Request packet with a Configure-Ack packet, the PPP-LEX NCP is in an
  745.    "opened" state, and the LAN extension interface unit and the host
  746.    router freely exchange PPP-LEX data packets and remote command
  747.    options packets.
  748.  
  749.    The host router initiates PPP-LEX remote command options packets to
  750.    control the configuration of the LAN extension interface unit and to
  751.    gather statistics. There are 11 types of remote command options that
  752.    the host router can send in a LEX_RCMD_REQUEST packet to the LAN
  753.    extension interface unit. The LAN extension interface unit responds
  754.    to a LEX_RCMD_REQUEST packet with a LEX_RCMD_ACK, LEX_RCMD_NAK, or
  755.    LEX_RCMD_REJ packet.
  756.  
  757.    Frame Format
  758.  
  759.    Figure 5 shows a summary of the frame format for a remote command
  760.    options packet. These fields are transmitted from left to right.
  761.  
  762.                Figure 5 Remote Command Options Frame Format
  763.  
  764.                         PPP Header
  765. <-------------------------------------------------------------->
  766.  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
  767. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  768. |    Address    |     Control   |          Protocol Type        |
  769. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  770.      (1 octet)          (1)                      (2)
  771.  
  772.                   LAN Extension Interface Protocol Header
  773. <-------------------------------------------------------------->
  774.  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
  775. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  776. |     Code      |   Identifier  |             Length            |
  777. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  778.      (1 octet)          (1)                      (2)
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786. Chapman, et al               Informational                     [Page 14]
  787.  
  788. RFC 1841           LAN Extension Interface Protocol       September 1995
  789.  
  790.  
  791.                LAN Extension Interface Remote Command Options
  792. <--------------------------------
  793.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  794. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  795. |  Option-Type  |  Option-Flags |
  796. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  797.      (1 octet)          (1)
  798.  
  799.                  ---------------------------------------------->
  800.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  801.                  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  802.                           Option-Length        |  Option-Data  |
  803.                  +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  804.                                 (2)
  805.  
  806.    Address
  807.  
  808.    This PPP-specified field is a single octet and contains the binary
  809.    sequence 11111111 (hexadecimal 0xFF), the All-Stations address. PPP
  810.    does not assign individual station addresses. The All-Stations
  811.    address must be recognized and received by all devices. For more
  812.    information on this field, refer to "The Point-to-Point Protocol
  813.    (PPP) for the Transmission of Multi-protocol Datagrams over Point-
  814.    to-Point Links." (References, [1])
  815.  
  816.    Control
  817.  
  818.    This PPP-specified field is a single octet and contains the binary
  819.    sequence 00000011 (hexadecimal 0x03), the Unnumbered Information (UI)
  820.    command with the P/F bit set to zero.
  821.  
  822.    For more information on this field, refer to "The Point-to-Point
  823.    Protocol (PPP) for the Transmission of Multi-protocol Datagrams over
  824.    Point-to Point Links." (References, [1])
  825.  
  826.    Note:  Hereafter the Address and Control fields will be represented
  827.    together as a 2-octet field containing "0xFF03".
  828.  
  829.    Protocol-Type
  830.  
  831.    The Protocol-Type field is two octets and contains the IETF-assigned
  832.    protocol type value. Valid LAN extension interface protocol type
  833.    values follow:
  834.  
  835.       *  0x8041 (for control packets)
  836.       *  0x0041 (for data packets)
  837.  
  838.  
  839.  
  840.  
  841.  
  842. Chapman, et al               Informational                     [Page 15]
  843.  
  844. RFC 1841           LAN Extension Interface Protocol       September 1995
  845.  
  846.  
  847.    Because the remote command options packet encapsulates LAN extension
  848.    interface control data, the valid value for this field is 0x8041.
  849.  
  850.    Code
  851.  
  852.    The Code field is one octet and identifies the type of PPP-LEX
  853.    packet. Valid values are as follows:
  854.  
  855.       *  0x40 - LEX_RCMD_REQUEST packet
  856.       *  0x41 - LEX_RCMD_ ACK packet
  857.       *  0x42 - LEX_RCMD_NAK packet
  858.       *  0x43 - LEX_RCMD_REJ packet
  859.  
  860.    The host router sends the LEX_RCMD_REQUEST packet, and the LAN
  861.    extension interface unit sends the LEX_RCMD_ACK, LEX_RCMD_NAK, and
  862.    LEX_RCMD_REJ packets.
  863.  
  864.    Identifier
  865.  
  866.    The Identifier field is one octet and contains a randomly generated
  867.    value. The value aids matching requests and replies. It is
  868.    recommended that a non-zero value be used for the identifier. That
  869.    is, zero could be used in the future for unsolicited messages from
  870.    the LAN extension interface unit. Valid values are 0x01-0xFF.
  871.  
  872.    Length
  873.  
  874.    The Length field is two octets and indicates the length in octets of
  875.    the entire packet, including the Code, Identifier, Length, and remote
  876.    command options fields.
  877.  
  878.    Option-Type
  879.  
  880.    The Option-Type field is one octet and identifies the remote command
  881.    option being transmitted. Valid values are as follows:
  882.  
  883.       *  0x01 - Filter Protocol Type
  884.       *  0x02 - Filter MAC Address
  885.       *  0x03 - Set Priority
  886.       *  0x04 - Disable LAN Extension Ethernet Interface
  887.       *  0x05 - Enable LAN Extension Ethernet Interface
  888.       *  0x06 - Reboot LAN Extension Interface Unit
  889.       *  0x07 - Request Statistics
  890.       *  0x08 - Download Request
  891.       *  0x09 - Download Data
  892.       *  0x0A - Download Status
  893.       *  0x0B- Inventory Request
  894.  
  895.  
  896.  
  897.  
  898. Chapman, et al               Informational                     [Page 16]
  899.  
  900. RFC 1841           LAN Extension Interface Protocol       September 1995
  901.  
  902.  
  903.    Each remote command option is discussed in detail in its own section
  904.    later in this document.
  905.  
  906.    Option-Flags
  907.  
  908.    This field is one octet and further specifies the remote command
  909.    option, containing specific actions that must be followed.
  910.  
  911.    Option-Length
  912.  
  913.    The Option-Length field is two octets and specifies the length in
  914.    octets of the remote command option fields, including the Option-
  915.    Type, Option-Flags, Option-Length, and Option-Data fields.
  916.  
  917.    Option-Data
  918.  
  919.    Option-Data field contains data relating to the remote command option
  920.    specified in the Option-Type field.
  921.  
  922. 2.3 Conditions for Sending PPP-LEX Packet
  923.  
  924.    This section describes the general conditions under which PPP-LEX
  925.    packet types are sent. For specific information by remote command,
  926.    refer to the appropriate remote command section later in this
  927.    document.
  928.  
  929.    LEX RCMD_REQUEST Packet
  930.  
  931.    The host router sends LEX_RCMD_REQUEST packets to the LAN extension
  932.    interface unit to initiate a remote command request. Until the host
  933.    router receives a LEX_RCMD_ACK, LEX_RCMD_NAK, or LEX_RCMD_REJ packet
  934.    from the LAN extension interface unit, the host router continues to
  935.    send the LEX_RCMD_REQUEST packet a default number of times, at which
  936.    point the host router times out.
  937.  
  938.    LEX_RCMD_ACK Packet
  939.  
  940.    The LAN extension interface unit responds to a LEX_RCMD_REQUEST
  941.    packet with a LEX_RCMD_ACK packet when it correctly receives the
  942.    request and is able to perform the request.
  943.  
  944.    LEX RCMD_NAK Packet
  945.  
  946.    The LAN extension interface unit responds to a LEX_RCMD_REQUEST
  947.    packet with a LEX_RCMD_NAK packet when the LAN extension interface
  948.    unit recognizes all the elements of the remote command option, but
  949.    some elements are not acceptable. Upon receipt of a LEX_RCMD_NAK
  950.    packet, the host router immediately stops sending the request.
  951.  
  952.  
  953.  
  954. Chapman, et al               Informational                     [Page 17]
  955.  
  956. RFC 1841           LAN Extension Interface Protocol       September 1995
  957.  
  958.  
  959.    LEX RCMD_REJ Packet
  960.  
  961.    The LAN extension interface unit responds to a LEX_RCMD_REQUEST
  962.    packet with a LEX_RCMD_REJ packet when the Option-Type value in the
  963.    request packet is invalid. Invalid Option-Type values are those less
  964.    than 0x01 or greater than 0x0B. Currently, this is the only condition
  965.    under which the LAN extension interface unit sends a LEX_RCMD_REJ
  966.    packet. Upon receipt of a LEX_RCMD_REJ packet, the host router
  967.    immediately stops sending the request.
  968.  
  969.    The following sections detail each of the 11 remote command options.
  970.    The sections provide a general description of the option and then
  971.    specify the option's Option-Type, Option-Flags, Option-Length, and
  972.    Option-Data fields. In addition, the sections describe the return
  973.    messages from the LAN extension interface unit.
  974.  
  975. 3.0 Filter Protocol Type
  976.  
  977.    The host router sends a LEX_RCMD_REQUEST packet with an Option-Type
  978.    of 0x01 to the LAN extension interface unit to configure the LAN
  979.    extension interface unit to filter inbound packets by protocol type.
  980.    A protocol type filter determines whether or not the LAN extension
  981.    interface unit forwards packets of a specific protocol type to the
  982.    host router. A protocol type filter consists of a 16-bit value, 16-
  983.    bit mask, and a permit or deny field. (See the "Option-Data Field
  984.    Descriptions" section for more information on these filter fields.)
  985.  
  986.    A LEX_RCMD_REQUEST packet can contain 0 to 200 (depending on MTU
  987.    size) protocol type filters. When a LEX_RCMD_REQUEST packet contains
  988.    multiple filters, they are concatenated.
  989.  
  990.    The LAN extension interface unit applies the protocol type filters to
  991.    each inbound packet's protocol type field in the order in which the
  992.    filters exist in the filter table. A packet must be permitted by one
  993.    of the filters before the LAN extension interface unit can forward
  994.    the packet across the serial link.
  995.  
  996.    The following example is a filtering algorithm:
  997.  
  998.    if (protocol_type_field & (~filter_mask)) == filter_value)
  999.     if (permit/deny_field == PERMIT) <forward packet on serial LAN>
  1000.    else <DROP PACKET>
  1001.  
  1002.    The protocol type filter should also be applied to the DIX type code
  1003.    field of Ethernet II frames as well as to IEEE 802.2 SNAP packets.
  1004.  
  1005.  
  1006.  
  1007.  
  1008.  
  1009.  
  1010. Chapman, et al               Informational                     [Page 18]
  1011.  
  1012. RFC 1841           LAN Extension Interface Protocol       September 1995
  1013.  
  1014.  
  1015. 3.1 LEX RCMD_REQUEST-Filter Protocol Type
  1016.  
  1017.    Figure 6 shows a frame format summary of a LEX_RCMD_REQUEST packet
  1018.    for the Filter Protocol Type remote command option. The host router
  1019.    transmits the fields from left to right.
  1020.  
  1021.    Figure 6 LEX_RCMD_REQUEST Packet Frame Format - Filter Protocol Type
  1022.  
  1023.                               PPP Header
  1024. <-------------------------------------------------------------->
  1025.  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
  1026. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1027. |              0xFF03           |          Protocol-Type        |
  1028. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1029.               (2 octets)                         (2)
  1030.  
  1031.                 LAN Extension Interface Protocol Header
  1032. <-------------------------------------------------------------->
  1033.  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
  1034. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1035. |      Code     |   Identifier  |             Length            |
  1036. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1037.          (1)            (1)                    (2)
  1038.  
  1039.                    LAN Extension Interface Remote Command Options
  1040. <--------------------------------
  1041.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1042. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1043. |  Option-Type  |  Option-Flags |
  1044. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1045.          (1)            (1)
  1046.  
  1047.                  ---------------------------------------------->
  1048.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  1049.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1050.                         Option-Length          |  Option-Data  |
  1051.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1052.                               (2)
  1053.  
  1054.    Where the Option-Data field contains the following fields:
  1055.  
  1056.  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
  1057. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1058. |         Value (16 bits)       |          Value (16 bits)      |
  1059. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1060. |     Permit/Deny (16 bits)     |
  1061. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1062.  
  1063.  
  1064.  
  1065.  
  1066. Chapman, et al               Informational                     [Page 19]
  1067.  
  1068. RFC 1841           LAN Extension Interface Protocol       September 1995
  1069.  
  1070.  
  1071.    Summary Field Descriptions
  1072.  
  1073.    For a complete description of the fields in the PPP Header, the LAN
  1074.    Extension Interface Protocol Header, and the LAN Extension Interface
  1075.    Remote Command Options, refer to the "Remote Command Options" section
  1076.    earlier in this document. The following table provides a summary of
  1077.    these fields when sending a LEX_RCMD_REQUEST packet that configures
  1078.    the LAN extension interface unit to filter by protocol type.
  1079.  
  1080.    Table 2  Field Values for LEX_RCMD_REQUEST Packet-Filter Protocol Type
  1081.    Field               Value
  1082.    Address/Control     0xFF03 (Broadcast address/Unnumbered
  1083.                        information)
  1084.    Protocol-Type       0x8041 (Control packet)
  1085.    Code                0x40 (LEX_RCMD_REQUEST packet)
  1086.    Identifier          Valid values: 0x01-0xFF
  1087.    Length              Minimum length = 12 octets
  1088.                        Maximum length = 1212 octets
  1089.    Option-Type         0x01 (Filter Protocol Type)
  1090.    Option-Flags        None
  1091.    Option-Length       Minimum length = 4 octets
  1092.                        Maximum length = 1204 octets
  1093.    Option-Data         Zero or more filters to be applied at
  1094.                        the LAN extension interface unit. See the
  1095.                        following "Option-Data Field Descriptions"
  1096.                        for details.
  1097.  
  1098.    Option-Data Field Descriptions
  1099.  
  1100.    The following three Option-Data fields are used in conjunction to
  1101.    specify a protocol type filter:
  1102.  
  1103.    *  Value
  1104.  
  1105.    The Value field contains a 16-bit value that is any Ethernet type
  1106.    code. Refer to the "Assigned Numbers" RFC for valid Ethernet type
  1107.    codes. (References, [4]).
  1108.  
  1109.    *  Mask
  1110.  
  1111.    The Mask field contains a 16-bit "wild card" mask. That is, this
  1112.    field contains a 16-bit number whose ones bits correspond to the type
  1113.    code bits to be ignored during the comparison. Thus, the mask
  1114.    excludes bits from the comparison in the protocol type filter.
  1115.  
  1116.  
  1117.  
  1118.  
  1119.  
  1120.  
  1121.  
  1122. Chapman, et al               Informational                     [Page 20]
  1123.  
  1124. RFC 1841           LAN Extension Interface Protocol       September 1995
  1125.  
  1126.  
  1127.    *  Permit/Deny
  1128.  
  1129.    The Permit/Deny field determines whether a protocol type filter
  1130.    permits or denies inbound frames to pass to the host router. A permit
  1131.    value is a non-zero value that allows frames of a specific protocol
  1132.    type to pass to the host router. A deny value is a zero value that
  1133.    does not allow frames of a specific protocol type to pass to the host
  1134.    router.
  1135.  
  1136.    Implementation Notes
  1137.  
  1138.    Each LEX_RCMD_REQUEST packet is a complete specification of all
  1139.    protocol type filters and replaces any previously established
  1140.    filters.
  1141.  
  1142.    Note the following special cases:
  1143.  
  1144.    *  A LEX_RCMD_REQUEST packet with an Option-Length field equal
  1145.       to four (without any filter entries) instructs the LAN extension
  1146.       interface unit to turn off protocol type filtering. All MAC
  1147.       protocol types are forwarded.
  1148.  
  1149.    *  A LEX_RCMD_REQUEST packet with a filter entry of 0x0000 in the
  1150.       Value field, 0xFFFF in the Mask field, and a positive value in the
  1151.       Permit/Deny field means that if previous filters in the filter list
  1152.       do not permit the inbound packet then this filter entry will. This
  1153.       filter entry is typically the last filter in a list of filters
  1154.       contained within the Option-Data field.
  1155.  
  1156.    *  A LEX_RCMD_REQUEST packet with a filter entry of 0x0000 in the
  1157.       Value field, 0xFFFF in the Mask field, and a zero in the
  1158.       Permit/Deny field, means that the LAN extension interface unit must
  1159.       deny all protocol types. This filter is typically the last filter in
  1160.       a list of filters contained within the Option-Data field.
  1161.  
  1162. 3.2 Response Packets - Filter Protocol Type
  1163.  
  1164.    The following packets are valid responses to the Filter Protocol Type
  1165.    LEX_RCMD_REQUEST packet:
  1166.  
  1167.    *  LEX_RCMD_ACK - Filter Protocol Type
  1168.  
  1169.    The LAN extension interface unit sends a LEX_RCMD_ACK packet in
  1170.    response to the Filter Protocol Type LEX_RCMD_REQUEST packet when the
  1171.    LAN extension interface unit correctly receives the Filter Protocol
  1172.    Type remote command option and applies all filter entries to its
  1173.    filter table. All filter entries are returned to the host router in
  1174.    the LEX_RCMD_ACK packet.
  1175.  
  1176.  
  1177.  
  1178. Chapman, et al               Informational                     [Page 21]
  1179.  
  1180. RFC 1841           LAN Extension Interface Protocol       September 1995
  1181.  
  1182.  
  1183.    *  LEX_RCMD_NAK - Filter Protocol Type
  1184.  
  1185.    The LAN extension interface unit sends a LEX_RCMD_NAK packet in
  1186.    response to the Filter Protocol Type LEX_RCMD_REQUEST packet when the
  1187.    request contains an incorrect number of bytes in the filter or when
  1188.    there are no more filter entries available. The LAN extension
  1189.    interface unit continues to use the previous filter table (that is,
  1190.    the filter table that existed prior to the receipt of the request).
  1191.    The host router should signal an error to the user/network
  1192.    administrator. All filter entries are returned to the host router in
  1193.    the LEX_RCMD_NAK packet.
  1194.  
  1195.    *  LEX_RCMD-REJ - Filter Protocol Type
  1196.  
  1197.    See the "Conditions for Sending PPP-LEX Packets" section earlier in
  1198.    this document for more information on this packet type.
  1199.  
  1200.    Table 3 summarizes the field values of Filter Protocol Type
  1201.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  1202.  
  1203.      Table 3  Field Values for Response Packets - Filter Protocol Type
  1204.  
  1205.    Field                Value
  1206.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1207.                         information)
  1208.    Protocol-Type        0x8041 (Control packet)
  1209.    Code                 Valid values:
  1210.                         * 0x41 (LEX_RCMD_ACK packet)
  1211.                         * 0x42 (LEX_RCMD_NAK packet)
  1212.                         * 0x43 (LEX_RCMD_REJ packet)
  1213.    Identifier           The same value as that sent by the
  1214.                         LEX_RCMD_REQUEST packet
  1215.    Length               The same value as that sent by the
  1216.                         LEX_RCMD_REQUEST packet
  1217.    Option-Type          0x01 (Filter Protocol Type)
  1218.    Option-Flags         None
  1219.    Option-Length        The same value as that sent by the
  1220.                         LEX_RCMD_REQUEST packet
  1221.    Option-Data          The filter entries sent in the
  1222.                         LEX_RCMD_REQUEST packet
  1223.  
  1224. 4.0 Filter MAC Address
  1225.  
  1226.    The host router sends a LEX_RCMD_REQUEST packet with an Option-Type
  1227.    of 0x02 to the LAN extension interface unit to configure the LAN
  1228.    extension interface unit to filter inbound packets by source MAC
  1229.    address. A MAC address filter determines whether or not the LAN
  1230.    extension interface unit forwards packets with a specific source MAC
  1231.  
  1232.  
  1233.  
  1234. Chapman, et al               Informational                     [Page 22]
  1235.  
  1236. RFC 1841           LAN Extension Interface Protocol       September 1995
  1237.  
  1238.  
  1239.    address to the host router. A MAC address filter consists of MAC
  1240.    address, a MAC address mask, and a permit or deny field. (See the
  1241.    "Option-Data Field Descriptions" section later in this section for
  1242.    more information on these filter fields.)
  1243.  
  1244.    A LEX_RCMD_REQUEST packet can contain 0 to 100 (depending on MTU
  1245.    size) MAC address filters. When a LEX_RCMD_REQUEST packet contains
  1246.    multiple filters, they are concatenated.
  1247.  
  1248.    The LAN extension interface unit applies MAC address filters to each
  1249.    inbound packet's source MAC address in the order in which the filters
  1250.    exist in the filter entry list. A packet must be permitted by one of
  1251.    the filters before the LAN extension interface unit can forward the
  1252.    packet across the serial link.
  1253.  
  1254. 4.1 LEX RCMD_REQUEST - Filter MAC Address
  1255.  
  1256.    Figure 7 shows a frame format summary of a LEX_RCMD_REQUEST packet
  1257.    for the Filter MAC Address remote command option. The host router
  1258.    transmits the fields from left to right.
  1259.  
  1260.     Figure 7 LEX_RCMD_REQUEST Packet Frame Format - Filter MAC Address
  1261.  
  1262.                             PPP Header
  1263. <-------------------------------------------------------------->
  1264.  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
  1265. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1266. |              0xFF03           |          Protocol-Type        |
  1267. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1268.               (2 octets)                         (2)
  1269.  
  1270.                 LAN Extension Interface Protocol Header
  1271. <-------------------------------------------------------------->
  1272.  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
  1273. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1274. |      Code     |   Identifier  |              Length           |
  1275. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1276.          (1)            (1)                     (2)
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290. Chapman, et al               Informational                     [Page 23]
  1291.  
  1292. RFC 1841           LAN Extension Interface Protocol       September 1995
  1293.  
  1294.  
  1295.                    LAN Extension Interface Remote Command Options
  1296. <--------------------------------
  1297.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1298. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1299. |  Option-Type  |  Option-Flags |
  1300. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1301.          (1)            (1)
  1302.  
  1303.                  ---------------------------------------------->
  1304.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  1305.                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  1306.                          Option-Length          |  Option-Data |
  1307.                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  1308.                                (2)
  1309.  
  1310. Where the Option-Data field contains the following fields:
  1311.  
  1312.  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
  1313. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1314. |                      MAC Address (48 bits)....
  1315. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1316. |                      MAC Address Mask (48 bits)....
  1317. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1318. |      Permit/Deny (16 bits)    |
  1319. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1320.  
  1321.    Summary Field Descriptions
  1322.  
  1323.    For a complete description of the fields in the PPP Header, the LAN
  1324.    Extension Interface Protocol Header, and the LAN Extension Interface
  1325.    Remote Command Options, refer to the "Remote Command Options" section
  1326.    earlier in this document. Table 4 provides a summary of these fields
  1327.    when sending a LEX_RCMD_REQUEST packet that configures the LAN
  1328.    extension interface unit to filter by source MAC address.
  1329.  
  1330.    Table 4  Field Values for LEX_RCMD_REQUEST Packet - Filter MAC Address
  1331.  
  1332.    Field                Value
  1333.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1334.                         information)
  1335.    Protocol-Type        0x8041 (Control packet)
  1336.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  1337.    Identifier           Valid values: 0x01-0xFF
  1338.    Length               Minimum length = 12 octets
  1339.                         Maximum length = 1412 octets
  1340.    Option-Type          0x02 (Filter MAC Address)
  1341.    Option-Flags         None
  1342.    Option-Length        Minimum length = 4 octets
  1343.  
  1344.  
  1345.  
  1346. Chapman, et al               Informational                     [Page 24]
  1347.  
  1348. RFC 1841           LAN Extension Interface Protocol       September 1995
  1349.  
  1350.  
  1351.                         Maximum length = 1404 octets
  1352.    Option-Data          Zero or more filters to be applied at the
  1353.                         LAN extension interface unit. See the
  1354.                         following "Option-Data Field Description
  1355.                         section for details.
  1356.  
  1357.    Option-Data Field Descriptions
  1358.  
  1359.    The following three Option-Data fields are used in conjunction to
  1360.    specify a MAC address filter:
  1361.  
  1362.    *  MAC Address
  1363.  
  1364.    The MAC Address field contains a 48-bit IEEE 802.3 MAC address in
  1365.    canonical format.
  1366.  
  1367.    *  MAC Address Mask
  1368.  
  1369.    The MAC Address Mask field contains a "wild card" mask. The mask is a
  1370.    48-bit hexadecimal number whose ones bits correspond to the MAC
  1371.    address bits to be ignored during the comparison. The mask excludes
  1372.    bits from the comparison in the MAC address filter.
  1373.  
  1374.    *  Permit/Deny
  1375.  
  1376.    The Permit/Deny field determines whether or not a MAC address filter
  1377.    permits or denies inbound frames of a specific MAC address to pass to
  1378.    the host router. A permit value is a non-zero value that allows
  1379.    frames of a specific MAC address to pass to the host router. A deny
  1380.    value is a zero value that does not allow frames of a specific MAC
  1381.    address to pass to the host router.
  1382.  
  1383.    Implementation Notes
  1384.  
  1385.    Each LEX_RCMD_REQUEST packet is a complete specification of all MAC
  1386.    address filters and replaces any previously established filters.
  1387.  
  1388.    A LEX_RCMD_REQUEST packet with an Option-Length field equal to four
  1389.    (without any filter entries) instructs the LAN extension interface
  1390.    unit to turn off filtering. All MAC addresses, except local
  1391.    destination addresses cached in the self-learning filter, are
  1392.    forwarded.
  1393.  
  1394. 4.2 Response Packets - Filter MAC Address
  1395.  
  1396.    The following packets are valid responses to the Filter MAC Address
  1397.    LEX_RCMD_REQUEST packet:
  1398.  
  1399.  
  1400.  
  1401.  
  1402. Chapman, et al               Informational                     [Page 25]
  1403.  
  1404. RFC 1841           LAN Extension Interface Protocol       September 1995
  1405.  
  1406.  
  1407.    *  LEX_RCMD_ACK - Filter MAC Address
  1408.  
  1409.    The LAN extension interface unit sends a LEX_RCMD_ACK packet in
  1410.    response to a Filter MAC Address LEX_RCMD_REQUEST packet when the LAN
  1411.    extension interface unit correctly receives the Filter MAC Address
  1412.    remote command option and applies the entries to its filter table.
  1413.    All MAC address filter entries are returned in the LEX_RCMD_ACK
  1414.    packet.
  1415.  
  1416.    *  LEX_RCMD_NAK - Filter MAC Address
  1417.  
  1418.    The LAN extension interface unit sends a LEX_RCMD_NAK packet in
  1419.    response to the Filter MAC Address LEX_RCMD_REQUEST packet when the
  1420.    request contains an incorrect number of bytes in the filter or when
  1421.    there are no more filter entries available. The LAN extension
  1422.    interface unit continues to use the previous filter table (that is,
  1423.    the filter table that existed prior to the receipt of the request).
  1424.    The host router should signal an error to the user/network
  1425.    administrator. All filter entries are returned in the LEX_RCMD_NAK
  1426.    packet.
  1427.  
  1428.    *  LEX_RCMD-REJ - Filter MAC Address
  1429.  
  1430.    See the "Conditions for Sending PPP-LEX Packets" section earlier in
  1431.    this document for more information on this packet type.
  1432.  
  1433.    Table 5 summarizes the field values of Filter MAC Address
  1434.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  1435.  
  1436.       Table 5  Field Values for Response Packets - Filter MAC Address
  1437.  
  1438.    Field                Value
  1439.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1440.                         information)
  1441.    Protocol-Type        0x8041 (Control packet)
  1442.    Code                 Valid values:
  1443.                         * 0x41 (LEX_RCMD_ACK packet)
  1444.                         * 0x42 (LEX_RCMD_NAK packet)
  1445.                         * 0x43 (LEX_RCMD_REJ packet)
  1446.    Identifier           The same value as that sent by the
  1447.                         LEX_RCMD_REQUEST packet
  1448.    Length               The same value as that sent by the
  1449.                         LEX_RCMD_REQUEST packet
  1450.    Option-Type          0x02 (Filter MAC Address)
  1451.    Option-Flags         None
  1452.    Option-Length        The same value as that sent by the
  1453.                         LEX_RCMD_REQUEST packet
  1454.    Option-Data          The filter entries sent in the
  1455.  
  1456.  
  1457.  
  1458. Chapman, et al               Informational                     [Page 26]
  1459.  
  1460. RFC 1841           LAN Extension Interface Protocol       September 1995
  1461.  
  1462.  
  1463.                         LEX_RCMD_REQUEST packet
  1464.  
  1465. 5.0 Set Priority
  1466.  
  1467.    The host router sends a LEX_RCMD_ REQUEST with an Option-Type of 0x03
  1468.    to the LAN extension interface unit to establish the sending priority
  1469.    of different protocol type packets from the LAN extension interface
  1470.    unit to host router. There are four levels of priority:
  1471.  
  1472.       *  High
  1473.       *  Medium
  1474.       *  Normal
  1475.       *  Low
  1476.  
  1477.    Packets are classified according to protocol type and then are queued
  1478.    to one of four output queues on the LAN extension interface unit that
  1479.    correspond to the above priority levels. When the LAN extension
  1480.    interface unit is ready to transmit a packet, it scans the priority
  1481.    queues in order, from the highest to lowest, to find the highest
  1482.    priority packet.
  1483.  
  1484. 5.1 LEX RCMD_REQUEST - Set Priority
  1485.  
  1486.    To establish priority queues for each protocol type, the host router
  1487.    sends a Set Priority LEX_RCMD_REQUEST packet. Figure 8 shows a frame
  1488.    format summary of such a LEX_RCMD_REQUEST packet. The host router
  1489.    transmits the fields from left to right.
  1490.  
  1491.        Figure 8 LEX_RCMD_REQUEST Packet Frame Format - Set Priority
  1492.  
  1493.                             PPP Header
  1494. <-------------------------------------------------------------->
  1495.  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
  1496. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1497. |              0xFF03           |          Protocol-Type        |
  1498. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1499.               (2 octets)                         (2)
  1500.  
  1501.                 LAN Extension Interface Protocol Header
  1502. <-------------------------------------------------------------->
  1503.  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
  1504. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1505. |      Code     |   Identifier  |              Length           |
  1506. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1507.          (1)            (1)                     (2)
  1508.  
  1509.  
  1510.  
  1511.  
  1512.  
  1513.  
  1514. Chapman, et al               Informational                     [Page 27]
  1515.  
  1516. RFC 1841           LAN Extension Interface Protocol       September 1995
  1517.  
  1518.  
  1519.                    LAN Extension Interface Remote Command Options
  1520. <--------------------------------
  1521.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  1522. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1523. |  Option-Type  |  Option-Flags |
  1524. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1525.          (1)            (1)
  1526.  
  1527.                  ---------------------------------------------->
  1528.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  1529.                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  1530.                          Option-Length          |  Option-Data |
  1531.                  -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-
  1532.                                (2)
  1533.  
  1534.    Where the Option-Data field contains the following fields:
  1535.  
  1536.  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
  1537. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1538. |     Protocol Type (16 bits)   |    Protocol Value (16 bits)   |
  1539. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1540.  
  1541.    Summary Field Descriptions
  1542.  
  1543.    For a complete descriptions of the fields in the PPP Header, the LAN
  1544.    Extension Interface Protocol Header, and the LAN Extension Interface
  1545.    Remote Command Options, refer to the "Remote Command Options" section
  1546.    earlier in this document. The following table provides a summary of
  1547.    these fields when sending a LEX_RCMD_REQUEST packet that sets
  1548.    priority queuing.
  1549.  
  1550.      Table 6  Field Values for LEX_RCMD_REQUEST Packet - Set Priority
  1551.  
  1552.    Field                Value
  1553.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1554.                         information)
  1555.    Protocol-Type        0x8041 (Control packet)
  1556.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  1557.    Identifier           Valid values: 0x01-0xFF
  1558.    Length               Minimum length = 12 octets
  1559.                         Maximum length = 1028 octets
  1560.    Option-Type          0x03 (Set Priority)
  1561.    Option-Flags         None
  1562.    Option-Length        Minimum length = 4 octets
  1563.                         Maximum length = 1020 octets
  1564.    Option-Data          Protocol Type and Priority Value. See the
  1565.                         following "Option-Data Field Description"
  1566.                         section for details.
  1567.  
  1568.  
  1569.  
  1570. Chapman, et al               Informational                     [Page 28]
  1571.  
  1572. RFC 1841           LAN Extension Interface Protocol       September 1995
  1573.  
  1574.  
  1575.    Option-Data Field Descriptions
  1576.  
  1577.    The following Option-Data fields set the priority queuing of
  1578.    different protocol type packets.
  1579.  
  1580.    *  Protocol Type
  1581.  
  1582.    The Protocol Type field contains a 16-bit number that is any Ethernet
  1583.    type code. See the most recent "Assigned Numbers" RFC for the correct
  1584.    Ethernet type code.
  1585.  
  1586.    *  Priority Value
  1587.  
  1588.    The Priority Value field specifies the priority queue for the
  1589.    protocol type specified in the Protocol Type field. Valid values are
  1590.    as follows:
  1591.  
  1592.       - 0 - High priority queue
  1593.       - 1 - Medium priority queue
  1594.       - 2 - Normal priority queue
  1595.       - 3 - Low priority queue
  1596.  
  1597.    Sending a LEX_RCMD_REQUEST packet with an Option-Length of four (no
  1598.    priority entries) disables priority queuing. When disabled, the LAN
  1599.    extension interface unit transfers all packets at a normal (2)
  1600.    priority level. When a new priority is specified, it overwrites the
  1601.    previous setting.
  1602.  
  1603. 5.2 Response Packets - Set Priority
  1604.  
  1605.    The following packets are valid responses to the Set Priority
  1606.  
  1607.    LEX_RCMD_REQUEST packet.
  1608.  
  1609.    *  LEX_RCMD_ACK - Set Priority
  1610.  
  1611.    See the "Conditions for Sending PPP-LEX Packets" section earlier in
  1612.    this document for more information on this packet type.
  1613.  
  1614.    *  LEX_RCMD_NAK - Set Priority
  1615.  
  1616.    The LAN extension interface unit sends a LEX_RCMD_NAK packet in
  1617.    response to the Set Priority LEX_RCMD_REQUEST packet when the request
  1618.    contains an incorrect number of bytes in the message, when necessary
  1619.    resources are not available, or when the specified priority is
  1620.    invalid.
  1621.  
  1622.  
  1623.  
  1624.  
  1625.  
  1626. Chapman, et al               Informational                     [Page 29]
  1627.  
  1628. RFC 1841           LAN Extension Interface Protocol       September 1995
  1629.  
  1630.  
  1631.    *  LEX_RCMD-REJ - Set Priority
  1632.  
  1633.    See the "Conditions for Sending PPP-LEX Packets" section earlier in
  1634.    this document for more information on this packet type.  Table 7
  1635.    summarizes the field values of Set Priority LEX_RCMD_ACK,
  1636.    LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  1637.  
  1638.          Table 7  Field Values for Response Packets - Set Priority
  1639.  
  1640.    Field                Value
  1641.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1642.                         information)
  1643.    Protocol-Type        0x8041 (Control packet)
  1644.    Code                 Valid values:
  1645.                         * 0x41 (LEX_RCMD_ACK packet)
  1646.                         * 0x42 (LEX_RCMD_NAK packet)
  1647.                         * 0x43 (LEX_RCMD_REJ packet)
  1648.    Identifier           A randomly generated value that aids in
  1649.                         matching requests with replies
  1650.    Length               Minimum length = 12 octets
  1651.                         Maximum length = 1028 octets
  1652.    Option-Type          0x03 (Set Priority)
  1653.    Option-Flags         None
  1654.    Option-Length        Minimum length = 4 octets
  1655.                         Maximum length = 1020 octets
  1656.    Option-Data          Protocol Type and Priority Value sent
  1657.                         in the LEX_RCMD_REQUEST packet
  1658.  
  1659. 6.0 Disable LAN Extension Ethernet Interface
  1660.  
  1661.    The host router sends a LEX_RCMD_ REQUEST with an Option-Type of 0x04
  1662.    to the LAN extension interface unit to disable the LAN extension
  1663.    Ethernet interface. This remote command option stops data traffic
  1664.    from the LAN extension interface unit to the host router for
  1665.    troubleshooting or for reconfiguring the LAN extension interface
  1666.    unit. This remote command option only affects data traffic. PPP-LEX
  1667.    control packets can still be transferred over the serial link.
  1668.  
  1669.  
  1670.  
  1671.  
  1672.  
  1673.  
  1674.  
  1675.  
  1676.  
  1677.  
  1678.  
  1679.  
  1680.  
  1681.  
  1682. Chapman, et al               Informational                     [Page 30]
  1683.  
  1684. RFC 1841           LAN Extension Interface Protocol       September 1995
  1685.  
  1686.  
  1687. 6.1 LEX RCMD_REQUEST - Disable LAN Extension Ethernet Interface
  1688.  
  1689.    Figure 9 shows a frame format summary of a LEX_RCMD_REQUEST packet
  1690.    for the Disable LAN Extension Ethernet Interface remote command
  1691.    option. The host router transmits the fields from left to right.
  1692.  
  1693.              Figure 9  LEX_RCMD_REQUEST Packet Frame Format -
  1694.                  Disable LAN Extension Ethernet Interface
  1695.  
  1696.                             PPP Header
  1697. <-------------------------------------------------------------->
  1698.  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
  1699. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1700. |              0xFF03           |          Protocol-Type        |
  1701. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1702.               (2 octets)                         (2)
  1703.  
  1704.                 LAN Extension Interface Protocol Header
  1705. <-------------------------------------------------------------->
  1706.  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
  1707. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1708. |      Code     |   Identifier  |              Length           |
  1709. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1710.          (1)            (1)                     (2)
  1711.  
  1712.             LAN Extension Interface Remote Command Options
  1713. <-------------------------------------------------------------->
  1714.  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
  1715. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1716. |  Option-Type  |  Option-Flags |        Option-Length          |
  1717. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1718.          (1)            (1)                    (2)
  1719.  
  1720.    Summary Field Descriptions
  1721.  
  1722.    For complete descriptions of the fields in the PPP Header, the LAN
  1723.    Extension Interface Protocol Header, and the LAN Extension Interface
  1724.    Remote Command Option, refer to the "Remote Command Options" section
  1725.    earlier in this document. The following table provides a summary of
  1726.    these fields when sending a LEX_RCMD_REQUEST packet that disables the
  1727.    LAN extension interface unit.
  1728.  
  1729.  
  1730.  
  1731.  
  1732.  
  1733.  
  1734.  
  1735.  
  1736.  
  1737.  
  1738. Chapman, et al               Informational                     [Page 31]
  1739.  
  1740. RFC 1841           LAN Extension Interface Protocol       September 1995
  1741.  
  1742.  
  1743.            Table 8  Field Values for LEX_RCMD_REQUEST Packet -
  1744.                  Disable LAN Extension Ethernet Interface
  1745.  
  1746.    Field                Value
  1747.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1748.                         information)
  1749.    Protocol-Type        0x8041 (Control packet)
  1750.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  1751.    Identifier           Valid values: 0x01-0xFF
  1752.    Length               12 octets
  1753.    Option-Type          0x04 (Disable LAN Extension Ethernet
  1754.                         Interface)
  1755.    Option-Flags         None
  1756.    Option-Length        4 octets
  1757.    Option-Data          None
  1758.  
  1759. 6.2 Response Packets - Disable LAN Extension Ethernet Interface
  1760.  
  1761.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD-REJ packets are valid
  1762.    responses to the Disable LAN Extension Ethernet Interface
  1763.    LEX_RCMD_REQUEST packet. Refer to the "Conditions for Sending PPP-LEX
  1764.    Packets" section earlier in this document for more information on
  1765.    when the LAN extension interface unit sends each of these response
  1766.    packets. Note that the LAN extension interface unit sends the
  1767.    LEX_RCMD_ACK packet after shutting down the interface.
  1768.  
  1769.    Table 9 summarizes the field values of Disable LAN Extension Ethernet
  1770.    Interface LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  1771.  
  1772.                Table 9  Field Values for Response Packets -
  1773.                  Disable LAN Extension Ethernet Interface
  1774.  
  1775.    Field                Value
  1776.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1777.                         information)
  1778.    Protocol-Type        0x8041 (Control packet)
  1779.    Code                 Valid values:
  1780.                         * 0x41 (LEX_RCMD_ACK packet)
  1781.                         * 0x42 (LEX_RCMD_NAK packet)
  1782.                         * 0x43 (LEX_RCMD_REJ packet)
  1783.    Identifier           The same value as that sent by the
  1784.                         LEX_RCMD_REQUEST packet
  1785.    Length               12 octets
  1786.    Option-Type          0x04 (Disable LAN Extension Ethernet
  1787.                         Interface)
  1788.    Option-Flags         None
  1789.    Option-Length        4 octets
  1790.    Option-Data          None
  1791.  
  1792.  
  1793.  
  1794. Chapman, et al               Informational                     [Page 32]
  1795.  
  1796. RFC 1841           LAN Extension Interface Protocol       September 1995
  1797.  
  1798.  
  1799. 7.0 Enable LAN Extension Ethernet Interface
  1800.  
  1801.    The host router sends a LEX_RCMD_ REQUEST with an Option-Type of 0x05
  1802.    to the LAN extension interface unit to enable the LAN extension
  1803.    Ethernet interface. This remote command option allows LAN traffic to
  1804.    flow into the LAN extension interface unit after the interface has
  1805.    been disabled.
  1806.  
  1807. 7.1 LEX RCMD_REQUEST - Enable LAN Extension Ethernet Interface
  1808.  
  1809.    Figure 10 shows a frame format summary of a LEX_RCMD_REQUEST packet
  1810.    for an Enable LAN Extension Ethernet Interface remote command option.
  1811.    The host router transmits the fields from left to right.
  1812.  
  1813.    Figure 10 LEX_RCMD_REQUEST Packet Frame Format - Enable LAN Extension
  1814.    Ethernet Interface
  1815.  
  1816.                             PPP Header
  1817. <-------------------------------------------------------------->
  1818.  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
  1819. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1820. |              0xFF03           |          Protocol-Type        |
  1821. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1822.               (2 octets)                         (2)
  1823.  
  1824.                 LAN Extension Interface Protocol Header
  1825. <-------------------------------------------------------------->
  1826.  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
  1827. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1828. |      Code     |   Identifier  |              Length           |
  1829. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1830.          (1)            (1)                     (2)
  1831.  
  1832.             LAN Extension Interface Remote Command Options
  1833. <-------------------------------------------------------------->
  1834.  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
  1835. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1836. |  Option-Type  |  Option-Flags |        Option-Length          |
  1837. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1838.          (1)            (1)                    (2)
  1839.  
  1840.    Summary Field Descriptions
  1841.  
  1842.    For complete descriptions of the fields in the PPP Header, the LAN
  1843.    Extension Interface Protocol Header, and the LAN Extension Interface
  1844.    Remote Command Option, refer to the "Remote Command Options" section
  1845.    earlier in this document. Table 10 provides a summary of these fields
  1846.    when sending a LEX_RCMD_REQUEST packet that enables the LAN extension
  1847.  
  1848.  
  1849.  
  1850. Chapman, et al               Informational                     [Page 33]
  1851.  
  1852. RFC 1841           LAN Extension Interface Protocol       September 1995
  1853.  
  1854.  
  1855.    Ethernet interface.
  1856.  
  1857.            Table 10  Field Values for LEX_RCMD_REQUEST Packet -
  1858.                   Enable LAN Extension Ethernet Interface
  1859.  
  1860.    Field                Value
  1861.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1862.                         information)
  1863.    Protocol-Type        0x8041 (Control packet)
  1864.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  1865.    Identifier           Valid values: 0x01-0xFF
  1866.    Length               12octets
  1867.    Option-Type          0x05 (Enable LAN Extension Ethernet
  1868.                         Interface)
  1869.    Option-Flags         None
  1870.    Option-Length        4 octets
  1871.    Option-Data          None
  1872.  
  1873. 7.2 Response Packets - Enable LAN Extension Ethernet Interface
  1874.  
  1875.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD-REJ packets are valid
  1876.    responses to the Enable LAN Extension Ethernet Interface
  1877.    LEX_RCMD_REQUEST packet. Refer to the "Conditions for Sending PPP-LEX
  1878.    Packets" section earlier in this document for more information on
  1879.    when the LAN extension interface unit sends each of these response
  1880.    packets. Note that the LAN extension interface unit sends the
  1881.    LEX_RCMD_ACK packet after enabling the interface.
  1882.  
  1883.    The frame format of the response packets mirrors that of the request.
  1884.    Table 11 summarizes the field values of Enable LAN Extension Ethernet
  1885.    Interface LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  1886.  
  1887.               Table 11  Field Values for Response Packets -
  1888.                   Enable LAN Extension Ethernet Interface
  1889.  
  1890.    Field                Value
  1891.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1892.                         information)
  1893.    Protocol-Type        0x8041 (Control packet)
  1894.    Code                 Valid values:
  1895.                         * 0x41 (LEX_RCMD_ACK packet)
  1896.                         * 0x42 (LEX_RCMD_NAK packet)
  1897.                         * 0x43 (LEX_RCMD_REJ packet)
  1898.    Identifier           The same value as that sent by the
  1899.                         LEX_RCMD_REQUEST packet
  1900.    Length               12 octets
  1901.    Option-Type          0x05 (Enable LAN Extension Ethernet
  1902.                         Interface)
  1903.  
  1904.  
  1905.  
  1906. Chapman, et al               Informational                     [Page 34]
  1907.  
  1908. RFC 1841           LAN Extension Interface Protocol       September 1995
  1909.  
  1910.  
  1911.    Option-Flags         None
  1912.    Option-Length        4 octets
  1913.    Option-Data          None
  1914.  
  1915. 8.0 Reboot LAN Extension Interface Unit
  1916.  
  1917.    The host router sends a LEX_RCMD_REQUEST packet with an Option-Type
  1918.    of 0x06 to the LAN extension interface unit to cause the LAN
  1919.    extension interface unit to reboot itself. The Option-Flags field
  1920.    specifies the boot mode for the LAN extension interface unit. There
  1921.    are two boot modes:
  1922.  
  1923.    * The first boot mode (Option-Flag 0x00) is the default. The
  1924.      default boot mode causes the LAN extension interface unit to
  1925.      check for a valid Flash image and to boot from it if it exists.
  1926.      If a valid Flash image does not exist, the default boot mode
  1927.      causes the LAN extension interface unit to boot from the PROM
  1928.      image. Similarly, if the Flash image is bad, then the LAN
  1929.      extension interface unit recovers by booting from the PROM image.
  1930.  
  1931.    * The second boot mode (Option-Flag 0x01) forces the LAN extension
  1932.      interface unit to boot from the PROM image.
  1933.  
  1934. 8.1 LEX RCMD_REQUEST - Reboot LAN Extension  Interface Unit
  1935.  
  1936.    Figure 11 shows a frame format summary of a LEX_RCMD_REQUEST packet
  1937.    for a Reboot LAN Extension Interface Unit remote command option. The
  1938.    host router transmits the fields from left to right.
  1939.  
  1940.              Figure 11 LEX_RCMD_REQUEST Packet Frame Format -
  1941.                     Reboot LAN Extension Interface Unit
  1942.  
  1943.                             PPP Header
  1944. <-------------------------------------------------------------->
  1945.  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
  1946. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1947. |              0xFF03           |          Protocol-Type        |
  1948. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1949.               (2 octets)                         (2)
  1950.  
  1951.                 LAN Extension Interface Protocol Header
  1952. <-------------------------------------------------------------->
  1953.  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
  1954. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1955. |      Code     |   Identifier  |            Length             |
  1956. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1957.          (1)            (1)                   (2)
  1958.  
  1959.  
  1960.  
  1961.  
  1962. Chapman, et al               Informational                     [Page 35]
  1963.  
  1964. RFC 1841           LAN Extension Interface Protocol       September 1995
  1965.  
  1966.  
  1967.             LAN Extension Interface Remote Command Options
  1968. <-------------------------------------------------------------->
  1969.  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
  1970. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1971. |  Option-Type  |  Option-Flags |        Option-Length          |
  1972. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  1973.          (1)            (1)                    (2)
  1974.  
  1975.    Summary Field Descriptions
  1976.  
  1977.    For complete descriptions of the fields in the PPP Header, the LAN
  1978.    Extension Interface Protocol Header, and the LAN Extension Interface
  1979.    Remote Command Option, refer to the "Remote Command Options" section
  1980.    earlier in this document. Table 12 provides a summary of these fields
  1981.    when sending a LEX_RCMD_REQUEST packet that instructs the LAN
  1982.    extension interface unit to reboot.
  1983.  
  1984.            Table 12  Field Values for LEX_RCMD_REQUEST Packet -
  1985.                     Reboot LAN Extension Interface Unit
  1986.  
  1987.    Field                Value
  1988.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  1989.                         information)
  1990.    Protocol-Type        0x8041 (Control packet)
  1991.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  1992.    Identifier           Valid values: 0x01-0xFF
  1993.    Length               12 octets
  1994.    Option-Type          0x06 (Reboot LAN Extension Interface Unit)
  1995.    Option-Flags         Valid values:
  1996.                         * 0x00 - Reboot from Flash image if it
  1997.                           exists. If not, reboot from PROM. (This
  1998.                           value does not force the LAN extension
  1999.                           interface unit to reboot from PROM.)
  2000.                         * 0x01 - Reboot from PROM explicitly.
  2001.    Option-Length        4 octets
  2002.    Option-Data          None
  2003.  
  2004. 8.2 Response Packets - Reboot LAN Extension Interface Unit
  2005.  
  2006.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD-REJ packets are valid
  2007.    responses to the Reboot LAN Extension Interface Unit LEX_RCMD_REQUEST
  2008.    packet. Refer to the "Conditions for Sending PPP-LEX Packets" section
  2009.    earlier in this document for more information on when the LAN
  2010.    extension interface unit sends each of these response packets. Note
  2011.    that the LAN extension interface unit reboots after sending the
  2012.    LEX_RCMD_ACK packet.
  2013.  
  2014.  
  2015.  
  2016.  
  2017.  
  2018. Chapman, et al               Informational                     [Page 36]
  2019.  
  2020. RFC 1841           LAN Extension Interface Protocol       September 1995
  2021.  
  2022.  
  2023.    The frame format for the response packets mirrors that of the
  2024.    request. Table 13 summarizes the field values for Reboot LAN
  2025.    Extension Interface Unit LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ
  2026.    packets.
  2027.  
  2028.               Table 13  Field Values for Response Packets -
  2029.                     Reboot LAN Extension Interface Unit
  2030.  
  2031.    Field                Value
  2032.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2033.                         information)
  2034.    Protocol-Type        0x8041 (Control packet)
  2035.    Code                 Valid values:
  2036.                         * 0x41 (LEX_RCMD_ACK packet)
  2037.                         * 0x42 (LEX_RCMD_NAK packet)
  2038.                         * 0x43 (LEX_RCMD_REJ packet)
  2039.    Identifier           The same value as that sent in the
  2040.                         LEX_RCMD_REQUEST packet
  2041.    Length               12 octets
  2042.    Option-Type          0x06 (Reboot LAN Extension Interface Unit)
  2043.    Option-Flags         Valid values:
  2044.                         * 0x00 - Reboot from Flash image if it
  2045.                           exists. If not, reboot from PROM. (This
  2046.                           value does not force the LAN extension
  2047.                           interface unit to reboot from PROM.)
  2048.                         * 0x01 - Reboot from PROM explicitly.
  2049.    Option-Length        4 octets
  2050.    Option-Data          None
  2051.  
  2052. 9.0 Request Statistics
  2053.  
  2054.    The host router issues a LEX_RCMD_REQUEST packet with an Option-Type
  2055.    of 0x07 to obtain statistics information from the LAN extension
  2056.    interface unit. The host router may want statistics information about
  2057.    the following:
  2058.  
  2059.       *  Serial interface only
  2060.       *  LAN interface only
  2061.       *  Both the serial and LAN interfaces
  2062.  
  2063.    The host router may also send a Statistics Request LEX_RCMD_REQUEST
  2064.    packet to reset statistics in the LAN extension interface unit.
  2065.  
  2066. 9.1 LEX RCMD_REQUEST - Request Statistics
  2067.  
  2068.    Figure 12 shows a summary frame format of a LEX_RCMD_REQUEST packet
  2069.    for a Statistics Request remote command option. The host router
  2070.    transmits the fields from left to right.
  2071.  
  2072.  
  2073.  
  2074. Chapman, et al               Informational                     [Page 37]
  2075.  
  2076. RFC 1841           LAN Extension Interface Protocol       September 1995
  2077.  
  2078.  
  2079.     Figure 12 LEX_RCMD_REQUEST Packet Frame Format - Request Statistics
  2080.  
  2081.                             PPP Header
  2082. <-------------------------------------------------------------->
  2083.  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
  2084. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2085. |              0xFF03           |          Protocol-Type        |
  2086. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2087.               (2 octets)                         (2)
  2088.  
  2089.                 LAN Extension Interface Protocol Header
  2090. <-------------------------------------------------------------->
  2091.  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
  2092. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2093. |      Code     |   Identifier  |              Length           |
  2094. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2095.         (1)             (1)                     (2)
  2096.  
  2097.             LAN Extension Interface Remote Command Option
  2098. <-------------------------------------------------------------->
  2099.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 1 2 3 4 5 6 7 8 9 0 1 2
  2100. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2101. |  Option-Type  |  Option-Flags |        Option-Length          |
  2102. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2103.          (1)            (1)                    (2)
  2104.  
  2105. Summary Field Descriptions
  2106.  
  2107.    For complete descriptions of the fields in the PPP Header, the LAN
  2108.    Extension Interface Protocol Header, and the LAN Extension Interface
  2109.    Remote Command Option, refer to the "Remote Command Options" section
  2110.    earlier in this document. Table 14 provides a summary of these fields
  2111.    when sending a LEX_RCMD_REQUEST packet that requests statistics of
  2112.    the LAN extension interface unit.
  2113.  
  2114.            Table 14  Field Values for LEX_RCMD_REQUEST Packet -
  2115.                             Request Statistics
  2116.  
  2117.    Field                Value
  2118.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2119.                         information)
  2120.    Protocol-Type        0x8041 (Control packet)
  2121.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  2122.    Identifier           Valid values: 0x01-0xFF
  2123.    Length               12 octets
  2124.    Option-Type          0x07 (Request Statistics)
  2125.    Option-Flags         Valid values:
  2126.                         * 0x01 - Resets serial statistics in the LAN
  2127.  
  2128.  
  2129.  
  2130. Chapman, et al               Informational                     [Page 38]
  2131.  
  2132. RFC 1841           LAN Extension Interface Protocol       September 1995
  2133.  
  2134.  
  2135.                           extension interface unit
  2136.                         * 0x02 - Returns serial statistics from the
  2137.                           LAN extension interface unit
  2138.                         * 0x04 - Returns LAN statistics from the LAN
  2139.                           extension interface unit
  2140.                         * 0x08 - Resets LAN statistics in the LAN
  2141.                         * extension interface unit
  2142.                         If both serial and LAN statistics are
  2143.                         desired, the corresponding bits of this
  2144.                         field should be set (that is, 0x06). The
  2145.                         serial interface statistics appear in the
  2146.                         response packet before the LAN statistics.
  2147.    Option-Length        4 octets
  2148.    Option-Data          None
  2149.  
  2150. 9.2 LEX RCMD_ACK - Request Statistics
  2151.  
  2152.    The normal response to a Statistics Request LEX_RCMD_REQUEST packet
  2153.    is a LEX_RCMD_ACK packet. This acknowledgment packet has an Option-
  2154.    Type, an Option-Flags, and an Option-Length field followed by one or
  2155.    two blocks of statistics data. The value in the Option-Flags field
  2156.    indicates whether the packet has one or two blocks of statistics. For
  2157.    more information on these values, see the following "Summary Field
  2158.    Descriptions" section.
  2159.  
  2160.    The frame format for the Statistics Request LEX_RCMD_ACK packet
  2161.    follows. The LAN extension interface unit transmits the fields from
  2162.    left to right.
  2163.  
  2164.       Figure 13 LEX_RCMD_ACK Packet Frame Format - Request Statistics
  2165.  
  2166.                             PPP Header
  2167. <-------------------------------------------------------------->
  2168.  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
  2169. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2170. |              0xFF03           |          Protocol-Type        |
  2171. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2172.               (2 octets)                         (2)
  2173.  
  2174.                 LAN Extension Interface Protocol Header
  2175. <-------------------------------------------------------------->
  2176.  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
  2177. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2178. |      Code     |   Identifier  |              Length           |
  2179. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2180.         (1)             (1)                     (2)
  2181.  
  2182.  
  2183.  
  2184.  
  2185.  
  2186. Chapman, et al               Informational                     [Page 39]
  2187.  
  2188. RFC 1841           LAN Extension Interface Protocol       September 1995
  2189.  
  2190.  
  2191.             LAN Extension Interface Remote Command Options
  2192. <--------------------------------
  2193.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2194. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2195. |  Option-Type  |  Option-Flags |
  2196. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2197.          (1)            (1)
  2198.  
  2199.                 ----------------------------------------------->
  2200.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  2201.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2202.                        Option-Length          |  Option-Data   |
  2203.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2204.                               (2)
  2205.  
  2206.    Where the Option-Data fields contains one or both of the following
  2207.    statistics blocks:
  2208.  
  2209.    Serial Interface Statistics Block:
  2210.  
  2211.                        (32 bits)
  2212. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2213. | Serial Line Input, Number of Packets Received                 |
  2214. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2215. | Serial Line Input, Number of CRC Erros                        |
  2216. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2217. | Serial Line Input, Number of Framing Errors                   |
  2218. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2219. | Serial Line Input, Number of Overruns                         |
  2220. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2221. | Serial Line Input, Number of Packets Dropped                  |
  2222. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2223. | Serial Line Input, Number of Frame Aborts                     |
  2224. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2225. | Serial Line Input, Number of Packets in Error                 |
  2226. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2227. | Serial Line Input, Number of Packets Dropped Due to Lack of   |
  2228. | Buffer Descriptors                                            |
  2229. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2230. | Serial Line Input, Time of Last Packet Received               |
  2231. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2232. | Serial Line Input, Average Data Rate                          |
  2233. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2234. | Serial Line Input, Average Packet Rate                        |
  2235. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2236. | Serial Line Input, Number of Octets Received                  |
  2237. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2238. | Serial Line Input, Number of Packets Dropped Due to No Buffers|
  2239.  
  2240.  
  2241.  
  2242. Chapman, et al               Informational                     [Page 40]
  2243.  
  2244. RFC 1841           LAN Extension Interface Protocol       September 1995
  2245.  
  2246.  
  2247. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2248. | Serial Line Output, Number of Packets Transmitted             |
  2249. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2250. | Serial Line Output, Number of Packets with Error Transmissions|
  2251. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2252. | Serial Line Output, Number of Under-run Errors                |
  2253. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2254. | Serial Line Output, Number of Packets in Low Priority Queue   |
  2255. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2256. | Serial Line Output, Size of Low Priority Queue                |
  2257. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2258. | Serial Line Output, Number of Packets Dropped in Low Priority |
  2259. | Queue                                                         |
  2260. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2261. | Serial Line Output, Number of Packets in Normal Priority Queue|
  2262. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2263. | Serial Line Output, Size of Normal Priority Queue             |
  2264. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2265. | Serial Line Output, Number of Packets Dropped in Normal       |
  2266. | Priority Queue                                                |
  2267. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2268.  
  2269. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2270. | Serial Line Output, Number of Packets in Medium Priority Queue|
  2271. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2272. | Serial Line Output, Size of Medium Priority Queue             |
  2273. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2274. | Serial Line Output, Number of Packets Dropped in              |
  2275. | Medium Priority Queue                                         |
  2276. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2277. | Serial Line Output, Number of Packets in High Priority Queue  |
  2278. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2279. | Serial Line Output, Size of High Priority Queue               |
  2280. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2281. | Serial Line Output, Number of Packets Dropped in High         |
  2282. | Priority Queue                                                |
  2283. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2284. | Serial Line Output, Time of Last Packet Transmitted           |
  2285. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2286. | Serial Line Output, Number of Carrier Transitions             |
  2287. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2288. | Serial Line Output, Transmitted Data Rate                     |
  2289. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2290. | Serial Line Output, Number of Octets Transmitted              |
  2291. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2292.  
  2293.  
  2294.  
  2295.  
  2296.  
  2297.  
  2298. Chapman, et al               Informational                     [Page 41]
  2299.  
  2300. RFC 1841           LAN Extension Interface Protocol       September 1995
  2301.  
  2302.  
  2303.    Lan Interface Statistics Block:
  2304.  
  2305.                         (32 bits)
  2306. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2307. | LAN Input, Number of Packets Received                         |
  2308. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2309. | LAN Input, Number of Packets Received with CRC Errors         |
  2310. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2311. | LAN Input, Number of Packets Received with Framing Errors     |
  2312. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2313. | LAN Input, Number of Overruns                                 |
  2314. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2315. | LAN Input, Number of Packets Dropped Due to Congestion        |
  2316. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2317. | LAN Input, Number of Frame Aborts                             |
  2318. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2319. | LAN Input, Number of Broadcast Packets Received               |
  2320. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2321. | LAN Input, Number of Packets Received with Errors             |
  2322. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2323. | LAN Input, Number of Packets Dropped Due to Lack of Buffer    |
  2324. | Descriptors                                                   |
  2325. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2326. | LAN Input, Number of Runts (Too Small Packets) Received       |
  2327. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2328. | LAN Input, Time of Last Packet Received                       |
  2329. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2330.  
  2331.  
  2332. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2333. | LAN Input, Average Data Rate                                  |
  2334. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2335. | LAN Input, Average Packet Rate                                |
  2336. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2337. | LAN Input, Number of Octets Received                          |
  2338. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2339. | LAN Input, Number of Packets Dropped Due to Lack of Buffers   |
  2340. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2341. | LAN Output, Number of Packets Transmitted                     |
  2342. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2343. | LAN Output, Number of Packets Transmitted with Errors         |
  2344. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2345. | LAN Output, Number of Under-runs                              |
  2346. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2347. | LAN Output, Number of Collisions (Ethernet)                   |
  2348. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2349. | LAN Output, Number of Packets in Queue                        |
  2350. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2351.  
  2352.  
  2353.  
  2354. Chapman, et al               Informational                     [Page 42]
  2355.  
  2356. RFC 1841           LAN Extension Interface Protocol       September 1995
  2357.  
  2358.  
  2359. | LAN Output, Queue Size                                        |
  2360. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2361. | LAN Output, Number of Packets Dropped in Queue                |
  2362. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2363. | LAN Output, Time of Last Packet Transmitted                   |
  2364. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2365. | LAN Output, Transmit Data Rate                                |
  2366. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2367. | LAN Output, Transmit Packet Rate                              |
  2368. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2369. | LAN Output, Number of Octets Transmitted                      |
  2370. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2371. | LAN, Number of Interface Resets                               |
  2372. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2373.  
  2374.    Note:  Counts are cumulative since last counter reset. Time stamps
  2375.    are in milliseconds since last given event. Packet rates are in
  2376.    packets per second (averaged).
  2377.  
  2378.    Summary Field Descriptions
  2379.  
  2380.    For complete descriptions of the fields in the PPP Header, the LAN
  2381.    Extension Protocol Header, and the LAN Extension Remote Command
  2382.    Option, refer to the "Remote Command Options" section earlier in this
  2383.    document. The following table provides a summary of these fields for
  2384.    a LEX_RCMD_ACK packet that sends statistics to the host router.
  2385.  
  2386.     Table 15  Field Values for LEX_RCMD_ACK Packet - Request Statistics
  2387.  
  2388.    Field                Value
  2389.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2390.                         information)
  2391.    Protocol-Type        0x8041 (Control packet)
  2392.    Code                 0x41 (LEX_RCMD_ACK packet)
  2393.    Identifier           The same value as that sent by the
  2394.                         LEX_RCMD_REQUEST packet
  2395.    Length               Minimum length = 120 octets
  2396.                         Maximum length = 140 octets
  2397.    Option-Type          0x07 (Request Statistics)
  2398.    Option-Flags         The LAN extension interface unit always sets
  2399.                         this field to reflect the actions taken in
  2400.                         response to the LEX_RCMD_ACK packet. Valid
  2401.                         values:
  2402.                         * 0x01 - Reset serial statistics in the LAN
  2403.                           extension interface unit
  2404.                         * 0x02 - Return serial statistics from the
  2405.                           LAN extension interface unit
  2406.                         * 0x04 - Return LAN statistics from the LAN
  2407.  
  2408.  
  2409.  
  2410. Chapman, et al               Informational                     [Page 43]
  2411.  
  2412. RFC 1841           LAN Extension Interface Protocol       September 1995
  2413.  
  2414.  
  2415.                           extension interface unit
  2416.                         * 0x08 - Reset LAN statistics in the LAN
  2417.                           extension interface unit
  2418.                           If both serial and LAN statistics are
  2419.                           returned, the corresponding bits of this
  2420.                           field should are set (that is, 0x06). The
  2421.                           serial interface statistics appear in the
  2422.                           response packet before the LAN statistics.
  2423.    Option-Length        Minimum length = 116 octets
  2424.                         Maximum length = 136 octets
  2425.    Option-Data          The Serial Interface Statistics Block, the
  2426.                         LAN Interface Statistics Block, or both the
  2427.                         Serial Interface and LAN Interface
  2428.                         Statistics blocks. When the Option-Data
  2429.                         contains both blocks, the Serial Interface
  2430.                         Block precedes the LAN Interface Block.
  2431.                         Statistics values that the LAN extension
  2432.                         interface unit does not collect/support
  2433.                         are retuned with a value of zero.
  2434.  
  2435.    Implementation Notes
  2436.  
  2437.    If the LAN extension interface unit does not implement the capability
  2438.    of sending the serial and LAN interface statistics blocks separately,
  2439.    the implementation may always return both statistics blocks (with the
  2440.    Option-Flags and Option-Length fields containing the appropriate
  2441.    corresponding values).
  2442.  
  2443.    An implementation, such as a Token Ring LAN implementation, can
  2444.    collect a different set of statistics than shown above by defining a
  2445.    new statistics request type remote command option.
  2446.  
  2447. 9.3 LEX RCMD_NAK/LEX RCMD_REJ - Request Statistics
  2448.  
  2449.    The LAN extension interface unit sends a LEX_RCMD_NAK packet when the
  2450.    Statistics Request LEX_RCMD_REQUEST packet did not specify the type
  2451.    of statistics the host router wants. That is, the request's Option-
  2452.    Flags field equals zero.
  2453.  
  2454.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  2455.    in this document for information on when the LAN extension interface
  2456.    unit sends a Request Statistics LEX_RCMD_REJ packet.
  2457.  
  2458.    The frame format for the LEX_RCMD_NAK and LEX_RCMD_REJ packets is the
  2459.    same as that of the Statistics Request LEX_RCMD_REQUEST packet. Table
  2460.    16 summarizes the appropriate field values for the Statistics Request
  2461.    LEX_RCMD_NAK and LEX_RCMD_REJ packets.
  2462.  
  2463.  
  2464.  
  2465.  
  2466. Chapman, et al               Informational                     [Page 44]
  2467.  
  2468. RFC 1841           LAN Extension Interface Protocol       September 1995
  2469.  
  2470.  
  2471.       Table 16  Field Values for LEX_RCMD_NAK/LEX_RCMD_REJ Packets -
  2472.                             Request Statistics
  2473.  
  2474.    Field                Value
  2475.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2476.                         information)
  2477.    Protocol-Type        0x8041 (Control packet)
  2478.    Code                 Valid values:
  2479.                         * 0x42 (LEX_RCMD_NAK packet)
  2480.                         * 0x43 (LEX_RCMD_REJ packet)
  2481.    Identifier           The same value as that sent by the
  2482.                         LEX_RCMD_REQUEST packet
  2483.    Length               12 octets
  2484.    Option-Type          0x07 (Request Statistics)
  2485.    Option-Flags         The same value as that sent by the
  2486.                         LEX_RCMD_REQUEST packet
  2487.    Option-Length        4 octets
  2488.    Option-Data          None
  2489.  
  2490. 10.0 Download Request
  2491.  
  2492.    The host router sends a LEX_RCMD_REQUEST packet with an Option-Type
  2493.    of 0x08 to alert the LAN extension interface unit that the host
  2494.    router will be issuing a software download to Flash memory. When the
  2495.    LAN extension interface unit acknowledges the command, the host
  2496.    router starts sending download data.
  2497.  
  2498.  
  2499.  
  2500.  
  2501.  
  2502.  
  2503.  
  2504.  
  2505.  
  2506.  
  2507.  
  2508.  
  2509.  
  2510.  
  2511.  
  2512.  
  2513.  
  2514.  
  2515.  
  2516.  
  2517.  
  2518.  
  2519.  
  2520.  
  2521.  
  2522. Chapman, et al               Informational                     [Page 45]
  2523.  
  2524. RFC 1841           LAN Extension Interface Protocol       September 1995
  2525.  
  2526.  
  2527. 10.1 LEX RCMD_REQUEST - Download Request
  2528.  
  2529.    Figure 14 shows a summary frame format of a LEX_RCMD_REQUEST packet
  2530.    for a Download Request remote command option. The host router
  2531.    transmits the fields from left to right.
  2532.  
  2533.     Figure 14  LEX_RCMD_REQUEST Packet Frame Format - Download Request
  2534.  
  2535.                           PPP Header
  2536. <-------------------------------------------------------------->
  2537.  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
  2538. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2539. |              0xFF03           |          Protocol-Type        |
  2540. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2541.               (2 octets)                         (2)
  2542.  
  2543.                 LAN Extension Interface Protocol Header
  2544. <-------------------------------------------------------------->
  2545.  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
  2546. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2547. |      Code     |   Identifier  |              Length           |
  2548. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2549.         (1)             (1)                     (2)
  2550.  
  2551.             LAN Extension Interface Remote Command Option
  2552. <--------------------------------
  2553.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2554. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2555. |  Option-Type  |  Option-Flags |
  2556. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2557.          (1)            (1)
  2558.  
  2559.                 ----------------------------------------------->
  2560.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  2561.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2562.                         Option-Length          |  Option-Data  |
  2563.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2564.                               (2)
  2565.  
  2566.    Where the Option-Data field contains the following fields:
  2567.  
  2568.  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
  2569. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2570. |     Block Number (16 bits)    |        File Size (32 bits)....
  2571. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2572. |     Filename (Max. 64 octets).......
  2573. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2574.  
  2575.  
  2576.  
  2577.  
  2578. Chapman, et al               Informational                     [Page 46]
  2579.  
  2580. RFC 1841           LAN Extension Interface Protocol       September 1995
  2581.  
  2582.  
  2583.    Summary Field Descriptions
  2584.  
  2585.    For a complete description of the fields in the PPP Header, the LAN
  2586.    Extension Interface Protocol Header, and the LAN Extension Interface
  2587.    Remote Command Option, refer to the "Remote Command Options" section
  2588.    earlier in this document. Table 17 provides a summary of these fields
  2589.    when sending a LEX_RCMD_REQUEST packet that informs the LAN extension
  2590.    interface unit of an upcoming software download to Flash memory.
  2591.  
  2592.    Table 17  Field Values for LEX_RCMD_REQUEST Packet - Download Request
  2593.  
  2594.    Field                Value
  2595.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2596.                         information)
  2597.    Protocol-Type        0x8041 (Control packet)
  2598.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  2599.    Identifier           Valid values: 0x01-0xFF
  2600.    Length               Variable depending on size of filename in
  2601.                         the Filename field. Valid range:
  2602.                         Minimum length = 19 octets
  2603.                         Maximum length = 82 octets
  2604.    Option-Type          0x08 (Download Request)
  2605.    Option-Flags         None
  2606.    Option-Length        Variable depending on size of filename in
  2607.                         the Filename field. Valid range:
  2608.                         Minimum length = 11 octets
  2609.                         Maximum length = 74 octets
  2610.    Option-Data          Block Number, File Size, and Filename of
  2611.                         the code/image to be downloaded. See the
  2612.                         following "Option-Data Field Descriptions"
  2613.                         section for details.
  2614.  
  2615.    Option-Data Field Descriptions
  2616.  
  2617.    The Option-Data field contains the following fields:
  2618.  
  2619.    *  Block Number
  2620.  
  2621.    The Block Number field contains a value that identifies a contiguous
  2622.    group of code bits to be downloaded to the LAN extension interface
  2623.    unit. In the LEX_RCMD_REQUEST packet, the Block Number is always
  2624.    zero.
  2625.  
  2626.    *  File Size
  2627.  
  2628.    The File Size field contains the size (in octets) of the code to be
  2629.    downloaded to the LAN extension interface unit.
  2630.  
  2631.  
  2632.  
  2633.  
  2634. Chapman, et al               Informational                     [Page 47]
  2635.  
  2636. RFC 1841           LAN Extension Interface Protocol       September 1995
  2637.  
  2638.  
  2639.    *  Filename
  2640.  
  2641.    The Filename field contains the name of the image to be transferred
  2642.    to the LAN extension interface unit.
  2643.  
  2644. 10.2 Response Packets - Download Request
  2645.  
  2646.    The following packets are valid responses to a Download Request
  2647.    LEX_RCMD_REQUEST packet:
  2648.  
  2649.    *  LEX_RCMD_ACK - Download Request
  2650.  
  2651.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  2652.    in this document for more information on when the LAN extension
  2653.    interface unit sends this packet.
  2654.  
  2655.    *  LEX_RCMD_NAK - Download Request
  2656.  
  2657.    The LAN extension interface unit sends a Download Request
  2658.    LEX_RCMD_NAK packet when the LAN Extension interface unit is
  2659.    currently programming Flash, when the File Size field value in the
  2660.    request is greater than the unit's available Flash bytes, when the
  2661.    LAN extension interface unit is out of memory, or when the Block
  2662.    Number field value in the request is not zero.
  2663.  
  2664.    *  LEX_RCMD_REJ - Download Request
  2665.  
  2666.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  2667.    in this document for more information on when the LAN extension
  2668.    interface unit sends this packet.
  2669.  
  2670.    Table 18 summarizes the field values of the Download Request
  2671.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  2672.  
  2673.       Table 18  Field Values for Response Packets - Download Request
  2674.  
  2675.    Field                Value
  2676.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2677.                         information)
  2678.    Protocol-Type        0x8041 (Control packet)
  2679.    Code                 Valid values:
  2680.                         * 0x41 (LEX_RCMD_ACK packet)
  2681.                         * 0x42 (LEX_RCMD_NAK packet)
  2682.                         * 0x43 (LEX_RCMD_REJ packet)
  2683.    Identifier           The same value as that sent by the
  2684.                         LEX_RCMD_REQUEST packet
  2685.    Length               The same value as that sent by the
  2686.                         LEX_RCMD_REQUEST packet
  2687.  
  2688.  
  2689.  
  2690. Chapman, et al               Informational                     [Page 48]
  2691.  
  2692. RFC 1841           LAN Extension Interface Protocol       September 1995
  2693.  
  2694.  
  2695.    Option-Type          0x08 (Download Request)
  2696.    Option-Flags         None
  2697.    Option-Length        The same value as that sent by the
  2698.                         LEX_RCMD_REQUEST packet
  2699.    Option-Data          Block Number, File Size, and Filename of
  2700.                         the code/image to be downloaded.
  2701.  
  2702. 11.0 Download Data
  2703.  
  2704.    Once the host router receives a Download Request LEX_RCMD_ACK packet
  2705.    from the LAN extension interface unit, the host router downloads the
  2706.    data to be written to Flash memory by sending a LEX_RCMD_REQUEST
  2707.    packet with an Option-Type of 0x09. The host router sends multiple
  2708.    Download Data LEX_RCMD_REQUEST packets, each with 512 octets of
  2709.    Option-Data containing the binary data to be programmed into Flash
  2710.    memory.
  2711.  
  2712.    A packet containing Option-Data with less than 512 octets signals the
  2713.    end of the download data (that is, the end of tile). If the size of
  2714.    the file being downloaded is an even multiple of 512 bytes, then the
  2715.    last packet transferred should have an Option-Length of 6. That is,
  2716.    the last packet transferred should have Option-Data containing the
  2717.    Block Number field value but no data. A Block Number field value
  2718.    without data alerts the LAN extension interface unit that this is the
  2719.    last block to be transmitted.
  2720.  
  2721. 11.1 LEX RCMD_REQUEST - Download Data
  2722.  
  2723.    The frame format for the Download Data LEX_RCMD_REQUEST packet is
  2724.    similar to a TFTP frame format. Figure 15 shows a summary frame
  2725.    format. The host router transmits the fields from left to right.
  2726.  
  2727.       Figure 15 LEX_RCMD_REQUEST Packet Frame Format - Download Data
  2728.  
  2729.                            PPP Header
  2730. <-------------------------------------------------------------->
  2731.  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
  2732. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2733. |              0xFF03           |          Protocol-Type        |
  2734. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2735.               (2 octets)                         (2)
  2736.  
  2737.  
  2738.  
  2739.  
  2740.  
  2741.  
  2742.  
  2743.  
  2744.  
  2745.  
  2746. Chapman, et al               Informational                     [Page 49]
  2747.  
  2748. RFC 1841           LAN Extension Interface Protocol       September 1995
  2749.  
  2750.  
  2751.                 LAN Extension Interface Protocol Header
  2752. <-------------------------------------------------------------->
  2753.  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
  2754. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2755. |      Code     |   Identifier  |              Length           |
  2756. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2757.         (1)             (1)                     (2)
  2758.  
  2759.             LAN Extension Interface Remote Command Option
  2760. <--------------------------------
  2761.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  2762. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2763. |  Option-Type  |  Option-Flags |
  2764. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2765.          (1)            (1)
  2766.  
  2767.                 ----------------------------------------------->
  2768.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  2769.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2770.                         Option-Length          |  Option-Data  |
  2771.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2772.                               (2)
  2773.  
  2774.    Where the Option-Data field contains the following fields:
  2775.  
  2776.  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
  2777. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2778. |     Block Number (16 bits)    |                               |
  2779. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+                               +
  2780. |       Binary Download Data (Max. 512 octets).....             |
  2781. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2782.  
  2783.    Summary Field Descriptions
  2784.  
  2785.    For a complete descriptions of the fields in the PPP Header, the LAN
  2786.    Extension Interface Protocol Header, and the LAN Extension Interface
  2787.    Remote Command Option, refer to the "Remote Command Options" section
  2788.    earlier in this document. The following table provides a summary of
  2789.    these fields when sending a LEX_RCMD_REQUEST packet that download
  2790.    software to the LAN extension interface unit.
  2791.  
  2792.       Table 19  Field Values for LEX_RCMD_REQUEST Packet - Download Data
  2793.  
  2794.    Field                Value
  2795.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2796.                         information)
  2797.    Protocol-Type        0x8041 (Control packet)
  2798.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  2799.  
  2800.  
  2801.  
  2802. Chapman, et al               Informational                     [Page 50]
  2803.  
  2804. RFC 1841           LAN Extension Interface Protocol       September 1995
  2805.  
  2806.  
  2807.    Identifier           Valid values: 0x01-0xFF
  2808.    Length               Minimum length = 14 octets
  2809.                         Maximum length = 526 octets
  2810.    Option-Type          0x09 (Download Data)
  2811.    Option-Flags         None
  2812.    Option-Length        Minimum length = 6 octets (signals end of
  2813.                         data transfer for a file with a file size
  2814.                         of an even multiple of 512 bytes)
  2815.                         Maximum length = 518 octets
  2816.    Option-Data          Block Number and Download Data. See the
  2817.                         following "Option-Data Field Descriptions"
  2818.                         section for details.
  2819.  
  2820.    Option-Data Field Descriptions
  2821.  
  2822.    The following Option-Data fields provide the LAN extension interface
  2823.    unit with download data:
  2824.  
  2825.    *  Block Number
  2826.  
  2827.    The Block Number identifies the contiguous group of code bits to be
  2828.    downloaded. The host router automatically generates this number. The
  2829.    first Download Data packet gets a block number of one. The host
  2830.    router increments this Block Number value by one with every Download
  2831.    Data LEX_RCMD_REQUEST packet sent to the LAN extension interface
  2832.    unit. The maximum value of the Block Number is dependent on the
  2833.    unit's Flash memory size.
  2834.  
  2835.    *  Download Data
  2836.  
  2837.    The Download Data are the actual code bits being downloaded to the
  2838.    LAN extension interface unit. A maximum of 512 octets of download
  2839.    data can sent in one Download Data LEX_RCMD_REQUEST packet.
  2840.  
  2841. 11.2 Response Packets - Download Data
  2842.  
  2843.    The following packets are valid responses to a Download Data
  2844.    LEX_RCMD_REQUEST packet:
  2845.  
  2846.    *  LEX_RCMD_ACK - Download Data
  2847.  
  2848.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  2849.    in the document for more information on this packet.
  2850.  
  2851.  
  2852.  
  2853.  
  2854.  
  2855.  
  2856.  
  2857.  
  2858. Chapman, et al               Informational                     [Page 51]
  2859.  
  2860. RFC 1841           LAN Extension Interface Protocol       September 1995
  2861.  
  2862.  
  2863.    *  LEX_RCMD_NAK - Download Data
  2864.  
  2865.    The LAN extension interface unit sends a Download Data LEX_RCMD_NAK
  2866.    packet when the LAN extension interface unit is not in the proper
  2867.    state or when accepting the data will over-run the download buffer.
  2868.  
  2869.    *  LEX_RCMD_REJ - Download Data
  2870.  
  2871.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  2872.    in the document for more information on this packet.
  2873.  
  2874.    Table 20 summarizes the field values of the Download Data
  2875.    LEX_RCMD_ACK, LEX_RCMD_NAK, and LEX_RCMD_REJ packets.
  2876.  
  2877.        Table 20  Field Values for Response Packets - Download Data
  2878.  
  2879.    Field                Value
  2880.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2881.                         information)
  2882.    Protocol-Type        0x8041 (Control packet)
  2883.    Code                 Valid values:
  2884.                         * 0x41 (LEX_RCMD_ACK packet)
  2885.                         * 0x42 (LEX_RCMD_NAK packet)
  2886.                         * 0x43 (LEX_RCMD_REJ packet)
  2887.    Identifier           The same value as that sent by the
  2888.                         LEX_RCMD_REQUEST packet
  2889.    Length               14 octets
  2890.    Option-Type          0x09 (Download Data)
  2891.    Option-Flags         None
  2892.    Option-Length        6 octets
  2893.    Option-Data          Block Number only
  2894.  
  2895. 12.0 Download Status
  2896.  
  2897.    Upon completion of a Download Data sequence, the host router issues a
  2898.    LEX_RCMD_REQUEST packet with an Option-Type of 0x0A to request status
  2899.    of the success or failure of the download. A bad checksum of the
  2900.    image or a malfunctioning Flash memory could cause the download to
  2901.    fail.
  2902.  
  2903.  
  2904.  
  2905.  
  2906.  
  2907.  
  2908.  
  2909.  
  2910.  
  2911.  
  2912.  
  2913.  
  2914. Chapman, et al               Informational                     [Page 52]
  2915.  
  2916. RFC 1841           LAN Extension Interface Protocol       September 1995
  2917.  
  2918.  
  2919. 12.1 LEX RCMD_REQUEST - Download Status
  2920.  
  2921.    Figure 16 shows the frame format summary of a LEX_RCMD_REQUEST packet
  2922.    for a Download Status remote command option. The host router
  2923.    transmits the fields from left to right.
  2924.  
  2925.     Figure 16  LEX_RCMD_REQUEST Packet Frame Format - Download Status
  2926.  
  2927.                            PPP Header
  2928. <-------------------------------------------------------------->
  2929.  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
  2930. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2931. |              0xFF03           |          Protocol-Type        |
  2932. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2933.               (2 octets)                         (2)
  2934.  
  2935.                 LAN Extension Interface Protocol Header
  2936. <-------------------------------------------------------------->
  2937.  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
  2938. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2939. |      Code     |   Identifier  |              Length           |
  2940. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2941.         (1)             (1)                     (2)
  2942.  
  2943.             LAN Extension Interface Remote Command Option
  2944. <-------------------------------------------------------------->
  2945.  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
  2946. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2947. |  Option-Type  |  Option-Flags |        Option-Length          |
  2948. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2949.          (1)            (1)                    (2)
  2950.  
  2951.    Summary Field Descriptions
  2952.  
  2953.    For a complete descriptions of the fields in the PPP Header, the LAN
  2954.    Extension Interface Protocol Header, and the LAN Extension Interface
  2955.    Remote Command Option, refer to the "Remote Command Options" section
  2956.    earlier in this document. Table 21 provides a summary of these fields
  2957.    when sending a LEX_RCMD_REQUEST packet that requests the download
  2958.    status of the LAN extension interface unit.
  2959.  
  2960.    Table 21  Field Values for LEX_RCMD_REQUEST Packet - Download Status
  2961.  
  2962.    Field                Value
  2963.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  2964.                         information)
  2965.    Protocol-Type        0x8041 (Control packet)
  2966.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  2967.  
  2968.  
  2969.  
  2970. Chapman, et al               Informational                     [Page 53]
  2971.  
  2972. RFC 1841           LAN Extension Interface Protocol       September 1995
  2973.  
  2974.  
  2975.    Identifier           Valid values: 0x01-0xFF
  2976.    Length               12 octets
  2977.    Option-Type          0x0A (Download Status)
  2978.    Option-Flags         None
  2979.    Option-Length        4 octets
  2980.    Option-Data          None
  2981.  
  2982. 12.2 LEX RCMD_REQUEST - Download Status
  2983.  
  2984.    When the LAN extension interface unit correctly receives the Download
  2985.    Status LEX_RCMD_REQUEST packet, it returns a LEX_RCMD_ACK packet
  2986.    containing the appropriate status information in the Option-Data
  2987.    field.
  2988.  
  2989.    Figure 17 shows the frame format for the Download Status LEX_RCMD_ACK
  2990.    packet. The LAN extension interface unit transmits the fields from
  2991.    left to right.
  2992.  
  2993.       Figure 17  LEX_RCMD_ACK Packet Frame Format - Download Status
  2994.  
  2995.                             PPP Header
  2996. <-------------------------------------------------------------->
  2997.  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
  2998. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  2999. |              0xFF03           |          Protocol-Type        |
  3000. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3001.               (2 octets)                         (2)
  3002.  
  3003.                 LAN Extension Interface Protocol Header
  3004. <-------------------------------------------------------------->
  3005.  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
  3006. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3007. |      Code     |   Identifier  |              Length           |
  3008. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3009.         (1)             (1)                     (2)
  3010.  
  3011.  
  3012.  
  3013.  
  3014.  
  3015.  
  3016.  
  3017.  
  3018.  
  3019.  
  3020.  
  3021.  
  3022.  
  3023.  
  3024.  
  3025.  
  3026. Chapman, et al               Informational                     [Page 54]
  3027.  
  3028. RFC 1841           LAN Extension Interface Protocol       September 1995
  3029.  
  3030.  
  3031.             LAN Extension Interface Remote Command Option
  3032. <--------------------------------
  3033.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  3034. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3035. |  Option-Type  |  Option-Flags |
  3036. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3037.          (1)            (1)
  3038.  
  3039.                 ----------------------------------------------->
  3040.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  3041.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3042.                         Option-Length          |  Option-Data  |
  3043.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3044.                               (2)
  3045.  
  3046.    Where the Option-Data field contains the following fields:
  3047.  
  3048.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  3049. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3050. |        Status (16 bits)       |
  3051. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3052.  
  3053.    Summary Field Descriptions
  3054.  
  3055.    For a complete descriptions of the fields in the PPP Header, the LAN
  3056.    Extension Interface Protocol Header, and the LAN Extension Interface
  3057.    Remote Command Option, refer to the "Remote Command Options" section
  3058.    earlier in this document. Table 22 provides a summary of these fields
  3059.    when sending a status information to the host router.
  3060.  
  3061.      Table 22  Field Values for LEX_RCMD_ACK Packet - Download Status
  3062.  
  3063.    Field                Value
  3064.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  3065.                         information)
  3066.    Protocol-Type        0x8041 (Control packet)
  3067.    Code                 0x41 (LEX_RCMD_ACK packet)
  3068.    Identifier           The same value as that sent by the
  3069.                         LEX_RCMD_REQUEST packet
  3070.    Length               14 octets
  3071.    Option-Type          0x0A (Download Status)
  3072.    Option-Flags         None
  3073.    Option-Length        6 octets
  3074.    Option-Data          Status information. See the following
  3075.                         "Option-Data Field Descriptions" section
  3076.                         for details.
  3077.  
  3078.  
  3079.  
  3080.  
  3081.  
  3082. Chapman, et al               Informational                     [Page 55]
  3083.  
  3084. RFC 1841           LAN Extension Interface Protocol       September 1995
  3085.  
  3086.  
  3087.    Option-Data Field Descriptions
  3088.  
  3089.    The Option-Data field uses the Status field to send the download
  3090.    status to the host router. The Status field reports the following
  3091.    status information:
  3092.  
  3093.       *  1 - Acknowledgment that no errors occurred
  3094.       *  3 - Sequence error occurred
  3095.       *  6 - Flash write error occurred
  3096.       *  7 - Checksum error
  3097.  
  3098. 12.3 LEX RCMD_NAK/LEX RCMD_REJ - Download Status
  3099.  
  3100.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  3101.    in this document for information on when the LAN extension interface
  3102.    unit sends a Download Status LEX_RCMD_NAK packet and Download Status
  3103.    LEX_RCMD_REJ packet.
  3104.  
  3105.    The frame format for these two response packets mirror the frame
  3106.    format of the Download Status LEX_RCMD_REQUEST packet. Table 23
  3107.    summarizes the field values of the Download Status LEX_RCMD_NAK and
  3108.    LEX_RCMD_REJ packets.
  3109.  
  3110.    Table 23  Field Values for LEX_RCMD_NAK/LEX_RCMD_REJ Packets - Download
  3111.    Status
  3112.  
  3113.    Field                Value
  3114.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  3115.                         information)
  3116.    Protocol-Type        0x8041 (Control packet)
  3117.    Code                 Valid values:
  3118.                         * 0x42 (LEX_RCMD_NAK packet)
  3119.                         * 0x43 (LEX_RCMD_REJ packet)
  3120.    Identifier           The same value as that sent by the
  3121.                         LEX_RCMD_REQUEST packet
  3122.    Length               12 octets
  3123.    Option-Type          0x0A (Download Status)
  3124.    Option-Flags         None
  3125.    Option-Length        4 octets
  3126.    Option-Data          None
  3127.  
  3128. 13.0 Inventory Request
  3129.  
  3130.    The host router sends a LEX_RCMD_REQUEST packet with an Option-Type
  3131.    of 0x0B to the LAN extension interface unit to request inventory
  3132.    information. The host router may use this remote command option to
  3133.    accomplish the following:
  3134.  
  3135.  
  3136.  
  3137.  
  3138. Chapman, et al               Informational                     [Page 56]
  3139.  
  3140. RFC 1841           LAN Extension Interface Protocol       September 1995
  3141.  
  3142.  
  3143.    *  Distinguish between different versions of the LAN extension
  3144.       interface unit for determining their capabilities
  3145.  
  3146.    *  Determine whether a new version of Flash code should be downloaded
  3147.  
  3148. 13.1 LEX RCMD_REQUEST - Inventory Request
  3149.  
  3150.    Figure 18 shows the frame format for a LEX_RCMD_REQUEST packet with
  3151.    an Inventory Request remote command option. The host router transmits
  3152.    the fields from left to right.
  3153.  
  3154.    Figure 18  LEX_RCMD_REQUEST Packet Frame Format - Inventory Request
  3155.  
  3156.                            PPP Header
  3157. <-------------------------------------------------------------->
  3158.  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
  3159. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3160. |              0xFF03           |          Protocol-Type        |
  3161. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3162.               (2 octets)                         (2)
  3163.  
  3164.                 LAN Extension Interface Protocol Header
  3165. <-------------------------------------------------------------->
  3166.  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
  3167. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3168. |      Code     |   Identifier  |              Length           |
  3169. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3170.         (1)             (1)                     (2)
  3171.  
  3172.             LAN Extension Interface Remote Command Option
  3173. <-------------------------------------------------------------->
  3174.  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
  3175. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3176. |  Option-Type  |  Option-Flags |        Option-Length          |
  3177. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3178.          (1)            (1)                    (2)
  3179.  
  3180.    Summary Field Descriptions
  3181.  
  3182.    For a complete description of the fields in the PPP Header, the LAN
  3183.    Extension Interface Protocol Header, and the LAN Extension Interface
  3184.    Remote Command Option, refer to the "Remote Command Options" section
  3185.    earlier in this document. Table 24 provides a summary of these fields
  3186.    when sending a LEX_RCMD_REQUEST packet that requests inventory
  3187.    information.
  3188.  
  3189.  
  3190.  
  3191.  
  3192.  
  3193.  
  3194. Chapman, et al               Informational                     [Page 57]
  3195.  
  3196. RFC 1841           LAN Extension Interface Protocol       September 1995
  3197.  
  3198.  
  3199.    Table 24  Field Values for LEX_RCMD_REQUEST Packet-Inventory Request
  3200.  
  3201.    Field                Value
  3202.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  3203.                         information)
  3204.    Protocol-Type        0x8041 (Control packet)
  3205.    Code                 0x40 (LEX_RCMD_REQUEST packet)
  3206.    Identifier           Valid values: 0x01-0xFF
  3207.    Length               12 octets
  3208.    Option-Type          0x0B (Inventory Request)
  3209.    Option-Flags         None
  3210.    Option-Length        4 octets
  3211.    Option-Data          None
  3212.  
  3213. 13.2 LEX RCMD_ACK - Inventory Request
  3214.  
  3215.    When it correctly receives the Inventory Request remote command
  3216.    option and retrieves the inventory information, the LAN extension
  3217.    interface unit responds with an acknowledgment. This acknowledgment
  3218.    contains the requested inventory information in the Option-Data
  3219.    field.
  3220.  
  3221.    Figure 19 shows the frame format for the Inventory Request
  3222.    LEX_RCMD_ACK packet.
  3223.  
  3224.       Figure 19 LEX_RCMD_ACK Packet Frame Format - Inventory Request
  3225.  
  3226.                             PPP Header
  3227. <-------------------------------------------------------------->
  3228.  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
  3229. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3230. |              0xFF03           |          Protocol-Type        |
  3231. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3232.               (2 octets)                         (2)
  3233.  
  3234.                 LAN Extension Interface Protocol Header
  3235. <-------------------------------------------------------------->
  3236.  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
  3237. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3238. |      Code     |   Identifier  |              Length           |
  3239. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3240.         (1)             (1)                     (2)
  3241.  
  3242.  
  3243.  
  3244.  
  3245.  
  3246.  
  3247.  
  3248.  
  3249.  
  3250. Chapman, et al               Informational                     [Page 58]
  3251.  
  3252. RFC 1841           LAN Extension Interface Protocol       September 1995
  3253.  
  3254.  
  3255.             LAN Extension Interface Remote Command Option
  3256. <--------------------------------
  3257.  0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
  3258. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3259. |  Option-Type  |  Option-Flags |
  3260. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3261.          (1)            (1)
  3262.  
  3263.                 ----------------------------------------------->
  3264.                  6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9
  3265.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3266.                         Option-Length          |  Option-Data  |
  3267.                 -+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3268.                               (2)
  3269.  
  3270.    Where the Option-Data field contains the following fields:
  3271.  
  3272.                             (32 bits)
  3273. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3274. |                           Flash Size                          |
  3275. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3276. |                         Serial Number                         |
  3277. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3278. |  HW Version   | PROM Major Ver| PROM Minor Ver|Flash Major Ver|
  3279. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3280. |Flash Minor Ver|     FLAGS     | RAM Major Ver | RAM Minor Ver |
  3281. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3282. |                                                               |
  3283. +   Mac Address (6 octets)      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3284. |                               |
  3285. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3286.  
  3287.    Summary Field Descriptions
  3288.  
  3289.    For a complete description of the fields in the PPP Header, the LAN
  3290.    Extension Interface Protocol Header, and the LAN Extension Interface
  3291.    Remote Command Option, refer to the "Remote Command Options" section
  3292.    earlier in this document. Table 25 provides a summary of these fields
  3293.    when acknowledging a LEX_RCMD_REQUEST packet that requests inventory
  3294.    information.
  3295.  
  3296.     Table 25  Field Values for LEX_RCMD_ACK Packet - Inventory Request
  3297.  
  3298.    Field                Value
  3299.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  3300.                         information)
  3301.    Protocol-Type        0x8041 (Control packet)
  3302.    Code                 0x41 (LEX_RCMD_ACK packet)
  3303.  
  3304.  
  3305.  
  3306. Chapman, et al               Informational                     [Page 59]
  3307.  
  3308. RFC 1841           LAN Extension Interface Protocol       September 1995
  3309.  
  3310.  
  3311.    Identifier           The same value as that sent by
  3312.                         LEX_RCMD_REQUEST packet
  3313.    Length               34 octets
  3314.    Option-Type          0x0B (Inventory Request)
  3315.    Option-Flags         None
  3316.    Option-Length        26 octets
  3317.    Option-Data          Inventory data. See the following
  3318.                         "Option-Data Field Descriptions" section
  3319.                         for details.
  3320.  
  3321.    Option-Data Field Descriptions
  3322.  
  3323.    The Option-Data field of the LEX_RCMD_ACK packet uses the following
  3324.    fields to send inventory data to the host router about the LAN
  3325.    extension interface unit.
  3326.  
  3327.    *  Flash Size
  3328.  
  3329.    This field contains the LAN extension interface unit's Flash size in
  3330.    bytes.
  3331.  
  3332.    *  Serial Number
  3333.  
  3334.    This field provides the LAN extension interface unit's serial number.
  3335.    This is an unassigned, 32-bit number.
  3336.  
  3337.    *  HW Version
  3338.  
  3339.    This field contains the version number of the LAN extension interface
  3340.    hardware unit.
  3341.  
  3342.    *  PROM Major Ver
  3343.  
  3344.    This field contains part of the version number of the PROM image.
  3345.    "Major" indicates which major software release this revision belongs
  3346.    to. For example, if the PROM version number is 1.2, then the major
  3347.    version number is 1.
  3348.  
  3349.    *  PROM Minor Ver
  3350.  
  3351.    This field contains part of the version number of the PROM image.
  3352.    "Minor" indicates which minor software release this revision belongs
  3353.    to. For example, if the PROM version number is 1.2, then the minor
  3354.    version number is 2.
  3355.  
  3356.  
  3357.  
  3358.  
  3359.  
  3360.  
  3361.  
  3362. Chapman, et al               Informational                     [Page 60]
  3363.  
  3364. RFC 1841           LAN Extension Interface Protocol       September 1995
  3365.  
  3366.  
  3367.    *  Flash Major Ver
  3368.  
  3369.    This field contains the "major" version number of the Flash image.
  3370.    For example, if the Flash image version number is 1.2, then the major
  3371.    version number is 1.
  3372.  
  3373.    *  Flash Minor Ver
  3374.  
  3375.    This field contains the "minor" version number of the Flash image.
  3376.    For example, if the Flash image version number is 1.2, then the minor
  3377.    version number is 2.
  3378.  
  3379.    *  FLAGS
  3380.  
  3381.    FLAGS report the boot status of the LAN extension interface unit. The
  3382.    flags are as follows:
  3383.  
  3384.    - 0x01 - Running PROM image
  3385.    - 0x02 - Running Flash image
  3386.    - 0x04 - PROM image passed checksum
  3387.    - 0x08 - Flash image passed checksum
  3388.  
  3389.    *  RAM Major Ver
  3390.  
  3391.    This field contains the "major" version number of the running image
  3392.    in RAM. For example, if the RAM image version number is 1.2, then the
  3393.    major version number is 1.
  3394.  
  3395.    *  RAM Minor Ver
  3396.  
  3397.    This field contains the "minor" version number of the running image
  3398.    in RAM. For example, if the RAM image version number is 1.2, then the
  3399.    minor version number is 2.
  3400.  
  3401.    *  MAC Address
  3402.  
  3403.    The MAC Address is the LAN extension interface unit's burned-in MAC
  3404.    address in canonical format. This field is six octets.
  3405.  
  3406. 13.3 LEX RCMD_NAK/LEX RCMD_REJ - Inventory Request
  3407.  
  3408.    Refer to the "Conditions for Sending PPP-LEX Packets" section earlier
  3409.    in this document for information on when the LAN extension interface
  3410.    unit sends an Inventory Request LEX_RCMD_NAK packet and Inventory
  3411.    Request LEX_RCMD_REJ packet.
  3412.  
  3413.    The frame format of these two response packets mirrors that of the
  3414.    request. Table 26 summarizes the field values for such Inventory
  3415.  
  3416.  
  3417.  
  3418. Chapman, et al               Informational                     [Page 61]
  3419.  
  3420. RFC 1841           LAN Extension Interface Protocol       September 1995
  3421.  
  3422.  
  3423.    Request LEX_RCMD_NAK/LEX_RCMD_REJ packets.
  3424.  
  3425.       Table 26  Field Values for LEX_RCMD_NAK/LEX_RCMD_REJ Packets -
  3426.                              Inventory Request
  3427.  
  3428.    Field                Value
  3429.    Address/Control      0xFF03 (Broadcast address/Unnumbered
  3430.                         information)
  3431.    Protocol-Type        0x8041 (Control packet)
  3432.    Code                 Valid values:
  3433.                         * 0x42 (LEX_RCMD_NAK packet)
  3434.                         * 0x43 (LEX_RCMD_REJ packet)
  3435.    Identifier           The same value as that sent by the
  3436.                         LEX_RCMD_REQUEST packet
  3437.    Length               12 octets
  3438.    Option-Type          0x0B (Inventory Request)
  3439.    Option-Flags         None
  3440.    Option-Length        4 octets
  3441.    Option-Data          None
  3442.  
  3443. 14.0 LAN Extension Interface Protocol Data Packets
  3444.  
  3445.    When the PPP-LEX NCP is in an "opened" state, the LAN extension
  3446.    interface unit and the host router also exchange PPP-LEX data packets
  3447.    (as well as control packets). There is only one type of PPP-LEX data
  3448.    packet. This data packet is a subset of the PPP-BCP packet format.
  3449.  
  3450.    The format subsetting is such that a PPP-BCP implementation will
  3451.    successfully process a LAN extension interface protocol packet. The
  3452.    differences are as follows:
  3453.  
  3454.       *  LAN ID field will not be present.
  3455.       *  LAN FCS field will never be present (that is, the F flag will
  3456.          always be off [=0]).
  3457.       *  LAN ID flag (I) will always be off.
  3458.       *  Pad field for the serial link will never be present, and the
  3459.          count field will be 0.
  3460.  
  3461.    For detailed information on PPP-BCP packets, refer to the "PPP
  3462.    Bridging Control Protocol (BCP)" RFC. (References, [2])
  3463.  
  3464. 14.1 Frame Format
  3465.  
  3466.    Figure 20 shows the frame format for a PPP-LEX data packet. The MAC
  3467.    frame is transferred except for the FCS field. The LAN extension
  3468.    interface unit computes the FCS for packets transferred to the LAN
  3469.    and strips the FCS for packets destined for the host router.
  3470.  
  3471.  
  3472.  
  3473.  
  3474. Chapman, et al               Informational                     [Page 62]
  3475.  
  3476. RFC 1841           LAN Extension Interface Protocol       September 1995
  3477.  
  3478.  
  3479.                 Figure 20  PPP-LEX Data Packet Frame Format
  3480.  
  3481.     (8 bits)         (8 bits)      (8 bits)         (8 bits)
  3482. +-+-+-+-+-+-+-+-+
  3483. |   HDLC FLAG   |
  3484. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3485. |     0xFF      |      0x03     |             0x0041            |
  3486. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3487. | F|I|Z|0| Pad  |    Mac Type   |    Destination MAC Address    |
  3488. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3489. |                        Destination MAC Address                |
  3490. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3491. |                         Source MAC Address                    |
  3492. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3493. |       Source MAC Address      |           Length/Type         |
  3494. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3495. |                           LLC Data                            |
  3496. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3497. |                       ...                                     |
  3498. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3499. |       (Serial) HDLC CRC       |  HDLC FLAG    |
  3500. +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
  3501.  
  3502. 14.2 Summary Field Descriptions
  3503.  
  3504.    HDLC FLAG
  3505.  
  3506.    HDLC Frame delimiter.
  3507.  
  3508.    0xFF
  3509.  
  3510.    This Address field contains the broadcast address.
  3511.  
  3512.    0x03
  3513.  
  3514.    This Control field contains unnumbered information.
  3515.  
  3516.    0x0041
  3517.  
  3518.    This field contains the IETF-assigned protocol type value for a
  3519.    PPP-LEX data packet. In this case this field will always contain
  3520.    0x0041.
  3521.  
  3522.    Flags
  3523.  
  3524.    The flags F, I, Z, 0 have the following meanings:
  3525.  
  3526.  
  3527.  
  3528.  
  3529.  
  3530. Chapman, et al               Informational                     [Page 63]
  3531.  
  3532. RFC 1841           LAN Extension Interface Protocol       September 1995
  3533.  
  3534.  
  3535.       * F: Set bit F if the LAN FCS field is present. Because PPP-LEX
  3536.         data packets do not contain the LAN FCS field, this bit should
  3537.         not be set (field=0).
  3538.  
  3539.       * I: Set bit I if the LAN ID field is present. Because PPP-LEX
  3540.         data packets do not contain the field, this bit should not be
  3541.         set (field=0).
  3542.  
  3543.       * Z: Set bit Z if IEEE 802.3 Pad must be zero filled to minimum
  3544.         size.
  3545.  
  3546.       * 0: Reserved, must be zero.
  3547.  
  3548.    Pad
  3549.  
  3550.    Any PPP frame may have padding inserted in the Optional Data Link
  3551.    Layer Padding field. The value tells the receiving system how many
  3552.    pad octets to strip off. The LAN extension interface protocol does
  3553.    not support the Optional Data Link Layer Padding field, so the
  3554.    value of this field should be zero.
  3555.  
  3556.    MAC Type
  3557.  
  3558.    This field contains the most up-to-date value of the MAC type as
  3559.    specified in the most recent "Assigned Numbers" RFC. The current
  3560.    value is as follows:
  3561.  
  3562.       *  1: IEEE 802.3/Ethernet with canonical addresses
  3563.  
  3564.    Destination MAC Address
  3565.  
  3566.    This field is 6 octets and contains the MAC address of the
  3567.    destination system as defined by IEEE. The MAC Type field defines
  3568.    the bit ordering.
  3569.  
  3570.    Source MAC Address
  3571.  
  3572.    This field is 6 octets and contains the MAC address of the
  3573.    destination system as defined by IEEE. The MAC Type field defines
  3574.    the bit ordering.
  3575.  
  3576.    Length/Type
  3577.  
  3578.    This field is any Ethernet protocol type (See RFC 1700 in the
  3579.    references "Assigned Numbers").  For IEEE 802.3 frames, this is a
  3580.    length field.
  3581.  
  3582.  
  3583.  
  3584.  
  3585.  
  3586. Chapman, et al               Informational                     [Page 64]
  3587.  
  3588. RFC 1841           LAN Extension Interface Protocol       September 1995
  3589.  
  3590.  
  3591.    LLC Data
  3592.  
  3593.    This field is the remainder of the MAC frame which is (or would be
  3594.    if it were present) protected by the LAN FCS.
  3595.  
  3596.    (Serial) HDLC CRC
  3597.  
  3598.    This is a 16 bit Cyclic Redundancy Check field.
  3599.  
  3600.    For complete information on the above fields and their relationship
  3601.    to PPP-BCP packets, refer to the "PPP Bridging Control Protocol
  3602.    (BCP)" RFC. (References, [2])
  3603.  
  3604. Notes
  3605.  
  3606.    1. The LAN extension interface protocol does allow the segmentation
  3607.       of individual LAN packets across the serial link. Each LAN
  3608.       packet must be transmitted across the serial link as one PPP-LEX
  3609.       encapsulation.
  3610.  
  3611.    2. MAC addresses in PPP-LEX packets should be in canonical format.
  3612.  
  3613. References
  3614.  
  3615.    [1] Simpson, W., "The Point-To-Point Protocol (PPP) for the
  3616.        Transmission of Multi-protocol Datagrams over Point-To-Point
  3617.        Links", RFC 1331, Daydreamer, May 1992.
  3618.  
  3619.    [2] Baker, F., and R. Bowen, "PPP Bridging Control Protocol (BCP)",
  3620.        RFC 1638, ACC, IBM, June 1994.
  3621.  
  3622.    [3] Lloyd, B., and W. Simpson, "PPP Authentication Protocols", RFC
  3623.        1334, Lloyd & Associates, Daydreamer, October 1992.
  3624.  
  3625.    [4] Reynolds, J., and J. Postel, "Assigned Numbers", STD 2, RFC 1700,
  3626.        USC/Information Sciences Institute, October 1994.
  3627.  
  3628.    [5] Reynolds, J., and J. Postel, "Standard for the transmission of IP
  3629.        datagrams over IEEE 802 networks", RFC 1042, USC/Information
  3630.        Sciences Institute, February 1988.
  3631.  
  3632.  
  3633.  
  3634.  
  3635.  
  3636.  
  3637.  
  3638.  
  3639.  
  3640.  
  3641.  
  3642. Chapman, et al               Informational                     [Page 65]
  3643.  
  3644. RFC 1841           LAN Extension Interface Protocol       September 1995
  3645.  
  3646.  
  3647. Security Considerations
  3648.  
  3649.    Security issues are not discussed in this memo.
  3650.  
  3651. Authors' Addresses
  3652.  
  3653.    Joelle Bafile Chapman, Technical Writer
  3654.    Cisco Systems, Inc.
  3655.    170 West Tasman Drive
  3656.    San Jose, CA 95134-1706
  3657.  
  3658.    EMail: joelle@cisco.com
  3659.  
  3660.  
  3661.    Dave Coli, Software Engineer
  3662.    Cisco Systems, Inc.
  3663.    170 West Tasman Drive
  3664.    San Jose, CA 95134-1706
  3665.  
  3666.    EMail: dcoli@cisco.com
  3667.  
  3668.  
  3669.    Andy Harvey, Software Engineer
  3670.    Cisco Systems, Inc.
  3671.    170 West Tasman Drive
  3672.    San Jose, CA 95134-1706
  3673.  
  3674.    EMail: agh@cisco.com
  3675.  
  3676.  
  3677.    Bent Jensen, Engineering Manager
  3678.    Cisco Systems, Inc.
  3679.    170 West Tasman Drive
  3680.    San Jose, CA 95134-1706
  3681.  
  3682.    EMail: bent@cisco.com
  3683.  
  3684.  
  3685.    Kevin Rowett, Software Engineer
  3686.    Cisco Systems, Inc.
  3687.    170 West Tasman Drive
  3688.    San Jose, CA 95134-1706
  3689.  
  3690.    EMail: krowett@cisco.com
  3691.  
  3692.  
  3693.  
  3694.  
  3695.  
  3696.  
  3697.  
  3698. Chapman, et al               Informational                     [Page 66]
  3699.  
  3700.