Set snmp community, Set snmp trap, Ge 94 – Avaya P333T User Manual

Page 110

Advertising
background image

Chapter 6

CLI – Layer 2

94

Avaya P333T User’s Guide

ROUTE HOST TABLE

destination gateway flags Refcnt Use Interface

------------------------------------------------------------------------

127.0.0.1 127.0.0.1 5 2 131 lo0

10.10.10.10 192.168.1.1 7 0 0 se0

------------------------------------------------------------------------

set snmp community

Use the

set snmp community

command to set or modify the switch’s SNMP

community strings.

The syntax for this command is:

set snmp community <access_type> [community string]

Output Example:

P330-1(super)# set snmp community read-only read

SNMP read-only community string set

set snmp trap

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|...}

access type

read-only, read-write, or trap

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