Description

This article explains some commands used for system-level debugging.

Symptoms

There was a customer request for an explanation of the debugging commands used.

 

ifsmon -c
ifsmon -Id
sysctl -a
netstat -rnV
netstat -i

 

 

Solution

"sysctl" and "netstat" are common tools in Unix-like systems.

 

sysctl -a: to read all kernel parameters
netstat -rnV: to display routing tables in numeric format
netstat -i: to display all network interfaces and their tx/rx error counters

 

"ifsmon" is a tool developed by Juniper to debug ifstate.
"ifstate" maintains and propagates object state in kernel to peers, clients and backup RE.

 

Modification History

2025-07-03 : Article Created