大网数据广告活动
Hyper-V与虚拟化

CIM_EthernetPort class

· 52CE 我爱测

The CIM_EthernetPort class has these types of members:

Represents an ethernet port.

Syntax

[Abstract, Version("2.10.0"), UMLPackagePath("CIM::Device::Ports"), AMENDMENT]
class CIM_EthernetPort : CIM_NetworkPort
{
  uint16 PortType;
  string NetworkAddresses[];
  uint32 MaxDataSize;
  uint16 Capabilities[];
  string CapabilityDescriptions[];
  uint16 EnabledCapabilities[];
  string OtherEnabledCapabilities[];
};

Members

The CIM_EthernetPort class has these types of members:

Properties

The CIM_EthernetPort class has these properties.

Capabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_EthernetPort.CapabilityDescriptions")

The capabilities of the ethernet port.

Note:
If failover or load balancing capabilities are enabled, a CIM_SpareGroup (failover) or CIM_ExtraCapacityGroup (load balancing) object should also be defined to completely describe the capability.

Unknown (0)

Other (1)

AlertOnLan (2)

WakeOnLan (3)

FailOver (4)

LoadBalancing (5)

CapabilityDescriptions

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_EthernetPort.Capabilities")

An array of free-form strings that provides more detailed explanations for any of the features that are indicated in the Capabilities array. The items in this array correspond to the items in the Capabilities array.

EnabledCapabilities

Data type: uint16 array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_EthernetPort.Capabilities", "CIM_EthernetPort.OtherEnabledCapabilities")

Indicates which capabilities are enabled in the Capabilities array. The items in this array correspond to the items in the Capabilities array.

Unknown (0)

Other (1)

AlertOnLan (2)

WakeOnLan (3)

FailOver (4)

LoadBalancing (5)

MaxDataSize

Data type: uint32

Access type: Read-only

Qualifiers: MappingStrings ("MIB.IETF|BRIDGE-MIB.dot1dTpPortMaxInfo")

The maximum size of the INFO (non-MAC) field that will be received or transmitted.

NetworkAddresses

Data type: string array

Access type: Read-only

Qualifiers: Override ("NetworkAddresses")

The network addresses assigned to the port. The address is a 802.3 MAC that is formatted as twelve hexadecimal digits (for example, "010203040506"), where each pair of digits represents one of the six octets of the MAC address in canonical bit order.

OtherEnabledCapabilities

Data type: string array

Access type: Read-only

Qualifiers: ArrayType ("Indexed"), ModelCorrespondence ("CIM_EthernetPort.EnabledCapabilities")

An array of free-form strings that provide more detailed explanations for any of the EnabledCapabilities array items that are set to 1 (Other). The items in this array correspond to the items in the EnabledCapabilities array.

PortType

Data type: uint16

Access type: Read-only

Qualifiers: Override ("PortType")

The mode that is enabled on the port. When set to 1 (Other), the OtherPortType property describes the mode.

Unknown (0)

Other (1)

10BaseT (50)

10-100BaseT (51)

100BaseT (52)

1000BaseT (53)

2500BaseT (54)

10GBaseT (55)

10GBase-CX4 (56)

100Base-FX (100)

100Base-SX (101)

1000Base-SX (102)

1000Base-LX (103)

1000Base-CX (104)

10GBase-SR (105)

10GBase-SW (106)

10GBase-LX4 (107)

10GBase-LR (108)

10GBase-LW (109)

10GBase-ER (110)

10GBase-EW (111)

Vendor Reserved (16000..65535)

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Namespace Root\virtualization\v2
MOF WindowsVirtualization.V2.mof
DLL Vmms.exe

See also

CIM_NetworkPort

Source: Microsoft Learn / Windows Win32 documentation by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / Windows Win32 documentation
适用范围
Windows Win32 API · Source date 05/31/2018
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。