![]() |
![]() HP OpenVMS Systems Documentation |
![]() |
HP OpenVMS System Management Utilities Reference Manual
The command in this example replaces the known image GRPCOMM with the latest version of the image, while enabling image accounting and removing the OPEN attribute from this version. The full name of the file specification is assumed to be SYS$SYSTEM:GRPCOMM.EXE.
Chapter 12
|
$ RUN SYS$SYSTEM:LANCP |
The LANCP utility responds by displaying the LANCP> prompt, at which you can enter any LANCP command described in this chapter.
To define LANCP as a foreign command, either at the DCL prompt or in a startup or login command file, enter:
$ LANCP :== $SYS$SYSTEM:LANCP |
Then you can enter the LANCP command at the DCL prompt to invoke the utility and enter LANCP commands.
When you enter the LANCP command:
Some LANCP commands require special privileges. |
To exit from the LANCP utility, enter the EXIT command at the LANCP> prompt or press Ctrl/Z.
For information about the LANCP utility, enter the HELP command at the LANCP> prompt.
This section describes and provides examples of the LANCP commands. The following table summarizes the LANCP commands:
Command | Function |
---|---|
@ (Execute Procedure) | Executes a command procedure. |
CLEAR DEVICE | Deletes device data from the LAN volatile device database. |
CLEAR DLL or CLEAR MOPDLL | Clears MOP downline load counters for all nodes and devices. |
CLEAR NODE | Deletes a node from the LAN volatile node database. |
CONNECT NODE | Connects to a LAN device, such as a terminal server, that implements a management interface using the MOP console carrier protocol. |
CONVERT DEVICE_DATABASE | Converts the device database to the format required by the current version of LANCP. |
CONVERT NODE_DATABASE | Converts the node database to the format required by the current version of LANCP. |
DEFINE DEVICE | Enters a device into the LAN permanent device database or modifies an existing entry. |
DEFINE NODE | Enters a node into the LAN permanent node database or modifies an existing entry. |
EXIT | Stops execution of LANCP and returns control to the DCL command level. |
HELP | Provides online help information about the LANCP utility. |
LIST DEVICE | Displays information in the LAN permanent device database. |
LIST NODE | Displays information in the LAN permanent node database. |
PURGE DEVICE | Deletes device data from the LAN permanent device database. |
PURGE NODE | Deletes a node from the LAN permanent node database. |
SET ACP | Modifies the operation of the LANACP LAN Server process. |
SET DEVICE | Enters a device into the LAN volatile device database or modifies an existing entry and sets device parameters. |
SET NODE | Enters a node into the LAN volatile node database or modifies an existing entry. |
SHOW ACP | Displays currently set LANCP and LANACP options. |
SHOW CONFIGURATION | Displays a list of LAN devices on the system. |
SHOW DEVICE | Displays information in the LAN volatile device database and displays device data. |
SHOW DLL or SHOW MOPDLL | Displays the current state of MOP downline load services. |
SHOW LOG | Displays recent downline load activity. |
SHOW NODE | Displays information in the LAN volatile node database. |
SPAWN | Creates a subprocess of the current process. |
TRIGGER NODE | Issues a request to reboot to a remote node. |
UPDATE DEVICE | Updates a device, primarily to issue a reset to it. |
Executes a command procedure or requests the command interpreter to read subsequent command input from a specific file or device.
@ file-spec
file-spec
Specifies either the input device or the file for the preceding command, or the command procedure to be executed.
None.
$ CREATE COUNT.COM SHOW DEVICE/COUNTERS EIA SPAWN WAIT 00:01:00 @COUNT [Ctrl/Z] $ RUN SYS$SYSTEM:LANCP LANCP> @COUNT Device Counters EIA0: Value Counter ----- ------- 62030 Seconds since last zeroed 19910982 Bytes received 239192 Bytes sent 155812 Packets received 4348 Packets sent 19910982 Multicast bytes received 239140 Multicast bytes sent 155812 Multicast packets received 4346 Multicast packets sent 0 Unrecognized unicast destination packets 134311 Unrecognized multicast destination packets 0 Unavailable station buffers 0 Unavailable user buffers 0 Alignment errors 0 Frame check errors 0 Frame size errors 0 Frame status errors 0 Frame length errors 0 Frame too long errors 0 Data overruns 0 Send data length errors 0 Receive data length errors 0 Transmit underrun errors 0 Transmit failures 0 Carrier check failures 0 Station failures 0 Initially deferred packets sent 0 Single collision packets sent 0 Multiple collision packets sent 0 Excessive collisions 0 Late collisions 0 Collision detect check failures 1 Link up transitions (19-OCT-2004 13:47:50.86) 0 Link down transitions None Time of last generic transmit error None Time of last generic receive error |
This example creates and runs a command procedure, COUNT.COM, that displays device counters once every minute.
Deletes device data from the LAN volatile device database. Requires SYSPRV privilege.
CLEAR DEVICE device-name
device-name
Supplies the LAN controller device name. 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., and so on. You can, for example, specify a DEMNA controller as EXA, EXA0, or EXA0:.
/ALL
Deletes data for all LAN devices in the LAN volatile device database. If you specify a device name, all matching LAN devices are selected. For example: E to select all Ethernet devices, F for FDDI, I for Token Ring, EW to select all PCI Ethernet PCI devices./CHARACTERISTICS or /PARAMETERS
Deletes device characteristics settings for the LAN device, such as speed, duplex mode, and other device parameters./DLL or /MOPDLL
Deletes MOP downline load settings for the LAN device./TRACE
Deletes driver tracing settings for the LAN device.
If no qualifier is present to select the type of data to delete, the entire device entry is deleted.
LANCP> CLEAR DEVICE EXA0 |
This command deletes device EXA0 from the LAN volatile device database.
This command clears MOP downline load counters from the LAN volatile device and node databases for all nodes and devices. This command requires SYSPRV privilege.
CLEAR DLL
None.
None.
LANCP> CLEAR DLL |
This command clears MOP downline load counters from the LAN volatile device and node databases for all nodes and devices.
Deletes a node from the LAN volatile node database. Requires SYSPRV privilege.
CLEAR NODE node-name
node-name
Supplies the name of a node in the LAN volatile node database.
/ALL
Deletes all LAN nodes in the LAN volatile node database. If you specify a node name, all matching nodes are selected; for example, A/ALL deletes all nodes whose name begins with A.
LANCP> CLEAR NODE VAXSYS |
This command deletes the node VAXSYS from the LAN volatile node database.
Opens a MOP console carrier connection to the specified node. This allows a local terminal to act as the console for a remote system.
CONNECT NODE node-specification
node-specification
Supplies either the node name or the node address of the target node. If you supply the node name, the node address is obtained by looking up the node name in the LAN volatile node database. If you supply the node address, the corresponding node need not be defined in the LAN volatile node database. The canonical form of the address consists of 6 hexadecimal byte characters separated by hyphens. Use a colon as the separator character to indicate the bit-reversed form of the address.
/DEVICE=device-name
Specifies the LAN controller device name to be used for the connection. For example, you can specify a DEMNA controller as EXA, EXA0, or EXA0:./DISCONNECT=disconnect-character
Specifies a character that you can use to terminate the connection to the remote node. To terminate a connection, press Ctrl/disconnect-character. You can select any ASCII character from @ through Z, except C, M, Q, S, Y; the default disconnect character is D./PASSWORD=16hexdigits
Supplies the password to be used when the connection is initiated, in hexadecimal (for example, /PASSWORD=0123456789ABCDEF). The default password is zero. You can omit leading zeros./V3 or /V4
Indicates that MOP Version 3 or Version 4 formatted messages, respectively, are to be used to make the connection. By default, LANCP determines the format by sending MOP Request ID messages to the remote node first in MOP Version 4 format, then in Version 3 format, repeating this process until a response is received or timeout occurs.You can specify the format:
- To allow connection to nodes that do not support Request ID messages
- As a means of getting around implementation problems with one of the formats
#1 |
---|
LANCP> CONNECT NODE GALAXY/DEVICE=EWA0 |
This command attempts a console-carrier connection to node GALAXY using the Ethernet device EWA0.
#2 |
---|
LANCP> CONNECT NODE 08-00-2B-11-22-33/DEVICE=EWA0/PASSWORD=0123456789AB |
This command attempts a console-carrier connection to the given node address using the Ethernet device EWA0, with the specified password.
Converts the device database to the format required by LANCP. If the database is not updated, LANCP can read the database but not update entries in it. The conversion is necessary when the contents of the device entry changes from one OpenVMS release to the next. Requires SYSPRV privilege.
CONVERT DEVICE_DATABASE device_database
None.
None.
Converts the node database to the format required by LANCP. If the database is not updated, LANCP can read the database but not update entries in it. The conversion is necessary when the contents of the node entry changes from one OpenVMS release to the next. Requires SYSPRV privilege.
CONVERT NODE_DATABASE node_database
None.
None.
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.
DEFINE DEVICE device-name
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.
#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.
Enters a node into the LAN permanent node database or modifies an existing entry. Requires SYSPRV privilege.
QUALIFIERS
See the SET NODE command for a list of qualifiers and the description of each. Except where noted, the only difference is that DEFINE NODE applies to entries in the LAN permanent node database rather than the volatile node database.
DEFINE NODE node-name
node-name
Supplies the name of a node to be added to the LAN permanent node database or an entry to be modified. Typically, the node name is the same as that given in the system parameter SCSNODE, but it does not need to be. The node name is limited to 63 characters in length.
#1 |
---|
LANCP> DEFINE NODE GALAXY/ADDRESS=08-00-2B-11-22-33 - /FILE=NISCS_LOAD.EXE - /ROOT=$64$DIA14:<SYS10.> - /BOOT_TYPE=VAX_SATELLITE |
This command sets up node GALAXY in the LAN permanent node database for booting as a VAX satellite into an OpenVMS Cluster.
The NISCS_LOAD.EXE file is actually located on $64$DIA14: <SYS10.SYSCOMMON.SYSLIB>. The <SYSCOMMON.SYSLIB> is supplied by the LANACP LAN Server process and is not included in the root definition.
#2 |
---|
LANCP> DEFINE NODE ZAPNOT/ADDRESS=08-00-2B-11-22-33 - /FILE=APB.EXE - /ROOT=$64$DIA14:<SYS10.> - /BOOT_TYPE=ALPHA_SATELLITE |
This command sets up node ZAPNOT for booting as an Alpha satellite into an OpenVMS Cluster.
The APB.EXE file is actually located on $64$DIA14: <SYS10.SYSCOMMON.SYSEXE>. Note that the <SYSCOMMON.SYSEXE> is supplied by the LANACP LAN Server process and is not included in the root definition.
#3 |
---|
LANCP> DEFINE NODE CALPAL/ADDRESS=08-00-2B-11-22-33 - /FILE=APB_061.EXE |
This command sets up node CALPAL for booting an InfoServer image. It defines the file that should be loaded when a load request without a file name is received from node CALPAL.
Because the file does not include a directory specification, the logical name LAN$DLL defines where to locate the file. You could give directory specification using the file name or by using the /ROOT qualifier.
Note that specifying the file name explicitly in the boot command overrides the file name specified in the node database entry.
Previous | Next | Contents | Index |