vfcmap command

Purpose

Maps the virtual Fibre Channel adapter to the physical Fibre Channel port.

Syntax

vfcmap -vadapter virtual Fibre Channel adapter -fcp Fibre Channel port name

Description

The vfcmap command maps or unmaps the virtual Fibre Channel adapter to the physical Fibre Channel port.

Flags

Flag name Description
-vadapter virtual Fibre Channel adapter Specifies the virtual server adapter.
-fcp Fibre Channel port name Specifies the physical Fibre Channel port.
Note:
  • If no parameter is specified with this flag, the command unmaps the virtual Fibre Channel adapter from the physical Fibre Channel port.
  • You must not over commit the physical port as the client cannot use the port because the client might not be able to access the SAN.

Exit Status

The following exit values are returned:
Return code Description
0 Successful completion.
>0 Invalid flag, argument, or command failure.

Examples

  1. To map the virtual Fibre Channel, vfchost7, to the physical Fibre Channel port, fcs0, type:
    vfcmap -vadapter vfchost7 -fcp fcs0

    The system displays the following message:

    vfchost0 changed
  2. To unmap the virtual Fibre Channel, vfchost7, from any physical Fibre Channel port, type:
    vfcmap -vadapter vfchost7 -fcp 

    The system displays the following message:

    vfchost0 changed