fc-port 命令用于配置和显示 FC 端口的属性。virtualization switch(虚拟化交换机)支持 FC 存储,但 leaf switch(叶交换机)不支持。
set fc-port {*|slot/port} [–descr=text] set fc-port {*|slot/port} [–fc-link-down-timeout={number|default}] set fc-port {*|slot/port} [–fc-target-port-down-timeout={number|default}] set fc-port {*|slot/port} [–topology={f-port|l-port|n-port}] show fc-port {*|slot/port} [–detail] show fc-port {*|slot} alarms [–detail] show fc-port {*|slot} stats [–detail] show fc-port {*|slot} vhbas [–detail] show fc-ports {*|slot/port} [–detail]
其中,slot/port 指定要配置的物理插槽和端口对。星号 (*) 指定所有可用的 FC 卡。您可以在 virtualization switch(虚拟化交换机)上配置 FC 端口,但不能在 leaf switch(叶交换机)上配置。
这些硬件命令具有用来确定其功能的子命令。此表介绍了 subcommand 并提供了其语法。
|
|
此示例展示了如何将 FC 端口等待时间设置为 45 秒。该端口等待的时间达到此值后,才会声明光纤链路断开。默认超时值为 30 秒。
[OFOS] show ioport name type state descr vnics vhbas -------------------------------------------------------------------- 4/1 sanFc1GbPort up/down 0 0 4/2 sanFc1GbPort up/up 0 4 5/1 sanFc1GbPort up/up 0 1 5/2 sanFc1GbPort up/up 0 0 9/1 nwEthernet10GbPort up/up 0 0 -------------------------------------------------------------------- 5 records displayed [OFOS] set fc-port 4/2 -fc-link-down-timeout=45 [OFOS] set iocard 4 reset Resetting I/O cards will adversely affect any virtual I/O resource connected to them and thus cut I/O to the physical servers. Are you sure you want to reset the I/O card in slot 4 (y/n)? y [OFOS] show ioport 4/1 -detail ---------------------------------------------------- name 4/1 type sanFcPort state up/up descr wwnn 50:01:39:71:00:00:B0:1F wwpn 50:01:39:70:00:00:B0:1F rate auto/4Gbps frame-size 2048/2048 exec-throttle 65535 int-delay 1000 fc-link-down-timeout 45 login-retry 8 login-timeout 4 fc-target-port-down-timeout 60 topo F loop-delay 5 tape-support true vhbas 4 ------------------------------------------------------ 1 record displayed
通常,您应当为 FC 端口参数使用默认值,且仅在绝对需要时才更改这些值。