Hostsvc/net/pnic info

From VI-Toolkit
Jump to navigation Jump to search

vimsh hostsvc/net/pnic_info

Usage: pnic_info [pnic]

Sets and displays the IP configuration for a physical network.

example output

# vmware-vim-cmd -H 10.10.10.10 -U root -P password /hostsvc/net/pnic_info
(vim.host.PhysicalNic) [
  (vim.host.PhysicalNic) {
     dynamicType = <unset>,
     key = "key-vim.host.PhysicalNic-vmnic0",
     device = "vmnic0",
     pci = "02:00.0",
     driver = "e1000",
     linkSpeed = (vim.host.PhysicalNic.LinkSpeedDuplex) {
        dynamicType = <unset>,
        speedMb = 1000,
        duplex = true,
     },
     validLinkSpecification = (vim.host.PhysicalNic.LinkSpeedDuplex) [
        (vim.host.PhysicalNic.LinkSpeedDuplex) {
           dynamicType = <unset>,
           speedMb = 10,
           duplex = false,
        },
        (vim.host.PhysicalNic.LinkSpeedDuplex) {
           dynamicType = <unset>,
           speedMb = 10,
           duplex = true,
        },
        (vim.host.PhysicalNic.LinkSpeedDuplex) {
           dynamicType = <unset>,
           speedMb = 100,
           duplex = false,
        },
        (vim.host.PhysicalNic.LinkSpeedDuplex) {
           dynamicType = <unset>,
           speedMb = 100,
           duplex = true,
        },
        (vim.host.PhysicalNic.LinkSpeedDuplex) {
           dynamicType = <unset>,
           speedMb = 1000,
           duplex = true,
        }
     ],
     spec = (vim.host.PhysicalNic.Specification) {
        dynamicType = <unset>,
        ip = (vim.host.IpConfig) {
           dynamicType = <unset>,
           dhcp = false,
           ipAddress = "",
           subnetMask = "",
        },
        linkSpeed = (vim.host.PhysicalNic.LinkSpeedDuplex) null,
     },
     wakeOnLanSupported = false,
     mac = "00:0c:29:2e:a7:1d",
  }
]