H3C S7500E Series Command Manual page 1190

Hide thumbs Also See for S7500E Series:
Table of Contents

Advertisement

Command Manual – SNMP-RMON
H3C S7500E Series Ethernet Switches
undo snmp-agent target-host { ip-address | ipv6 ipv6-address } securityname
security-string [ vpn-instance vpn-instance-name ]
View
System view
Parameters
trap: Specifies the host to be the Trap host.
address: Specifies the IP address of the target host for the SNMP messages.
udp-domain: Indicates that the Trap message is transmitted using UDP.
ip-address: The IPv4 address of the Trap host.
ipv6 ipv6-address: Specifies that the target host that receives Trap messages uses the
IPv6 address.
vpn-instance vpn-instance-name: Specifies the VPN where the host receiving Traps
reside, where vpn-instance-name indicates the VPN instance name and is a string of 1
to 31 characters. It is case sensitive and is applicable only in a network supporting IPv4.
udp-port port-number: Specifies the number of the port that receives Trap messages.
params securityname security-string: Specifies authentication related parameters,
which is SNMPv1 or SNMPv2c community name or an SNMPv3 user name, a string of
1 to 32 characters.
v1: SNMPv1.
v2c: SNMPv2c.
v3: SNMPv3.
authentication: Specifies the security model to be authentication without privacy.
privacy: Specifies the security model to be authentication with privacy.
Description
Use the snmp-agent target-host command to configure the related settings for a Trap
target host.
Use the undo snmp-agent target-host command to remove the current settings.
To enable the device to send Traps, you need to use the snmp-agent target-host
command in combination with the snmp-agent trap enable and the enable snmp trap
updown commands.
Related commands: enable snmp trap updown, snmp-agent trap enable,
snmp-agent trap source, snmp-agent trap life.
Examples
# Enable the device to send SNMP Traps to 10.1.1.1, using the community name of
public.
Chapter 1 SNMP Configuration Commands
1-19

Advertisement

Table of Contents
loading

Table of Contents