Avocent CCM1640 Network Card User Manual


 
Chapter 5: CCM Commands 69
Server SNMP Trap command
The Server SNMP Trap command enables or disables SNMP traps. When you
issue this command with the Enable parameter, the CCM displays a numbered
list of all currently disabled traps. When you issue this command with the Disable
parameter, the CCM displays a numbered list of all currently enabled traps.
You may indicate the traps to be enabled/disabled by entering a single number,
several numbers separated by commas, a range of numbers separated by a
dash or a combinations of numbers separated by commas and dashes. You
may also type ALL to select all traps in the list or press Enter, which cancels
the operation.
If you specify ALL on the command line, the numbered list is not displayed.
If you enable a trap but there is no trap destination configured for it, a warning
will be issued. In this case, issue a Server SNMP Trap Destination command.
NOTE: By default, all traps are disabled. The portAlert trap must be enabled for port alert
processing to be performed.
For more information, see Managing the CCM Using SNMP in Chapter 3. The
Equinox web site www.equinox.com/support lists the supported traps.
Access right: SCON
Access level: APPLIANCEADMIN
Syntax
SERVER SNMP TRAP [ENABLE|DISABLE] [ALL]
Server SNMP Trap Command Parameter
Parameter Description
ENABLE|DISABLE Enable generates a numbered list of currently disabled traps from
which you choose those to enable. Disable generates a numbered list
of currently enabled traps from which you choose those to disable.
Example
The following command enables the linkUp, userDeleted and userLogin
SNMP traps.
server snmp trap enable
Traps now disabled:
1) linkUp 4) userLogin
2) userAdded 5) imageUpgradeStarted
3) userDeleted
Select trap(s) to enable>1,3-4