cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1837
Views
0
Helpful
4
Replies

SSH enabled

thomasandy32
Level 1
Level 1

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

Edison Ortiz
Hall of Fame
Hall of Fame

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

View solution in original post

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

View solution in original post

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

View solution in original post

4 Replies 4

Edison Ortiz
Hall of Fame
Hall of Fame

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

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

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

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

Review Cisco Networking for a $25 gift card