R2511-HP MSR Router Series Network Management and Monitoring Command Reference(V5)
22
• v1: Specifies SNMPv1.
• v2c: Specifies SNMPv2c.
• v3: Specifies SNMPv3.
Usage guidelines
Only SNMPv3 is supported in FIPS mode.
Configure the SNMP agent with the same SNMP version as the NMS for successful communications
between them.
Network maintenance engineers can use system contact information to get in touch with the
manufacturer in case of network failures. System location information is a management variable under
the system branch as defined in RFC 1213-MIB, identifying the location of the managed object.
Examples
# Configure the system contact as Dial System Operator at beeper # 27345.
<Sysname> system-view
[Sysname] snmp-agent sys-info contact Dial System Operator at beeper # 27345
snmp-agent target-host
Related commands
display snmp-agent sys-info
snmp-agent target-host
Use snmp-agent target-host to configure a target host for receiving traps sent by the SNMP agent.
Use undo snmp-agent target-host to remove settings for an SNMP trap target host.
Syntax
snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port
port-number ] [ vpn-instance vpn-instance-name ] params securityname security-string [ v1 | v2c | v3
[ authentication | privacy ] ]
undo snmp-agent target-host trap address udp-domain { ip-address | ipv6 ipv6-address } params
securityname security-string [ vpn-instance vpn-instance-name ]
Views
System view
Default command level
3: Manage level
Parameters
trap: Specifies a target host for receiving the traps sent by the device.
address: Specifies the IP address of the target host.
udp-domain: Specifies UDP as the transport protocol.
ip-address: Specifies the IPv4 address or name of the target host. The host name is a string of 1 to 255
characters.
ipv6 ipv6-address: Specifies the IPv6 address of the target host.
udp-port port-number: Specifies the UDP port for receiving SNMP traps. The default UDP port is 162.










