Deployment Guide

782 Fabric OS Command Reference
53-1003131-01
portCfgPersistentDisable
2
port1[-port2]
Persistently disables a single port or a range of ports identified by port numbers.
The port range cannot span slots, but you can specify multiple port ranges pairs
separated by a space, for example 3/1-4 4/7-9.
-i index1[-index2]
Persistently disables a port or a range of ports identified by port index numbers.
You may specify multiple index ranges separated by a space, for example, -i
33-38 40-60.
-f
Ignores nonexisting ports. This operand is valid only with the -i option.
-slot [slot1[-slot2]
Persistently 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 persistently. 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 persistently:
switch:admin> portcfgpersistentdisable 2/4
To disable a range of ports persistently:
switch:admin> portcfgpersistentdisable 2/4-8
To disable multiple port ranges persistently:
switch:admin> portcfgpersistentdisable 2/12 \
-15 3/10-12 4/3-4
To display the portSwap status:
switch:admin> portcfgpersistentdisable -i
portcfgpersistentdisable: portSwap feature enabled.
'-i' option not supported.
To disable a port persistently by specifying its index number:
switch:admin> portcfgpersistentdisable -i 176
To disable a range of ports persistently by specifying the corresponding port index range:
switch:admin> portcfgpersistentdisable -i 17-18
To disable multiple ports persistently by specifying multiple port index ranges:
switch:admin> portcfgpersistentdisable -i 17-18 30-39
To disable all ports on slots 3-5 persistently:
switch:admin> portcfgpersistentdisable -s 3-5
To disable all ports on slots 3-5 and 8-10 persistently:
switch:admin> portcfgpersistentdisable -s 3-5 8-10