Link to home
Start Free TrialLog in
Avatar of Adma1
Adma1

asked on

Cisco router - check for open ports

Hi There,

We currently have a Cisco 1841 router and it only accessible via telnet and we are in the process of upgrading this router and was wanting to know if anyone was able to tell me the entire command line commands to run on this router in order to find all currently open ports?


Thanks in advance
Adrian
Avatar of Ernie Beek
Ernie Beek
Flag of Netherlands image

Well you should be able to see that in the config. So use show run or show start. All ports not explicitly defined in the access lists should be closed.
SOLUTION
Avatar of SuperTaco
SuperTaco

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can always double check by using something like shields up : https://www.grc.com/x/ne.dll?bh0bkyd2
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
@ikalmar: it that just like a netstat -an ?
Avatar of SuperTaco
SuperTaco

yes, very similar.  I didn't recommend it, because i usually like using scanning tools.  either way will work though.
Cool, didn't know that one. Had my learning experience for today :)
Avatar of Adma1

ASKER

Thanks everyone for your responses,

Ikalmar: when I run the sh ip sockets command I receive the following error

'xxxx'-GW0#sh ip sockets
                     ^
% Invalid input detected at '^' marker.

is there a series of commands that I need to run prior to the sh ip sockets command?

Thanks,
Adrian
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial