R21xx-HP FlexFabric 11900 Network Management and Monitoring Configuration Guide
75
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable SNMP logging.
snmp-agent log { all |
get-operation | set-operation }
By default, SNMP logging is
disabled.
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 may affect
device performance.
To generate linkUp or linkDown notifications when the link state of an interface changes, you must
enable linkUp or linkDown notification globally by using the snmp-agent trap enable standard
[ linkdown | linkup ] * command and 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:
Ste
p
Command
Remarks
1. Enter system view.
system-view N/A
2. Enable notifications
globally.
snmp-agent trap enable [ bgp | configuration |
ospf [ authentication-failure | bad-packet |
config-error | grhelper-status-change |
grrestarter-status-change | if-state-change |
lsa-maxage | lsa-originate |
lsdb-approaching-overflow | lsdb-overflow |
neighbor-state-change |
nssatranslator-status-change | retransmit |
virt-authentication-failure | virt-bad-packet |
virt-config-error | virt-retransmit |
virtgrhelper-status-change | virtif-state-change |
virtneighbor-state-change ] * | standard
[ authentication | coldstart | linkdown | linkup |
warmstart ] * | system ]
By default, all the traps are
enabled globally.
Support for the keywords
varies with device models.
3. Enter interface view.
interface interface-type interface-number
N/A
4. Enable link state
notifications.
enable snmp trap updown
By default, link state
notifications are enabled.










