Enable Snmp Trap Updown - H3C s3600 series Command Manual

Hide thumbs Also See for s3600 series:
Table of Contents

Advertisement

Field
Storage-type
UserStatus

enable snmp trap updown

Syntax
enable snmp trap updown
undo enable snmp trap updown
View
Ethernet port view, interface view
Parameters
None
Description
Use the enable snmp trap updown command to enable the sending of port/interface linkUp/linkDown
traps.
Use the undo enable snmp trap updown command to disable the sending of linkUp/linkDown traps.
By default, the sending of port/interface linkUp/linkDown traps is enabled.
Note that you need to enable the generation of port/interface linkUp/linkDown traps both on the
port/interface and globally if you want a port/interface to generate port/interface linkUp/linkDown traps
when the state of the port/interface changes.
To enable this function on a port/interface, use the enable snmp trap updown command; to enable
this function globally, use the snmp-agent trap enable [ standard [ linkdown | linkup ] * ] command.
By default, both are enabled.
Examples
# Enable the port Ethernet 1/0/1 to send linkUp/linkDown SNMP traps to the NMS whose IP address is
10.1.1.1 using the community name public.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent trap enable
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname public
[Sysname] interface Ethernet1/0/1
[Sysname-Ethernet1/0/1] enable snmp trap updown
Storage type, which can be:
volatile: Information will be lost if the system is rebooted
nonVolatile: Information will not be lost if the system is rebooted
permanent: Modification is permitted, but deletion is forbidden
readOnly: Read only, that is, no modification, no deletion
other: Other storage types
SNMP user status
1-11
Description

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents