Finding Nexus equivalents for IOS commands

Started by deanwebb, February 20, 2017, 10:38:26 AM

Previous topic - Next topic

deanwebb

I'm working with NAC and we're trying to set up SNMP communications with Nexus switches. I've got the following IOS 12.2(55) commands that I need to get equivalents for in NXOS:

For the access ports, when a device is added or removed, we need the MAC address:

snmp trap mac-notification change added
snmp trap mac-notification change removed


So far, all I can find is snmp trap link-status
Will that give me the same info as the added/removed lines do in 12.2(55)?

***

Then, for the global config... I have commands to set up an SNMP group via an access list, but getting the global SNMP commands is what I need to make sure I've done right:

snmp-server enable traps MAC-Notification
mac-address-table notification change


I'm coming up blank on the first line, but I think this
mac address-table notification mac-move
is what I'm looking for to duplicate the second line, if it will let me know whenever the mac address-table changes.
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.

Ctrl Z

snmp trap link-status Will only send traps notifying you of link up/down.


I believe mac address-table notification mac-move will only send a syslog message. I'm not aware of any equivalent for snmp traps related to mac moves on NX-OS but the NAC product you're using should be able to use syslogs right?

deanwebb

It can receive syslogs, but not as a primary means of communicating with switches...
Take a baseball bat and trash all the routers, shout out "IT'S A NETWORK PROBLEM NOW, SUCKERS!" and then peel out of the parking lot in your Ferrari.
"The world could perish if people only worked on things that were easy to handle." -- Vladimir Savchenko
Вопросы есть? Вопросов нет! | BCEB: Belkin Certified Expert Baffler | "Plan B is Plan A with an element of panic." -- John Clarke
Accounting is architecture, remember that!
Air gaps are high-latency Internet connections.