Field
Storage-type
UserStatus
ACL
ACL name
Related commands
snmp-agent usm-user v3
enable snmp trap updown
Use enable snmp trap updown to enable link state change notifications for an interface.
Use undo enable snmp trap updown to disable link state change notifications for an interface.
Syntax
enable snmp trap updown
undo enable snmp trap updown
Default
Link state change notifications are enabled.
Views
Interface view
Predefined user roles
network-admin
mdc-admin
Usage guidelines
To generate linkUp/linkDown notifications when the state of an interface changes, you must also
enable the linkUp/linkDown notification function globally by using the snmp-agent trap enable
standard [ linkdown | linkup ] * command.
Examples
# Enable the agent to use community name public to send Ten-GigabitEthernet 1/1/1
linkUp/linkDown notifications to the host at 10.1.1.1
<Sysname> system-view
Description
Storage type:
•
volatile.
•
nonvolatile.
•
permanent.
•
readOnly.
•
other.
For more information about these storage types, see
SNMP user status:
•
active—The SNMP user is effective.
•
notInService—The SNMP user is correctly configured but not activated.
•
notReady—The SNMP user configuration is incomplete.
•
other—Any other status.
Number of the ACL.
This field appears only when an ACL is specified for the SNMPv3 user. It is
exclusive with the ACL name field.
Name of the ACL.
This field appears only when an ACL is specified for the SNMPv3 user. It is
exclusive with the ACL field.
154
Table
23.