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 88. List of Syslog Server MIBS that have read access
MIB Object OID Object Values Description
dF10SysLogTraps 1.3.6.1.4.1.6027.3.30.1.1 1 = reachable2 = unreachable Species whether the syslog
server is reachable or
unreachable.
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 SNMPv2-MIB::snmpTrapOID.
0 = OID: SNMPv2-
SMI::enterprises.6027.3.30.1.1.1 SNMPv2-SMI::enterprises.6027.3.30.1.1 = STRING:
"NOT_REACHABLE: Syslog server
10.11.226.121 (port: 9140) is not reachable" SNMPv2-SMI::enterprises.6027.3.6.1.1.2.0 =
INTEGER: 2
Following is the sample audit log message that other syslog servers that are reachable receive:
Oct 21 00:46:13: dv-fedgov-s4810-6: %EVL-6-NOT_REACHABLE:Syslog server 10.11.226.121 (port:
9140) is not reachable
Following example shows the SNMP trap that is sent when connectivity to the syslog server is resumed:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (10230) 0:01:42.30 SNMPv2-MIB::snmpTrapOID.
0 = OID: SNMPv2-
SMI::enterprises.6027.3.30.1.1.2 SNMPv2-SMI::enterprises.6027.3.30.1.1 = STRING:
"REACHABLE: Syslog server
10.11.226.121 (port: 9140) is reachable"SNMPv2-SMI::enterprises.6027.3.6.1.1.2.0 = INTEGER: 2
Following is the sample audit log message that other syslog servers that are reachable receive:
Oct 21 05:26:04: dv-fedgov-s4810-6: %EVL-6-REACHABLE:Syslog server 10.11.226.121 (port: 9140)
is reachable
Troubleshooting SNMP Operation
When you use SNMP to retrieve management data from an SNMP agent on a Dell Networking router, take into account the following
behavior.
• When you query an IPv4 icmpMsgStatsInPkts object in the ICMP table by using the snmpwalk command, the output for echo replies
may be incorrectly displayed. To correctly display this information under ICMP statistics, use the show ip traffic command.
• When you query an icmpStatsInErrors object in the icmpStats table by using the snmpget or snmpwalk command, the output for
IPv4 addresses may be incorrectly displayed. To correctly display this information under IP and ICMP statistics, use the show ip
traffic
command.
• When you query an IPv4 icmpMsgStatsInPkts object in the ICMP table by using the snmpwalk command, the echo response output
may not be displayed. To correctly display ICMP statistics, such as echo response, use the show ip traffic command.
Transceiver Monitoring
To retrieve and display the transceiver related parameters you can perform a snmpwalk transceiver table OID to retrieve transceiver details
as per the MIB. This enables transceiver monitoring and identication of potential issues related to the transceivers on a switch.
• Ensure that SNMP is enabled on the device before running a query to retrieve the transceiver information.
• If Tx/Rx power, temperature, current, or voltage is not supported on optics, snmp walk returns a null ("") value.
• If optics are not inserted in a port, empty string is displayed.
798
Simple Network Management Protocol (SNMP)