Enters a device into the LAN permanent device database or modifies an existing entry. Requires SYSPRV privilege. 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. Format DEFINE DEVICE device-name
1 – Parameter
device-name Supplies the name of a device to be added to the LAN permanent device database or an entry to be modified. The device name has the form ddcu where dd is the device code, 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 PCI Ethernet device is specified as EWA0, the second as EWB0.
2 – Examples
1.LANCP> DEFINE DEVICE EXA0/MOPDLL=(ENABLE,EXCLUSIVE) This command defines LAN device EXA0 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/MOPDLL=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.