trap-priority

This command specifies the minimum criticality for trap events.

Syntax

trap-priority priority

Parameters

priority
Identifies the event priority. The default value is error.

Guidelines

The trap-priority command specifies the minimum criticality for trap events. The priorities are hierarchical. In descending order of criticality, the priorities are emergency, alert, critic, error, warn, notice, info, and debug.

This command is relevant when the trap-default-subscriptions command is set to on.

Example

Set the trap priority to warn or greater criticality.
# trap-priority warn