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.

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



Last updated: Wed, November 18, 2020