07-11-2010 01:23 AM - edited 03-06-2019 11:59 AM
Hi Friends,
I enable the VTP Trap by using following command.
!
snmp-server enable traps vtp
!
But This error is occur I thing I wrong some where pls suggest how resolve the issue.
My purpose by enable the trap generation I have to maintain the log for VTP.
01:31:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:31:58: Unable to open socket on port 161
01:32:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:32:58: Unable to open socket on port 161
Solved! Go to Solution.
07-11-2010 02:13 AM
Hi Friends,
I enable the VTP Trap by using following command.
!
snmp-server enable traps vtp
!But This error is occur I thing I wrong some where pls suggest how resolve the issue.
My purpose by enable the trap generation I have to maintain the log for VTP.
01:31:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:31:58: Unable to open socket on port 161
01:32:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:32:58: Unable to open socket on port 161
Hi,
Normally this message is generated when the SNMP server was unable to open a port for receiving or transmitting SNMP requests. This error usually occurs when the SNMP server is started using the snmp-server community configuration command on a router or communication server with an interface that has no IP address configured. Another possible cause is insufficient memory. Try configuring at least one interface with an IP address or specify the no snmp-server command to remove the SNMP server process.
This will set up your snmp community so an SNMP server can poll your switch for information.
config t
snmp-server community_name RO
If you want to send traps to an SNMP server use the bellow commands
config t
snmp-server host 10.0.0.1 community_name snmp {traps you want to enable}
Hope to Help !!
Ganesh.H
07-11-2010 02:13 AM
Hi Friends,
I enable the VTP Trap by using following command.
!
snmp-server enable traps vtp
!But This error is occur I thing I wrong some where pls suggest how resolve the issue.
My purpose by enable the trap generation I have to maintain the log for VTP.
01:31:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:31:58: Unable to open socket on port 161
01:32:58: %IP_SNMP-3-SOCKET: can't open UDP socket
01:32:58: Unable to open socket on port 161
Hi,
Normally this message is generated when the SNMP server was unable to open a port for receiving or transmitting SNMP requests. This error usually occurs when the SNMP server is started using the snmp-server community configuration command on a router or communication server with an interface that has no IP address configured. Another possible cause is insufficient memory. Try configuring at least one interface with an IP address or specify the no snmp-server command to remove the SNMP server process.
This will set up your snmp community so an SNMP server can poll your switch for information.
config t
snmp-server community_name RO
If you want to send traps to an SNMP server use the bellow commands
config t
snmp-server host 10.0.0.1 community_name snmp {traps you want to enable}
Hope to Help !!
Ganesh.H
07-11-2010 02:55 AM
Thanks yar
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