You can configure SNMP to set the value of a MIB object in response to an SNMP event.
![]() |
Note: Do not define an event notification and an SNMP set for the same event. |
To define an event that sets the value for a MIB variable in response to an SNMP event:
- [edit]
- user@host# edit snmp monitor event event-name
snmp-set
- [edit snmp monitor event event-name snmp-set]
- user@host# set oid OID
- [edit snmp monitor event event-name snmp-set]
- user@host# set value value
- [edit snmp monitor event event-name snmp-set]
- user@host# set strict-oid