SOPHO
IP 5000/SOPHO IP6000
Command Reference Guide
104
View
System view
Parameter
trap
: Specifies the host as the trap host.
address
: Specifies the address of the destination host where the SNMP
message transmits.
udp-domain
: Specifies that the transmission domain of the destination host is
based on UDP.
X.X.X.X:
IP address of the host.
udp-port
: Specifies the port.
port-number
: Specifies the port number that receives the trap packet.
params
: Specifies the information of the logging host that generates SNMP
messages.
securityname
: Specifies the community name of SNMPV1, V2C or the
username of SNMPV3.
security-string
: Community name of SNMPV1, V2C or the username of
SNMPV3, in the range of 1 to 32 bytes.
v1
: SNMPV1.
v2c
: SNMPv2c.
v3
: SNMPV3.
authentication
: Performs authentication with the packet without encryption.
privacy
: Performs both authentication and encryption with the packet.
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.
[NEC-PHILIPS]
snmp-agent trap enable snmp
[NEC-PHILIPS]
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.
[NEC-PHILIPS]
snmp-agent trap enable standard