Dell Lifecycle Controller 2 Version 1.3.0 Guia do Utilizador Página 199

  • Descarregar
  • Adicionar aos meus manuais
  • Imprimir
  • Página
    / 315
  • Índice
  • MARCADORES
  • Avaliado. / 5. Com base em avaliações de clientes
Vista de página 198
199 Dell Lifecycle Controller Web Services Interface Guide for Windows
15.14 Setting CNA LAN Modes
The SetAttributes() method is used to set or change the values of a group of NIC attributes.
Invoke SetAttributes() with the following parameters (from Section 15.1) and syntax:
Target: FQDD attained through DCIM_NICEnumeration
AttributeName: Attained from AttributeName field
AttributeValue: A new value to assign to the specified NICAttribute. If this value is valid, it will be applied to
the PendingValue property or the Currentvalue property of the specified NICAttribute. Possible choices are
attained from PossibleValues field.
EXAMPLE:
winrm i SetAttributes http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService ?SystemCreationClassName=DCIM_ComputerSystem
+CreationClassName=DCIM_NICService +SystemName=DCIM:ComputerSystem
+Name=DCIM:NICService -u:[USER] -p:[PASSWORD]
-r:https://[IPADDRESS]/wsman -SkipCNcheck -SkipCAcheck -encoding:utf-8 -a:basic
-file:SetAttributes_NIC.xml
The input file SetAttributes_NIC.xml is shown below:
<p:SetAttributes_INPUT xmlns:p="http://schemas.dmtf.org/wbem/wscim/1/cim-
schema/2/root/dcim/DCIM_NICService">
<p:Target>NIC.Embedded.1-1</p:Target>
<p:AttributeName>LegacyBootProto</p:AttributeName>
<p:AttributeValue>PXE</p:AttributeValue>
<p:AttributeName>LnkSpeed</p:AttributeName> <p:AttributeValue>10Mbps
Half</p:AttributeValue> <p:AttributeName>WakeOnLan</p:AttributeName>
<p:AttributeValue>Disabled</p:AttributeValue>
<p:AttributeName>VLanMode</p:AttributeName>
<p:AttributeValue>Enabled</p:AttributeValue>
<p:AttributeName>IscsiTgtBoot</p:AttributeName> <p:AttributeValue>One Time
Disabled</p:AttributeValue>
</p:SetAttributes_INPUT>
OUTPUT:
SetAttributes_OUTPUT
Message = The command was successful
MessageID = NIC001
Vista de página 198
1 2 ... 194 195 196 197 198 199 200 201 202 203 204 ... 314 315

Comentários a estes Manuais

Sem comentários