VMware ESXi: A (incomplete) list of host commands Part 5

Hi,

some more commands…

Capture Network Packets on the a physical interface

pktcap-uw --uplink vmnic0

List all physical nic’s

esxcli network nic list

List kernel interfaces

esxcfg-vmknic -l

Show routing table

esxcli network ip route ipv4 list

Show arp cache

esxcli network ip neighbor list

List all vSwitches

esxcli network vswitch standard list
[/code>

Change the physical uplink of an vSwitch

esxcli network vswitch standard uplink remove -u vmnic0 -v vSwitch1
esxcli network vswitch standard uplink add -u vmnic1 -v vSwitch1

List all portgroups

esxcli network vswitch standard portgroup list

Add a new portgroup to a vSwitch

esxcli network vswitch standard portgroup add -p "PG vMotion" -v vSwitch0
[/code>

Add a Kernel interface to the new Portgroup

esxcfg-vmknic –a -i 192.168.254.5 -n 255.255.255.0 "PG vMotion"

Michael

Time limit is exhausted. Please reload CAPTCHA.

Original Theme by Schiy · Powered by WordPress