VTP Trap Error?

Answered Question
Jul 11th, 2010
User Badges:

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

Correct Answer by Ganesh Hariharan about 6 years 9 months ago

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

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 5 (1 ratings)
Loading.
Correct Answer
Ganesh Hariharan Sun, 07/11/2010 - 02:13
User Badges:
  • Purple, 4500 points or more
  • Community Spotlight Award,

    Member's Choice, February 2016

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

Actions

This Discussion