Set snmp trap commands – Avaya P130 User Manual

Page 130

Advertising
background image

Chapter 6 Avaya P130 CLI

116

Avaya P130 User’s Guide

Set snmp trap Commands

Use the

set snmp trap commands to add an entry into the SNMP trap receiver

table and to enable or disable the different SNMP traps for a specific receiver. First
add the

rcvr_addr and then enable/disable the different traps for it.

The syntax for this command is:
set snmp trap <rcvr_addr>
set snmp trap <rcvr_addr> {enable|disable} {all|config|fault|...}

Example:

To enable SNMP ConfigChange traps to a specific manager:
P130-1# set snmp trap 192.122.173.42 enable config
SNMP config change traps enabled.

To enable all traps to a specific manager:
P130-1# set snmp trap 192.122.173.42 enable all
All SNMP traps enabled.

To disable SNMP config traps to a specific manager:
P130-1# set snmp trap 192.122.173.42 disable config
SNMP config traps disabled.

To add an entry in the SNMP trap receiver table with default:
P130-1# set snmp trap 192.122.173.42
SNMP trap receiver added.

enable

Activate SNMP traps

disable

Deactivate SNMP traps

all

(Optional) Specify all trap types

config

(Optional) Specify the ConfigChange trap from the TRAP-MIB.

fault

(Optional) Specify the Fault trap from the TRAP-MIB.

rcvr_addr

IP address or IP alias of the system to receive SNMP traps

Advertising