# es4308cfg：还原 Edgecore ES4308-PoE 配置格式

> es4308cfg 通过对比交换机设置变更前后导出的配置文件，还原 Edgecore ES4308-PoE 的专有 NVRAM 配置格式。仓库记录 TLV 记录结构、校验和、混淆字符串及端口位映射，并提供 Rust 与 Python 编解码工具、Kaitai 规范和脱敏样本。

- 类型：案例
- 目标：固件
- 类别：独立重建案例
- 关联：独立重建项目
- 来源复核于：2026-11-06
- 收录于：2026-11-08
- 原始资源：<https://github.com/dlorent/es4308cfg>
- 一手来源：<https://github.com/dlorent/es4308cfg/blob/3435d03434009cee57c1a5421500b84fa6d661be/README.md>
- 目录页面：<https://awesomerea.org/zh/resources/es4308cfg-case/>
- 记录 JSON：<https://awesomerea.org/resources/es4308cfg-case/record.json>
- 英文版：[English](https://awesomerea.org/resources/es4308cfg-case/index.md)

## 使用条件与局限

- **前提条件：**Python 工具需要 Python 3.9 或更高版本；Rust 编解码器需要 Rust 与 Cargo。
- **测试证据：**作者报告只在一台 ES4308-PoE 上验证；其他设备及固件版本可能不同。
- **局限：**实时写入和恢复代码因一次 NVRAM 损坏事件而被隔离。
- **许可：**采用 MIT 许可证。

## 一手来源

1. <https://github.com/dlorent/es4308cfg/blob/3435d03434009cee57c1a5421500b84fa6d661be/README.md>
2. <https://github.com/dlorent/es4308cfg/blob/3435d03434009cee57c1a5421500b84fa6d661be/es4308cfg/docs/RE-NOTES.md>

## 同分区更多条目：固件与硬件

- [microfreak-emu：在 Renode 中重宿主 Arturia MicroFreak 固件](https://awesomerea.org/zh/resources/microfreak-emu-case/index.md) · 案例
- [Ledger Nano X board map：主板走线追踪与重建](https://awesomerea.org/zh/resources/ledger-nano-x-board-map-case/index.md) · 案例
- [Pulsar II：通过 Windows SCOPE 分析重建 Linux 支持](https://awesomerea.org/zh/resources/sonic-core-pulsar-ii-linux-driver-case/index.md) · 案例
- [Z80 NMOS Silicon-to-RTL CPU Core：用 Verilog 重建晶体管逻辑](https://awesomerea.org/zh/resources/z80-silicon-rtl-case/index.md) · 案例
- [miband11-watchface-maker：重建小米手环 11 的 .face 格式](https://awesomerea.org/zh/resources/miband11-watchface-maker-case/index.md) · 案例
- [fb200-tools：重构 FLAMMA FB200 固件及控制协议](https://awesomerea.org/zh/resources/fb200-tools-case/index.md) · 案例

## 关于此条目

说明已依据一手来源复核。
原创说明采用 MIT 许可；外部项目、论文与素材保留各自的权利和许可。
