Tuesday, January 21, 2014

vmware command

Show list host on vmwere:
       vim-cmd vmsvc/getallvms

Show/Add/Remove route
       esxcli network ip route ipv4 list | add | remove
       Ref: www.vmware.com

Show Interface
       esxcfg-nics -l
       esxcfg-vswitch -l

Show IP
esxcli network ip interface ipv4 get

Set IP 
    esxcli network ip interface ipv4 set -i vmk1 -I 10.27.51.143 -N 255.255.255.0 -t static



No comments: