The snmp-agent packet-priority command sets the priority of SNMP messages.
The undo snmp-agent packet-priority command restores the default priority of SNMP messages.
By default, the priority of SNMP messages is 6.
snmp-agent packet-priority { snmp | trap } priority-level
undo snmp-agent packet-priority { snmp | trap }
Parameter | Description | Value |
---|---|---|
snmp | Sets the priority of common SNMP messages (excluding
trap messages), including:
|
- |
trap | Sets the priority of SNMP trap messages, including:
|
- |
priority-level | Specifies the priority of SNMP messages. | The value is an integer that ranges from 0 to 7. The default value is 6. The value 0 indicates the lowest priority, and the value 7 indicates the highest priority. |
To prevent traps from being discarded, increase the priority of SNMP trap messages so that traps can be successfully sent to the NMS.
To improve reliability of MIB operations performed on the device by the NMS, increase the priority of common SNMP messages, excluding SNMP trap messages.
When the network is severely congested and traps are generated frequently, reduce the priority of all SNMP messages, including SNMP trap messages.