cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
9481
Views
0
Helpful
9
Replies

SNMP packet size

fazmibakar
Level 1
Level 1

Hi Guys,

Anyone know the size of the SNMP packet? how to know the SNMP packet size?

thank you

9 Replies 9

daniel.dib
Level 7
Level 7

It will depend on how much information is being sent. It's not a fixed size. The only certain part is that there is an UDP header. If you want to see the packet you need to perform a capture. Is there any specific reason why you want to know the packet size?

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

actually i want to enable SNMP for access switches about 100 unit. this is for NMS (non cisco). is it the SNMP packet will affect the network performance?

Hi

Default packet size is 1500. This can be changed using snmp-server packetsize command. Have taken some text from the below mentioned URL please refer.

http://www.cisco.com/en/US/docs/ios/netmgmt/command/reference/nm_20.html#wp1012810

snmp-server packetsize

To establish control over the largest Simple Network Management Protocol (SNMP) packet size permitted when the SNMP server is receiving a request or generating a reply, use the snmp-server packetsize command in global configuration mode. To restore the default value, use the no form of this command.

snmp-server packetsize byte-count

no snmp-server packetsize

Syntax Description

byte-count

Integer from 484 to 8192. The default is 1500.

Command Default

Packet size is not configured.

Regards,

Sathvik K V

That command sets the maximum size though. It doesn't say anything about minimum or average size.

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

It depends on the bandwidth available in the network. Only once have I ran into SNMP putting stress on the network but that was a very low bandwidth network with 64 kbit/s links and so on.

Daniel Dib
CCIE #37149

Daniel Dib
CCIE #37149
CCDE #20160011

Please rate helpful posts.

I agree with Daniel that rarely is the load imposed on the network by SNMP going to have noticeable impact. It is really not important what is the packet size and is more important how much information is being sent. And the major factor that determines this is how your NMS server is configured. Let us consider a somewhat extreme example in which the NMS is polling all devices every 10 seconds and is requesting all interface status, all memory status, contents of the entire routing table, and a copy of the configuration (all this information for every poll to every device every 10 seconds). If your NMS is configured in a more reasonable way then the load on the network will be reduced.

HTH

Rick

HTH

Rick

Disclaimer

The  Author of this posting offers the information contained within this  posting without consideration and with the reader's understanding that  there's no implied or expressed suitability or fitness for any purpose.  Information provided is for informational purposes only and should not  be construed as rendering professional advice of any kind. Usage of this  posting's information is solely at reader's own risk.

Liability Disclaimer

In  no event shall Author be liable for any damages whatsoever (including,  without limitation, damages for loss of use, data or profit) arising out  of the use or inability to use the posting's information even if Author  has been advised of the possibility of such damage.

Posting

actually i want to enable SNMP for access switches about 100 unit. this is for NMS (non cisco). is it the SNMP packet will affect the network performance?

It might - it depends (i.e. how often you poll the device and what data you poll for).  (Also, SNMP polling can add to the device's CPU loading.)

thank you for the replies. it give me ome ideas regarding the SNMP configuration.

_|brt.drml|_
Level 1
Level 1

A very late question.

If you do set the SNMP packet size?

Will you chop up the reply? So you generate a steady stream of reply and GET?

Or is it better to shape it with a QoS policy?

 

 

 

Review Cisco Networking products for a $25 gift card