Difference between revisions of "ESXi - 6.7 esxcli fcoe"

From Da Nerd Mage Wiki
Jump to navigation Jump to search
Line 17: Line 17:
* '''disable'''
* '''disable'''
: Disable rediscovery of FCOE storage on behalf of an FCOE-capable CNA upon next boot.
: Disable rediscovery of FCOE storage on behalf of an FCOE-capable CNA upon next boot.
:* <code>esxcli fcoe nic disable '''-n NICNAME'''</code>
:* <code>esxcli fcoe nic disable '''NICNAME'''</code>
* '''discover'''
* '''discover'''
: Initiate FCOE adapter discovery on behalf of an FCOE-capable CNA.
: Initiate FCOE adapter discovery on behalf of an FCOE-capable CNA.
:* <code>esxcli fcoe nic discover '''-n NICNAME'''</code>
:* <code>esxcli fcoe nic discover '''NICNAME'''</code>
* '''enable'''
* '''enable'''
: Enable an FCOE-capable NIC if it is disabled.
: Enable an FCOE-capable NIC if it is disabled.
:* <code>esxcli fcoe nic enable '''-n NICNAME'''</code>
:* <code>esxcli fcoe nic enable '''NICNAME'''</code>
* '''list'''
* '''list'''
: List FCOE-capable CNA devices.
: List FCOE-capable CNA devices.
Line 29: Line 29:
* '''remove'''
* '''remove'''
: Initiate FCOE device destroy on behalf of an FCOE-capable PNIC.
: Initiate FCOE device destroy on behalf of an FCOE-capable PNIC.
:* <code>esxcli fcoe nic remove '''-n NICNAME'''</code>
:* <code>esxcli fcoe nic remove '''NICNAME'''</code>
* '''set'''
* '''set'''
: Set options on FCOE-capable CNA.
: Set options on FCOE-capable CNA.
:* <code>esxcli fcoe nic set '''[cmd options]'''</code>
:* <code>esxcli fcoe nic set '''CMD OPTIONS'''</code>
 
'''NICNAME'''
  -n|--nic-name=<str>  The CNA adapter name (vmnicX) (required)
'''CMD OPTIONS'''
  -V|--enable-vn2vn=<bool>  Enable or Disable VN2VN mode on the nic (Reboot Required)
  -n|--nic-name=<str>        The CNA adapter name (vmnicX) (required)
  -p|--priority=<long>      Priority class (0 - 7) to use for FCOE traffic
  -v|--vlan-id=<long>        The VLAN id for this nic, range '0 - 4095'(Reboot Required)


= Definitions =
= Definitions =

Revision as of 02:08, 9 February 2022

fcoe

VMware Fibre Channel over Ethernet (FCoE) commands.

adapter

  • list
List FCOE-capable CNA devices.
  • esxcli fcoe adapter list
  • remove
Initiate FCOE adapter removal.
  • esxcli fcoe adapter remove ADAPTER
ADAPTER
 -a|--adapter-name=<str>
                       The FCOE adapter name (vmhbaX) (required)

nic

  • disable
Disable rediscovery of FCOE storage on behalf of an FCOE-capable CNA upon next boot.
  • esxcli fcoe nic disable NICNAME
  • discover
Initiate FCOE adapter discovery on behalf of an FCOE-capable CNA.
  • esxcli fcoe nic discover NICNAME
  • enable
Enable an FCOE-capable NIC if it is disabled.
  • esxcli fcoe nic enable NICNAME
  • list
List FCOE-capable CNA devices.
  • esxcli fcoe nic list
  • remove
Initiate FCOE device destroy on behalf of an FCOE-capable PNIC.
  • esxcli fcoe nic remove NICNAME
  • set
Set options on FCOE-capable CNA.
  • esxcli fcoe nic set CMD OPTIONS
NICNAME
 -n|--nic-name=<str>   The CNA adapter name (vmnicX) (required)
CMD OPTIONS
 -V|--enable-vn2vn=<bool>   Enable or Disable VN2VN mode on the nic (Reboot Required)
 -n|--nic-name=<str>        The CNA adapter name (vmnicX) (required)
 -p|--priority=<long>       Priority class (0 - 7) to use for FCOE traffic
 -v|--vlan-id=<long>        The VLAN id for this nic, range '0 - 4095'(Reboot Required)

Definitions

ADAPTER

The FCOE adapter name (vmhbaX) (required)

NICNAME

The CNA adapter name (vmnicX) (required)

[cmd options]

-V|--enable-vn2vn=<bool>
Enable or Disable VN2VN mode on the nic (Reboot Required)
-n|--nic-name=<str>
The CNA adapter name (vmnicX) (required)
-p|--priority=<long>
Priority class (0 - 7) to use for FCOE traffic
-v|--vlan-id=<long>
The VLAN id for this nic, range '0 - 4095'(Reboot Required)