SNMP Configuration Commands
129
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
snmp-agent trap enable
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.
Содержание Router 3031
Страница 6: ......
Страница 396: ...396 CHAPTER 4 LINK LAYER PROTOCOL Example Set the parameter of X 29 to 10 seconds 3Com x29 timer inviteclear time 10...
Страница 686: ...686 CHAPTER 6 ROUTING PROTOCOL...
Страница 758: ...758 CHAPTER 7 MULTICAST COMMON CONFIGURATION COMMANDS...