Avocent CCM Network Card User Manual


 
74 CCM Installer/User Guide
Example
The following command adds an SNMP management entity with the IP address of 192.168.0.1.
server snmp manager add 192.168.0.1
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 appliance displays a numbered list of all currently disabled
traps. When you issue this command with the Disable parameter, a numbered list of all currently
enabled traps is displayed.
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 Appliance Using SNMP on page 39 and Supported
Traps on page 100.
Access right: SCON
Access level: APPLIANCEADMIN
Syntax
SERVER SNMP TRAP [ENABLE|DISABLE] [ALL]
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
Table 5.25: 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.