Wednesday, April 5, 2023

Brocade: Configuring Principal Switch role priority

When changes occur in the SAN network fabric, the "Principal" switch is re-elected. The result usually depends on the WWN of the switches and on the priority set. By default, for all new switches, it is equal to the value: 0xFE. The rest of the switches in the fabric set themselves the "Subordinate" role.

To set your priority, run:


fabricprincipal --enable -p 0x01

The value of priorities can be as follows:
0x00 - not used, reserved;
0x01 - highest priority;
0x02 - this value should not be used either, it is generated by the switch to initiate a factory rebuild;
0x03 - 0xFE - range to be used for setting priorities (the larger the value, the lower the priority);
0xFF - with this value, the switch will become the "Principal" switch last, even the default settings have a higher priority.

To view information use:

fabricshow
fabricprincipal --show


Disable priority mode (return priority value to "0xFE"):

fabricprincipal --disable

Re-election of the "Principal" switch in the factory usually occurs in cases of turning off the current main switch, connecting a new switch to the factory, disconnecting and connecting ISL (Inter-Switch Link) ports. Disabling (switchdisable) and enabling (switchenable) a switch with the "Subordinate" role usually does not lead to a factory rebuild, but to force this process, use:

fabricprincipal -f

No comments:

Post a Comment