I have IOS Version 15.2(4)S4 on my router, and "show control-plane host open-ports" does not work, is there any other command to generate such output? the "show tcp brief" and "show ip sockets" are not that good!

IOS Version: 7200 Software (C7200-ADVIPSERVICESK9-M), Version 15.2(4)S4, RELEASE SOFTWARE (fc2)

  • show tcp-small-servers and show udp-small-servers ? – John Jensen Nov 30 '15 at 21:30
  • Did any answer help you? if so, you should accept the answer so that the question doesn't keep popping up forever, looking for an answer. Alternatively, you could provide and accept your own answer. – Ron Maupin Aug 12 '17 at 5:27

This is not exactly the same but may help, as it shows the far end peer address. Original command did not. But if you use "bgp listen", you then lose the foreign address! Interesting question for an exam maybe.

R5#show tcp brief all
TCB       Local Address               Foreign Address             (state)
6792B388  *.179             *                   LISTEN
| improve this answer | |

For UDP you can use

Router# show udp

and if you want to see detail of a particular socket then

Router# show socket <PID> detail
| improve this answer | |

I don't know which router you use, but on IOS 15, I only know the "show control-plane host open-ports" command, so there is no equivalent to that, as far as I know.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.