169
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.
This field appears only when an SNMPv3 user is associated with an ACL rule. It
is exclusive with the
ACL name
field.
ACL name
Name 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.
This field appears only when an SNMPv3 user is associated with an ACL rule. It
is exclusive with the
ACL
field.
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
Usage guidelines
For an interface to generate linkUp/linkDown notifications when its state changes, you must also
enable the linkUp/linkDown notification function globally by using the snmp-agent trap enable
standard [ linkdown | linkup ] * command.
Examples
# Enable GigabitEthernet 1/0/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 gigabitethernet 1/0/1
[Sysname-GigabitEthernet1/0/1] enable snmp trap updown
Related commands
snmp-agent target-host
snmp-agent trap enable