====== Brocade license/Port on Demand =======
https://support.broadcom.com/
https://support.broadcom.com/group/licensing/home
Hardware ==> Broadcom storage network ==> Licensing portal\\
Retrieve Optics Kit Transaction Key
For info you can add multiple lines for one SAN switch
On each 8 pack Gbics on Demand you have
* Optic kit serial number
* Optic serial number
Once encode, you 'll get a transaction key, that have to be approved **Reedem**, and associate it to the SAN switch **wwn**, then you get an XML file through email, to enable the license
On Brocade v9.0, all ports are PoD ports (Ports on Demand license not assigned or reserved yet)
On previous release use:
licenseport --show
licenseport --reserve 0-5
licenseport --lease 0-5
sansw01:FID128:admin> license --show
License Id : 10:00:d8:1f:cc:xx:xx:xx
No licenses are installed in the system.
sansw01:FID128:admin> license --show -port
48 SFP-based ports are available in this switch
16 QSFP-based ports are available in this switch
No Ports on Demand license is installed
No Q-Flex Ports on Demand license is installed
Dynamic POD method is in use
24 SFP-based port assignments are provisioned for use in this switch:
24 SFP-based port assignments are provisioned by the base switch allowance
0 SFP-based ports are assigned to the base switch allowance or installed licenses:
0 ports are assigned to the Ports on Demand base switch allowance
SFP-based ports assigned to the base switch allowance:
None
SFP-based ports assigned to the Ports on Demand license:
None
SFP-based ports that are not assigned:
0, 1, 2, 3, 4, 5, 6, 7, 8, 9
10, 11, 12, 13, 14, 15, 16, 17, 18, 19
20, 21, 22, 23, 24, 25, 26, 27, 28, 29
30, 31, 32, 33, 34, 35, 36, 37, 38, 39
40, 41, 42, 43, 44, 45, 46, 47
24 license reservations are still available for use by unassigned ports
0 QSFP-based port assignments are provisioned for use in this switch:
0 QSFP-based port assignments are provisioned by the base switch allowance
0 QSFP-based ports are assigned to the base switch allowance or installed licenses:
0 ports are assigned to the Q-Flex Ports on Demand base switch allowance
QSFP-based ports assigned to the base switch allowance:
None
QSFP-based ports assigned to the Q-Flex Ports on Demand license:
None
QSFP-based ports that are not assigned:
48, 49, 50, 51, 52, 53, 54, 55, 56, 57
58, 59, 60, 61, 62, 63
0 license reservations are still available for use by unassigned ports
You can add more license ports:
sansw01:FID128:admin> license --install -h 192.168.0.160 -u manu -t scp -f /home/manu/20210209055335565EXM00021270.xml
Password:
20210209055335565EXM00021270.xml 100% 1318 1.3MB/s 00:00
License Installed [FOS-86-0-02-11203262]
sansw01:FID128:admin> license --show
License Id : 10:00:d8:1f:cc:xx:xx:xx
License 1 :
-------------------------------------------------------------
License serial number : FOS-86-0-02-11203262
License features : Ports on Demand
License Capacity : 12
Generation date : 02/09/2021
sansw01:FID128:admin> switchshow
switchName: sansw01
switchType: 183.0
switchState: Offline
switchMode: Native
switchRole: Disabled
switchDomain: 1 (unconfirmed)
switchId: fffc01
switchWwn: 10:00:d8:1f:cc:xx:xx:xx
zoning: OFF
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet) Disabled
1 1 010100 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet) Disabled
2 2 010200 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet) Disabled
3 3 010300 id N32 No_Light FC (Ports on Demand license not assigned or reserved yet) Disabled
...
53 53 013500 -- N32 No_Module FC (No QFLEX Ports on Demand license) Disabled
54 54 013600 -- N32 No_Module FC (No QFLEX Ports on Demand license) Disabled
...
63 63 013f00 -- N32 No_Module FC (No QFLEX Ports on Demand license) Disabled
Now activate the ports based on license count
sansw01:FID128:admin> license --reserve -port 0-35
sansw01:FID128:admin> switchshow
switchName: sansw01
switchType: 183.0
switchState: Offline
switchMode: Native
switchRole: Disabled
switchDomain: 1 (unconfirmed)
switchId: fffc01
switchWwn: 10:00:d8:1f:cc:47:d3:e4
zoning: OFF
switchBeacon: OFF
FC Router: OFF
HIF Mode: OFF
Allow XISL Use: OFF
LS Attributes: [FID: 128, Base Switch: No, Default Switch: Yes, Ficon Switch: No, Address Mode 0]
Index Port Address Media Speed State Proto
==================================================
0 0 010000 id N32 No_Light FC Disabled
1 1 010100 id N32 No_Light FC Disabled
2 2 010200 id N32 No_Light FC Disabled
3 3 010300 id N32 No_Light FC Disabled
4 4 010400 id N32 No_Light FC Disabled
5 5 010500 id N32 No_Light FC Disabled
6 6 010600 id N32 No_Light FC Disabled
7 7 010700 id N32 No_Light FC Disabled
8 8 010800 id N32 No_Light FC Disabled
...
63 63 013f00 -- N32 No_Module FC (No QFLEX Ports on Demand license) Disabled
To release ports use:
license --reserve -port 0-3