mirror of
https://github.com/Fohdeesha/lab-docu.git
synced 2024-12-10 13:03:21 +01:00
92 lines
4.1 KiB
Markdown
92 lines
4.1 KiB
Markdown
# ICX6450 Licensing
|
|
Brocade licenses are keyed to a specific switch License ID, so they cannot be loaded on multiple switches. Thankfully these IDs are stored in a separate EEPROM and can be easily changed.
|
|
|
|
To download and use the master license files in this guide on as many switches as you need, you simply need to change your license ID to match. Only the license code reads this value, so changing it has no negative effects.
|
|
|
|
To begin, visit the [Brocade Overview](brocade-overview.md) page, and download the firmware ZIP - this also contains the license files.
|
|
|
|
## What Does This Do?
|
|
|
|
On the Brocade ICX6450, the `POD` license and the `PREM` license in this guide unlock the following:
|
|
|
|
- 10gbE functionality on the remaining 2x SFP+ ports (2x come unlocked already from factory)
|
|
- A bunch of new routing features
|
|
- IPv6 Routing - static/unicast/multicast
|
|
- OSPF
|
|
|
|
## Update The Switch
|
|
|
|
To do this, you need the latest firmware - this is not optional! Follow the update guide to upgrade to the latest firmware image if you haven't already - [ICX6450 Update & Start Guide](icx6450.md).
|
|
|
|
When upgraded and configured, move on to the below.
|
|
|
|
## Change The Serial
|
|
|
|
We need to change the serial and license ID to match the new licenses. From the normal switch OS:
|
|
```
|
|
enable
|
|
hw pid-prom serial 2ax5o2jk68e
|
|
hw pid-prom clear-sw-lid
|
|
reload
|
|
```
|
|
The switch will reboot, and when it comes back up it will have a new license ID and serial.
|
|
|
|
## Importing The Licenses
|
|
|
|
Once it's booted into the OS, ensure you are hosting the firmware ZIP contents via TFTP. Replace the IPs in the commands with the IP of your own TFTP server:
|
|
```
|
|
enable
|
|
copy tftp license 192.168.1.8 ICX64xx/1-6450-prem.xml unit 1
|
|
copy tftp license 192.168.1.8 ICX64xx/2-6450-ports.xml unit 1
|
|
```
|
|
|
|
Now make sure they imported properly:
|
|
|
|
```
|
|
show license
|
|
```
|
|
The `Status` column should show `Active` for both new licenses.
|
|
|
|
**Note:** If the switch had other licenses on it beforehand, they will now show as `invalid` - this is expected as the serial no longer matches. If you ever decide to revert the switch, the original licenses will become `active` again once the serial is reverted to stock.
|
|
|
|
write memory then reload the switch to bring the 10gbE ports out of the `ERR-DIS` state:
|
|
```
|
|
write mem
|
|
reload
|
|
```
|
|
That's it! It will come back up fully licensed with all four 10gbE ports ready to go.
|
|
|
|
## Reverting
|
|
|
|
If you want to revert the switch to its original serial and license ID (for instance, if you sell it), that's quite easy. First, get the serial number from your switch. It should be on a sticker on the bottom of the unit. Then just use the commands we used earlier, but now using your actual serial. Make sure the capitalization matches what is on your switch!
|
|
```
|
|
enable
|
|
hw pid-prom serial YourSNhere
|
|
hw pid-prom clear-sw-lid
|
|
reload
|
|
```
|
|
|
|
Once the switch reboots and has a new serial, you need to delete the licenses you loaded from this guide. Do not skip this! They will be `invalid` after changing the serial back.
|
|
```
|
|
enable
|
|
|
|
#if you had no previous licenses from before this guide:
|
|
license delete unit 1 all
|
|
#you're done
|
|
|
|
#If you have previous licenses from before this guide you want to keep:
|
|
#list the licenses:
|
|
show license
|
|
#now delete each of my licenses (they should be the ones showing invalid)
|
|
#replace X with the number of the license in the list you want to delete:
|
|
license delete unit 1 index X
|
|
#once a license is deleted, the index number of remaining lics changes
|
|
#run show license again before deleting more if you're deleting multiple
|
|
```
|
|
It now has the stock license ID and serial, and the licenses have been removed. The output of `show license` should be empty (unless you previously had licenses from before this guide, in which case they should now show valid).
|
|
|
|
## Does This Affect Stacking?
|
|
|
|
Q: Since all the switches in a stack would have the same license and serial after this procedure, would this cause issues?
|
|
|
|
A: No - stacking works perfectly. The License and Serial ID are only used for licensing. The switch and stack is totally unaware of them. Stacking uses each switch base MAC address to keep track of stack members, and the MAC is unmodified. |