cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
27467
Views
10
Helpful
7
Replies

check open ports on router/switch

jrramoliya
Level 1
Level 1

Hi,

How can we check for open ports on router/switch?

7 Replies 7

Leo Laohoo
Hall of Fame
Hall of Fame
How can we check for open ports on router/switch?

What "ports"?  Physical or Logical ports?

tcp/udp ports, suppose my router has ssh enable. how can see from "show command " my router is listening  on 22 port?

By default all ports (TCP/UDP) are open because there is no ACL in place.  

thanks for your quick replay, 

can you tell me the exact command to check open ports, i used bellow command , but that command is not supported . my router using 15.2(4)S2 IOS.

#show control-plane host open-ports

walter baziuk
Level 5
Level 5

i use this tcl script on all my devices

 

simply rename  the file to end in .TCL

download the file into flash:ipInterfaces.tcl
configure alias exec ipconfig tclsh flash:ipInterfaces.tcl
invoke with ipconfig [active|configured|address]

 

KerberosVE
Level 1
Level 1
You can use this command:
show control-plane host open-ports

Thanks man.. i was trying to search for this since long.

Review Cisco Networking for a $25 gift card