Specifications
333
ZlinkW Command Reference
+ niu -d
source target count last activity
2 115 1098 18dec91 09:42:03a
2 101 2742 18dec91 09:43:57a
2 102 5634 18dec91 09:44:50a
+
In revision 310J0 the output of the “niu -d” command was changed to better display the
node ID and the current Count Purge setting.
+ niu -d
source target CAP ID all bytes last activity
5555 0101 1 0 1 28 12jan95 04:57:35p
000A 0101 2 0 2 56 12jan95 04:57:34p
5555 0100 267 0 267 4808 13jan95 10:46:47a
Stale counts purge age is 1 day
The network counts are returned to the office computer using the ZlinkW commands
“
niu -c” or “niu -r”. The counts are returned in a printable ASCII format, and appear
as the file
NETWORK.RET in the ZETRON directory on the office computer. Refer to the
Operations manual for details of this file.
The “
niu -c” command returns the current counts at the time the command was issued,
but does not affect the running total.
A new switch was added in version 310J0. The “
niu -e” command shows the event
settings. The output of this command will resemble Figure 58.
Figure 58: Sample Response to “niu-e” Command
+ niu -e
Port Events
0 (none)
1 LinkUp ResetIn
2 CANreply
3 (none)
4 LinkDown LinkUp ResetIn
5 CANreply
6 CANreply
7 CANreply
8 LinkDown LinkUp CANreply UnknownDst
+ logclose
The second command, “niu -r”, performs a rollover. The current counts are saved on the
Series 2000 terminal, as the file
network.cnr, and the count table is cleared. From this
point new network pages are counted into the cleared table. The saved counts are then
returned as for the “
niu -c” command. If the file transfer is successful then the
network.cnr file will be renamed to network.cnx, overwriting any older
network.cnx file.
If the file transfer is not successful, then the next “
niu -r” command will bypass the
saving and clearing of current counts, proceeding directly to transferring the
network.cnr file to the office computer. The “cnr” file will not be renamed until the
file transfer is successful. This prevents accidental loss of network counts data due to file
transfer problems.










