Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

Mass import of MAC address

Hi,

I'm setting up my ACS server using MAC address to authenticate. I've over 1500 MAC addresses thus is there any way to mass import the MAC addresses into the ACS?

With regards

6 REPLIES
Green

Re: Mass import of MAC address

I haven't seen any scripts for ACS, but there are scripts for MS servers/Active Directory out on microsoft.com.

If you load the MACs from a file into MS AD, then use the AD as your backing authentication, it should work jus' fine.

If you load the MACs into a group with no domain privieleges, you should still be safe (or, at least, no additional loss of security).

FWIW

Scott

Community Member

Re: Mass import of MAC address

Yes, create a text file (in the utils directory) that looks like this:

OFFLINE

ADD::CSDB::PROFILE:

ADD::CSDB::PROFILE:

ADD::CSDB::PROFILE:

of course is the address of the card, and the is what profile you want it entered into.

I do my in groups of about 40, but that's so I can keep it straight (and the boxes come in sizes of 40). I also use excel so I can copy the first MAC Address column (username) with the second MAC column (password) to speed it up. I save it as a csv, then use notepad to replace all the commas with colons.

After that, command prompt and cd into the utils directory.

c:\ACS\Utils> csutil -i .txt

That should do it. I do all my bulk imports that way.

Community Member

Re: Mass import of MAC address

Hi Nathana,

thanks for your reply. Does this method works for ACS ver 4.0?

I did manage to find some steps but have yet to confirm its credibility.

Thanks!

Community Member

Re: Mass import of MAC address

I am upgrading to version 4 in 2 weeks. Guess I will have ot find out then.

Community Member

Re: Mass import of MAC address

Hi Nathana, any updates on your ACS 4 ?

Community Member

Re: Mass import of MAC address

Hi

Is it possible to add the realname and description field using this Csutility along with the MAC address input

Regards

Rajeev

667
Views
3
Helpful
6
Replies
CreatePlease to create content