5.6.1 Obtain the MAC address of an NIC
Function
This component obtains the MAC address of the NIC recognized by the OS.
The following servers are required for this component:
- Execution target server
This is the server that executes the component to obtain the MAC address.
This component obtains up to 4 MAC addresses of the NIC recognized by the OS. Without a MAC address set for the NIC, no MAC address can be obtained.
Use situation
This component can be used to obtain the MAC address of an NIC recognized by the OS.
Prerequisites
For the latest support information about [Prerequisite product OS running in the execution target server], see the release notes.
In addition, the following OS and products use abbreviations. For the abbreviations of OS and products, see the "Preface".
[Prerequisite product OS running in the execution target server]
- Windows Server
[Usage conditions for required products on the execution target server]
None.
Version
02.00.00
Plug-in tags
Gather OS information,Windows
Plug-in name displayed in the task log
osGetNicMacaddress
Return code
0: Normal
27: Error (Check the task log for error details.)
Property list
The following table lists the properties:
|
Property key |
Property name |
Description |
Default value |
I/O type |
Required |
|---|---|---|---|---|---|
|
plugin.destinationHost |
Host name of the execution target server |
Specify the host name or IP address of the server on which this plugin will be executed. IPv6 addresses are not supported. |
-- |
Input |
R |
|
OS.returnNic1MacAddress |
NIC MAC address (for first NIC) |
Stores the MAC address of the first NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
|
OS.returnNic2MacAddress |
NIC MAC address (for second NIC) |
Stores the MAC address of the second NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
|
OS.returnNic3MacAddress |
NIC MAC address (for third NIC) |
Stores the MAC address of the third NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
|
OS.returnNic4MacAddress |
NIC MAC address (for fourth NIC) |
Stores the MAC address of the fourth NIC recognized by the OS of the execution target server. |
-- |
Output |
O |
|
common.returnValue |
Return value for the plugin |
The return value of this plugin stored. |
-- |
Output |
O |