HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

LANCP counters

 
SOLVED
Go to solution
Art Wiens
Respected Contributor

LANCP counters

I've been trying to isolate some networking issues and was wondering how much I can "trust" the counters displayed with a SHOW DEVICE xxxx /COUNTERS ?

They "seem" legitimate on some Alpha's (VMS v7.2-2) but are very suspicious on some VAX's (VMS v6.2). There is a LANACP process running on these systems.

There doesn't seem to be a command to ZERO the counters which would be handy (assuming the counters are accurate). Is there a way to do so other than reboot?

Art
13 REPLIES
Art Wiens
Respected Contributor

Re: LANCP counters

BTW, the counts in the attachment are from two systems that have been up for 108 days.

Art
Galen Tackett
Valued Contributor

Re: LANCP counters

Art,

In my experience, too, these counters have been quite reliable on the Alpha. It's too far back for me to remember such experience from Vax usage, but I wonder if they might be 16 bit counters on the Vax implementation?

I don't believe there is a way to clear these counters short of maybe re-initializing the device with the appropriate $QIO function code. But that would mean shutting down whatever was using it first.

If you are running DECnet Phase IV you can use NCP like this:

$ RUN SYS$SYSTEM:NCP
NCP>SHOW LINE EWA-0 COUNTERS ! To see the counters for EWA0:
NCP>ZERO LINE EWA-0 COUNTERS ! To zero them
NCP>SET LINE EWA-0 COUNTER TIMER 1000 ! To zero them every 1000 secs

To make the counters always reset every 1000 seconds even after you restart DECnet or reboot use:

NCP>DEFINE LINE EWA-0 COUNTER TIMER 1000

Hope this helps.

--
Galen

P.S. I have some code that lets you monitor counters over the LAN provided that the device speaks MOP. All the DEC heritage devices I've ever tried do. I can't make it available any time in the near future but hope I can some day.
Art Wiens
Respected Contributor

Re: LANCP counters

Thanks, I'm aware of the Decnet line/circuit/node counters, but the majority of traffic is not Decnet so I was looking for some "higher level" counters. Majority of interactive users use KEA (Telnet) and file transfers are mainly FTP, although Decnet transfers are also done.

Art
Andy Bustamante
Honored Contributor

Re: LANCP counters

It sound like you may want to try $TCPIP SHOW PROTOCOL to focus on TCP/IP traffic.
If you don't have time to do it right, when will you have time to do it over? Reach me at first_name + "." + last_name at sysmanager net
Uwe Zessin
Honored Contributor
Solution

Re: LANCP counters

Unless it has changed recently, the DECnet LINE and LANCP DEVICE counters are the same (modulo some minor differences...) - they come from the hardware interface.

Tried it on V6.2-1H3 and a:
NCP> ZERO KNOWN LINES COUNTERS

did reset the numbers in LANCP's display, too.
.
Uwe Zessin
Honored Contributor

Re: LANCP counters

Something that has just popped up from the depth of the grey mass ;-)

How is the VAX connected to the network? If I recall correctly, 'Collision detect check failure' can be a symptom of a bad 'heartbeat' setting on those mini transceivers.
.
Art Wiens
Respected Contributor

Re: LANCP counters

Andy:

You mean NETCU SHOW COUNT (We're a TCPware env), but yes thanks. I'm trying to correlate what they report to what LANCP shows.

Uwe 1):

Really?! So theoretically if I zero the Decnet line counters, I should see that reflected in the LANCP counters? Lets try that...

Uwe 2):

The VAX's are connected with transceivers and cat 5. I've been doing some reading about Collision Detect circuitry and how the switch pack is set on the transceiver... it doesn't appear to matter if these systems are on a network switch, only if they're on a hub. If they're set the "wrong" way on a switch it increases the count of Collision Detect Check "Failures" but it's not really a problem.

Art
Art Wiens
Respected Contributor

Re: LANCP counters

Hey Uwe, reply once more...you shall receive many points for your first tip!! See attached.

So then if that's the case, IP counters are over and above what LANCP/Decnet line counters are showing? Is that because we're using TCPware and not "native" TCPIP ?

Thanks,
Art
Jess Goodman
Esteemed Contributor

Re: LANCP counters

On VAX VMS 6.2, and on Alpha VMS 6.2 without ECO ALPLAN06_062 installed, the LANCP counters are the same 32bit counters that NCP uses, so NCP ZERO KNOWN LINE COUNTERS will zero them both.

But I would *not* trust the LANCP SHOW DEVICE /COUNTERS display on these system because there is no indication when the numbers overflow 32 bits, unlike the NCP SHOW KNOWN LINE COUNTERS display which use a ">" before numbers that have overflowed. At our site the bytes sent/received counters can overflow in less than an hour.

On VMS 7.2+ Alpha (I don't know about VMS 7.0, 7.1, or VAX 7.2) the LANCP counters are separate from the NCP counters and use 64 bit cells so overflow isn't a problem. On these systems the command to zero them is (from FAQ):

LANCP SET DEVICE/ALL/DEVICE=FUNCTION="CCOU"

On Alpha VMS 6.2 with ECO ALPLAN06_062 installed the LANCP counters are 64 bit, but there is apparently no way to zero them out.
I have one, but it's personal.
Karl Rohwedder
Honored Contributor

Re: LANCP counters

For info about those functions pls. see
SYS$HELP:LAN_COUNTERS_AND_FUNCTIONS.TXT (VMS V8.2).

mf Kalle
Robert_Boyd
Respected Contributor

Re: LANCP counters

I'm not sure what the earliest version of OpenVMS/Alpha(probably V7.3?) is that supports this, but

ANALYZE/SYSTEM
SDA> LAN COUNTERS [/DEV=]

is another nice way to look at the information.
There is HELP for it in SYS$HELP:LAN$HELP.HLB.

SDA> LAN CONFIG
shows the current settings on each port.

SDA> LAN INTERNAL_COUNTERS
also has some interesting things to look at.

Robert
Master you were right about 1 thing -- the negotiations were SHORT!
Ian Miller.
Honored Contributor

Re: LANCP counters

The LAN SDA extention is not present in V7.2-1 :-(
____________________
Purely Personal Opinion
Art Wiens
Respected Contributor

Re: LANCP counters

Nor in v7.2-2 :-(