LANCP$HELP.HLB  —  DEFINE  DEVICE
    Enters a device into the LAN permanent device database or
    modifies an existing device entry.

    Requires SYSPRV privilege.

    Format

      DEFINE DEVICE device-name

                             QUALIFIERS

       See the SET DEVICE command for a list of qualifiers and
       the description of each. Except where noted, the only
       difference is that DEFINE DEVICE applies to entries in
       the LAN permanent device database rather than the volatile
       device database.

1  –  Parameter

 device-name

    Specifies the LAN device name. The device name has the form ddcu, where
    dd is the device identifier, c is the controller designation, and u is
    the unit number.

    LAN devices are specified as the name of the template device, which is
    unit 0. For example, the first EI Ethernet device is specified as EIA0,
    the second as EIB0, and so on. You can specify the first EI device, for
    example, as EIA, EIA0, or EIA0:.

    A partial device name, accompanied by the /ALL qualifier, selects all
    matching devices. For example: E to select all Ethernet devices, V for
    VLAN devices, EI for Ethernet EI devices, no device name to select
    all LAN devices.

2  –  Examples

    1 LANCP> DEFINE DEVICE EIA0/DLL=(ENABLE,EXCLUSIVE)

      This command defines LAN device EIA0 to enable LANACP MOP
      downline load service in exclusive mode. The setting of the
      KNOWNCLIENTSONLY and SIZE characteristics are not changed. If
      the device entry does not currently exist in the LAN permanent
      device database, these settings are set to the defaults.

    2 LANCP> DEFINE DEVICE/ALL/DLL=NOEXCLUSIVE

      This command sets all LAN devices defined in the LAN permanent
      device database to nonexclusive mode for LANACP MOP downline
      load service.

    3 LANCP> DEFINE DEVICE/ALL/UPDATE/VOLATILE_DATABASE

      This command enters all Ethernet devices into the LAN permanent
      device database and updates the entry to include the current
      parameter values.
Close Help