![Brocade Communications Systems Brocade 8/12c Command Reference Manual Download Page 709](http://html1.mh-extra.com/html/brocade-communications-systems/brocade-8-12c/brocade-8-12c_command-reference-manual_2817300709.webp)
Fabric OS Command Reference
675
53-1001764-01
portCfgPersistentDisable
22
-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.
-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
To display the persistently disabled ports on the switch:
switch:admin>
portcfgpersistentdisable
---------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
Disabled - - - - - - - - - - - - - - - -
Slot 0 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
------+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---