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

how do we check for open ports on a router ?

how can we view all the open ports on a router (if your sourcing from an outside IP) ?

can we view open ports by using 'show' commands ?

thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: how do we check for open ports on a router ?

Hi there,

I can't remember the command off the top of my head, but try something along the lines of:-

"show ip socket" or

"show ip tcp brief" or "show tcp brief"

Not too sure which one it is, but one of them will give you a good idea. Failing that - grab a port scanner, there is a great one called "the dude" and another good one called nmap. Pop them into google.

Hope that helps,

LH

Please rate all posts

7 REPLIES

Re: how do we check for open ports on a router ?

All ports are open, by default, on a router. If you aren't blocking any ports with an ACL then you can safely assume all ports are open.

HTH

Sundar

Silver

Re: how do we check for open ports on a router ?

Do you mean all ports the router would accept connections on? Connections directed to the router? Usually port 23 for telnet and 80 for HTTP access....

I don't know if this answer your question. In case you mean what ports are allowed, if you have inspection enabled everything from outside will be denied unless you allow them by an ACL on the outside interface.

Hope the above could help,

Please rete if Icould help,

Re: how do we check for open ports on a router ?

Hi,

Even if you had CBAC (inspection) configured on the router you would have to apply an ACL on the outside interface to block everything coming in. The router would inspect all the traffic from inside and create dynamic ACE(s) in the ACL, applied on the outside interface, for the return traffic to be allowed back to the inside host.

HTH

Sundar

Re: how do we check for open ports on a router ?

Hi there,

I can't remember the command off the top of my head, but try something along the lines of:-

"show ip socket" or

"show ip tcp brief" or "show tcp brief"

Not too sure which one it is, but one of them will give you a good idea. Failing that - grab a port scanner, there is a great one called "the dude" and another good one called nmap. Pop them into google.

Hope that helps,

LH

Please rate all posts

New Member

how do we check for open ports on a router ?

exactly "show ip sockets"

tks!

Bronze

Re: how do we check for open ports on a router ?

Hi

I think, you can try " show ip nbar port-map " command, this will give you list of tcp and udp ports, this command support certain router.

Please rate this post.

-minu mathur

when you use ip helpe address method, then following UDP ports are by defaul open

1) TFTP-69

2) DNS-53

3) Time-37

4) Netbios name services-137

5)Netbious datagram services-138

6)BOOTP server-67

7)Bootp client-68

8) Tacacs-49

Please rate this post

New Member

Here is your answer:show

Here is your answer:

show control-plane host open-ports

 

HTH,

MS

38196
Views
46
Helpful
7
Replies
CreatePlease to create content