6.0
Table Of Contents
- Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
VMware, Inc. 22
Command-Line Management in vSphere 5 and vSphere 6 for Service Console Users
esxcfg-route
Theesxcfg-routecommandhasequivalentESXCLIcommands.Thenewcommandsethasenhanced
functionality.
esxcfg-scsidevs
Theesxcfg-scsidevscommandhasequivalentESXCLIcommandsforsomeoftheoptions.
Table 14. esxcfg-hwiscsi Replacement Commands
esxcfg-hwiscsi Option ESXCLI Command Description
-l iscsi physicalnetworkportal param get Listcurrent
configuration
-a [allow | deny]
<vmkernel_SCSI_adapter>
1.Findtheadapter.
iscsi adapter list
2.GetARPredirectioninformation.
iscsi physicalnetworkportal param get -A vmhba4
3.EnableARPredirect.
iscsi physicalnetworkportal param set --option
ArpRedirect=true -A vmhba4
AllowordenyARP
redirectiononthe
adapter.
-j [enable | disable]
<vmkernel_SCSI_adapter>
1.Findtheadapter.
iscsi adapter list
2.Getjumboframeinformation.
iscsi physicalnetworkportal param get -A vmhba4
3,SetMTUto9000toenablejumboframes.
set the mtu to 9000 to enable jumbo frames.
esxcli iscsi physicalnetworkportal param set
-o=MTU -v=9000 -A vmhbaXX
YoucanlatersetMTUback
to1500todisablejumboframes.
esxcli iscsi physicalnetworkportal param set
-o=MTU -v=1500 -A vmhbaXX
Enableordisable
jumboframesupport.
Table 15. esxcfg-rout Replacement Commands
esxcfg-route Option ESXCLI Command Description
add network ip route ipv4 add
network ip route ipv6 add
AddsanIPv4orIPv6route.Youspecifythegateway
andthenetwork.
del network ip route ipv4
remove
network ip route ipv6
remove
RemoveanIPv4orIPv6route.Youspecifythegateway
andthenetwork.
list network ip route ipv4 list
network ip route ipv6 list
ListsconfiguredIPv4orIPv6routs
--family Includedinthecommandasanamespace.
Table 16. esxcfg-scsidevs Replacement Commands
esxcfg-scsidevs Option ESXCLI Command Description
-a |--hbas storage core adapter
list
PrintthemappingsforeachSCSIhostbusadapter(HBA)to
theinformationaboutthatadapter.
-l | --list storage core device
list
Listallthestoragedevicesknowntothesystem,including
bothSCSIandnon-SCSIdevices.Thelistcanbefilteredusing
the--deviceoptiontolimittheoutputtospecificdevice.










