SSH enabled

Answered Question
Jan 28th, 2010

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

I have this problem too.
0 votes
Correct Answer by Ganesh Hariharan about 6 years 10 months ago

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

Correct Answer by Ganesh Hariharan about 6 years 10 months ago

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

Correct Answer by Edison Ortiz about 6 years 10 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (3 ratings)
Loading.
Correct Answer
Edison Ortiz Thu, 01/28/2010 - 16:44

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

Correct Answer
Ganesh Hariharan Thu, 01/28/2010 - 22:04

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

thomasandy32 Thu, 01/28/2010 - 23:51

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

Correct Answer
Ganesh Hariharan Fri, 01/29/2010 - 00:54

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

Actions

This Discussion