Re: SNMP variable of *IP* octets and not layer#2 octets

2001-03-08 Thread Christian Hammers

On Thu, Mar 08, 2001 at 01:24:37PM +0100, Sasa Milic wrote:
 Take a look at local.linterfaces.lifTable table. There you will
 find:
locIfipInPkts OBJECT IDENTIFIER ::= { lifEntry 42 }
locIfipOutPktsOBJECT IDENTIFIER ::= { lifEntry 43 }
locIfipInOctets   OBJECT IDENTIFIER ::= { lifEntry 44 }
locIfipOutOctets  OBJECT IDENTIFIER ::= { lifEntry 45 }
But they do not seem to be correct, too! 
When I send a ping like this:
ping -c 1 -s 1 212.117.XXX.YYY
then I would assume that the locIfipInPkts increases by 1 and the 
locIfipInOctets increases by 20(IP)+8(ICMP)+1(DATA) = 29 bytes. But it does
in fact increase by 1 packet but 33 bytes! Exactly the same 4 mistyrious bytes
I always have "too much" in the normal "show interface" byte counter and which
I assumed to be the HDLC overhead (although I don't know how to come to 4 bytes
for it...)
I verified the 29 bytes with ethereal and tcpdump on both sides. The remote
host *gets* only 29 bytes and not 33!

Any ideas? Does it be correct at your side? 

bye,

 -christian-

-- 
Christian HammersWESTEND GmbH - Aachen und Dueren Tel 0241/701333-0
[EMAIL PROTECTED] Internet  Security for ProfessionalsFax 0241/911879
   WESTEND ist CISCO Systems Partner - Premium Certified

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



SNMP variable of *IP* octets and not layer#2 octets

2001-03-07 Thread Christian Hammers

Hello

All SNMP variables that are known to me, including the show interface
command, show me the number of octets (bytes) that passed at layer#2
i.e. including the HDLC/PPP header.

Does anybody know a SNMP variable (regardless which IOS it would need)
that counts only IP bytes (non-IP is filtered anyway so we can ignore
it).

thanks in advance,

 -christian-

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]



do interface counters include HDLC?

2001-02-28 Thread Christian Hammers

Hello 

My interface counters on a Serial line with HDLC are 4 bytes per IP
packet too high. I had the idea that this could be the HDLC frame but
this is much longer than 4 bytes.

Where is documented what exactly an interface counter counts?

TIA  bye,

 -christian-

_
FAQ, list archives, and subscription info: http://www.groupstudy.com/list/cisco.html
Report misconduct and Nondisclosure violations to [EMAIL PROTECTED]