1-11
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
snmp-agent
Syntax
snmp-agent
undo snmp-agent
View
System view
Parameters
None
Summary of Contents for 5500-EI PWR
Page 43: ...2 6...
Page 76: ...1 17...
Page 228: ...ii stp transmit limit 1 44 vlan mapping modulo 1 45 vlan vpn tunnel 1 46...
Page 477: ...5 24 Sysname vlan 2 Sysname vlan2 service type multicast...
Page 503: ...2 3 System View return to User View with Ctrl Z Sysname dot1x url http 192 168 19 23...
Page 519: ...iii...
Page 597: ...2 2 security policy server 192 168 0 1 user name format without domain...
Page 648: ...1 9 Examples Clear static ARP entries Sysname reset arp static...
Page 663: ...4 3 Sysname resilient arp interface vlan interface 2...
Page 767: ...1 28 From 12 00 Jan 1 2008 to 12 00 Jun 1 2008...
Page 1111: ...ii xmodem get 3 18...
Page 1314: ...A 44 Z...