乐东黎族自治县网站建设_网站建设公司_小程序网站_seo优化
2026/1/18 12:41:53 网站建设 项目流程

由于刚开始接触网络运维这一块时,网上查不到太多实用的命令,基本靠同事指导和自己摸索,总结了一些常用的运维命令,希望能对你们有所帮助。

查非法onu
show interface epon-olt illegal-onu
show interface gpon-olt illegal-onu

onu踢下线
conf
interface epon-olt 1/3
no create epon-onu 4 (这个4是onu的id)

通过mac地址查在哪个pon口上线 (epon)
show interface epon-onu creation-information | include 8C9D(MAC后四位)

查onu的配置信息
show running-config epon-onu 6/10/4

查onu的基本信息
show epon-onu 6/10/4 detail-information

查onu端口状态
show epon-onu 6/10/4 uni ethernet information

通过loid或者sn查询onu的基本信息(gpon)
show int gpon-onu loid | in GZ456755YG

查mac地址有没有上来(gpon和epon)
show mac-address-table l2-address interface gpon-onu 15/14/31

show mac-address-table l2-address | include 8C9D(MAC后四位)

手动配置vlan
epon-onu uni ethernet x/x/x/口
vlan mode tagged
native vlan [vlanid]

修改OLT认证模式
config

nterface epon-olt x/x
authorization mode [mac & loid & none]

通过 ONU 的 MAC 地址,查看其连接的 OLT PON 接口和设备信息
show mac-address-table l2-address
show epon-onu x/x/x detail-information

查看pon口的光功率
config
interface epon-olt x/x
transceiver ddm enable
show interface epon-olt x/x ddm detail

保存 OLT 的配置。在特权模式下使用 write startup-config 命令
write startup-config

保存 ONU 的配置。在 ONU 配置模式下使用 write 命令
config
epon-onu x/x/x
write

恢复出厂配置(慎用)
config

erase startup-config

命令禁止系统日志输出到控制终端。
config

no logging monitor

通过 MAC 地址查找功能来确定链路
config

search epon-onu 12/3/2 mac-address-table

F4D9.C633.2BF8

通过 MAC 地址追踪功能来确定链路
trace mac-address F4D9.C633.2BF8

查看 OLT 端口状态
show interface epon-olt

查看上行端口流量
show interface ten-gigabitethernet

show interface ten-gigabitethernet x/x statistics dynamic

查onu光功率
show epon-onu 6/10/4 transceiver

查询某个pon口的设备信息
show run int epon-olt 4/2

查看单板在线信息
show interface gpon-onu 15/15/1-128 online-information

查看单板onu上线情况
show interface gpon-onu 15/15/1-128 creation-information
————————————————
版权声明:本文为CSDN博主「不知名程序员i」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.csdn.net/weixin_43899542/article/details/117409959

需要专业的网站建设服务?

联系我们获取免费的网站建设咨询和方案报价,让我们帮助您实现业务目标

立即咨询