03-03-2011 10:23 AM
We have 3750G Switches ios 12.2.50(SE3) and we need to be able to change ports to different VLANS. We can do that but we want the switch to send back a trap or inform back to several network managers with the port state or at least the change that was made - ie. which port is in which vlan or got moved.
I think the snmp-server trap vlan-membership should do that, but it doesnt generate any trap back when a port is changed.
does anyone know if that can be done and if that trap shoul do it
# snmp-server enable traps
# snmp-server host <IP> informs version 2c <pw>
03-15-2011 06:11 AM
Hi,
The vlan-membership trap literal meaning is "Generates a trap for SNMP VLAN membership changes".
so,
on the switch the configuration should be:
snmp-server enable traps vlan-membership
snmp-server host
But when i see the description of the vmVmpsChanges OID in the CISCO-VLAN-MEMBERSHIP-MIB,
it points to the following theory:
This trap is triggered when vmps server is failed to response then
changed to another vmps server.
Please look at CISCO-VLAN-MEMBERSHIP-MIB objects vmVmpsChange and
vmVmpsChanges definition.
also, have you configured the snmp-server host on 3750. what Netwok Management tool are you youring (snmp manager), to receive the traps.
do you have a packet capture, when you change the port in vlan, with the snmp-server enable traps vlan-membership command enabled on the device.
03-21-2011 11:03 PM
Also,
snmpset on vmVlan at present likely only generates configChangeNotification but their nms (Network Management System) may be able to trigger an action to poll
vmMembershipSummaryMember2kPorts and check for changes at that time. so to summarize, the vlan membership trap currently does not get trigerred when a port is assigned to a vlan or is changed.
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