esxcfg-fcoe []
Where is one of:
-d|--discover=vmnicX [] Initiate FCoE adapter discovery on the given NIC
-r|--remove-adapter=vmhbaXYZ Destroy the specified FCoE adapter
-x|--deactivate-nic=vmnicW Deactivate FCOE configuration for given NIC
-l|--list-vnports List discovered VNPorts associated with this host
-N|--list-fcoe-nics List FCoE-capable NICs with detailed information
-n|--compact-list-fcoe-nics List FCoE-capable NICs each on a single line,
with limited information
-e|--enable Enable an FCoE-capable NIC if it is disabled
-D|--disable Disable an FCoE-capable NIC if it is enabled (requires
reboot to take effect)
-h|--help Show this message
And are a set of:
-p|--priority=[0-7] Priority class to use for FCoE traffic
-v|--vlan=id VLAN ID to use for FCoE traffic
-a|--macaddress=xx:xx:xx:xx:xx:xx MAC address to use for the underlying FCoE controller
-V|--enable-vn2vn Enable vn2vn mode on FCoE-capable NIC if it is disabled
-X|--disable-vn2vn Disable vn2vn mode on FCoE-capable NIC if it is enabled
(Adapter need to removed and deactivated.
Requires reboot to take effect)
Examples:
To discover FCoE adapters on a given NIC, using default settings
esxcfg-fcoe -d vmnicX
To discover FCoE adapters on a given NIC, specifying only MAC address
esxcfg-fcoe -d vmnicX -a MA
To discover FCoE adapters on a given NIC, specifying all settings
esxcfg-fcoe -d vmnicX -p priority -v vlan -a MA
To remove an FCoE adapter
esxcfg-fcoe -r vmhbaXYZ
To enable FCoE for a given NIC, specifying bandwidth and MAC address
esxcfg-fcoe -e vmnicX -a MA
To disable FCoE for a given NIC
esxcfg-fcoe -D vmnicX
To deactivate FCoE for a given NIC
esxcfg-fcoe -x vmnicX
To enable FCoE VN2VN mode for a given NIC
esxcfg-fcoe -V vmnicX
To discover VN2VN FCoE adapters on a given NIC, specific VLAN settings
esxcfg-fcoe -d vmnicX -v vlan
To disable FCoE VN2VN mode for a given NIC
esxcfg-fcoe -X vmnicX