System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

System Management Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Set the maximum SNMP agent packet size

Want to summarize with AI?

Log in

Use this procedure to configure the maximum SNMP packet size accepted or generated by the SNMP server.


Ensure that SNMP communication accommodates larger messages as needed for your environment by increasing the maximum packet size.

By default, SNMP packets may be limited in size. Configuring the packet size can help avoid issues with large SNMP responses or requests

Before you begin

Ensure SNMP is already enabled if you intend to adjust its parameters.

Procedure

(Optional) Set the maximum packet size.

Example:

Router#configure
Router(config)#snmp-server packetsize 1024

This sets the maximum packet size to 1024 bytes.

The SNMP server will now use the configured maximum packet size for incoming requests and outgoing replies.