port-mac
Syntax
port-mac start-mac-address
undo port-mac
View
System view
Parameters
start-mac-address: Start MAC address for the Ethernet ports on the switch, in the format of H-H-H. It
must be a valid unicast address.
Description
Use the port-mac command to configure the start MAC address for the Ethernet ports on the device.
This MAC address is assigned to port Ethernet 1/0/1, and is called the start port MAC address.
Use the undo port-mac command to remove the configuration.
Examples
# Set the start port MAC address to 000f-e200-0001.
<Sysname> system-view
System View: return to User View with Ctrl+Z.
[Sysname] port-mac 000f-e200-0001
1-8