Server snmp trap command – Avocent CPS1610 CPS User Manual

Page 75

Advertising
background image

Chapter 5: CPS Commands

69

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 CPS displays a numbered list

of all currently disabled traps. When you issue this command with the Disable

parameter, the CPS 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 SNMP Structures in Chapter 3. The

Avocent web site www.avocent.com/support lists the supported traps.

Access right: SCON; Access level: AA

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.

Advertising