CollapseAll image

Set/Get Link Protection

The following steps describe how to manipulate link protection and get the link protection’s current state.

1.  Retrieve the instance of AMT_EthernetPortSettings where the “InstanceID’ keys equals “Intel® AMT Ethernet Port Settings 1” (wireless port).

This flow is relevant for cases in which a SOL/Remote Storage/KVM/remove access session is open over the wireless interface and the user wishes to make sure it is maintained across resets.  For this to occur, the link protection needs to be active.

2.  Retrieve the following AMT_EthernetPortSettings property using the Get method:

Property

Value

WLANLinkProtectionLevel (Read only)

Indicates whether the link is active, passive or override.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$ethernetPortSettingsRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_EthernetPortSettings WHERE InstanceID='Intel(r) AMT Ethernet Port Settings 1'")

$ethernetPortSettingsInstance =$ethernetPortSettingsRef.Get()

$linkProtection =$ethernetPortSettingsInstance.GetProperty("WLANLinkProtectionLevel")

 

 

 

 

 

3.  To cancel link protection, invoke AMT_EthernetPortSettings.CancelLinkProtection.

note-icon Note:

CancelLinkProtection can cancel the link protection for a maximum of 60 minutes.  Once this time expires, Link Protection will be restored automatically, if needed.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$ethernetPortSettingsRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_EthernetPortSettings WHERE InstanceID='Intel(r) AMT Ethernet Port Settings 1'")

$inputObject =$ethernetPortSettingsRef.CreateMethodInput("CancelLinkProtection")

$outputObject =$ethernetPortSettingsRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

 

 

 

4.  To restore link protection, invoke AMT_EthernetPortSettings.RestoreLinkProtection.

Click here for a snippet demonstrating this step

You can execute this snippet by inserting it into the execution template found here.

  

$ethernetPortSettingsRef =$wsmanConnectionObject.NewReference("SELECT * FROM AMT_EthernetPortSettings WHERE InstanceID='Intel(r) AMT Ethernet Port Settings 1'")

$inputObject =$ethernetPortSettingsRef.CreateMethodInput("RestoreLinkProtection")

$outputObject =$ethernetPortSettingsRef.InvokeMethod($inputObject)

$returnValue =$outputObject.GetProperty("ReturnValue")

 

 

 

 

Copyright © 2006-2022, Intel Corporation. All rights reserved.