P_MACADDRESS#

code: 116

# set
<module-index>/<port-index> P_MACADDRESS <mac_address>

# get
<module-index>/<port-index> P_MACADDRESS ?

Description#

A 48-bit Ethernet MAC address specified for a port. This address is used as the default source MAC field in the header of generated traffic for the port, and is also used for support of the ARP protocol.

Actions#

set, get

Parameters#

  1. mac_address: hex6, the MAC address of the port

Example#

# set
input:  0/1 P_MACADDRESS 0x1234FFFFE1E2
output: <OK>

# get
input:  0/1 P_MACADDRESS ?
output: 0/1 P_MACADDRESS 0x1234FFFFE1E2