Brocade Fabric OS Command Reference - Supporting Fabric OS v7.0.1 (53-1002447-01, March 2012)

714 Fabric OS Command Reference
53-1001764-01
portDisable
22
portDisable
Disables a port or a range of ports.
SYNOPSIS portdisable [slot/]port1[-port2] [...]
portdisable -i [index1[-index2] [...] [-f]]
portdisable -slot [slot1[-slot2] [...]
portdisable -h
DESCRIPTION Use this command to disable a port or a range of ports. If the port is connected to another switch when
disabled, the fabric may reconfigure. Devices connected to this port can no longer communicate with the
fabric.
You can identify a single port to be disabled by its port number or by its port index number. Port ranges
are supported with index numbers or by specifying a slot or a slot range. Use switchShow for a listing of
valid ports, slots, and port index numbers.
Specifying multiple ports with the index (-i) or slot (-s) option is supported only if PortSwap is disabled.
They are not supported on GbE ports and configured F_Port trunks. Use the -i option without a port index
argument to display the portSwap status, or alternately use portSwapShow.
The front panel LED of a disabled port flashes amber in a two-second cycle. If the port was online before
being disabled, a state transition will be indicated in one of the following ways: RSCN, SNMP trap, or
Web pop-up window.
NOTES The execution of this command is subject to Virtual Fabric or Admin Domain restrictions that may be in
place. Refer to Chapter 1, "Using Fabric OS Commands" and Appendix A, "Command Availability" for
details.
This command is not supported on FCoE ports. To disable an FCoE port, use fcoe --disable.
OPERANDS This command has the following operands:
slot
On bladed systems only, specifies the slot number of the ports to be disabled,
followed by a slash (/).
port1[-port2]
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]
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]
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.