R211x-HP Flexfabric 11900 Network Management and Monitoring Command Reference
122
snmp-agent target-host
Use snmp-agent target-host to configure the SNMP agent to send SNMP notifications (informs or traps)
to a host.
Use undo snmp-agent target-host to remove an SNMP notification target host.
Syntax
In non-FIPS mode:
snmp-agent target-host inform address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port
port-number ] [ vpn-instance vpn-instance-name ] params securityname security-string { v2c | v3
[ authentication | privacy ] }
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 | inform } address udp-domain { ip-address | ipv6 ipv6-address }
par
ams securityname security-string [ vpn-instance vpn-instance-name ]
In FIPS mode:
snmp-agent target-host inform address udp-domain { ip-address | ipv6 ipv6-address } [ udp-port
port-number ] [ vpn-instance vpn-instance-name ] params securityname security-string v3
{ authentication | privacy }
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 v3
{ authentication | privacy }
undo snmp-agent target-host { trap | inform } address udp-domain { ip-address | ip
v6 ipv6-address }
params securityname security-string [ vpn-instance vpn-instance-name ]
Default
No SNMP notification target host has been configured.
Views
System view
Predefined user roles
network-admin
mdc-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.
ipv6 ipv6-address: Specifies the IPv6 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.










