Operating System - OpenVMS
1748157 Members
3963 Online
108758 Solutions
New Discussion юеВ

How to reset the counter for receive and send in tcpip?

 
SOLVED
Go to solution
Lionel Liu
Advisor

How to reset the counter for receive and send in tcpip?

In vms, When I do the command

$tcpip show interface----- it will display the following info

interface ip_addr receive send
IEA3 192.10.10.10 1464829 1019909
WE0 192.10.10.11 597746 31031

Is there any command to reset the receive and send counter?

Thanks very much

Lionel
4 REPLIES 4
Jess Goodman
Esteemed Contributor

Re: How to reset the counter for receive and send in tcpip?

The documented way would be the command:

$ TPCIP ZERO INTERFACE interface

Requires OPER privilege and you must specify a specific interface - you can't zero them all at once.

However I just tried this command and it did not work for me under TCP/IP services Version V5.0A ECO 3, or V5.1 ECO 5. It did work way back on V4.2 ECO 4.
I have one, but it's personal.
Lionel Liu
Advisor

Re: How to reset the counter for receive and send in tcpip?

Our version is V5.4 ECO 1, it does't work
Karl Rohwedder
Honored Contributor
Solution

Re: How to reset the counter for receive and send in tcpip?

According to the actual documentation there is only a command ZERO NFS_SERVER, which zeroes the NFS server counters.

As to cite the VMS-wizard from 6-aug-2003:
As for the immediate question, there is presently no support
for zeroing the TCP/IP Services counters available within the
V5 kernel -- gather a set of values as a baseline, and...

So you have to note the current values.

mfg Kalle
Wim Van den Wyngaert
Honored Contributor

Re: How to reset the counter for receive and send in tcpip?

VMS 7.3 and TCP 5.3 eco 2.

Even zero of protocol counters no longer work (tcpip zero prot tcp results in unsupported function message). But the command itself was accepted.

Wim
Wim