This example shows how to execute the data plane health check utility for fabric module.
RP/0/RP0/CPU0:Router# monitor dataplane-health
Wed Feb 28 15:08:15.659 EST
RP/0/RP0/CPU0:Feb 28 15:08:15.687 EST: dph_mon_bg[337]: %PLATFORM-DPH_MONITOR-6-STARTED : Dataplane health monitoring started. Please check harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt for details of the result.
THIS COMMAND IMPACTS SYSTEM PERFORMANCE AND SHOULD IDEALLY BE RUN ON A ROUTER THAT IS ISOLATED.
Progressive details of the test logged in /harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt
Previous log file is archived as /harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt.bak
Please save the archive with a different file name as needed
########################################################################################
Module:fabric
Patterns used: 0xf0,0x0f,0x00,0x55,0xff,
Duration per pattern: 10 seconds
Pause time between each slice/pattern test: 2 seconds
Best effort time for test completion: 1044 seconds
Depending on the overall dataplane health state, it may take additional time to complete
########################################################################################
Dataplane health monitoring will run in the background
Wait for completion log message from the process "dph_mon_bg"
OR
Use "show dataplane-health status" regularly to check for completion
RP/0/RP0/CPU0:Feb 28 15:08:15.687 EST: dph_mon_bg[337]: %PLATFORM-DPH_MONITOR-6-STARTED : Dataplane health monitoring started. Please check harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt for details of the result.
RP/0/RP0/CPU0:Feb 28 15:28:54.965 EST: dph_mon_bg[337]: %PLATFORM-DPH_MONITOR-6-COMPLETED : Dataplane health monitoring completed. Please check harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt for details of the result.
This example shows how to run fabric, NPU, and lookup engine tests together to check the health of these modules. The test
includes a warning to reload the router after the test completion.

Warning
|
Run the test on a router in a non-production environment as this test impacts the system performance.
|
RP/0/RP0/CPU0:Router# monitor dataplane-health module all-modules
THIS COMMAND IMPACTS SYSTEM PERFORMANCE AND SHOULD IDEALLY BE RUN ON A ROUTER THAT IS ISOLATED.
THIS COMMAND INCLUDES THE TESTING OF THE LOOKUP ENGINE MODULE.
TESTS ON THE LOOKUP ENGINE REQUIRE A RELOAD AFTER TEST COMPLETION.
Progressive details of the test logged in /harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt
Previous log file is archived as /harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt.bak
Please save the archive with a different file name as needed
########################################################################################
Module:fabric, lookup
Patterns used: 0xf0,0x55,0xff,
Duration per pattern: 10 seconds
Pause time between each slice/pattern test: 2 seconds
Best effort time for test completion: 492 seconds
Depending on the overall dataplane health state, it may take additional time to complete
########################################################################################
Dataplane health monitoring will run in the background
Wait for completion log message from the process "dph_mon_bg"
OR
Use "show dataplane-health status" regularly to check for completion
RP/0/RP0/CPU0:Router#

Note
|
Make sure to reload the router once the test is completed.
|
This example shows how to run lookup engine test. The test includes a warning to reload the router after the test completion.

Warning
|
Run the test on a router in a non-production environment as this test impacts the system performance.
|
RP/0/RP0/CPU0:ios# monitor dataplane-health module lookup
Fri Oct 24 13:09:20.906 UTC
THIS COMMAND IMPACTS SYSTEM PERFORMANCE AND SHOULD IDEALLY BE RUN ON A ROUTER THAT IS ISOLATED.
THIS COMMAND INCLUDES THE TESTING OF THE LOOKUP ENGINE MODULE.
TESTS ON THE LOOKUP ENGINE REQUIRE A RELOAD AFTER TEST COMPLETION.
Progressive details of the test logged in /harddisk:/dph_mon/dataplane_health_lookup_mode_report.txt
Previous log file is archived as /harddisk:/dph_mon/dataplane_health_lookup_mode_report.txt.bak
Please save the archive with a different file name as needed
########################################################################################
Module:lookup
Best effort time for test completion: 32 seconds
Depending on the overall dataplane health state, it may take additional time to complete
########################################################################################
Dataplane health monitoring will run in the background
Wait for completion log message from the process "dph_mon_bg"
OR
Use "show dataplane-health status" regularly to check for completion

