R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference

124
Default
SNMP configuration notifications, standard notifications, and system notifications are enabled. Whether
other SNMP notifications are enabled varies by modules.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
configuration: Specifies configuration notifications. If configuration notifications are enabled, the system
checks the running configuration and the startup configuration every 10 minutes for any change and
generates a notification for the most recent change.
protocol: Specifies a module for enabling SNMP notifications. For more information about this argument,
see the command reference for each module.
standard: Specifies SNMP standard notifications.
Table 32 Standard SNMP notifications
Ke
y
word Definition
authentication
Authentication failure notification sent when an NMS fails to authenticate to the SNMP
agent.
coldstart Notification sent when the device restarts.
linkdown Notification sent when the link of a port goes down.
linkup Notification sent when the link of a port comes up.
warmstart Notification sent when the SNMP agent restarts.
system: Specifies system notifications sent when the system time is modified, the system reboots, or the
main system software image is not available.
Usage guidelines
The snmp-agent trap enable command enables the device to generate notifications, including both
informs and traps, even though the keyword trap is used in the command.
You can use the snmp-agent target-host command to enable the device to send the notifications as
informs or traps to a host.
If no optional parameters are specified, the command or its undo form enables or disables all SNMP
notifications supported by the device.
Examples
# Enable the SNMP agent to send SNMP authentication failure traps to 10.1.1.1 in the community public.
<Sysname> system-view
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname
public
[Sysname] snmp-agent trap enable standard authentication