×

华为光猫 HN8255WS支持的模式:更换对应的光模块 改代码

lixiaoyao lixiaoyao 发表于2021-02-28 12:44:56 浏览5014 评论0

抢沙发发表评论





光模式代码(命令下载hw_boardinfohw_boardinfo.bak文件后上传替换)
注意版本区别:V300R016,V300R017,V300R018


修改hw_boardinfo和hw_boardinfo.bak文件:GPON  B+
obj.id = "0x00000001" ; obj.value = "1";
obj.id = "0x0000001d" ; obj.value = "1";

修改hw_boardinfo和hw_boardinfo.bak文件:GPON  C+
obj.id = "0x00000001" ; obj.value = "1";
obj.id = "0x0000001d" ; obj.value = "2";

修改hw_boardinfo和hw_boardinfo.bak文件:EPON
obj.id = "0x00000001" ; obj.value = "2";
obj.id = "0x0000001d" ; obj.value = "1";

修改hw_boardinfo和hw_boardinfo.bak文件:10G XG-PON
obj.id = "0x00000001" ; obj.value = "5";
obj.id = "0x0000001d" ; obj.value = "5";


修改hw_boardinfo和hw_boardinfo.bak文件:10G Epon XG-PON
obj.id = "0x00000001" ; obj.value = "6";
obj.id = "0x0000001d" ; obj.value = "3";

修改hw_boardinfo和hw_boardinfo.bak文件:10G Epon XG-PON (上下行对等)
obj.id = "0x00000001" ; obj.value = "7";
obj.id = "0x0000001d" ; obj.value = "5";

这里重点提示:下方代码为 XGS光模块 专用
修改hw_boardinfo和hw_boardinfo.bak文件:10G XGS-PON (上下行对等)
obj.id = "0x00000001" ; obj.value = "10";
obj.id = "0x0000001d" ; obj.value = "7";

`````````````````````````````````````````````````````````````````````````````````
注意版本区别:V300R019,V500R019开始多了一行代码

修改hw_boardinfo和hw_boardinfo.bak文件:GPON  B+
obj.id = "0x00000001" ; obj.value = "1";
obj.id = "0x0000001d" ; obj.value = "1";
obj.id = "0x00000059" ; obj.value = "1";

修改hw_boardinfo和hw_boardinfo.bak文件:GPON  C+
obj.id = "0x00000001" ; obj.value = "1";
obj.id = "0x0000001d" ; obj.value = "2";
obj.id = "0x00000059" ; obj.value = "1";

修改hw_boardinfo和hw_boardinfo.bak文件:EPON
obj.id = "0x00000001" ; obj.value = "2";
obj.id = "0x0000001d" ; obj.value = "1";
obj.id = "0x00000059" ; obj.value = "2";

修改hw_boardinfo和hw_boardinfo.bak文件:10G XG-PON
obj.id = "0x00000001" ; obj.value = "5";
obj.id = "0x0000001d" ; obj.value = "5";
obj.id = "0x00000059" ; obj.value = "5";

修改hw_boardinfo和hw_boardinfo.bak文件:10G Epon XG-PON
obj.id = "0x00000001" ; obj.value = "6";
obj.id = "0x0000001d" ; obj.value = "3";
obj.id = "0x00000059" ; obj.value = "6";

修改hw_boardinfo和hw_boardinfo.bak文件:10G Epon XG-PON (上下行对等)
obj.id = "0x00000001" ; obj.value = "7";
obj.id = "0x0000001d" ; obj.value = "5";
obj.id = "0x00000059" ; obj.value = "7";

这里重点提示:下方代码为 XGS光模块 专用
修改hw_boardinfo和hw_boardinfo.bak文件:10G XGS-PON (上下行对等)
obj.id = "0x00000001" ; obj.value = "10";
obj.id = "0x0000001d" ; obj.value = "7";
obj.id = "0x00000059" ; obj.value = "10";


`````````````````````````````````````````````````````````````````````````````````````````

访客