Command Reference Guide

3Com Router 3000 Ethernet Family
Command Reference Guide Chapter 7 SNMP Configuration Commands
3Com Corporation
7-16
7.1.17 snmp-agent target-host
Syntax
snmp-agent target-host trap address udp-domain X.X.X.X [ udp-port port-number ]
[ vpn-instance vpn-name ] params securityname security-string [ v1 | v2c | v3
[ authentication | privacy ] ]
undo snmp-agent target-host X.X.X.X securityname security-string
View
System view
Parameter
trap: Specifies a host as the trap host.
address: Specifies the target host address in the SNMP messages to be transmitted.
udp-domain: Specifies that the transport domain of the target host is UDP based.
X.X.X.X: IP address of the host.
udp-port: Specifies the UDP port.
port-number: Specifies the port that receives traps.
vpn-instance vpn-name: specifies VPN instance name.
params: Specifies the log host that generates SNMP messages.
securityname: Specifies an SNMPv1 or SNMPv2c community name or an SNMPv3
user name.
security-string: SNMPv1 or SNMPv2c community name, or SNMPv3 user name, in the
range 1 to 32 bytes.
v1: SNMPv1.
v2c: SNMPv2c.
v3: SNMPv3.
authentication: Authenticates packets without encryption.
privacy: Both authenticates and encrypts packets.
Description
Use the snmp-agent target-host command to set the destination that receives SNMP
notifications.
Use the undo snmp-agent target-host command to cancel the current setting.
Use the snmp-agent target-host command in conjunction with the snmp-agent trap
enable command.