CIM_NetworkPort class

A logical representation of a network port on a network device.

Syntax

[Abstract, Version("2.10.0"), UMLPackagePath("CIM::Device::Ports"), AMENDMENT]
class CIM_NetworkPort : CIM_LogicalPort
{
  uint64  Speed;
  string  OtherNetworkPortType;
  uint16  PortNumber;
  uint16  LinkTechnology;
  string  OtherLinkTechnology;
  string  PermanentAddress;
  string  NetworkAddresses[];
  boolean FullDuplex;
  boolean AutoSense;
  uint64  SupportedMaximumTransmissionUnit;
  uint64  ActiveMaximumTransmissionUnit;
};

Members

The CIM_NetworkPort class has these types of members:

Properties

The CIM_NetworkPort class has these properties.

ActiveMaximumTransmissionUnit

Data type: uint64

Access type: Read-only

Qualifiers: Units ("Bytes"), PUnit ("byte")

The active or negotiated maximum transmission unit (MTU) that is supported by the port.

AutoSense

Data type: boolean

Access type: Read-only

true if the port can automatically determine the speed or other communications characteristic of the attached network media; otherwise, false.

FullDuplex

Data type: boolean

Access type: Read-only

true if the port is operating in full duplex mode; otherwise, false.

LinkTechnology

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_NetworkPort.OtherLinkTechnology")

The link technology used by the port. When set to "1" (other), the OtherLinkTechnology property contains a description of the link type.

Unknown (0)

Other (1)

Ethernet (2)

IB (3)

FC (4)

FDDI (5)

ATM (6)

Token Ring (7)

Frame Relay (8)

Infrared (9)

BlueTooth (10)

Wireless LAN (11)

NetworkAddresses

Data type: string array

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Network Adapter 802 Port|001.3")

An array that contains the network addresses for the port.

OtherLinkTechnology

Data type: string

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_NetworkPort.LinkTechnology")

The link technology when LinkTechnology is set to "1", (other).

OtherNetworkPortType

Data type: string

Access type: Read-only

Qualifiers: Deprecated ("CIM_NetworkPort.OtherPortType"), ModelCorrespondence ("CIM_LogicalPort.PortType")

Note

Deprecated description: The module type of the port, when the PortType property contains 1 (other).

This property is deprecated. Instead, we recommend the PortType property in the CIM_LogicalPort class.

PermanentAddress

Data type: string

Access type: Read-only

Qualifiers: MaxLen (64), MappingStrings ("MIF.DMTF|Network Adapter 802 Port|001.2")

The network address that is hardcoded into a port. The hardcoded address can be changed using a firmware upgrade or a software configuration. When this change is made, this property should be updated at the same time. PermanentAddress should be left blank if the address doesn't exist.

PortNumber

Data type: uint16

Access type: Read-only

The port number of the network port. Network ports are often numbered relative to either a logical module or a network element.

Speed

Data type: uint64

Access type: Read-only

Qualifiers: Override ("Speed"), Units ("Bits per Second"), MappingStrings ("MIB.IETF|MIB-II.ifSpeed", "MIF.DMTF|Network Adapter 802 Port|001.5"), PUnit ("bit / second")

The current bandwidth of the port in bits per second. For ports that vary in bandwidth, or for those where no accurate estimation can be made, this property should contain the nominal bandwidth.

SupportedMaximumTransmissionUnit

Data type: uint64

Access type: Read-only

Qualifiers: Units ("Bytes"), PUnit ("byte")

The maximum transmission unit (MTU) that is supported by the port.

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_LogicalPort