cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1049
Views
0
Helpful
3
Replies
Cisco Employee

How to configure Fiber Channel Port Admin State to Disabled

Is there a way to change the admin state of a fiber channel port using UCS PowerTool? I can see the ports with the following command:

get-UcsFiFcPort

All I want to do is set the admin state for all ports to disabled from UCS PowerTools. The following is one of the ports I need to modify. This is for a cleanly loaded pair of Fabric Interconnects. I just need to shutdown the ports so there are no errors when the fabrics are first configured for a lab.

AdminState      : enabled
AdminTransport  : fc
AggrPortId      : 0
ChassisId       : N/A
Encap           : unknown
EpDn            : fabric/san/B/phys-slot-2-port-3
IfRole          : network
IfType          : physical

IsPortChannelMember : no

Lc              : available
LicGP           : 0
LicState        : unknown
Locale          :
MaxSpeed        : 4gbps
Mode            : n_proxy
Model           :
Name            :
OperSpeed       : indeterminate
OperState       : failed
PeerAggrPortId  : 0
PeerChassisId   : N/A
PeerDn          :
PeerPortId      : 0
PeerSlotId      : 0
PortId          : 3
Revision        : 0
Sacl            :
Serial          :
SlotId          : 2
StateQual       : Initializing
SwitchId        : B
Transport       : {fc}
Ts              : 2015-09-16T20:10:02.430
Type            : san
UnifiedPort     : no
UsrLbl          :
Vendor          :
Wwn             : 20:43:00:05:73:A3:24:80
XcvrType        : unknown
Dn              : sys/switch-B/slot-2/switch-fc/port-3
Rn              : port-3
Status          :
XtraProperty    : {}
Ucs             : ChallengeLab
Everyone's tags (3)
1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Enthusiast

Re: How to configure Fiber Channel Port Admin State to Disabled

To disable (obviously adjust for your switch, slot, and port):

Get-UcsFiSanCloud -Id "A" | Get-UcsFcUplinkPort -SlotId 1 -PortId 32 | Set-UcsFcUplinkPort -AdminState "disabled" -FillPattern "arbff"

To enable:

Get-UcsFiSanCloud -Id "A" | Get-UcsFcUplinkPort -SlotId 1 -PortId 32 | Set-UcsFcUplinkPort -AdminState "enabled" -FillPattern "arbff"

This is really easy to find out.  After you have launched UCS Manager, from the same system on which you are running, open a PowerTool window and execute the command ConvertTo-UcsCmdlet.  Then anything you do in the UCS Manager GUI is shown as PowerTool cmdlets in the PowerTool window.

View solution in original post

3 REPLIES 3
Highlighted
Enthusiast

Re: How to configure Fiber Channel Port Admin State to Disabled

To disable (obviously adjust for your switch, slot, and port):

Get-UcsFiSanCloud -Id "A" | Get-UcsFcUplinkPort -SlotId 1 -PortId 32 | Set-UcsFcUplinkPort -AdminState "disabled" -FillPattern "arbff"

To enable:

Get-UcsFiSanCloud -Id "A" | Get-UcsFcUplinkPort -SlotId 1 -PortId 32 | Set-UcsFcUplinkPort -AdminState "enabled" -FillPattern "arbff"

This is really easy to find out.  After you have launched UCS Manager, from the same system on which you are running, open a PowerTool window and execute the command ConvertTo-UcsCmdlet.  Then anything you do in the UCS Manager GUI is shown as PowerTool cmdlets in the PowerTool window.

View solution in original post

Highlighted
Cisco Employee

Re: How to configure Fiber Channel Port Admin State to Disabled

Greatly appreciated. That was exactly what I needed.

Highlighted
Enthusiast

Re: How to configure Fiber Channel Port Admin State to Disabled

You're welcome!  Glad I could assist.

CreatePlease to create content
Content for Community-Ad
FusionCharts will render here