Forum Discussion

AlgebraicMirror's avatar
AlgebraicMirror
Icon for Altostratus rankAltostratus
Apr 16, 2015

How do you dump the management connection table using TMSH?

Does anyone know if there is a good way to dump the management connection table using TMSH? I know I can use "tmsh show /sys connection" to see all the connections on the switch ports, but is there a way to do this for the management port?

 

3 Replies

  • I don't think it's possible because the management port is processed differently. Accesses to it (ssh/http) are audited.

     

  • Can you clarify what you mean by audited, and why that means it wouldn't be possible? I agree it might not be possible, but I'm hoping to know for sure. Since netstat can dump out connections to the management port, I would think it's at least theoretically possible that TMSH could do the same (whether TMSH actually implements such functionality is another question).

     

  • TMSH itself cannot display mgmt interface connections. You can, however, run netstat from within tmsh like this:

    (tmos) run util netstat