cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
727
Views
0
Helpful
2
Replies

VTP Trap Error?

abhi-adte
Level 1
Level 1

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

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

View solution in original post

2 Replies 2

Ganesh Hariharan
VIP Alumni
VIP Alumni

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

Thanks yar    

Review Cisco Networking products for a $25 gift card