Any way to test TCP port from IOS?

Unanswered Question
Aug 28th, 2009

Folks, from a Windows PC I can do "telnet IP 80" in order to test TCP port status on target host.

Any similar command in IOS?

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Jon Marshall Fri, 08/28/2009 - 08:04


router# telnet 80

if you do

router# telnet ?

then you will see all possible ports you can telnet to.


news2010a Fri, 08/28/2009 - 08:26

Sorry for the stupid question. I did the below and concluded too quickly that it did not work. I turned out that instead of saying the port was not open, the IOSgave me a message which I thought it was ignoring my command.

2600#telnet 80

Trying, 80 ...

% Destination unreachable; gateway or host down

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to, timeout is 2 seconds:


Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms

news2010a Fri, 08/28/2009 - 11:43

It is; but it turned out that I found ACL's blocking the traffic to the webserver. Hence the output I did not undestand initially from the IOS command.


This Discussion