R3166-R3206-HP High-End Firewalls System Management and Maintenance Command Reference-6PW101
142
Table 40 Output description
Field Descri
p
tion
User name SNMP user name
Group name SNMP group name
Engine ID Engine ID for an SNMP entity
Storage-type
Storage type, which can be the following:
• volatile
• nonvolatile
• permanent
• readOnly
• other
For more information, see Table 35.
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.
Use the undo enable snmp trap updown command to disable the trap function for interface state
changes.
By default, the trap function for interface state changes is enabled.
Note that:
To enable an interface to generate linkUp/linkDown traps when its state changes, you need to enable
the linkUp/linkDown trap function on the interface and globally. Use the enable snmp trap updown
command to enable this function on an interface, and use the snmp-agent trap enable [ standard
[ linkdown | linkup ] * ] command to enable this function globally.
Related commands: snmp-agent target-host and snmp-agent trap enable.
Examples
# Enable the sending of linkUp/linkDown SNMP traps on port GigabitEthernet 0/1 and use the
community name public.