Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

VTP Trap Error?

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

1 ACCEPTED SOLUTION

Accepted Solutions

Re: VTP Trap Error?

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

2 REPLIES

Re: VTP Trap Error?

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

New Member

Re: VTP Trap Error?

Thanks yar    

511
Views
0
Helpful
2
Replies