Oracle® Fabric OS 1.0.2 Command Reference

Exit Print View

Updated: November 2016
 
 

iocard

The iocard command adds, resets, removes, and displays available I/O line card information in the system. The virtualization switch supports up to 12 I/O cards, while the leaf switch supports only one I/O card. You can configure vHBAs on a virtualization switch, but not on a leaf switch.


Note -  The leaf switch and the virtualization switch are always in the embedded slot. Use the add iocard and remove iocard commands only on I/O modules that are in slots 0-11. Do not use these commands on switches that are in the embedded slot.

Syntax

add iocard {slot|wildcard} card-type [–noconfirm]
remove iocard {*|slot}
remove iocard {*|slot} vhbas [–noconfirm]
remove iocard {*|slot} vnics [–noconfirm]
set iocard {*|slot} clear-stats [–descr=text] [–fabric-mtu=mtu] [–type=card-type]
set iocard {*|slot} reset [–descr=text] [–fabric-mtu=mtu] [–type=card-type]
show iocard
show iocard *
show iocard {slot|wildcard}
show iocard {slot|wildcard} alarms
show iocard {slot|wildcard} cpu [–detail]
show iocard {slot|wildcard} dmesg [–detail]
show iocard {slot|wildcard} errors
show iocard {slot|wildcard} ioport {*|port} [–detail]
show iocard {slot|wildcard} ioports [–detail]
show iocard {slot|wildcard} stats [–detail]
show iocard {slot|wildcard} vnics [–detail[
show iocard {slot|wildcard} warnings

where:

  • card-type is the type of I/O card you are adding or configuring. For example, gwEthernet4Port10GbCard.

  • slot is the physical slot number.

  • port is the physical port number.


Note -  The leaf switch and the virtualization switch are always in the embedded slot.

This hardware command has subcommands that determine its functionality. This table describes the subcommands and provides their syntax.

Subcommand
Description
alarms
Displays alarms for the I/O card.
clear-stats
Clears the statistics of the I/O card.
cpu
Displays CPU information.
dmsg
Displays base OS messages for the I/O card.
errors
Displays I/O card errors.
ioport
Displays information for a specific ioport for the I/O card.
ioports
Displays information for all ioports for the I/O card.
reset
Resets an I/O card. This subcommand removes the card's power, restores the power after a few seconds, and then rediscovers the card's settings.
The set iocard reset command resets only I/O modules that are located in slots 0-11. This command does not reset switches that are in the embedded slot.
stats
Displays statistics for the I/O card.
type
Specifies the type of card.
vhbas
Removes vHBAs connected to the I/O card.
vnics
Displays or removes vNICs connected to the I/O card.
warnings
Displays warning alarms for a specific I/O card.

These commands are supported on I/O cards only. The front panel, SCP, and IB fabric board are not affected.

Options

Option
Description
–descr
Applies a text description to the I/O card. Use quotes if there are multiple words containing spaces in the description.
–detail
An optional modifier that displays detailed information (if available) for the I/O card.
–fabric-mtu
Displays the MTU of the card's fabric.
–noconfirm
The process completes without prompting you for confirmation. The argument automatically answers yes to any prompts.
–type
The type of I/O card. For example, gwEthernet4Port10GbCard.

Reset an I/O Card

This example shows how to reset I/O card 2 and view the results.

[OFOS] set iocard 2 reset
Resetting IO cards will adversely affect any virtual IO resource connected to them and
thus cut I/O to the physical servers.  Are you sure you want to reset the IO card in
slot 2 (y/n)? y
[OFOS] show iocard
slot         state      descr     type                        v-resources
-------------------------------------------------------------------------
1            up/down              gwEthernet4Port10GbCard     0
2            up/up                gwEthernet4Port10GbCard     0
3            up/up                gwEthernet4Port40GbCard     0
4            up/up                gwEthernet4Port10GbCard     0
embedded     up/up                spineIb4Gw2PortCard         0
5 records displayed

Example: Remove an I/O Card

This example shows how to display all I/O cards and remove the card in slot 3.

[OFOS] show iocard ?
Possible completions:
  2           sanFc2Port16GbCard in slot 2
  3           gwEthernet4Port10GbCard in slot 3
  4           gwEthernet4Port40GbCard in slot 4
  embedded    nsmCard in slot 5
  7           sanFc2Port16GbCard in slot 7
  8           ibLr4Port100GbCard in slot 8
  9           ibSfm4Port100GbCard in slot 9
  10          ibSlm8Port100GbCard in slot 10
[OFOS] remove iocard 3
This may disrupt traffic on all physical server that happen to be using the IO card.
Remove iocard in slot 3 (y/n)? y

Example: Remove a VHBA on an I/O Card

This example shows how to remove all vHBAs connected to the I/O card in slot 2.

[OFOS] remove iocard 2 vhbas
Remove all vhbas from iocard in slot 2 (y/n)? y

Example: Display I/O Card Information

This example shows how to view information for I/O card 2.

[OFOS] show iocard 2
--------------------------------
slot     2
state    up/up
descr
type     gwEthernet4Port40GbCard
vnics    0
qos      default
acl      xmsGeneratedAclSet
enables  --s--
--------------------------------
1 record displayed

The field v-resources indicates the number of Oracle Fabric OS virtual resources (vNICs and vHBAs) that are associated with this card. vNICs can be bound only to network Ethernet cards.

Example: Display a Port on an I/O Card

This example displays port information for I/O card 3.

[OFOS] show iocard 3 ioport
name   type                  state     descr    mode     lag    access-vlan   guid
---------------------------------------------------------------------------------------------
3/1  gwEthernet10GbPort      up/up              trunk           1             10e08b50870102
3/2  gwEthernet10GbPort      up/up              trunk           1             10e08b50870102
3/3  gwEthernet10GbPort      up/up              trunk           1             10e08b50870102
3/4  gwEthernet10GbPort      up/up              trunk           1             10e08b50870102
4 records displayed

The field v-resources indicates the number of Oracle Fabric OS virtual resources (vNICs and vHBAs,) that are associated with this card. vNICs can be bound only to network Ethernet cards.