214
Default
SNMP notification logging is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
Use SNMP notification logging to record SNMP notifications sent by the SNMP agent for notification
tracking. The SNMP agent sends the logs to the information center. You can configure the
information center to output the logs to a destination as needed.
Examples
# Enable SNMP notification logging.
<Sysname> system-view
[Sysname] snmp-agent trap log
snmp-agent trap queue-size
Use
snmp-agent trap queue-size
to set the SNMP notification queue size.
Use
undo snmp-agent trap queue-size
to restore the default queue size.
Syntax
snmp-agent
trap
queue-size
size
undo
snmp-agent
trap
queue-size
Default
The SNMP notification queue can store up to 100 notifications.
Views
System view
Predefined user roles
network-admin
Parameters
size
: Specifies the maximum number of notifications that the SNMP notification queue can hold. The
value range is 1 to 1000.
Usage guidelines
When congestion occurs, the SNMP agent buffers notifications in a queue. SNMP notification queue
size sets the maximum number of notifications that this queue can hold. When the queue size is
reached, the oldest notifications are dropped for new notifications.