Avaya P332G-ML Server User Manual


 
Chapter 5 CLI – Layer 2
88 P332G-ML User’s Guide
Set snmp community Command
Use the set snmp community command to set or modify the module’s snmp
community strings.
The syntax for this command is:
set snmp community <access_type> [community string]
Example:
P330-1(super)# set snmp community read-only read
SNMP read-only community string set
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:
P330-N# set snmp trap 192.168.173.42 enable config
SNMP config change traps enabled.
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