snmp-server host

Syntax

snmp-server host [ipv4–addr|ipv6–addr] <COMMUNITY NAME> inform [retries <COUNT>][timeout <INTERVAL>]
no snmp-server host [ipv4–addr|ipv6–addr] <COMMUNITY NAME> inform [retries <COUNT>][timeout <INTERVAL>]

Description

Enables (or disables) the inform option for SNMPv2c on the switch and allows you to configure options for sending SNMP inform requests.
IMPORTANT:

The retries and timeout values are not used to send trap requests.

Parameters

retries

Maximum number of times to resend an inform request if no SNMP response is received. Defaults to 3.

timeout

Number of seconds to wait for an acknowledgement before resending the inform request. Defaults to 15 seconds.

Verify SNMPv2c inform configuration

switch# show snmp-server

 SNMP Communities

  Community Name   MIB View Write Access
  ---------------- -------- ------------ public          Manager  Unrestricted

 Trap Receivers

  Link-Change Traps Enabled on Ports [All] : All
  ...
  Address               Community       Events Sent Notify Type Retry Timeout
  --------------------- --------------- ----------- ----------- ----- --------
  15.28.333.456         guest           All         inform      3     15

 Excluded MIBs

 Snmp Response Pdu Source-IP Information

  Selection Policy   : Default rfc1517

 Trap Pdu Source-IP Information 
  Selection Policy   : Configured IP 
  Ip Address        : 10.10.10.10