cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
6628
Views
0
Helpful
5
Replies

Any way to test TCP port from IOS?

news2010a
Level 3
Level 3

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 5

Jon Marshall
Hall of Fame
Hall of Fame

Marlon

router# telnet 80

if you do

router# telnet ?

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

Jon

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

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

Jon

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.

Okay, so it works fine then ?

Jon

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card