R3204P16-HP Load Balancing Module System Maintenance Command Reference-6PW101

51
Field Descri
p
tion
Storage-type
Storage type, which can be:
volatile
nonvolatile
permanent
readOnly
other
See Table 13 for details.
UserStatus SNMP user status
enable snmp trap updown
Syntax
enable snmp trap updown
undo enable snmp trap updown
View
Interface view
Default level
2: System level
Parameters
None
Description
Use the enable snmp trap updown command to enable the trap function for interface state changes on
an interface.
Use the undo enable snmp trap updown command to disable the trap function for interface state
changes on an interface.
By default, the trap function for interface state changes is enabled.
NOTE:
For an interface to generate linkUp/linkDown traps when its state changes, you must also enable the
linkUp/linkDown trap function globally by using the enable snmp trap updown command.
Related commands: snmp-agent target-host and snmp-agent trap enable.
Examples
# Enable port Ten-GigabitEthernet 0/0.1 to send linkUp/linkDown SNMP traps 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 Ten-GigabitEthernet 0/0.1
[Sysname-Ten-GigabitEthernet 0/0.1] enable snmp trap updown