1-11Field DescriptionStorage-typeStorage type, which can be:z volatile: Information will be lost if the system is rebootedz nonVolatile: Information will not be lost if the system is rebootedz permanent: Modification is permitted, but deletion is forbiddenz readOnly: Read only, that is, no modification, no deletionz other: Other storage typesUserStatus SNMP user statusenable snmp trap updownSyntaxenable snmp trap updownundo enable snmp trap updownViewEthernet port view, interface viewParametersNoneDescriptionUse the enable snmp trap updown command to enable the sending of port/interface linkUp/linkDowntraps.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 theport/interface and globally if you want a port/interface to generate port/interface linkUp/linkDown trapswhen the state of the port/interface changes.To enable this function on a port/interface, use the enable snmp trap updown command; to enablethis 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 is10.1.1.1 using the community name public. system-viewSystem 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