3com 8807 참조 가이드
SNMP Configuration Commands
911
<SW8800> system-view
System View: return to User View with Ctrl+Z.
[SW8800] snmp-agent sys-info contact Dial System Operator at beeper # 27345
snmp-agent target-host
Syntax
snmp-agent target-host trap address udp-domain host-addr [ udp-port
udp-port-number ] params securityname securityname [ v1 | v2c | v3 [
authentication | privacy ] ]
udp-port-number ] params securityname securityname [ v1 | v2c | v3 [
authentication | privacy ] ]
undo snmp-agent target-host host-addr securityname securityname
View
System view
Parameter
address: Specifies the address of the host which receives SNMP messages.
host-addr: IP address of the host.
udp-port udp-port-number: Specifies the UDP port number of the host to receive
the SNMP notification.
the SNMP notification.
v1: Represent the version of SNMPV1.
v2c: Represent the version of SNMPV2C.
v3: Represent the version of SNMPV3.
securityname: Specifies the community name, ranging 1 to 32 bytes. It can be the
community name of SNMPv1/v2c or the user name of SNMPv3.
community name of SNMPv1/v2c or the user name of SNMPv3.
authentication: Configures to authenticate the packet without encryption.
privacy: Configures to authenticate and encrypt the packet.
Description
Use the snmp-agent target-host command to configure destination of SNMP
notification.
notification.
Use the undo snmp-agent target-host command to cancel the host that
receives SNMP notification.
receives SNMP notification.
The snmp-agent target-host command and the snmp-agent trap enable
command should be used at the same time. Use the snmp-agent trap enable
command to enable the device to transmit Trap packets. The snmp-agent trap
enable command and snmp-agent target-host command should be used at the
same time on the host to enable notify message sending.
command should be used at the same time. Use the snmp-agent trap enable
command to enable the device to transmit Trap packets. The snmp-agent trap
enable command and snmp-agent target-host command should be used at the
same time on the host to enable notify message sending.
n
If the version of SNMP message is v3, the packet authentication encryption mode
specified by the command must be consistent with configuration for SNMP group
to which the securityname belongs.
specified by the command must be consistent with configuration for SNMP group
to which the securityname belongs.
Related command: snmp-agent trap enable, snmp-agent trap source and
snmp-agent trap life, snmp-agent group, snmp-agent usm-user.
snmp-agent trap life, snmp-agent group, snmp-agent usm-user.