MAC address update procedure
1. Setup serial console access (default: 115200n8).
2. Reboot the system, and at the BIOS POST screen, press "Delete" key to go into BIOS setup
Version 2.19.1266. Copyright (C) 2021 American Megatrends, Inc.
BIOS Date: 06/23/2021 11:29:08 CSG1300 Ver: v46.01.05.00
Boot BIOS : Master BIOS
Press <DEL> or <ESC> to enter setup.
Entering Setup...
3. In BIOS setup, goto "Save & Exit" and select UEFI OS (P4: xxxxx) to go into DiagOS
Aptio Setup Utility - Copyright (C) 2021 American Megatrends, Inc.
Main Advanced IntelRCSetup Security Boot Save & Exit
/----------------------------------------------------+-------------------------\
| Save Options | |
| Save Changes and Reset | |
| Discard Changes and Reset | |
| | |
| Default Options | |
| Restore Defaults | |
| | |
| Boot Override | |
| P5: KINGSTON RBUSNS8180S3128GJ | |
| P4: TS16ZBTMM1600 |-------------------------|
| UEFI OS (P4: TS16ZBTMM1600) |><: Select Screen |
| UEFI: Built-in EFI Shell |^v: Select Item |
| |Enter: Select |
| |+/-: Change Opt. |
| |F1: General Help |
| |F2: Previous Values |
| |F3: Optimized Defaults |
| |F4: Save & Exit |
| |ESC: Exit |
\----------------------------------------------------+-------------------------/
Version 2.19.1266. Copyright (C) 2021 American Megatrends, Inc.
4. At the Shell bootloader, press "Enter" key to go into DiagOS
EFI Shell version 2.60 [5.13]
Current running mode 1.1.2
Device mapping table
fs0 :HardDisk - Alias hd33e65535a1 blk0
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x4,0xFFFF,0x0)/HD(1,GPT,AB88E51E-A490-40FF-BBE9-3C8F21F798AF,0x800,0x200000)
fs1 :HardDisk - Alias hd33e65535a2 blk1
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x4,0xFFFF,0x0)/HD(2,GPT,FB6851AE-7D51-46B0-B5B4-3D5ECD1FA8DA,0x200800,0x200000)
blk0 :HardDisk - Alias hd33e65535a1 fs0
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x4,0xFFFF,0x0)/HD(1,GPT,AB88E51E-A490-40FF-BBE9-3C8F21F798AF,0x800,0x200000)
blk1 :HardDisk - Alias hd33e65535a2 fs1
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x4,0xFFFF,0x0)/HD(2,GPT,FB6851AE-7D51-46B0-B5B4-3D5ECD1FA8DA,0x200800,0x200000)
blk2 :HardDisk - Alias (null)
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x5,0xFFFF,0x0)/HD(1,MBR,0x0000D93B,0x800,0xAE8B000)
blk3 :HardDisk - Alias (null)
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x5,0xFFFF,0x0)/HD(2,MBR,0x0000D93B,0xAE8BFFE,0x3FF0002)
blk4 :HardDisk - Alias (null)
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x5,0xFFFF,0x0)/HD(2,MBR,0x0000D93B,0xAE8BFFE,0x3FF0002)/HD(1,MBR,0x00000000,0xAE8C000,0x3FF0000)
blk5 :BlockDevice - Alias (null)
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x4,0xFFFF,0x0)
blk6 :BlockDevice - Alias (null)
PciRoot(0x0)/Pci(0x14,0x0)/Sata(0x5,0xFFFF,0x0)
Press ESC in 4 seconds to skip startup.nsh, any other key to continue.
5. At Linux cmd prompt, type in "onie_assign_mac.sh" to program the MACs. This will detect the base MAC and reprogram the MAC's automatically.
root@(none):/# onie_assign_mac.sh
Settings: I210-MGMT (1)
===
14: LAN MAC Address is AC4330F83957.
eeupdate64e /BUS=0x0f /DEV=00 /FUN=0 /MAC=AC4330F83957
Settings: Bluetooth
===
bdaddr -i hci0 AC:43:30:F8:39:58
Settings: X550-0 (2)
===
1: LAN MAC Address is AC4330F83959.
eeupdate64e /BUS=0x04 /DEV=00 /FUN=0 /MAC=AC4330F83959
2: LAN MAC Address is AC4330F8395A.
eeupdate64e /BUS=0x04 /DEV=00 /FUN=1 /MAC=AC4330F8395A
Settings: X710-0 (1)
===
3: LAN MAC Address is AC4330F8395B.
eeupdate64e /BUS=0x06 /DEV=00 /FUN=0 /MAC=AC4330F8395B
Settings: X710-1 (1)
===
4: LAN MAC Address is AC4330F8395C.
eeupdate64e /BUS=0x06 /DEV=00 /FUN=1 /MAC=AC4330F8395C
Settings: I350-0 (4)
===
9: LAN MAC Address is AC4330F8395D.
eeupdate64e /BUS=0x0c /DEV=00 /FUN=0 /MAC=AC4330F8395D
10: LAN MAC Address is AC4330F8395E.
eeupdate64e /BUS=0x0c /DEV=00 /FUN=1 /MAC=AC4330F8395E
11: LAN MAC Address is AC4330F8395F.
eeupdate64e /BUS=0x0c /DEV=00 /FUN=2 /MAC=AC4330F8395F
12: LAN MAC Address is AC4330F83960.
eeupdate64e /BUS=0x0c /DEV=00 /FUN=3 /MAC=AC4330F83960
Settings: I350-4 (4)
===
5: LAN MAC Address is AC4330F83961.
eeupdate64e /BUS=0x08 /DEV=00 /FUN=0 /MAC=AC4330F83961
6: LAN MAC Address is AC4330F83962.
eeupdate64e /BUS=0x08 /DEV=00 /FUN=1 /MAC=AC4330F83962
7: LAN MAC Address is AC4330F83963.
eeupdate64e /BUS=0x08 /DEV=00 /FUN=2 /MAC=AC4330F83963
8: LAN MAC Address is AC4330F83964.
eeupdate64e /BUS=0x08 /DEV=00 /FUN=3 /MAC=AC4330F83964
Settings: X553-0 (2)
===
15: LAN MAC Address is AC4330F83965.
eeupdate64e /BUS=0x11 /DEV=00 /FUN=0 /MAC=AC4330F83965
16: LAN MAC Address is AC4330F83966.
eeupdate64e /BUS=0x11 /DEV=00 /FUN=1 /MAC=AC4330F83966
Settings: X553-2 (2)
===
17: LAN MAC Address is AC4330F83967.
eeupdate64e /BUS=0x13 /DEV=00 /FUN=0 /MAC=AC4330F83967
18: LAN MAC Address is AC4330F83968.
eeupdate64e /BUS=0x13 /DEV=00 /FUN=1 /MAC=AC4330F83968
================
Settings done. Address changed - Reset device now.
5. Once done, please reboot the system and check the MAC's.
root@(none):/# reboot
Note: onie_assign_mac.sh script calls onie-syseeprom-cpu.sh to read the base MAC of system.
root@(none):/# onie-syseeprom-cpu.sh
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 144
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 7 CSG1300
Part Number 0x22 13 FP3VS1510000A
Serial Number 0x23 11 AACA2024002
Base MAC Address 0x24 6 AC:43:30:F8:39:57
Manufacture Date 0x25 19 07/07/2020 17:00:00
Label Revision 0x27 3 R0B
Accton Model 0x28 21 SAF1510I-0719-VSA-CPU
MAC Addresses 0x2A 2 32
Manufacturer 0x2B 6 Accton
Country Code 0x2C 2 TW
Vendor Name 0x2D 13 Versa-Network
Diag Version 0x2E 11 0b.0b.01.13
CRC-32 0xFE 4 0xC1128B25
Checksum is valid.
root@(none):/#
Here is how to reprogram the base MAC of the system
root@(none):/# onie-syseeprom-cpu.sh -s 0x24=AC:43:30:20:11:20
Adding TLV 0x24: Base MAC Address
Programming passed.
TlvInfo Header:
Id String: TlvInfo
Version: 1
Total Length: 52
TLV Name Code Len Value
-------------------- ---- --- -----
Product Name 0x21 7 CSG1300
Part Number 0x22 13 FP3VS1510004A
Serial Number 0x23 12 AACA20201120
Base MAC Address 0x24 6 AC:43:30:20:11:20
CRC-32 0xFE 4 0x0A972DD0
Checksum is valid.