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

CIM_VLANEndpoint class

· 52CE 我爱测

An endpoint on a switch or end station that is assigned to a VLAN, or accepts traffic from one or more VLANs.

An endpoint on a switch or end station that is assigned to a VLAN, or accepts traffic from one or more VLANs.

Syntax

[Abstract, Version("2.26.0"), UMLPackagePath("CIM::Network::VLAN"), AMENDMENT]
class CIM_VLANEndpoint : CIM_ProtocolEndpoint
{
  uint16 DesiredEndpointMode;
  string OtherEndpointMode;
  uint16 OperationalEndpointMode;
  uint16 DesiredVLANTrunkEncapsulation;
  string OtherTrunkEncapsulation;
  uint16 OperationalVLANTrunkEncapsulation;
  uint16 GVRPStatus;
};

Members

The CIM_VLANEndpoint class has these types of members:

Properties

The CIM_VLANEndpoint class has these properties.

DesiredEndpointMode

Data type: uint16

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.OperationalEndpointMode", "CIM_VLANEndpoint.OtherEndpointMode")

The requested VLAN mode for the endpoint.

DMTF Reserved (0)

Other (1)

Access (2)

Dynamic Auto (3)

Dynamic Desirable (4)

Trunk (5)

Dot1Q Tunnel (6)

DMTF Reserved (7..32767)

Vendor Reserved (..)

DesiredVLANTrunkEncapsulation

Data type: uint16

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_VLANEndpointCapabilities.SupportsTrunkEncapsulationNegotiation", "CIM_VLANEndpoint.OperationalVLANTrunkEncapsulation", "CIM_VLANEndpoint.OtherTrunkEncapsulation")

The requested VLAN encapsulation type.

Note:
This property is only used when the VLAN endpoint is in trunking mode.

DMTF Reserved (0)

Other (1)

Not Applicable (2)

802.1q (3)

Cisco ISL (4)

Negotiate (5)

DMTF Reserved (6..32767)

Vendor Reserved (32768..)

GVRPStatus

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.OperationalEndpointMode, CIM_VLANEndpointCapabilities.Dot1QTagging")

Indicates whether GARP VLAN Registration Protocol (GVRP) is enabled or disabled on the trunk endpoint.

Note:
This property is only used when GVRP is supported by the endpoint, and trunking mode is enabled.

Unknown (0)

Not Applicable (2)

Enabled (3)

Disabled (4)

OperationalEndpointMode

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.DesiredEndpointMode", "CIM_VLANEndpoint.OtherEndpointMode")

The current VLAN mode for the endpoint.

DMTF Reserved (0)

Other (1)

Access (2)

Dynamic Auto (3)

Dynamic Desirable (4)

Trunk (5)

Dot1Q Tunnel (6)

DMTF Reserved (7..32767)

Vendor Reserved (..)

OperationalVLANTrunkEncapsulation

Data type: uint16

Access type: Read-only

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.OtherTrunkEncapsulation", "CIM_VLANEndpoint.DesiredVLANTrunkEncapsulation")

The current VLAN encapsulation type.

Note:
This property is only used when the VLAN endpoint is in trunking mode.

Unknown (0)

Other (1)

Not Applicable (2)

802.1q (3)

Cisco ISL (4)

Negotiating (5)

DMTF Reserved (6..32767)

Vendor Reserved (32768..)

OtherEndpointMode

Data type: string

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.DesiredEndpointMode", "CIM_VLANEndpoint.OperationalEndpointMode")

The type of VLAN endpoint model that is supported by the VLANEndpoint when the value of DesiredEndpointMode is set to "1" (other); otherwise, NULL.

OtherTrunkEncapsulation

Data type: string

Access type: Read/write

Qualifiers: ModelCorrespondence ("CIM_VLANEndpoint.DesiredVLANTrunkEncapsulation", "CIM_VLANEndpoint.OperationalVLANTrunkEncapsulation")

The type of VLAN encapsulation that is supported by the VLAN endpoint when the value of the DesiredVLANTrunkEncapsulation property is set to 1 (other); otherwise, NULL.

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_ProtocolEndpoint

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)

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

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