mac address filtering database

Unanswered Question
Mar 28th, 2012

Hi :

Somebody could help me, l have implemented mac filtering auth on my wireless network, l have 2 WLC ( 1 WLC 5508 and 1 WLC 4402, and

I wonder if you can migrate the mac address database of a WLC to another and how can l do this.

One W

Thanks for your help.

I have this problem too.
0 votes
  • 1
  • 2
  • 3
  • 4
  • 5
Average Rating: 5 (1 ratings)
daviwatk Wed, 03/28/2012 - 08:50

Hi,

You can "view" your macfilter list on the current WLC with

> show macfilter summary

You could then script out adding them to your WLC.

Also; and probably easier

>show run-config commands

Find the section that has your macfilter statements and copy them out and paste to the new WLC.

>show run-config commands

macfilter add XX:XX:XX:XX:XX:XX 0 management Test

From the config> prompt

>config
config>macfilter add

Just paste in the list you have.

David W.

Amjad Abdullah Thu, 03/29/2012 - 17:59

David:

Ur answer is great. Thank u.

I never needed to migrate Mac addresses but also never came to my mind the idea of show-run commands.

For the script thing, how can that be done?

Do u mea terminal program script? Or shell script?

If the latter I appreciate if u write very simple sample about how to do it.

Thanks.

Amjad

blakekrone Thu, 03/29/2012 - 19:54

Any method you want for scripting. You could use PHP and make a ssh connection to the WLC or you could simply copy paste all the commands into a notepad doc and then copy paste to the WLC. A bash script could be used as well.

The shell script isn't the hard part, google will help you there. The harder part is getting the data out of the WLC.

Sent from Cisco Technical Support iPad App

Amjad Abdullah Fri, 03/30/2012 - 00:39

Blake:

I understand some of what u say.

But if I am using windows for example or if I am doing sash from another Cisco device how can I employ the script?

If using Linux bash script will be very useful. Although not an expert, but I think she'd or awk will be very useful to extract the data. Right?

Actions

Login or Register to take actions

This Discussion

Posted March 28, 2012 at 8:41 AM
Stats:
Replies:4 Avg. Rating:5
Views:610 Votes:0
Shares:0
Tags: No tags.

Discussions Leaderboard