Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
New Member

Any way to test TCP port from IOS?

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?

5 REPLIES
Hall of Fame Super Blue

Re: Any way to test TCP port from IOS?

Marlon

router# telnet 80

if you do

router# telnet ?

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

Jon

New Member

Re: Any way to test TCP port from IOS?

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 10.155.206.5 80

Trying 10.155.206.5, 80 ...

% Destination unreachable; gateway or host down

Type escape sequence to abort.

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

!!!!!

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

Hall of Fame Super Blue

Re: Any way to test TCP port from IOS?

Are you sure there is a webserver up and running on 10.155.206.5 ?

Jon

New Member

Re: Any way to test TCP port from IOS?

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.

Hall of Fame Super Blue

Re: Any way to test TCP port from IOS?

Okay, so it works fine then ?

Jon

176
Views
0
Helpful
5
Replies
CreatePlease to create content