01-28-2010 01:51 PM - edited 03-04-2019 07:20 AM
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
Solved! Go to Solution.
01-28-2010 04:44 PM
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
01-28-2010 10:04 PM
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
01-29-2010 12:54 AM
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
01-28-2010 04:44 PM
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
01-28-2010 10:04 PM
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
01-28-2010 11:51 PM
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
01-29-2010 12:54 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide