D-Link DGS-510 Reference Manual page 244

Gigabit ethernet smartpro switch
Table of Contents

Advertisement

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
27-3
snmp-server enable traps errdisable
This command is used to enable sending SNMP notifications for error disabled state. Use the no form
of this command to disable sending SNMP notifications.
snmp-server enable traps errdisable [asserted] [cleared] [notification-rate TRAP-RATE]
no snmp-server enable traps errdisable [asserted] [cleared] [notification-rate]
Parameters
asserted
cleared
notification-rate TRAP-RATE
Default
By default, all notification types are disabled, and there is no limit for the notification rate.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command with the parameters asserted and cleared enables or disables the notifications for the
state change of the error disabled state. If you enter the command with one of the parameters, only
the specified notification type is enabled or disabled. The state or value of the other notification type
will not be affected.
The snmp-server enable traps errdisable notification-rate and no snmp-server enable traps
errdisable notification-rate commands only affect the setting of notification-rate, but not the state of
the sending notifications for the error disabled state.
Example
This example shows how to enable sending traps for entering into and exiting from the error disabled
state and set the maximum number of traps per second to 3.
Switch# configure terminal
Switch(config)#snmp-server enable traps errdisable asserted cleared notification-
rate 3
Switch(config)#
(Optional) Specifies to control the notifications when entering into
the error disabled state.
(Optional) Specifies to control the notifications when exiting from the
error disabled state.
(Optional) Specifies to configure the number of traps per minute.
The packets that exceed the rate will be dropped. The range is from
0 to 1000. The default value of 0 indicates that an SNMP trap will be
generated for every change of the error disabled state.
241

Advertisement

Table of Contents
loading

Table of Contents