Hostsvc/net/vnic info: Difference between revisions
Jump to navigation
Jump to search
New page: ==== vimsh hostsvc/net/vnic_info ==== Usage: vnic_info [vnic] Gets information about virtual NICs. Category: Vimsh |
No edit summary |
||
Line 3: | Line 3: | ||
Gets information about virtual NICs. | Gets information about virtual NICs. | ||
==== example output ==== | |||
# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/net/vnic_info | |||
(vim.host.VirtualNic) [ | |||
(vim.host.VirtualNic) { | |||
dynamicType = <unset>, | |||
device = "vmk0", | |||
key = "key-vim.host.VirtualNic-vmk0", | |||
portgroup = "Management Network", | |||
spec = (vim.host.VirtualNic.Specification) { | |||
dynamicType = <unset>, | |||
ip = (vim.host.IpConfig) { | |||
dynamicType = <unset>, | |||
dhcp = true, | |||
ipAddress = "10.10.10.10", | |||
subnetMask = "255.255.255.0", | |||
}, | |||
mac = "00:0c:58:1d:ee:18", | |||
}, | |||
port = <vim.host.PortGroup.Port:key-vim.host.PortGroup.Port-25554131>, | |||
} | |||
] | |||
[[Category: Vimsh]] | [[Category: Vimsh]] |
Latest revision as of 00:58, 3 January 2009
vimsh hostsvc/net/vnic_info
Usage: vnic_info [vnic]
Gets information about virtual NICs.
example output
# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/net/vnic_info (vim.host.VirtualNic) [ (vim.host.VirtualNic) { dynamicType = <unset>, device = "vmk0", key = "key-vim.host.VirtualNic-vmk0", portgroup = "Management Network", spec = (vim.host.VirtualNic.Specification) { dynamicType = <unset>, ip = (vim.host.IpConfig) { dynamicType = <unset>, dhcp = true, ipAddress = "10.10.10.10", subnetMask = "255.255.255.0", }, mac = "00:0c:58:1d:ee:18", }, port = <vim.host.PortGroup.Port:key-vim.host.PortGroup.Port-25554131>, } ]