You are on page 1of 4

S U N D A Y , S E P T E M B E R 2 5 , 2 0 1 1

Modify License MAC


Cisco used to bind license file to physical MAC address. Now, it
moves to "License MAC", which is a hash value of multiple system
parameters such as NIC speed, NTP, DNS, hostname, etc.
To view the license MAC, you need to install the system first
(CUCM, UCCX, CUPS, etc.). Then use the "show status" command.

This is somehow inconvenient:
1) You cannot get the license file before finishing the installation.
I personally prefer to get everything ready before starting the
installation, such as IP address, hostname, password, license file,
installation media, etc. You could run into lots of surprises when
trying to get the license file.
2) When the system parameter was changed, the license file yield
invalid.
For example, you add/change DNS server settings on the system,
which is pretty common during system integration.
It would be better if you could dictate what license MAC the system
use. You may also use some schema like: AABBCCDDEEFF, where
AA is the product code, BB is the site code, CC is the node number,
DD is the version number, etc.
C UP S B I B L E
Disclaimer: Some of the
individuals posting to this site,
including the moderators, work for
Cisco Systems, Inc. Opinions
expressed here and in any
corresponding comments are the
personal opinions of the original
authors, not those of Cisco.
B L OG A R C H I V E
2014 (5)
2013 (3)
2012 (3)
2011 (8)
September (3)
UCCX Demo License
CET Tool for UCCX
Modify License MAC
August (3)
July (2)
2010 (14)
2 More Next Blog Create Blog Sign In
UC C ORNER
A B L O G T O S H A R E T I P S A N D T R I C K S OF C I S C O U N I F I E D C OM M U N I C A T I ON ( U C ) P R OD U C T S , S U C H
A S C U C M , C U P S , C E R , C U M A , E T C .
UC Corner: Modify License MAC http://htluo.blogspot.in/2011/09/modify-license-mac.html
1 of 4 10/15/2014 8:12 AM
In the example above, the "License MAC" was changed to
"abcdef123456".
Since you can use whatever License MAC you like, you may:
Get the license file before the system was installed
Keep using the same license file after system parameters was
changed (such as DNS)
To specify the license MAC, you need to have root access to the
system. Then you'll modify the file /usr/local/bin/base_scripts
/LicenseMac.sh. To the bottom of the file, replace the line
FinalString=`expr substr "$SHA1sum" 1 12`
to
FinalString="abcdef123456"
In newer versions, you might have to change the /etc/selinux/config
file so that selinux runs in permissive mode.
Reminder: Don't be evil. ;)
POSTED BY MI CHAEL LUO AT 6: 15 PM
1 1 COMMENT S :
2009 (31)
A B OU T M E
MI CHAEL LUO
Cisco CCIE R/S, Voice
Certified UCCX Specialist
Certified Presence Specialist
Microsoft MCSE
VMWare VCP
Oracle OCP DBA
Novell MCNE
Juniper JNCIE
Avaya ACA
ITIL V3
VI EW MY COMPLETE PROFI LE
F OL L OWE R S
with Google Friend Connect
Members (135) More
Already a member? Sign in
Anonymous September 25, 2011 at 7:45 PM
Cisco has updated the Answer File Generator
(http://www.cisco.com/web/cuc_afg/) to give you the
license MAC based on your provided install values. You have
to fill in the values EXACTLY as you would during the
install, or else the license MAC will be different. But, it's
another option besides having to wait til after installation to
get the license MAC.
Reply
Michael Luo September 25, 2011 at 7:54 PM
UC Corner: Modify License MAC http://htluo.blogspot.in/2011/09/modify-license-mac.html
2 of 4 10/15/2014 8:12 AM
Yes, we all know about the Answer File Generator. There's
another reason to temper the License MAC, which I cannot
explicitly state here. :)
Reply
Anonymous November 18, 2011 at 12:34 AM
I noticed that on CUCM 8.6.x Selinux is running in
enforcement mode, so the LicenseMac.sh file will not be run
after editing it. I had to change the /etc/selinux/config file
so that selinux runs in permissive mode. After a reboot the
MAC address was set correctly.
Reply
Anonymous November 28, 2011 at 11:35 AM
echo 0 > /selinux/enforce
Reply
Anonymous January 6, 2012 at 7:44 PM
For some reason mine shows UNKNOWN... Any idea why?
Its a UCCX 8.5
Reply
Anonymous February 21, 2012 at 11:05 AM
How are you supposed to get root access???
Reply
Michael Luo February 21, 2012 at 11:06 AM
Move the mouse over "root access".
Reply
Anonymous April 9, 2012 at 3:57 AM
Hi,
When I install CUCM 8.6 on 7825H3 following error did not
find Bios version file for 7825H3-2133 in
Who can help??
Reply
Anonymous May 22, 2012 at 6:15 PM
It works but I always get a database communication error
and all the services are down after changing the License
MAC. Anyone know what's wrong?
UC Corner: Modify License MAC http://htluo.blogspot.in/2011/09/modify-license-mac.html
3 of 4 10/15/2014 8:12 AM
Newer Post Older Post
Comment as:
Publish

Home
Subscribe to: Post Comments (Atom)

Reply
Teashaw February 26, 2013 at 8:14 PM
It works on CUCM 8.6.2, I takes me some time to find the
config file on /mnt/sysimage/partB directory.
Thanks anyway, very helpful for my testing environment.
Reply
Anonymous July 20, 2013 at 11:27 AM
This is helpful for upgrades so you don't have to rehost
during a bridged upgrade.
Reply
UC Corner: Modify License MAC http://htluo.blogspot.in/2011/09/modify-license-mac.html
4 of 4 10/15/2014 8:12 AM

You might also like