setMacAddress CLI command

Use the setMacAddress command to change the MAC address for an Ethernet port (or both ports). To look up a port's current MAC address, use the viewMacAddress command or refer to the Drives > Ethernet Ports GUI page.

Syntax

setMacAddress -portxAddress {DEFAULT|<MAC-address>} [-portxAddress {DEFAULT|<MAC-address>}] <-f# -c# -r#> -ssl

Parameters

-portxAddress {DEFAULT|<MAC-address>}
(Required.) The port ID and the new MAC address, where:
  • -portxAddress is either -port0Address or -port1Address.
  • DEFAULT returns the MAC address to its default setting.
  • <MAC-address> is the new MAC address, expressed as a 12-digit hexadecimal number. It can be entered either with or without colons (for example, 00:1a:64:eb:04:83 and 001a64eb0483 are both acceptable).
<-f# -c# -r#>
(Required.) The location of the drive, where:
  • -f# = frame number
  • -c# = column number
  • -r# = row number
-ssl
Required if SSL (HTTPS) is enabled.

Example command

setMacAddress -port0Address 00:1a:64:eb:04:83 -port1Address 001a64eb0484 -f1 -c4 -r1

Example output

MAC address(es) updated.