Technical data

Fabric OS Administrator’s Guide 7-13
Publication Number: 53-0000518-09
Using FICON CUP
7
Setting Mode Register Bits
The ficoncupset modereg command is used to set the FICON CUP mode register bits for the local
switch. Consider the following when changing mode register bits:
As required by the CUP protocol, the UAM bit cannot be changed using this command.
All mode register bits except UAM are saved across power on/off cycles; the UAM bit is reset to 0
following a power-on.
Mode register bits can be changed when the switch is offline or online. If the ACP or HCP bits are
changed when the switch is online, they will take effect any time between the completion of the
current command and the end of the CCW command chain (or the next alternate manager
operation).
The command format is:
ficoncupset modereg [bitname] 0 | 1
where:
The following example sets the mode register bit HCP to off:
The following example sets the mode register bit ACP to on:
Persistently Enabling/Disabling Ports
When fmsmode is enabled, you cannot use the portCfgPersistentEnable and
portCfgPersistentDisable commands to persistently enable and disable ports. Instead, use this
procedure:
1. Enter the following command to display the mode register bit settings:
ficoncupshow modereg
2. Verify that the ASM bit is set on (1).
3. If the ASM bit is set off (0), enter the following command to set it on:
ficoncupset modereg asm 1
4. Use the portEnable and portDisable commands to enable and disable ports as necessary.
The ports remain enabled or disabled after a switch reboot.
bitname One of the mode register bits described in Table 7-2 on page 7-12.
0 Specifies that the bit is off.
1 Specifies that the bit is on.
switch:admin> ficoncupset modereg HCP 0
Mode register bit HCP has been set to 0.
switch:admin> ficoncupset modereg ACP 1
Mode register bit ACP has been set to 1.