4 – Managing Switches Configuring a Switch

Q

4.9.2.3

SNMP Trap Configuration

The SNMP trap configuration defines how traps are set. Choose from the tabs Trap1 Trap 5 and configure the trap. Table 4-9describes the SNMP configuration parameters.

 

Table 4-9. SNMP Trap Configuration Parameters

 

 

 

Parameter

 

Description

 

 

 

Trap Version

 

Specifies the SNMP version (1 or 2) with which to format traps.

Trap Enabled

 

Enables or disables the trap.

Trap Address1

 

Specifies the IP address to which SNMP traps are sent. A maximum

 

 

of 5 trap addresses are supported. The default address for trap 1 is

 

 

10.0.0.254. The default address for traps 2–5 is 0.0.0.0.

Trap Port1

 

The port number on which the trap is sent. The default is 162.

Trap Severity

 

Specifies a severity level to assign to the trap. Open the pull-down

 

 

menu and choose a level. Traps must be enabled to access this pull-

 

 

down menu. Trap severity levels include Unknown, Emergency,

 

 

Alert, Critical, Error, Warning, Notify, Info, Debug, and Mark

 

 

 

1Trap address (other than 0.0.0.0) and trap port combinations must be unique. For example, if trap 1 and trap 2 have the same address, then they must have different port values. Similarly, if trap 1 and 2 have the same port value, they must have different addresses.

4.9.2.4

Remote Logging

The Remote Logging (syslog) feature enables saving of the log information to a remote host that supports the syslog protocol. When enabled, the log entries are sent to the syslog host at the IP address that you specify in the Logging Host IP Address field. Log entries are saved in the internal switch log whether this feature is enabled or not.

To save log information to a remote host, you must edit the syslog.conf file and then restart the syslog daemon. The syslog.conf file on the remote host must contain an entry that specifies the name of the log file in which to save error messages. Add the following line to the syslog.conf file. A <tab> separates the selector field (local0.info) and action field which contains the log file path name (/ var/adm/messages/messages.name).

local0.info <tab> /var/adm/messages.name

4-24

59022-06 A

Page 90
Image 90
Q-Logic 8C/16 manual Remote Logging, Snmp Trap Configuration Parameters