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 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 '''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 '''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 '''NICNAME'''</code>
:::* <code>esxcli fcoe nic enable '''NICNAME'''</code>
* '''list'''
::: '''list'''
: List FCOE-capable CNA devices.
:::: List FCOE-capable CNA devices.
:* <code>esxcli fcoe nic list</code>
::::* <code>esxcli fcoe nic list</code>
* '''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 '''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'''
  '''NICNAME'''
   -n|--nic-name=<str>  The CNA adapter name (vmnicX) (required)
   -n{{!}}--nic-name=<str>  The CNA adapter name (vmnicX) (required)
  '''CMD OPTIONS'''
  '''CMD_OPTIONS'''
   -V|--enable-vn2vn=<bool>  Enable or Disable VN2VN mode on the nic (Reboot Required)
   -V{{!}}--enable-vn2vn=<bool>  Enable or Disable VN2VN mode on the nic (Reboot Required)
   -n|--nic-name=<str>        The CNA adapter name (vmnicX) (required)
   -n{{!}}--nic-name=<str>        The CNA adapter name (vmnicX) (required)
   -p|--priority=<long>      Priority class (0 - 7) to use for FCOE traffic
   -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)
   -v{{!}}--vlan-id=<long>        The VLAN id for this nic, range '0 - 4095'(Reboot Required)

Revision as of 02:46, 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)