Chapter 5
Cajun Campus CLI – Layer 2
Example:
P330-N(super)# set arp-aging-interval 4
Set snmp community Command
Use the set snmp community command to set a SNMP community string.
The syntax for this command is:
set snmp community <access_type{read-only|read-write|trap}>
[community string].
Example:
P330-N(super)# set snmp community read-write public
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|...}
enable
disable
all
config
fault
rcvr_addr
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.
98
Activate SNMP traps
Deactivate SNMP traps
(Optional) Specify all trap types
(Optional) Specify the ConfigChange trap from the TRAP-MIB.
(Optional) Specify the Fault trap from the TRAP-MIB.
IP address or IP alias of the system to receive SNMP traps
Avaya P333R-LB User's Guide