Description

This article provides information on how to verify the Kernel and Packet Forwarding Engine Response for SNMP MIB data

Symptoms

SNMP MIB data is maintained by the Kernel or Packet Forwarding Engine (PFE).  For such data to be available for the network management system, the Kernel has to provide the required information to the SNMP subagent mib2d process. A slow response from the Kernel can cause a delay in the mib2d process returning the data to the network management system. The Junos OS adds an entry in the mib2d log file each time an interface takes more than 10,000 microseconds to respond to a request for interface statistics.

Solution


The show log log-filename | grep “kernel response time” command is used to find the response time taken by the kernel.

Checking the Kernel Response Time


user@switch> show log mib2d | grep “kernel response time”

Aug 17 22:39:37 == kernel response time for
COS_IPVPN_DEFAULT_OUTPUT-t1-7/3/0:10:27.0-o: 9.126471 sec , range
(0.000007, 11.000806)
Aug 17 22:39:53 == kernel response time for
COS_IPVPN_DEFAULT_INPUT-t1-7/2/0:5:15.0-i: 5.387321 sec , range
(0.000007, 11.000806)
Aug 17 22:39:53 == kernel response time for ct1-6/1/0:9:15: 0.695406
sec, range (0.000007, 11.000806)
Aug 17 22:40:04 == kernel response time for t1-6/3/0:6:19: 1.878542
sec, range (0.000007, 11.000806)
Aug 17 22:40:22 == kernel response time for lsq-7/0/0: 2.556592 sec,
range (0.000007, 11.000806)

The highlighted fields in the above output provides the kernal response time.

Related Information