cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1300
Views
10
Helpful
2
Replies

How to check open TCP port in Cisco IOS

AndreyPokorskiy
Level 1
Level 1

Hello Cisco Community
Client asked us to check if Cisco switch could get access to DNS over TCP/UDP ports
I used telnet x.x.x.x 53 (or domain)
It could confirm that the port TCP 53 is opened or not
My question is:
Is there any way how to send request to check UDP or TCP port from Cisco IOS?

Thank you!

2 Replies 2

hggfhgfghfhgh.png
the telnet result is show if port is open or not,
I do small lab, I config R3 vty line with password 
and config NAT in R1 223->23 port 
and I config deny acl in R1 for port 223

I now telnet from R2 to R3 using 223 port, and as you see the destination unreachable!!! this meaning that port is close in way from R2 to R3 (close in R1 since I config ACL deny tcp 223 port).

so it depend on result you get from telnet.

Review Cisco Networking for a $25 gift card