Lucent Technologies P333T Switch User Manual


 
Chapter 5 Cajun Campus CLI (Command Line Interface)
Cajun P333T User’s Guide 47
The default configuration has the following communities and access types defined:
read-only---public
read-write---public
public-trap---public
Examples:
To set read-write access to the SNMP community called yappledapple:
Console> (enable) set snmp community read-write yappledapple
SNMP read-write community string set.
Console> (enable)
To clear the community string defined for read-only access:
Console> (enable) set snmp community read-only
SNMP read-only community string cleared.
Console> (enable)
Set snmp trap command
Use the set snmp trap command to enable or disable the different SNMP traps on
the system or to add an entry into the SNMP authentication trap receiver table.
First add the
rcvr_addr
and then change the trap configuration.
The syntax for these commands is:
set snmp trap
rcvr_addr
set snmp trap
[rcvr_addr] <enable|disable>[all|config|fault]
Examples:
To enable SNMP ConfigChange traps to a specific manager:
Console> (enable) set snmp trap 192.122.173.42 enable config
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