Switch 7700 Command reference Guide, v2.0

Table Of Contents
478 CHAPTER 11: USING SYSTEM MANAGEMENT COMMANDS
address: Specifies the transport address to be used in the generation of SNMP
messages.
udp-domain: Specifies the transport domain over UDP for the target address.
host-address: Enter the IP address of destination host.
udp-port udp_port_number: Enter the UDP port number of the host to receive
the SNMP notification.
params: Specifies the SNMP target information to be used in the generation of
SNMP messages.
community-string: Enter the community name, up to 32 characters in length.
v1: Specifies SNMP version 1.
v2c: Specifies SNMP version 2C.
v3: Specifies SNMP version 3.
authentication: Specifies that the packet is authenticated without encryption.
This parameter is only available if you enter
v3
privacy: Specifies that the packet is authenticated and encrypted. This parameter
is only available if you enter
v3
Description
Using the snmp-agent target-host command, you can select and configure the
host that you want to receive SNMP notification.
Using the undo snmp-agent target-host command, you can cancel the host
currently configured to receive SNMP notification.
You must enter the snmp-agent trap enable command before you enter the
snmp-agent target-host command. The snmp-agent trap enable command
enables the device to transmit Trap packets.
Example
To enable Trap messages to be sent to myhost.3Com.com with a community name
of
comaccess., enter the following:
[SW7700]snmp-agent trap enable
[SW7700]snmp-agent target-host myhost 3Com.com comaccess
snmp-agent trap enable Syntax
snmp-agent trap enable [ standard [ authentication ] [ coldstart ] [
linkdown ] [ linkup ] [ warmstart ] ]
undo snmp-agent trap enable [ standard [ authentication ] [ coldstart
] [ linkdown ] [ linkup ] [ warmstart ] ]
View
System view