(Optional) Enhancing Reliability of SNMP Packet Transmission
Procedure
- Run system-view
The system view is displayed.
- Run snmp-agent packet max-size byte-count
The maximum size of an SNMP packet that the device can receive and send is set.
By default, the maximum size of an SNMP packet that the device can receive or send is 12000 bytes.
After the maximum size is set, the device discards any SNMP packet that is larger than the set size. Typically, the default value is recommended.
- Run snmp-agent packet-priority { snmp | trap } priority-level
The transmission level of SNMP packets is set.
The default transmission level of SNMP packets is 6.
- Run snmp-agent protocol server message queue message-queue
The size of a packet queue that can be received by an SNMP agent is set.
By default, the packet queue that can be received by an SNMP agent contains 30 packets.
- Run snmp-agent set-cache enable
The SET response packet caching function is enabled.
By default, SET response packets are not cached.