1 LAN command This command executes the LAN-specific SDA extension image which is a collection of LAN-specific commands which mirror some of the display functions of SYS$SYSTEM:LANCP.EXE in SDA. By default this image is loaded from SYS$SHARE. However, it can be redirected with the following logical: $ define lan$sda [dir-spec]lan$sda.exe Format: SDA> LAN command 2 HELP This command displays help data for the LAN SDA extension. 2 BANDWIDTH Extracts bandwidth data to a dump file for display by LANCP (LANCP SHOW DEViCE/BANDWIDTH/INPUT=dumpfile) Format LAN BANDWIDTH [/DUMPFILE=filespec] [/DEVICE=(device1,...)] 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. /DEVICE must be the last qualifier on the line. /DUMPFILE /DUMPFILE=filespec 3 Example SDA> LAN BANDWIDTH/DEVICE=EWA Extracts LAN bandwidth data for LAN device EWA, and writes to the default dump file, BAND.DMP. 2 COUNTERS Displays LAN device counters data. Format LAN COUNTERS 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. 3 Example SDA> LAN COUNTERS/DEVICE=EWA Displays LAN counters data for LAN device EWA. 2 CONFIG Displays LAN device configuration. Format LAN CONFIGURATION 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. 3 Example SDA> LAN DEVICES/DEVICE=EW Displays all LAN EW devices. 2 INTERNAL_COUNTERS Displays LAN internal counters maintained by the LAN driver generally specific to the particular LAN device selected. Format LAN INTERNAL_COUNTERS 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. 3 Example SDA> LAN INTERNAL_COUNTERS/DEVICE=EWA Displays all internal counters for LAN device EWA. 2 QUEUES Displays LAN receive, transmit, and control request queues maintained by the LAN driver, displaying the relevant context for each queue entry. Format LAN QUEUES 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. /PACKET /PACKET Includes the packet header with each VCRP or CXB displayed. /REVERSE /REVERSE Scans the queues in reverse order (such as to avoid a destroyed flink). /VALIDATE /VALIDATE Looks for each VCRP or CXB address in the rings and notes which ring entry(s) they are found in. 3 Example SDA> LAN QUEUES/DEVICE=EWA Displays LAN queue information for LAN device EWA. 2 RINGS Displays LAN device data structures, rings and control structures maintained by the LAN driver for a device. Format LAN RINGS 3 Parameters None. 3 Qualifiers /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. /VALIDATE /VALIDATE Looks for each VCRP or CXB address in the queues and notes which queue entry(s) they are found in. 3 Example SDA> LAN RINGS/DEVICE=EWA Displays LAN queue information for LAN device EWA. 2 TRACE This command displays the trace data logged for the specified devices. Tracing entries are displayed by default from oldest entries to most recent. It correspondingly creates the following symbols: TRACE - pointer to the trace data for the current device TRCHDR - pointer to the trace header data for the current device 3 Parameters None. 3 Qualifiers /CONTEXT /CONTEXT Displays LAN driver event definitions, the trace mask and stop mask and what bits are set. Included are the names for each bit and a group name to select a set of events. /DEVICE /DEVICE=(device1,device2,...) Includes specific LAN devices. The default is all LAN devices included. Device names are displayed by the LAN DEVICES command. Each device name may be preceded by "NO" to exclude the device(s). /DEVICE=ALL includes all devices. /DEVICE=NOdevname, equivalent to /DEVICE=(ALL,NOdevname), includes all devices except device devname. /DEVICE=devname, equivalent to /DEVICE=(NOALL,devname) selects only devname.. /MASK /MASK=(event1,event2,...) Updates existing trace mask. Equivalent to MC LANCP SET DEV/TRACE. Event names are displayed by the LAN TRACE/CONTEXT command. Each event name may be preceded by "NO" to exclude the event. /MASK=ALL includes all events. /MASK=(ALL,NOeventn) includes all events except eventn. /MASK=eventn (equivalent to (NOALL,EVENTn) selects only eventn. /STOP_MASK /STOP_MASK=(event1,event2,...) Updates existing trace stop mask Equivalent to MC LANCP SET DEV/TRACE with a stop mask. /SIZE=number of trace entries Updates the size of the active trace buffer. Equivalent to MC LANCP SET DEV/TRACE with a size. /FILTER_MASK /FILTER_MASK=(event1,event2,...) Selects which trace events to display. Event names are displayed by the LAN TRACE/CONTEXT command. Each event name may be preceded by "NO" to exclude the event. The default is all events, /FILTER_MASK=ALL. /REVERSE /REVERSE Displays tracing data from the most recent entries to the oldest. /DUMPFILE=filespec Writes trace data to a dump file, so it can be read and displayed by MC LANCP SHOW DEVICE/TRACE/INPUTFILE=filespec. /ADDRESS=lsbaddress To identify an LSB by its address, rather than the name (EIA, EIB, etc.). 3 Example SDA> LAN TRACE/DEVICE=EWA Displays LAN trace information for LAN device EWA.