Command Reference Guide

Fabric OS Command Reference 741
53-1002746-01
portEnable
2
-x [hex1 [-hex2]]
Enables 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]]
Enables all ports on a slot or on a range of slots, for example, -s 3-5. Multiple slot
ranges are not supported with this command.
-h
Displays the command usage.
EXAMPLES To enable a single port:
switch:admin> portenable 2/4
To enable a range of ports:
switch:admin> portenable 2/4-8
To enable multiple port ranges:
switch:admin> portenable 2/24-26 3/10-12 4/3-4
To enable a port by specifying its index number:
switch:admin> portenable -i 176
portenable: portSwap feature enabled.
To enable a range of ports by specifying the corresponding port index range:
switch:admin> portenable -i 170-176
portenable: portSwap feature enabled.
To enable multiple ports by specifying multiple port index ranges:
switch:admin> portenable -i 30-36 170-176
portenable: portSwap feature enabled.
To enable a range of ports by specifying port index number in hexadecimal format:
switch:admin> portenable -x 1d-1e
To enable all ports on slot 3-5.
switch:admin> portenable -s 3-5
SEE ALSO portCfgPersistentDisable, portCfgPersistentEnable, portDisable, portShow, portSwapDisable,
portSwapShow, switchShow