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

SSH enabled

Hi friends,

I wanna test on my switches and routers whether the SNMP is enabled or not without any  application to do a SNMP walk on a device.On my switches and routers transport input protocols is ssh only no other protocol.

How can i test whether the snmp is enabled on port 161 and 162.

I enabled ip http port 162 i m not able to do by ssh -p 162 X.X.X.12.

Thanks

3 ACCEPTED SOLUTIONS

Accepted Solutions
Hall of Fame Super Bronze

Re: SSH enabled

You are not able to test SNMP with telnet, if it was available. SNMP uses UDP while telnet will use TCP.

You can download a port-scan utility freely available in the web with a quick search.

BTW, I'm not sure how you were able to change the HTTP port to 162.

You either get 80 or a high random port 1025 or above:

R1(config)#ip http port ?  
  80            Default port number
  <1025-65535>  Port number range

Re: SSH enabled

Hi friends,

I wanna test on my switches and routers whether the SNMP is enabled or not without any  application to do a SNMP walk on a device.On my switches and routers transport input protocols is ssh only no other protocol.

How can i test whether the snmp is enabled on port 161 and 162.

I enabled ip http port 162 i m not able to do by ssh -p 162 X.X.X.12.

Thanks

Hi,

For testing snmp in switches it cannot be done via telnet or ssh what you need to do is to have free software snmp tools and test with default public string to snmp walk on the switch if it discovered then snmp is running successfully on that switch with public string.

SNMP uses the default UDP port 161 for general SNMP messages and UDP port 162 for  SNMP trap messages.

Hope that clear out your query !!

If helpful do rate the valauble post

Ganesh.H

Re: SSH enabled

Hello Edison,

I have tried this by telnet X.X.X.X  5555 on port TCP so that the reason i thought that it will work for SNMP too but when after ur post i went on the router  CLI to see the command i can't see any port below 1024 so absolutely sorry always assumption are not correct,thanks for guidance and help,

Hello Ganesh,

Can u suggest me any port scan free utility which is user friendly and u have worked on, Thanks for ur reply too.

Thanks

Hi,

Check out the below link for cisco snmp tool to do snmp walk in the network devices hope that help

http://download.cnet.com/Cisco-Snmp-Tool/3000-2085_4-10374011.html

If helpful do rate

Ganesh.H

4 REPLIES
Hall of Fame Super Bronze

Re: SSH enabled

You are not able to test SNMP with telnet, if it was available. SNMP uses UDP while telnet will use TCP.

You can download a port-scan utility freely available in the web with a quick search.

BTW, I'm not sure how you were able to change the HTTP port to 162.

You either get 80 or a high random port 1025 or above:

R1(config)#ip http port ?  
  80            Default port number
  <1025-65535>  Port number range

Re: SSH enabled

Hi friends,

I wanna test on my switches and routers whether the SNMP is enabled or not without any  application to do a SNMP walk on a device.On my switches and routers transport input protocols is ssh only no other protocol.

How can i test whether the snmp is enabled on port 161 and 162.

I enabled ip http port 162 i m not able to do by ssh -p 162 X.X.X.12.

Thanks

Hi,

For testing snmp in switches it cannot be done via telnet or ssh what you need to do is to have free software snmp tools and test with default public string to snmp walk on the switch if it discovered then snmp is running successfully on that switch with public string.

SNMP uses the default UDP port 161 for general SNMP messages and UDP port 162 for  SNMP trap messages.

Hope that clear out your query !!

If helpful do rate the valauble post

Ganesh.H

Community Member

Re: SSH enabled

Hello Edison,

I have tried this by telnet X.X.X.X  5555 on port TCP so that the reason i thought that it will work for SNMP too but when after ur post i went on the router  CLI to see the command i can't see any port below 1024 so absolutely sorry always assumption are not correct,thanks for guidance and help,

Hello Ganesh,

Can u suggest me any port scan free utility which is user friendly and u have worked on, Thanks for ur reply too.

Thanks

Re: SSH enabled

Hello Edison,

I have tried this by telnet X.X.X.X  5555 on port TCP so that the reason i thought that it will work for SNMP too but when after ur post i went on the router  CLI to see the command i can't see any port below 1024 so absolutely sorry always assumption are not correct,thanks for guidance and help,

Hello Ganesh,

Can u suggest me any port scan free utility which is user friendly and u have worked on, Thanks for ur reply too.

Thanks

Hi,

Check out the below link for cisco snmp tool to do snmp walk in the network devices hope that help

http://download.cnet.com/Cisco-Snmp-Tool/3000-2085_4-10374011.html

If helpful do rate

Ganesh.H

324
Views
0
Helpful
4
Replies
CreatePlease to create content