3Com 3031 Command Reference Manual page 129

3com 3031: reference guide
Hide thumbs Also See for 3031:
Table of Contents

Advertisement

snmp-agent trap enable
Description
Using the snmp-agent target-host command, you can set the destination that
receives the SNMP notification. Using the undo snmp-agent target-host
command, you can remove the host that receives the SNMP notification.
The snmp-agent target-host command should be used in cooperation with the
snmp-agent trap enable command.
The snmp-agent trap enable command is used to enable to forward Trap
packets. If one host is specified to forward notify message, the host should be
configured at least one snmp-agent target-host command and one
snmp-agent trap enable command.
For the related command, see snmp-agent trap enable, snmp-agent trap source,
snmp-agent trap life.
Example
Enable to send SNMP Trap packets to 10.1.1.1, using the community name of
comaccess.
[3Com] snmp-agent trap enable snmp
[3Com] snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname comaccess
Send SNMP Trap packets to 10.1.1.1, using the community name of public.
[3Com] snmp-agent trap enable standard
[3Com] snmp-agent target-host trap address udp-domain 10.1.1.1
params securityname public
Syntax
snmp-agent trap enable [ trap-type [ trap-list ] ]
undo snmp-agent trap enable [ trap-type [ trap-list ] ]
View
System view
Parameter
trap-type: Enables the trap packet of this type.
trap-list: The parameter list corresponding to the trap packets of trap-type.
Description
Using the snmp-agent trap enable command, you can enable the device to send
Trap packets and set the trap or notification parameters. Using the undo
snmp-agent trap enable command, you can remove the current setting.
By default, sending Trap packets is disabled.
SNMP Configuration Commands
129

Advertisement

Table of Contents
loading

Table of Contents