Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Is this SNMP packet malformed

Most packets I have look like this: (sequence, size, and version)

But this particular packet has an extra byte; does anyone know what that represents?

Everyone's tags (1)
2 REPLIES
New Member

The answer is actually easy.

The answer is actually easy.  

let a = length byte

let b[n] of byte

n, number of bytes in length variable.

If a > 0x7F then

n =  a-0x80

 

IOW, in this case 

New Member

This discussion has been

This discussion has been reposted from Cisco User Groups to the Network Management community.

327
Views
0
Helpful
2
Replies
CreatePlease login to create content