4

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)

2
  • show tcp-small-servers and show udp-small-servers ? 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 post and accept your own answer.
    – Ron Maupin
    Jan 6 at 2:13
3

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                       4.4.4.4.*                   LISTEN
2

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
0

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.

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.