iocard 命令可在系统中添加、复位和删除 I/O 线路卡,以及显示系统中可用的 I/O 线路卡的信息。virtualization switch(虚拟化交换机)最多支持 12 个 I/O 卡,而 leaf switch(叶交换机)仅支持一个 I/O 卡。您可以在 virtualization switch(虚拟化交换机)上配置 vHBA,但不能在 leaf switch(叶交换机)上配置。
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
其中:
card-type 是要添加或配置的 I/O 卡的类型。例如,gwEthernet4Port10GbCard。
slot 是物理插槽编号。
port 是物理端口号。
此硬件命令具有用来确定其功能的子命令。此表介绍了子命令并提供了其语法。
|
这些命令只作用于 I/O 卡。前面板、SCP 和 IB 网状结构网络板不受影响。
|
此示例展示了如何复位 I/O 卡 2 并查看结果。
[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
此示例展示了如何显示所有 I/O 卡并删除插槽 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
此示例展示了如何删除连接到插槽 2 中的 I/O 卡的所有 vHBA。
[OFOS] remove iocard 2 vhbas Remove all vhbas from iocard in slot 2 (y/n)? y
此示例展示了如何查看 I/O 卡 2 的信息。
[OFOS] show iocard 2 -------------------------------- slot 2 state up/up descr type gwEthernet4Port40GbCard vnics 0 qos default acl xmsGeneratedAclSet enables --s-- -------------------------------- 1 record displayed
字段 v-resources 指示与此卡相关联的 Oracle Fabric OS 虚拟资源(vNIC 和 vHBA)的数量。vNIC 只能绑定到网络以太网卡。
此示例显示了 I/O 卡 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
字段 v-resources 指示与此卡相关联的 Oracle Fabric OS 虚拟资源(vNIC 和 vHBA)的数量。vNIC 只能绑定到网络以太网卡。