3Com Switch 7750 Series
Command Reference Guide – SNMP & RMON
Chapter 1 SNMP Configuration Commands
1-16
Use
undo snmp-agent target-host
command to cancel the current setting.
The
snmp-agent target-host
command and the
snmp-agent trap enable
or
enable
snmp trap updown
command must be used at the same time on the device to send
Trap packets.
1) Use
the
snmp-agent trap enable
or
enable snmp trap updown
command to set
Trap packets allowed to send (all Trap packets can be sent by default).
2) Use
the
snmp-agent target-host
command to set the address of the destination
host receiving SNMP Trap packets.
Related command:
snmp-agent trap enable
,
snmp-agent trap source
and
snmp-agent trap life
.
Example
# Enable sending SNMP Trap packets to 10.1.1.1 with community name public.
<3Com> system-view
System View: return to User View with Ctrl+Z.
[3Com] snmp-agent trap enable standard
[3Com] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname public
1.1.17 snmp-agent trap enable
Syntax
snmp-agent trap enable
[
bgp
[
backwardtransition
|
established
]* |
configuration
|
flash
|
ospf
[
process-id
] [
ospf-trap-list
] |
standard
[
authentication
|
coldstart
|
linkdown
|
linkup
|
warmstart
]* |
system | vrrp
[
authfailure
|
newmaster
] ]
undo
snmp-agent trap enable
[
bgp
[
backwardtransition
|
established
]* |
configuration
|
flash
|
ospf
[
process-id
] [
ospf-trap-list
] |
standard
[
authentication
|
coldstart
|
linkdown
|
linkup
|
warmstart
]* |
system | vrrp
[
authfailure
|
newmaster
] ]
View
System view
Parameter
bgp
[
backwardtransition
|
established
]*: Configures to send BGP traps.
configuration
: Configures to send traps for configuration.
flash
: Configures to send traps of Flash.
ospf
[
process-id
] [
ospf-trap-list
]: Configures to send traps of the OSPF protocol.
process-id
indicates a process ID.
ospf-trap-list
indicates a list of trap messages
allowed to be sent.