Configure SNMP Traps and Alerts Using CLI

Note: SNMP traps can also be configured from the Remote Console. See Configure SNMP Traps from the Remote Console.

SX II supports sending SNMP alerts to a predefined SNMP server. The Raritan SNMP MIB can be found in Viewing the SX II MIB.

Enter admin > config > snmp to access the menu.

Command

Description

Parameters

add

 

Add trap recipients.

A recipient is an IP address with an optional space- separated port number.

Traps may be sent to multiple ports with the same IP address.

  • dest <ipaddress | hostname> - Destination IP/hostname
  • port <port number> - Destination port
  • community <community> - SNMP community

addv3

Add trap recipients.

A recipient is an IP address with an optional space- separated port number.

Traps may be sent to multiple ports with the same IP address.

  • dest <ipaddress | hostname>- Destination IP/hostname
  • port <port number> - Destination port
  • name <name> - Security name
  • authproto <MD5 | SHA> - SNMP auth protocol
  • authpass <authpass> - SNMP auth passphrase
  • privproto <None | DES | AES> - SNMP privacy protocol
  • privpass <privacy password> - SNMP privacy passphrase

viewtraps

Display existing SNMP traps.

NA

del

 

Delete SNMP traps.

  • dest <ipaddress | hostname>- Destination IP/hostname
  • port <port number> - Destination port

delv3

Delete SNMPv3 traps.

  • dest <ipaddress | hostname>- Destination IP/hostname
  • port <port number> - Destination port

snmpagent

Configure SNMP daemon.

  • enable <true|false> - SNMP Daemon, enable (true), disable (false)
  • contact <contact> - SNMP contact
  • location <location> - SNMP location
  • community <community> - SNMP community
  • type <read_only | read_write> - SNMP community type
  • v12enable <true | false> - SNMP v1/2 agent, enable (true), disable (false)

snmptrap

Enable or disable an SNMP trap.

  • enable <true | false> - SNMP traps, enable (true), disable (false)
  • v12enable <true | false> - SNMP v1/v2c traps, enable (true), disable (false)
  • v3enable <true | false> - SNMP v3 traps, enable (true), disable (false)

snmpv3agent

Configure an SNMPv3 agent.

  • enable <true|false> - SNMP V3 Agent, enable (true), disable (false)
  • name <security name> - Security name
  • authproto <MD5 | SHA> - SNMP auth protocol
  • authpass <auth password> - SNMP auth passphrase
  • privproto <None | DES | AES> - SNMP privacy protocol
  • privpass <privacy password> - SNMP privacy passphrase
  • useauthforpriv <true | false> - Use auth passphrase for privacy, enable (true), disable (false)

See Also

Administering SX II Using command line interface

Change Your Password Using CLI

Configure Power Strips Using CLI

Configure and Manage Users and User Groups Using CLI

Configure User Authorization and Authentication Services Using CLI

Configure a Modem Using CLI

Run an Autoconfiguration Script Using CLI

Configure Network Settings Using CLI

Configure Device Settings Using CLI

Configure Date and Time Settings Using CLI

Change the Default GUI Language Setting Using CLI

Configure SMTP Events and Notifications Using CLI

Configure Port Logging Settings Using CLI

Configure Ports Using CLI

Configure the Local Port Using CLI

Configure Security Settings Using CLI

Configure Maintenance Settings Using CLI

Configure Diagnostic Settings Using CLI