Command Reference Guide

352snmp-agent target-host 3Com Router 5000 Family and Router 6000 Family
Command Reference
Send SNMP traps 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
Send traps to 202.38.160.6 in private network blue, using the community name of
public.
[3Com] snmp-agent target-host trap address udp-domain 202.38.160.6
udp-port 5000 vpn-instance blue params securityname public
View This command can be used in the following views:
System view
Description The snmp-agent trap enable command enables a device to send traps. To have
a host send notifies, you need to configure the snmp-agent target-host
command on it.
In an MPLS L3VPN network environment, a CE, a Quidview NMS for example, on a
private network can use SNMP to manage PEs. To this end, you must specify the VPN
instance to which the SNMP trap host belongs on PEs so these PEs can send back
SNMP messages in response to the SNMP get/set requests from the CE. If a PE has no
direct connection to the CE, you must specify a source interface for traps in addition.
Related Commands snmp-agent trap enable
snmp-agent trap source
snmp-agent trap life