You use the SHOW-LINE-ATTRIBUTES command to display line-specific options and attributes for selected lines.
The alias name for SHOW-LINE-ATTRIBUTES is SHLNA.
BS2000 console | BS2000 SDF command | Command SOF file | SNMP management | Parameter service |
x |
List of valid command sources
SHOW-LINE-ATTRIBUTES / SHLNA | ||||||||||||||||||||||||||||||||||||||||
|
LINE-NAME=...
The lines for which information is displayed are selected via the line name.
LINE-NAME=*ALL
Displays information for all lines.
LINE-NAME=<composed-name 1..8>
Name of the line for which information is displayed.
SELECT=...
The lines for which information is displayed are restricted by means of selection criteria.
SELECT=*ALL
All the lines are selected.
SELECT=*BY-ATTRIBUTES(...)
The line that is to be selected is specified in greater detail.
NODE-NAME=...
Name of the node. The LAN protocol used on the line may only be CSMACD.
NODE-NAME=*ANY
Any node name.
NODE-NAME=<composed-name 1..8>
Name of node.
INFORMATION=...
INFORMATION allows you to specify the information that is to be output for the selected lines.
INFORMATION=*STATE
Displays the status of the lines.
INFORMATION=*ALL
Displays all the information relating to the lines.
INFORMATION=*LINE-NAMES
Displays the names of the lines.
INFORMATION=*ADDRESSES
Displays the addresses of the lines.
INFORMATION=*DEVICES
Displays the mnemonic device names of the lines.
INFORMATION=*LIMITS
Displays the adjustable limit values of the lines.
INFORMATION=*OPTIONS
Displays the options that can be set for the lines
INFORMATION=*PROTOCOLS
Displays the protocols used for the lines.
INFORMATION=*REDUNDANCY
Displays the redundancy information of the lines.
OUTPUT=...
Specifies the output medium.
OUTPUT=*SYSOUT
The output is sent to SYSOUT.
OUTPUT=*SYSLST
The output is sent to SYSLST.
Command logging
Positive acknowledgments result in the required information being output.
A description of the error messages that may be issued during command processing is provided in the table below.
Command return codes
(SC2) | Maincode | Meaning |
| CMD0001 | Command processed successfully |
| CMD0202 | Operand error |
| CMD0221 | System error |
| CMD0216 | Privilege not sufficient |
| BCA0203 | Interface (&00) returns RC (&01). |
| BCA0241 | Line (&00) to node (&01) not defined |
| BCA0242 | No line defined to node (&00). |
| BCA0290 | Line entry not found. |
Examples
Show line:
/SHOW-LINE-ATTRIBUTES LINE-NAME=LAN1#6,INFORMATION=*STATE
Show all lines:
/SHOW-LINE-ATTRIBUTES LINE-NAME=*ALL,INFORMATION=*STATE
Show all line names:
/SHOW-LINE-ATTRIBUTES LINE-NAME=*ALL,INFORMATION=*LINE-NAMES
S variables
The command’s INFORMATION operand defines the S variables to which values are assigned. Possible values for INFORMATION are *STATE, *ADDRESSES, *DEVICES, *LIMITS, *OPTIONS, *PROTOCOLS, *REDUNDANCY , *ALL,*LINE-NAMES.
Output information | Name of the S variable | Data type | Content | Condition |
Line name | var(*LIST).LINE-NAME | string | <c-string 1..8> | INF= |
Host name | var(*LIST).HOST-NAME | string | *STD | INF= |
Addresses assigned to host | var(*LIST).ADDR(*LIST).ADD-TO-HOST | string | *STD | INF= |
IP address | var(*LIST).ADDR(*LIST).IP-ADDR | string | *NONE | INF= |
IP address status | var(*LIST).ADDR(*LIST).IP-ADDR-STA | string | TENTATIVE | INF= |
IPv6 address | var(*LIST).ADDR(*LIST).IPV6-ADDR | string | *NONE | INF= |
IPv6 address status | var(*LIST).ADDR(*LIST).IPV6-ADDR-STA | string | TENTATIVE | INF= |
ISO address | var(*LIST).ADDR(*LIST).ISO-ADDR | string | *NONE | INF= |
ISO address status | var(*LIST).ADDR(*LIST).ISO-ADDR-STA | string | VALID | INF= |
LAN address, only for L2 protocol CSMACD | var(*LIST).ADDR(*LIST).LAN-ADDR | string | *DYN | INF= |
LAN address status | var(*LIST).ADDR(*LIST).LAN-ADDR-STA | string | VALID | INF= |
Administrative status | var(*LIST).STA.ADM | string | *EXCLUDE | INF= |
Transfer status | var(*LIST).STA.TRANS | string | *NONE | INF= |
L2 protocol | var(*LIST).L2-PROTOCOL | string | CSMACD | INF= |
Node name only for L2 protocol CSMACD | var(*LIST).NODE-NAME | string | <c-string 1..8> | INF= |
Mnemonic device name for write access | var(*LIST).DEV.WRITE | string | <text 2..4> | INF= |
Mnemonic device name for read access | var(*LIST).DEV.READ | string | <text 2..4> | INF= |
Redundancy indicator | var(*LIST).REDUNDANCY.INDICATOR | string | *STD | INF= |
Redundancy for a line determines the group | var(*LIST).REDUNDANCY.LINE | string | <c-string 1..8> | INF= |
Redundancy subgroup | var(*LIST).REDUNDANCY.SUBGROUP | string | *NONE | INF= |
Reception of broadcast messages | var(*LIST).BROADCAST.TARGET | string | *ON | INF= |
Reception of broadcast messages | var(*LIST).BROADCAST.WORK | string | *ON | INF= |
Reception of multicast messages | var(*LIST).MULTICAST.TARGET | string | *ON | INF= |
Reception of multicast messages | var(*LIST).MULTICAST.WORK | string | *ON | INF= |
Automatic reactivation after line failure | var(*LIST).SLOW-POLL.TARGET | string | *ON | INF= |
Automatic reactivation after line failure | var(*LIST).SLOW-POLL.WORK | string | *ON | INF= |
Shows whether CHECKSUM calculation by the device is possible | var(*LIST).CHECKSUM.INDICATOR | string | *YES | INF= |
CHECKSUM calculation is to be executed | var(*LIST).CHECKSUM.TARGET | string | *BY-BCAM | INF= |
CHECKSUM calculation is executed | var(*LIST).CHECKSUM.WORK | string | *BY-BCAM | INF= |
(TCP-)OFFLOAD processing is executed | var(*LIST).OFFLOAD.WORK | string | *BY-BCAM | INF= |
Line handling after timeout on line, only for L2 protocol CSMACD | var(*LIST).TIMEOUT-PROCESS | string | *KEEP-LINE | INF= |
Alternative line on line failure, only for L2 protocol CSMACD | var(*LIST).AUTO-ROUT-SWITCH | string | *ON | INF= |
Resumption of original path definition, only for L2 protocol CSMACD | var(*LIST).ROUT-RESWITCH | string | *ON | INF= |
Line-specific IPv6 autoconfiguration | var(*LIST).IPV6-AUTO-CONFIG | string | *ON | INF= |
Use of Duplicate Address Detection (DAD) only with L2 protocol CSMACD | var(*LIST).DAD.INDICATOR | string | *ON | INF= |
Duplicate Address Detection (DAD) number of Transmits only with L2 protocol CSMACD | var(*LIST).DAD.TRANSMIT-NUM | integer | <integer 1..10> | INF= |
Address Conflict Detection (ACD) used, only with L2 protocol CSMACD | var(*LIST).ACD.INDICATOR | string | *ON | INF= |
Address Conflict Detection (ACD) number of Transmits only with L2 protocol CSMACD | var(*LIST).ACD.TRANSMIT-NUM | integer | <integer 1..10> | INF= |
Maximum frame data length, only for L2 protocol CSMACD | var(*LIST).MAX-LPDU-SIZE | string | *STD | INF= |
Maximum message length that the host can receive only for L2 protocol of type NEA | var(*LIST).MAX-TSDU-SIZE | integer | <integer 4096..65535> | INF= |
List of line names | var(*LIST).LINE-NAMES(*LIST) | string | <c-string 1..8> | INF=*LIN |