Snmp-Agent Target-Host - H3C S5830V2 Series Command Reference Manual

Network management and monitoring
Hide thumbs Also See for S5830V2 Series:
Table of Contents

Advertisement

v2c: Specifies SNMPv2c.
v3: Specifies SNMPv3.
Usage guidelines
Configure the SNMP agent with the same SNMP version as the NMS for successful communications
between them.
Examples
# Enable SNMPv1 and SNMPv3.
<Sysname> system-view
[Sysname] snmp-agent sys-info version v1 v3
Related commands
display snmp-agent sys-info

snmp-agent target-host

Use the snmp-agent target-host command to configure the SNMP agent to send SNMP notifications
(informs or traps) to a host.
Use the undo snmp-agent target-host command to remove an SNMP notification target host.
Syntax
snmp-agent target-host inform address udp-domain ip-address [ udp-port port-number ] params
securityname security-string { v2c | v3 [ authentication | privacy ] }
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 { trap | inform } address udp-domain ip-address params securityname
security-string
Default
No SNMP notification target host has been configured.
Views
System view
Predefined user roles
network-admin
Parameters
inform: Sends notifications as informs.
trap: Sends notifications as traps.
address: Specifies the destination address of SNMP notifications.
udp-domain: Specifies UDP as the transport protocol.
ip-address: Specifies the IPv4 address of the target host as the destination of SNMP notifications.
udp-port port-number: Specifies the UDP port for SNMP notifications. If no UDP port is specified, UDP
port 162 is used.
109

Advertisement

Table of Contents
loading

This manual is also suitable for:

S5820v2 series

Table of Contents