set snmp notify

Use this command to set the SNMP notify configuration.

Syntax

set snmp notify notify tag tag [trap | inform] [volatile | nonvolatile]

Parameters

notify Specifies an SNMP notify name.
tag tag Specifies an SNMP notify tag. This binds the notify name to the SNMP target address table.
trap | inform (Optional) Specifies SNMPv1 or v2 Trap messages (default) or SNMP v3 InformRequest messages.
volatile | nonvolatile (Optional) Specifies temporary (default), or permanent storage for SNMP entries.

Defaults

  • If not specified, message type will be set to trap.
  • If not specified, storage type will be set to nonvolatile.

Mode

All command modes.

Usage

This creates an entry in the SNMP notify table, which is used to select management targets who should receive notification messages. This command‘s tag parameter can be used to bind each entry to a target address using the set snmp targetaddr command (set snmp targetaddr).

In C2 security mode, you can not create, delete, or modify an SNMP notify configuration in Read-Write user mode.

Example

This example shows how to set an SNMP notify configuration with a notify name of “hello” and a notify tag of “world”. Notifications will be sent as trap messages and storage type will automatically default to permanent:

System(rw)->set snmp notify hello tag world trap