R21xx-HP FlexFabric 11900 Network Management and Monitoring Command Reference

94
Usage guidelines
SNMPv1 and SNMPv2c settings are supported only in non-FIPS mode in this command.
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 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 }
params sec
urityname 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 | ipv6 ip
v6-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