cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1198
Views
0
Helpful
1
Replies

Auto Smartports or Cisco EASy using EEM and IOS Shell for group of MACs?

hrodriguez231
Level 1
Level 1

Hi there,

I'm researching on options to make my network automated for two cases:

1.- VLAN for Printers, I need a way that every time a tech move a printer from one port to another the port automatically will check the mac or the first half of the mac and will compare to a list of macs and then change that port for the vlan that belongs to that device, in this case several printers.

2.- I use Ruckus AP connected to my Access Layer with 2960S and 2960X switches, I need a way that when an AP is connected to a different port or even a new one the cisco switch will configure that port with the native vlan and the other allowed vlans for that AP.

So far I've read about Auto smartports and I'm almost going to that route, but then I started reading about Cisco EASy and that is even better than using auto smarports.

->Deployment and activation: Use EEM and the Cisco IOS Software shell (IOS.sh) to automatically apply switch port configurations, depending on the connecting device type and the time of the day—beyond the configurability offered by Smartports or Auto Smartports features.

 

From <http://www.cisco.com/c/en/us/products/collateral/ios-nx-os-software/embedded-automation-systems/white_paper_c78-630474.html>

Is there any way I can accomplish this with EASy ?

Can you guys point me to the right link to be able to test this and start deploying this?

Please give me best practices and ideas.

Thanks.

1 Reply 1

Joe Clarke
Cisco Employee
Cisco Employee

Have a look at https://supportforums.cisco.com/document/100791/automatically-set-port-descriptions , specifically the most recent reply from me.  This post documents a solution I used for the IETF meetings to do auto port configuration and port description setting.

While the primary event is CDP, it could be changed to LLDP or turned into a MAC address event.  The MAC address event lets you specify a regular expression, so you could match all new MACs (with a ".*" pattern), and then check them within the applet body for more specific OUIs for your printers and APs.