HPE FlexNetwork 7500 Series Command Reference Manual page 211

Network management and monitoring
Table of Contents

Advertisement

snmp-agent target-host trap address udp-domain { ipv4-address | ipv6 ipv6-address } [ udp-port
port-number ] [ vpn-instance vpn-instance-name ] params securityname security-string v3
{ authentication | privacy }
undo snmp-agent target-host { trap | inform } address udp-domain { ipv4-address | ipv6
ipv6-address } params securityname security-string [ vpn-instance vpn-instance-name ]
Default
No SNMP notification target hosts exist.
Views
System view
Predefined user roles
network-admin
mdc-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.
vpn-instance vpn-instance-name: Specifies the MPLS L3VPN instance to which the target host
belongs. The vpn-instance-name argument represents the VPN instance name, a case-sensitive
string of 1 to 31 characters. If the target host belongs to the public network, do not specify this option.
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.
201

Advertisement

Table of Contents
loading

Table of Contents