Snmp-Agent Target-Host - H3C S3100 Series Command Manual

Hide thumbs Also See for S3100 Series:
Table of Contents

Advertisement

Command Manual (For Soliton) – SNMP-RMON
H3C S3100 Series Ethernet Switches
By default, the contact information of an S3100 Ethernet switch is "Hangzhou H3C
Technologies Co., Ltd.", the geographical location is "Hangzhou China", and the SNMP
version employed is SNMPv3.
You can use the display snmp-agent sys-info command to display the current SNMP
system information.
Examples
# Specify the contact information for system maintenance as Dial System Operator #
1234.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] snmp-agent sys-info contact Dial System Operator # 1234

1.1.19 snmp-agent target-host

Syntax
snmp-agent target-host trap address udp-domain ip-address [ udp-port
port-number ] params securityname security-string [ v1 | v2c | v3 [authentication |
privacy ] ]
undo snmp-agent target-host ip-address securityname security-string
View
System view
Parameters
trap: Enables the host to receive SNMP traps.
address: Specifies the destination for the SNMP traps.
udp-domain: Specifies to use UDP to communicate with the target host.
ip-address: The IPv4 address of the host that is to receive the traps.
port-number: Number of the UDP port that is to receive the traps, in the range 1 to
65,535.
params: Specifies SNMP target host information to be used in the generation of SNMP
traps.
security-string: SNMPv1/SNMPv2c community name or SNMPv3 username, a string of
1 to 32 characters.
v1: Specifies SNMPv1.
v2c: Specifies SNMPv2c.
v3: Specifies SNMPv3.
authentication: Configures to authenticate the packets without encryption.
Chapter 1 SNMP Configuration Commands
1-24

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents