Enterasys Networks 1H582-xx User Manual

Page of 808
SNMP Command Set
Configuring SNMP Notification Parameters
5-49
5.2.7.2
set trap
Use this command to assign an SNMP trap to an IP address. Since the device is an SNMP compliant 
device, it can send messages to multiple network management stations to alert users of status 
changes. For details on the types of traps this device supports, refer to the appropriate Matrix E1 
Release Notes
.
set trap ip_ address community_name {enable | disable}
Syntax Description
Command Defaults
None.
Command Type
Switch command.
Command Mode
Read-Write.
Example
This example shows how to enable a trap on IP address 172.29.65.123 in the “blue” community:
5.2.7.3
clear trap
Use this command to clear an SNMP trap assigned to an IP address.
clear trap ip_address
Syntax Description
Command Defaults
None.
ip_address
Specifies the IP address of the management station where 
traps will be set.
community_name
Specifies the community name of the trap to be set.
enable | disable
Enables or disables the trap.
Matrix>set trap 172.29.65.123 blue enable
ip_address
Specifies the IP address of the trap to be cleared.