6.5
Table Of Contents
- vSphere Command-Line Interface Concepts and Examples
- Contents
- About This Book
- vSphere CLI Command Overviews
- Introduction
- List of Available Host Management Commands
- Targets and Protocols for vCLI Host Management Commands
- Supported Platforms for vCLI Commands
- Commands with an esxcfg Prefix
- ESXCLI Commands Available on Different ESXi Hosts
- Trust Relationship Requirement for ESXCLI Commands
- Using ESXCLI Output
- Connection Options for vCLI Host Management Commands
- Connection Options for DCLI Commands
- vCLI Host Management Commands and Lockdown Mode
- Managing Hosts
- Managing Files
- Managing Storage
- Introduction to Storage
- Examining LUNs
- Detach a Device and Remove a LUN
- Reattach a Device
- Working with Permanent Device Loss
- Managing Paths
- Managing Path Policies
- Scheduling Queues for Virtual Machine I/O
- Managing NFS/NAS Datastores
- Monitor and Manage FibreChannel SAN Storage
- Monitoring and Managing Virtual SAN Storage
- Monitoring vSphere Flash Read Cache
- Monitoring and Managing Virtual Volumes
- Migrating Virtual Machines with svmotion
- Configuring FCoE Adapters
- Scanning Storage Adapters
- Retrieving SMART Information
- Managing iSCSI Storage
- iSCSI Storage Overview
- Protecting an iSCSI SAN
- Command Syntax for esxcli iscsi and vicfg-iscsi
- iSCSI Storage Setup with ESXCLI
- iSCSI Storage Setup with vicfg-iscsi
- Listing and Setting iSCSI Options
- Listing and Setting iSCSI Parameters
- Enabling iSCSI Authentication
- Set Up Ports for iSCSI Multipathing
- Managing iSCSI Sessions
- Managing Third-Party Storage Arrays
- Managing Users
- Managing Virtual Machines
- Managing vSphere Networking
- Introduction to vSphere Networking
- Retrieving Basic Networking Information
- Troubleshoot a Networking Setup
- Setting Up vSphere Networking with vSphere Standard Switches
- Setting Up Virtual Switches and Associating a Switch with a Network Interface
- Retrieving Information About Virtual Switches
- Adding and Deleting Virtual Switches
- Checking, Adding, and Removing Port Groups
- Managing Uplinks and Port Groups
- Setting the Port Group VLAN ID
- Managing Uplink Adapters
- Adding and Modifying VMkernel Network Interfaces
- Managing VMkernel Network Interfaces with ESXCLI
- Add and Configure an IPv4 VMkernel Network Interface with ESXCLI
- Add and Configure an IPv6 VMkernel Network Interface with ESXCLI
- Managing VMkernel Network Interfaces with vicfg-vmknic
- Add and Configure an IPv4 VMkernel Network Interface with vicfg-vmknic
- Add and Configure an IPv6 VMkernel Network Interface with vicfg-vmknic
- Setting Up vSphere Networking with vSphere Distributed Switch
- Managing Standard Networking Services in the vSphere Environment
- Setting the DNS Configuration
- Manage an NTP Server
- Manage the IP Gateway
- Setting Up IPsec
- Manage the ESXi Firewall
- Monitor VXLAN
- Monitoring ESXi Hosts
- Index
VMkernel module management with vicfg-
module 26
VMkernel module management with esxcli 25
host management commands, targets and
protocols 15
I
intended audience 9
iSCSI SAN protection
iSCSI CHAP 72
iSCSI port security 72
transmitted data 71
iSCSI session management
introduction 98
listing 98
login 99
removal 99
iSCSI storage management
command syntax 73
dependent hardware iSCSI setup with
ESXCLI 80
dependent hardware iSCSI setup with vicfg-
iscsi 86
discovery sessions 70
discovery target names 71
enable iSCSI authentication 94
enabling iSCSI authentication 94
enabling mutual iSCSI authentication 95, 96
esxcli iscsi syntax 73, 74
esxcli iscsi short options 74
ESXCLI setup 78
independent hardware iSCSI setup with
ESXCLI 82
independent hardware iSCSI setup with vicfg-
iscsi 87
iSCSI SAN protection 71
iSCSI session management 98
list iSCSI parameters 90
list iSCSI options 89
list iSCSI options with ESXCLI 89
list iSCSI options with vicfg-iscsi 89
list iSCSI parameters with ESXCLI 90
list iSCSI parameters with vicfg-iscsi 92
multipathing port setup 97
overview 69
return parameters to default inheritance with
ESXCLI 92
return parameters to default inheritance with
vicfg-iscsi 94
set iSCSI parameters with ESXCLI 90
set MTU with ESXCLI 89
set iSCSI options 89
set iSCSI parameters 90
set iSCSI options with vicfg-iscsi 89
set iSCSI parameters with vicfg-iscsi 92
software iSCSI setup with ESXCLI 78
software iSCSI setup with vicfg-iscsi 85
vicfg-iscsi setup 84
vicfg-iscsi syntax 73, 75
L
LUN examination
device representation 45
esxcli storage core 46
target representation 45
vicfg-scsidevs 47
M
manage port groups
ESXCLI 139
vicfg-vswitch 140
manage VMkernel network interfaces with
ESXCLI
IPv4 145
IPv6 146
manage VMkernel network interfaces with vicfg-
vmknic
IPv4 147
IPv6 147
multipathing
path management 50
setting round robin policy details 56
N
NAS
add 58
NAS
delete 58
managing with ESXCLI 58
managing with vicfg-nas 59
O
overview
command-line help 12
documentation 12
introduction 11
P
path information, listing 51
path management
multipathing 54
policies 54
path claiming rules
applying 114
loading 114
port group VLAN ID setup
ESXCLI 141
vicfg-vswitch 141
vSphere Command-Line Interface Concepts and Examples
172 VMware, Inc.