3Com MSR 50 Network Router User Manual


  Open as PDF
of 2742
 
2345
Description Use the snmp-agent trap enable command to enable the device to send Trap
messages globally.
Use the
undo snmp-agent trap enable command to disable the device from
sending Trap messages.
By default, the device is enabled to send all types of Trap messages.
Note that:
To enable an interface to send SNMP Trap packets when its state changes, you
need to enable the Link up/down Trap packet transmission function on an
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 command: snmp-agent target-host, enable snmp trap updown.
Example # Enable the device to send SNMP authentication failure packets to 10.1.1.1,
using the community name of “public”.
<Sysname> system-view
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 pa
rams securityname public
[Sysname] snmp-agent trap enable standard authentication
snmp-agent trap if-mib link extended
Syntax snmp-agent trap if-mib link extended
undo snmp-agent trap if-mib link extended
View System view
Parameter None
Description Use the
snmp-agent trap if-mib link extended command to extend the
standard linkUp/linkDown Trap messages defined in RFC. The extended
linkUp/linkDown Trap messages comprise the standard linkUp/linkDown Trap
messages defined in RFC plus interface description and interface type.
Use the
undo snmp-agent trap if-mib link extended command to restore
the default.
By default, standard linkUp/linkDown Trap messages defined in RFC are used.
Note that after this command is configured, the device sends extended
linkUp/linkDown Trap messages. If the extended messages are not supported on
NMS, the device may not be able to resolute the messages.
Example # Extend standard linkUp/linkDown Trap messages defined in RFC.