Note
|
Make sure to reload the router once the test is completed.
|
These examples show how to check the status of a data plane health test:
Example 1: Output with data plane health check in progress
RP/0/RP0/CPU0:Router# show dataplane-health status
Mon Jan 29 22:39:48.336 UTC
Dataplane health monitoring in progress..
Example 2: Output with successful data plane health check
RP/0/RP0/CPU0:Router# show dataplane-health status
Mon Jan 29 23:10:21.564 UTC
Dataplane health monitoring completed
Summary of results (Module: fabric):
############################################################################
Output summary legend:
ERROR: Tests were not run for this slice due to some errors
GOOD: Tests were successful for this slice
LOSS: Packet loss was observed for this slice
CORRUPT: Packet corruption was observed for this slice
############################################################################
LC NP Slice GOOD LOSS CORRUPT ERROR
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
0 0 0 2526099 0 0 0
1 2526856 0 0 0
2 2526529 0 0 0
1 0 2526590 0 0 0
1 2526918 0 0 0
2 2526421 0 0 0
2 0 2526665 0 0 0
1 2525818 0 0 0
2 2526286 0 0 0
-------------------------------------------------------------------------------
1 0 0 2526754 0 0 0
1 2526328 0 0 0
2 2526695 0 0 0
1 0 2525892 0 0 0
1 2526988 0 0 0
2 2526215 0 0 0
**********************************************************************************
DATAPATH CHECK IS CLEAN (mode: fabric).
**********************************************************************************
Example 3: Output with failures
RP/0/RP0/CPU0:Router# show dataplane-health status
Wed Jan 10 21:37:01.601 UTC
Dataplane health monitoring completed
Summary of results (Module: fabric):
############################################################################
Output summary legend:
ERROR: Tests were not run for this slice due to some errors
GOOD: Tests were successful for this slice
LOSS: Packet loss was observed for this slice
CORRUPT: Packet corruption was observed for this slice
############################################################################
LC NP Slice GOOD LOSS CORRUPT ERROR
-------------------------------------------------------------------------------
-------------------------------------------------------------------------------
1 0 0 2526253 0 0 0
1 2527136 0 0 0
2 2526235 0 0 0
1 0 2527166 0 0 0
1 2527217 0 0 0
2 2526424 0 0 0
-------------------------------------------------------------------------------
2 0 0 2526733 0 0 0
1 2526948 0 0 0
2 2526554 0 0 0
1 0 2526294 0 0 0
1 2526220 0 0 0
2 2526085 0 0 0
-------------------------------------------------------------------------------
3 0 0 2525876 0 0 0
1 2526642 0 0 0
2 2525957 0 0 0
1 0 2526491 0 0 0
1 2526263 0 0 0
2 2526200 0 0 0
2 0 2526804 0 0 0
1 2526135 0 0 0
2 2526328 0 0 0
-------------------------------------------------------------------------------
4 0 0 493934 0 11501 0
1 0 0 0 0
2 0 0 0 0
1 0 493605 0 11591 0
1 0 0 0 0
2 0 0 0 0
-------------------------------------------------------------------------------
5 0 0 505389 0 30 0
1 0 0 0 0
2 0 0 0 0
1 0 505358 0 23 0
1 0 0 0 0
2 0 0 0 0
-------------------------------------------------------------------------------
6 0 0 2526307 0 0 0
1 2525905 0 0 0
2 2526142 0 0 0
1 0 2526755 0 0 0
1 2526603 0 0 0
2 2526607 0 0 0
**********************************************************************************
Corruption detected:(LC4/0 <-> FC2/0) (LC4/1 <-> FC2/0) (LC5/0 <-> FC3/0) (LC5/1 <-> FC3/0)
**********************************************************************************
FAILURES DETECTED IN DATAPATH for fabric mode.
Please run "monitor dataplane-health module no-fabric"
Please check /harddisk:/dph_mon/dataplane_health_fabric_mode_report.txt
**********************************************************************************
Example 4: Output for health check with all-modules option
RP/0/RP0/CPU0:Router# show dataplane-health status
Dataplane health monitoring completed
Datapath test on all requested LC/NPU/slice completed
Summary of results (Module: fabric/lookup):
####################################################################################
Output summary legend:
ERROR: Tests were not run for this slice due to some errors
GOOD: Tests were successful for this slice
LOSS: Packet loss was observed for this slice
CORRUPT: Packet corruption was observed for this slice
LE-FAULTS: Lookup Engine test results, 0 for no failures or bit mask of faulty
engines
###################################################################################
-----------------------------------------------------------------------------------
LC NP Slice GOOD LOSS CORRUPT ERROR LE-FAULTS
-----------------------------------------------------------------------------------
-----------------------------------------------------------------------------------
LC4 0 0 1663101 0 0 0 0x0000
1 1661542 0 0 0 0x0200
2 1662258 0 0 0 0x0000
1 0 1667547 0 0 0 0x0000
1 1661658 0 0 0 0x0000
2 1661153 0 0 0 0x0000
2 0 1661087 0 0 0 0x0000
1 1661474 0 0 0 0x0000
2 1660756 0 0 0 0x0000
3 0 1661936 0 0 0 0x0000
1 1661197 0 0 0 0x0000
2 1661644 0 0 0 0x0000
****************************************************************************#******
DATAPATH CHECK IS CLEAN, LOOKUP ENGINE ERROR(s) DETECTED (mode: fabric/lookup).
***********************************************************************************
Example 5: Output for health check with lookup optionRP/0/RP0/CPU0:Router# show dataplane-health status
Dataplane health monitoring completed
Datapath test on all requested LC/NPU/slice completed
Summary of results (Module: lookup):
###################################################################################
Output summary legend:
LE-FAULTS: Lookup Engine test results, 0 for no failure or bit mask of faulty lookup
engines
##################################################################################
----------------------------------------------------------------------------------
LC NP Slice LE-FAULTS
---------------------------------
---------------------------------
4 0 0 0x0000
1 0x0200
2 0x0000
1 0 0x0000
1 0x0000
2 0x0000
2 0 0x0000
1 0x0000
2 0x0000
3 0 0x0000
1 0x0000
2 0x0000
****************************************************************************
LOOKUP ENGINE ERROR(s) DETECTED (mode: lookup).
****************************************************************************

Note
|
If the data plane-health monitor does not report any issues, it suggests that the system is functioning correctly, and there
is no need to proceed with further data plane health verification.
|
If any failure is detected during the data plane health check, you must proceed with additional verification.