Reference (Supporting Fabric OS v7.3.0) Owner manual

Table Of Contents
Fabric OS Command Reference 821
53-1003131-01
portDisable
2
-x [hex1 [-hex2]]
Disables a port or a range of ports identified by port numbers, index number in
hexadecimal format. You may specify multiple port ranges separated by a space,
for example, -x 21-26 28-3c.
-slot [slot1[-slot2]]
Disables all ports on a slot or on a range of slots, for example, -s 3-5. You may
specify multiple slot ranges separated by a space, for example, -s 3-5 8-10.
-r disable_reason_string
Specifies the reason for disabling the port. The string can be up to 16 characters
long and must be enclosed in double quotation marks.
-h
Displays the command usage.
EXAMPLES To disable a single port.
switch:admin> portdisable 2/4
To disable a range of ports:
switch:admin> portdisable 2/4-8
To disable multiple port ranges:
switch:admin> portdisable 2/24-26 3/10-12 4/3-4
To disable a port by specifying its index number:
switch:admin> portdisable -i 176
To disable a range of ports by specifying the corresponding port index range:
switch:admin> portdisable -i 170-176
To disable multiple ports by specifying multiple port index ranges:
switch:admin> portdisable -i 30-36 170-176
To disable range of ports by specifying port index numbers in hexadecimal format:
switch:admin> portdisable -x 1d-1e
To disable all ports on slots 3-5:
switch:admin> portdisable -s 3-5
To disable all ports on slots 3-5 and 9-12:
switch:admin> portdisable -s 3-5 9-12
To disable a port with a disable reason:
switch:admin> portdisable 2/2 -r "laser fault"
SEE ALSO portCfgPersistentDisable, portCfgPersistentEnable, portEnable, portShow, portSwapDisable,
portSwapShow, switchShow