03-01-2021 09:58 AM
Hi All
We need to send mac notification traps to our server, are all the below commands needed to enable this?
snmp-server community public
snmp-server enable traps MAC-Notification
snmp-server host 1.1.1.1 version 2c public mac-notification
!
!
mac address-table notification change
!
!
DO WE NEED ON EACH PORT?
snmp trap mac-notification change added
snmp trap mac-notification change removed
Do we need all these commands for it to work?
Cheers
Solved! Go to Solution.
03-03-2021 12:55 AM
Hello Carl
@carl_townshend wrote:
snmp-server community public
snmp-server enable traps MAC-Notification
snmp-server host 1.1.1.1 version 2c public mac-notification
mac address-table notification change < Global commandsnmp trap mac-notification change added <Interface specific
snmp trap mac-notification change removed <Interface specific
Your configuration looks good, Just make sure the switch has a managment address to be able to send the traps
03-01-2021 10:02 AM
Pay attention to the Usage Guidelines paragraph too.
M.
03-01-2021 10:37 AM
If you need more information regarding the MAC moving :
SNMP trap mac-notification {added | removed}
enable the MAC address notification trap.
- Enable the MAC notification trap whenever a MAC address is added on this interface.
- Enable the MAC notification trap whenever a MAC address is removed from this interface.
other reference :
https://www.cisco.com/c/en/us/td/docs/ios/lanswitch/command/reference/lsw_book/lsw_m1.html
03-02-2021 02:44 PM
Hi
do we need to also add the command for Mac added and removed on the interfaces ?
or would the MAC address change global configuration command be enough ?
03-02-2021 04:35 PM
personally, if I capturing more information, more information available for us, life easy when required to diagnosis the issue around.
so I will enable both and check that they meet the requirement.
03-03-2021 12:13 AM
- You need it on the interfaces too, (I mean not the global but the interface specific command(s)
M.
03-03-2021 12:55 AM
Hello Carl
@carl_townshend wrote:
snmp-server community public
snmp-server enable traps MAC-Notification
snmp-server host 1.1.1.1 version 2c public mac-notification
mac address-table notification change < Global commandsnmp trap mac-notification change added <Interface specific
snmp trap mac-notification change removed <Interface specific
Your configuration looks good, Just make sure the switch has a managment address to be able to send the traps
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