Configuring Snmp Notifications; Enabling Snmp Notifications; Configuring The Snmp Agent To Send Notifications To A Host - H3C SR6600-X Configuration Manual

Hide thumbs Also See for SR6600-X:
Table of Contents

Advertisement

Configuring SNMP notifications

The SNMP Agent sends notifications (traps and informs) to inform the NMS of significant events, such as
link state changes and user logins or logouts. Unless otherwise stated, the trap keyword in the command
line includes both traps and informs.

Enabling SNMP notifications

Enable an SNMP notification only if necessary. SNMP notifications are memory-intensive and might
affect device performance.
To generate linkUp or linkDown notifications when the link state of an interface changes, you must
perform the following tasks:
Enable linkUp or linkDown notification globally by using the snmp-agent trap enable standard
[ linkdown | linkup ] * command.
Enable linkUp or linkDown notification on the interface by using the enable snmp trap updown
command.
After you enable notifications for a module, whether the module generates notifications also depends on
the configuration of the module. For more information, see the configuration guide for each module.
To enable SNMP notifications:
Step
1.
Enter system view.
2.
Enable notifications
globally.
3.
Enter interface view.
4.
Enable link state
notifications.

Configuring the SNMP agent to send notifications to a host

You can configure the SNMP agent to send notifications as traps or informs to a host, typically an NMS,
for analysis and management. Traps are less reliable and use fewer resources than informs, because an
NMS does not send an acknowledgment when it receives a trap.
Configuration guidelines
When network congestion occurs or the destination is not reachable, the SNMP agent buffers
notifications in a queue. You can configure the queue size and the notification lifetime (the maximum time
that a notification can stay in the queue). A notification is deleted when its lifetime expires. When the
notification queue is full, the oldest notifications are automatically deleted.
Command
system-view
snmp-agent trap enable [ configuration | protocol
| standard [ authentication | coldstart | linkdown
| linkup | warmstart ] * | system ]
interface interface-type interface-number
enable snmp trap updown
164
Remarks
N/A
By default, SNMP
configuration notifications,
standard notifications, and
system notifications are
enabled. Whether other
SNMP notifications are
enabled varies by modules.
N/A
By default, link state
notifications are enabled.

Advertisement

Table of Contents
loading

This manual is also suitable for:

R6600

Table of Contents