logging snmp-traps

Use this command to configure the severity of the SYSLOG over the SNMP trap feature, which will be used as a filter to the SYSLOG messages sent over the SNMP trap

Use the no form of this command to set the severity back to its default value.

Command Syntax

Copy
logging snmp-traps (<0-7>)
no logging snmp-traps

Parameters

0

emergency

1

alert

2

critical

3

error

4

oper-notify/debug-warn

5

oper-info/debug-notify

6

debug-info

7

debug-details

Default

If not specified, severity will be set to 3 (error).

Command Mode

Configure mode

Applicability

This command was introduced in OcNOS version 6.6.0

Examples

Copy
#configure terminal                         
(config)#logging snmp-traps 6
(config)#commit
(config)#no logging snmp-traps
(config)#commit