sonic-swss icon indicating copy to clipboard operation
sonic-swss copied to clipboard

What is the command to change the MAC address of each port?

Open doicom opened this issue 7 years ago • 4 comments

Hi all, I'm sorry if the location of the question is wrong.

Checking the source "orchagent - m cc: 37: ab: c 8: 54: 0 c" seems to change the MAC address. With the latest SONiC binary, this command could not be used.

Equipment: AS 5712
SONiC Software Version: SONiC.HEAD.664 - c 822b 3c
Distribution: Debian 8.11
Kernel: 3.16.0-5-amd64

What other methods are available to change the MAC address of the port? The default MAC address is the same for each port, but can I change it? Can I change the setting with ifconfig? Example: sudo ifconfig Ethernet 30 hw ether cc: 37: ab: c 8: 54: 0 c

doicom avatar Aug 31 '18 08:08 doicom