User Tools

Site Tools


wiki:tower_networking_inc:devices:debugger

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
wiki:tower_networking_inc:devices:debugger [2025/08/20 14:06] – removed pocowiki:tower_networking_inc:devices:debugger [2025/08/20 14:49] (current) poco
Line 1: Line 1:
 +====== DEBUGGERS ======
  
 +Device Debugger
 +
 +The <color green>debugger device</color> is a 2-port device used to allow troubleshooting and configuration tasks using the <color green>netsh</color> application. To <color green>configure or troubleshoot a device</color>, a debugger must be powered and a network route must exist <color green>between the debugger and the device</color>. It is a good idea to place the debugger in your datacenter and connect it directly to your core switches to allow a single debugger to troubleshoot/configure your entire datacenter.
 +
 +The figure on the right shows a direct connection setup from the debugger to a device. This allows the debugger to execute commands on this device.
 +
 +A slightly better setup is to wire the debugger through a switch. This allows the debugger to execute commands on every device connected through the switch. In the example to the right, the debugger will be able to debug and configure both device A and device B without needing to change the cabling setup.
 +
 +To see the list of debuggers currently accessible, use the <code>lstdbg</code> command. This will show a list of debuggers and their logical address. You can then see the list of devices that are accessible by the debugger using the \<code>scan</code> command; if the debugger address is <color orange>63168</color>, then input <code>scan devices using 63168</code>. The scan command shows a list of device that are accessible by the debugger and their corresponding network address. Using the <code>watch</code> command on the listed device addresses, detailed information about the device can then be seen on the debugger. For example, if the scanned device address is <color orange>41216</color>, then input <code>watch 41216 using 63168</code>.
 +
 +It may be unwieldly to keep typing address of the debugger if you always debug from the same debugger. Use the <color green>always routine</color> command to set the default debugger to use. For example, given that the debugger address is <color orange>51727</color> and we always want to use that, input <code>always using 51727</code>. This allows you to then type any debugger related commands without the <code>using ...</code> part. This means that instead of typing <code>scan devices using 51727</code>, you would only need to type <code>scan devices</code>.
 +
 +
 +You can always refer to the <color green>netsh</color> guide for help. Always remember that the command <code>man</code> (short for manual) is a useful way to find out more about a command. To use the command, simply type \<code>man</code> or <code>man <name of program you want to find out></code>
wiki/tower_networking_inc/devices/debugger.1755698760.txt.gz · Last modified: 2025/08/20 14:06 by poco