HPE FlexNetwork 5130 HI Series Network Management And Monitoring Command Reference page 194

Hide thumbs Also See for FlexNetwork 5130 HI Series:
Table of Contents

Advertisement

Predefined user roles
network-admin
Parameters
inform: Specifies a host that receives informs.
trap: Specifies a host that receives traps.
address: Specifies the destination address of SNMP notifications.
udp-domain: Specifies UDP as the transport protocol.
ipv4-address: Specifies a target host by its IPv4 address or host name. The host name is a
case-insensitive string of 1 to 253 characters. The string can only contain letters, numbers, hyphens
(-), underscores (_), and dots (.). If you specify a host name, the IPv4 address of the target host can
be obtained.
ipv6 ipv6-address: Specifies a target host by its IPv6 address or host name. The host name is a
case-insensitive string of 1 to 253 characters, which only contains letters, numbers, hyphens (-),
underscores (_), and dots (.). If you specify a host name, the IPv6 address of the target host can be
obtained. If you specify an IPv6 address, the address cannot be a link local address.
udp-port port-number: Specifies the UDP port for SNMP notifications. The default port number is
162.
params securityname security-string: Specifies the authentication parameter. The security-string
argument specifies an SNMPv1 or SNMPv2c community name or an SNMPv3 username, a
case-sensitive string of 1 to 32 characters.
v1: Specifies SNMPv1.
v2c: Specifies SNMPv2c.
v3: Specifies SNMPv3.
authentication: Specifies the security model to be authentication without privacy. You must
specify the authentication key when you create the SNMPv3 user.
privacy: Specifies the security model to be authentication with privacy. You must specify the
authentication key and encryption key when you create the SNMPv3 user.
Usage guidelines
You can specify multiple SNMP notification target hosts.
Make sure the SNMP agent uses the same UDP port for SNMP notifications as the target host.
Typically, NMSs, for example, IMC and MIB Browser, use port 162 for SNMP notifications as defined
in the SNMP protocols.
If none of the keywords v1, v2c, or v3 is specified, SNMPv1 is used. Make sure the SNMP agent
uses the same SNMP version as the target host so the host can receive the notification.
If neither authentication nor privacy is specified, the security model is no authentication, no
privacy.
Examples
# Configure the SNMP agent to send SNMPv3 traps to 10.1.1.1 by using the username public.
<Sysname> system-view
[Sysname] snmp-agent trap enable standard
[Sysname] snmp-agent target-host trap address udp-domain 10.1.1.1 params securityname
public v3
Related commands
snmp-agent { inform | trap } source
snmp-agent trap enable
185

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents