The fc-port command configures and displays the attributes of the FC port. FC storage is supported for the virtualization switch, but not for the 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]
where slot/port specifies the physical slot and port coordinate to be configured. An asterisk (*) specifies all available FC cards. You can configure FC ports on a virtualization switch, but not on a leaf switch.
These hardware commands have subcommands that determine their functionality. This table describes the subcommands and provides their syntax.
|
|
This example shows how to set the FC port wait time to 45 seconds. The port will wait this length of time before declaring that the fibre link is down. The default timeout is 30 seconds.
[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
Typically, you should use the default values for FC port parameters, and change them only if absolutely necessary.