HP MSR2000/3000/4000 Router Series Network Management and Monitoring Command Reference

139
Field Descri
p
tion
ACL
Number of the ACL that controls the access of the SNMP user (the NMS) to the
device.
To access the device, the IP address of the NMS must be permitted in the ACL.
Related commands
snmp-agent usm-user v3
enable snmp trap updown
Use enable snmp trap updown to enable link state notifications on an interface.
Use undo enable snmp trap updown to disable link state notifications on an interface.
Syntax
enable snmp trap updown
undo enable snmp trap updown
Default
Link state notifications are enabled.
Views
Interface view
Predefined user roles
network-admin
network-operator
Usage guidelines
For an interface to generate linkUp/linkDown notifications when its state changes, you must also enable
the linkUp/linkDown notification function globally using the snmp-agent trap enable standard
[ linkdown | linkup ] * command.
Examples
# Enable port Ethernet 1/1 to send linkUp/linkDown SNMP traps to 10.1.1.1 in the community public.
<Sysname> system-view
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname
public
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] enable snmp trap updown
Related commands
snmp-agent target-host
snmp-agent trap enable
snmp-agent
Use snmp-agent to enable the SNMP agent.