Enabling A Subset Of Snmp Traps; Enabling An Snmp Agent To Notify Syslog Server Failure - Dell S6100 Configuration Manual

On system
Hide thumbs Also See for S6100:
Table of Contents

Advertisement

Example of RFC-Defined SNMP Traps and Related Enable Commands
The following example lists the RFC-defined SNMP traps and the command used to enable each. The coldStart and warmStart traps are
enabled using a single command.
snmp authentication
string.
snmp coldstart
snmp linkdown
snmp linkup

Enabling a Subset of SNMP Traps

You can enable a subset of Dell Networking enterprise-specific SNMP traps using one of the following listed command options.
To enable a subset of Dell Networking enterprise-specific SNMP traps, use the following command.
Enable a subset of SNMP traps.
snmp-server enable traps
NOTE:
The envmon option enables all environment traps including those traps that are enabled with the envmon
supply, envmon temperature, and envmon fan options.
Example of Dell Networking Enterprise-specific SNMP Traps
Enabling an SNMP Agent to Notify Syslog Server
Failure
You can configure a network device to send an SNMP trap if an audit processing failure occurs due to loss of connectivity with the syslog
server.
If a connectivity failure occurs on a syslog server that is configured for reliable transmission, an SNMP trap is sent and a message is
displayed on the console.
The SNMP trap is sent only when a syslog connection fails and the time-interval between the last syslog notification and current time is
greater than or equal to 5 minutes. This restriction also applies to the console message.
NOTE:
If a syslog server failure event is generated before the SNMP agent service starts, the SNMP trap is not sent.
To enable an SNMP agent to send a trap when the syslog server is not reachable, enter the following command:
CONFIGURATION MODE
snmp-server enable traps snmp syslog-unreachable
To enable an SNMP agent to send a trap when the syslog server resumes connectivity, enter the following command:
CONFIGURATION MODE
snmp-server enable traps snmp syslog-reachable
Table 78. List of Syslog Server MIBS that have read access
MIB Object
dF10SysLogTraps
The following example shows the SNMP trap that is sent when connectivity to the syslog server is lost:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (19738) 0:03:17.38
0 = OID: SNMPv2-
794
Simple Network Management Protocol (SNMP)
SNMP_AUTH_FAIL:SNMP Authentication failed.Request with invalid community
SNMP_COLD_START: Agent Initialized - SNMP COLD_START.
SNMP_WARM_START:Agent Initialized - SNMP WARM_START.
PORT_LINKDN:changed interface state to down:%d
PORT_LINKUP:changed interface state to up:%d
OID
1.3.6.1.4.1.6027.3.30.1.1
Object Values
1 = reachable2 = unreachable
Description
Specifies whether the syslog
server is reachable or
unreachable.
SNMPv2-MIB::snmpTrapOID.

Advertisement

Table of Contents
loading

Table of Contents