10-08-2009 12:11 AM
Hi,
I entered the command
snmp-server enable traps mac-notification move
on my OSR routers, but the router is not sending traps to SNMP server. Though i can see the logs of mac movement in router's log.
Any idea.
Thanks.
10-08-2009 07:34 AM
you also need to enter this global configuration command:
mac address-table notification mac-move
and be aware that notifications are only send when MAC movement occures in the same vlan:
... enable traps whenever a MAC address is moved from one port to another in the same VLAN ...
from:
10-08-2009 08:19 PM
Yes...the global command is there...i forgot to mention.
Well, the logs are observed on router in case of movement of mac addresses on any vlan, but are not sending to NMS.
How can we enable the traps in different vlan in case if this is the limitation.
Thanks
10-08-2009 11:26 PM
Sorry, but to mention every possible cause, you need also this command in your global config:
snmp-server host x.x.x.x
with x.x.x.x being the IP of your NMS server
and
If you have this command in your config, please post the output of
show mac address-table notification mac-move
to track every MAC change activity on the switch you can enable the mac-notification change traps instead. These are the necessary commands:
Global commands:
----------------
mac address-table notification change
mac address-table notification change interval 15
snmp-server host x.x.x.x
snmp-server enable traps mac-notification change
("interval 15" means sending the traps in a bulk every 15 sec - this is a valid option for mac-move as well)
Per-interface commands (for each interface you want to track the changes)
------------------
snmp trap mac-notification change added
snmp trap mac-notification change removed
10-09-2009 02:17 AM
Hi mermel,
snmp-server host x.x.x.x
is in global config, then what is the purpose of sub-command with mac-notification?
Further, there is no command with 'change' support in IOS but move which is in place. Also there is not per-interface command of snmp trap for mac-notification, & it is in global config.
Output of 'show mac address-table notification mac-move' is:
MAC Move Notification: enabled
I think all config is there in the router, and the logs of mac movement are appearing in router logs, but are not sending to NMS.
Awaiting your valuable feedback.
Thanks.
10-09-2009 05:40 AM
can you please post a "show version" of your device?
How do you determine that the traps are not sent?
What do you have as a trap receiver?
Can you enable "debug snmp packets", force a mac-move and see if the device is sending the trap.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: