snmp trap rate-limit

Use snmp trap rate-limit to set the SNMP notification output interval and the maximum number of SNMP notifications that can be output at each interval.

Use undo snmp trap rate-limit to restore the default.

Syntax

snmp trap rate-limit interval trap-interval count trap-number

undo snmp trap rate-limit

Default

OSPF outputs a maximum of seven SNMP notifications within 10 seconds.

Views

OSPF view

Predefined user roles

network-admin

Parameters

interval trap-interval: Specifies the SNMP notification output interval in the range of 2 to 60 seconds.

count trap-number: Specifies the number of SNMP notifications output by OSPF at each interval, in the range of 0 to 300. The value of 0 indicates that OSPF does not output SNMP notifications.

Examples

# Configure OSPF to output a maximum of 10 SNMP notifications within 5 seconds.

<Sysname> system-view
[Sysname] ospf 100
[Sysname-ospf-100] snmp trap rate-limit interval 5 count 10