Skip to main content
A newer release of this product is available.

storage port modify

Contributors
Suggest changes

Modify a storage port

Availability: This command is available to cluster administrators at the admin privilege level.

Description

The storage port modify command modifies the attributes of a storage port.

Parameters

-node {<nodename>|local} - Node

This parameter specifies the name of the node.

-port <text> - Port

This parameter specifies the name of the port.

[-mode {storage|network}] - Mode

This parameter specifies the usage mode for an Ethernet port - storage or network use. The mode parameter only applies to Ethernet ports that are not dedicated to storage connectivity.

[-force <true>] - Force (privilege: advanced)

This parameter allows the operation to override warnings.

Examples

The following example places a nondedicated Ethernet port in storage mode:

cluster1::> storage port show
Speed                           VLAN
Node           Port Type  Mode    (Gb/s) State    Status            ID
-------------- ---- ----- ------- ------ -------- --------------- ----
cluster1-01
               e0b  ENET  network      - -        -                  -
               e0c  ENET  -          100 enabled  online            30
               e0e  ENET  storage      0 enabled  offline           30
               e0f  ENET  -          100 enabled  online            30
cluster1-02
               e0b  ENET  storage      0 enabled  offline           30
               e0c  ENET  -          100 enabled  online            30
               e0e  ENET  storage      0 enabled  offline           30
               e0f  ENET  -          100 enabled  online            30
8 entries were displayed.

cluster1::> storage port modify -node cluster1-01 -port e0b -mode storage

cluster1::> storage port show
Speed                           VLAN
Node           Port Type  Mode    (Gb/s) State    Status            ID
-------------- ---- ----- ------- ------ -------- --------------- ----
cluster1-01
               e0b  ENET  storage      0 enabled  offline           30
               e0c  ENET  -          100 enabled  online            30
               e0e  ENET  storage      0 enabled  offline           30
               e0f  ENET  -          100 enabled  online            30
cluster1-02
               e0b  ENET  storage      0 enabled  offline           30
               e0c  ENET  -          100 enabled  online            30
               e0e  ENET  storage      0 enabled  offline           30
               e0f  ENET  -          100 enabled  online            30
8 entries were displayed.