fcadm - Fibre Channel HBA Port Command Line Interface

SYNOPSIS

    fcadm hba-port [-lite] [HBA_port_WWN] ...

    fcadm create-fcoe-port [-itof] [-p Port_WWN] [-n Node_WWN] <MAC_Interface> 

    fcadm delete-fcoe-port <MAC_Interface>
    
    fcadm list-fcoe-ports

SUBCOMMANDS
The following FCoE related subcommands are supported:

create-fcoe-port Creates an FCoE port associated with the given MAC interface 
                  and the given Port_WWN/Node_WWN. If -p or -n is not 
                  specified, the Port WWN or Node WWN will be generated
                  automatically. If the given MAC interface does not support 
                  multiple unicast address, no FCoE port will be created and 
                  the user is suggested to add an explicit option 
                  -f to force enabling promiscuous mode on the given MAC 
                  interface to run FCoE.

delete-fcoe-port Deletes an FCoE port associated with the given MAC interface.

list-fcoe-ports  List information about all FCoE ports on the host.

The following options are supported:

-e, --fcoe
    List FCoE ports.
    
-f, --force_promiscuous
    Force promiscuous mode on the given MAC interface.

-i, --initiator
    When used with create-fcoe-port subcommand, create a FCoE initiator
    port.

-t, --target
    When used with create-fcoe-port subcommand, create a FCoE target mode
    port.
    
EXAMPLES
Example 1 Creating an FCoE target port

#fcadm create-fcoe-port -t e1000g0
#fcadm hba-port -e
HBA Port WWN: 200000144f706D55
      Port Mode: Target
      Port ID: 10101
      OS Device Name: Not Applicable
      Manufacturer: Sun Microsystems, Inc.
      Model: FCoE Virtual FC HBA on e1000g0
      Firmware Version: N/A
      FCode/BIOS Version: N/A
      Serial Number: N/A
      Driver Name: COMSTAR FCOET v20080617-1.0
      Driver Version: 20080617-1.0
      Type: point-to-point
      State: online
      Supported Speeds: 1Gb
      Current Speed: 1Gb
      Node WWN: 100000144f706D55
