华为MA5680T OLT GPON/EPON配置指导 | 您所在的位置:网站首页 › 华为5626onu配置 › 华为MA5680T OLT GPON/EPON配置指导 |
MA5680T配置指导(适用于V800R006C02版本)《1-常用命令》//登陆用户名root,密码 adminMA5680T>enable //打开特权EXECMA5680T#config //进入终端配置模式MA5680T(config)#sysname SJZ-HW-OLT-1 //设备命名 (一般为开局配置)MA5680T(config)#switch language-mode //切换语言,可以在中英文语言中转换。MA5680T (config) #terminal user name //添加操作用户huawei User Name(length):huawei //设置用户名 User Password(length):huawei123 //要求输入密码.输入部分实际为不可见的 Confirm Password(length): huawei123 //要求再次确认一遍密码 User profile name(EPON MA562x/MA561x系列设备:ont add 0 0 mac-auth 0000-0000-0000 snmp ont-lineprofile-id 1 des To_>EPON MA5606T系列设备/H81x系列设备ont add 0 0 mac-auth 0000-0000-0000 oam ont-lineprofile-id 1 des To_>UA5000系列走epon上行ont add 0 0 mac-auth 0000-0000-0000 oam ont-lineprofile-id 1 des To_//添加SNMP参数,(凡通过SNMP管理方式注册的ONU终端,需要远程下发SNMP)ont snmp-profile 0 1 profile-id 1//配置ONU的管理信息,(凡通过SNMP管理方式注册的ONU终端,需要配置远程管理)ont ipconfig 0 1 ip-address 172.16.21.3 mask 255.255.255.0 gateway 172.16.21.1 manage-vlan 99 priority 0//退出PON板模式quit//配置业务流PVC,创建vlan交换service-port vlan 10 epon 0/1/0 ont 0 multi-service user-vlan 10 inbound traffic-table index 6 outbound traffic-table index 6service-port vlan 99 epon 0/1/0 ont 0 multi-service user-vlan 99 inbound traffic-table index 6 outbound traffic-table index 6service-port vlan * epon 0/1/0 ont 0 multi-service user-vlan * inbound traffic-table index 6 outbound traffic-table index 6//保存数据save情景二:普通业务,GPON组网,下挂ONU终端。MA5680T(config)#interface gpon 0/1 //进入到GPON单板模式。//注册或者确认ONU终端,可以实现离线添加数据,但要清楚设备上联端口和地址码信息。>GPON MA562x/MA561x系列设备:ont add 0 0 sn-auth 0000000000000000 snmp ont-lineprofile-id 1 des To_//添加SNMP参数,(凡通过SNMP管理方式注册的ONU终端,需要远程下发SNMP)ont snmp-profile 0 0 profile-id 1//配置ONU的管理信息,(凡通过SNMP管理方式注册的ONU终端,需要配置远程管理)ont ipconfig 0 0 static ip-address 172.16.21.3 mask 255.255.255.0 gateway 172.16.21.1 vlan 99 priority 0//退出PON板模式quit//配置业务流PVC,创建vlan交换service-port vlan 10 gpon 0/1/0 ont 0 gemport 1 multi-service user-vlan 10 rx-cttr 6 tx-cttr 6service-port vlan 99 gpon 0/1/0 ont 0 gemport 1 multi-service user-vlan 99 rx-cttr 6 tx-cttr 6service-port vlan 222 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 222 rx-cttr 6 tx-cttr 6//保存数据save情景三:FTTH业务,GPON组网,下挂ONT终端。MA5680T(config)#interface gpon 0/1 //进入到GPON单板模式。//注册或者确认ONT终端,可以实现离线添加数据,但要清楚设备上联端口和地址码信息。ont add 0 0 sn-auth 0000000000000000 omci ont-lineprofile-id 24 ont-srvprofile-id 24 des To_//添加ONT的native-vlanont port native-vlan 0 0 iphost vlan 10 //iphost是个虚拟端口,是ONT的管理通道和语音通道ont port native-vlan 0 0 eth 1 vlan 11ont port native-vlan 0 0 eth 2 vlan 12ont port native-vlan 0 0 eth 3 vlan 13ont port native-vlan 0 0 eth 4 vlan 14quit//添加业务虚接口,这里数据业务采用了地址转换。service-port vlan 10 gpon 0/1/0 ont 0 gemport 1 multi-service user-vlan 10 rx-cttr 6 tx-cttr 6service-port vlan 222 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 11 tag-transform translate-and-add inner-vlan 501 inner-priority 0 rx-cttr 6 tx-cttr 6service-port vlan 222 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 12 tag-transform translate-and-add inner-vlan 502 inner-priority 0 rx-cttr 6 tx-cttr 6service-port vlan 222 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 13 tag-transform translate-and-add inner-vlan 503 inner-priority 0 rx-cttr 6 tx-cttr 6service-port vlan 222 gpon 0/1/0 ont 0 gemport 2 multi-service user-vlan 14 tag-transform translate-and-add inner-vlan 504 inner-priority 0 rx-cttr 6 tx-cttr 6save>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>维护类操作:查看设备单板状态:display board 0 ------------------------------------------------------------------------- SlotID BoardName Status SubType0 SubType1 Online/Offline ------------------------------------------------------------------------- 0 1 H802EPBC Normal //EPBC单板,默认为4个端口,从0-3 2 H801EPBA Normal //EPBA单板,默认为4个端口,从0-3 3 H802GPBD Normal //GPBD单板,默认为8个端口,从0-7 4 H801GPBC Normal //GPBC单板,默认为8个端口,从0-7 5 6 7 H801SCUL Active_normal //SCUL主控板,管理控制系统的运行。配置信息都保存在此板中 8 H801SCUL Standby_normal //SCUL为主备用,一般设备都带2块SCUL板 9 10 11 12 13 14 15 16 17 H801GICF Normal //OLT的千兆口上行板GICF,带2个GE 光口,端口0-1 18 H801X2CA Normal //OLT的万兆口上行板X2CA,带2个10GE光口,端口0-1 19 20 -------------------------------------------------------------------------//查看设备端口状态display board 0/1 --------------------------------------- Board Name : H802EPBC Board Status : Normal --------------------------------------- ------------------------------------------ Port Port type ------------------------------------------ 0 EPON 1 EPON 2 EPON 3 EPON ------------------------------------------ ------------------------------------------------------------------------------ F/S/P ONT-ID MAC Control Run Config Match flag state state state ------------------------------------------------------------------------------ 0/13/0 1 0025-9E09-84F1 active up normal match //正常的设备状态. 0/13/0 2 0025-9E09-8C03 active up normal match 0/13/0 3 0025-9E09-8B6B active up normal match 0/13/0 4 0025-9E09-8C07 active up normal match 0/13/0 5 0025-9E09-8A47 active up normal match 0/13/0 6 0025-9E09-8B43 active up normal match ------------------------------------------------------------------------------ In port 0, the total of ONTs are: 6 ------------------------------------------------------------------------------ F/S/P ONT-ID MAC Control Run Config Match flag state state state ------------------------------------------------------------------------------ 0/13/1 1 0025-9E89-E637 active up normal match 0/13/1 2 0025-9E50-56D7 active up normal match 0/13/1 3 0025-9E78-37F8 active down initial initial //故障的设备状态. 0/13/1 4 0025-9E50-56CF active down initial initial 0/13/1 5 0025-9E89-E63D active down initial initial 0/13/1 6 0025-9E09-6859 active up normal match 0/13/1 7 0025-9E50-56AB active up normal match ------------------------------------------------------------------------------ In port 1, the total of ONTs are: 7 In port 2, the total of ONTs are: 0 In port 3, the total of ONTs are: 0//有故障的设备,引起故障的原因可能是因为光路不通,或者设备掉电与设备故障.需要根据实际情况排查.//ONU通过单芯联到分光器,再通过分光器联结至OLT的PON口,通过MAC地址注册到OLT.通过各PON口下的ONU ID识别区分.//查看全局配置命令,也可以通过匹配符或者section细节查看具体配置信息display current-configuration //匹配符| 后面通过 include 匹配字母,列出配置信息:display current-configuration | include vlan //section细节比较具体.OLT配置信息分以下几个细节: 全球配置信息,包括设备的命名,添加的用户帐户信息.各种能力集配置信息,以及线路参数全局配置等. 设备单板信息,槽位号,单板名称. 设备的SNMP参数设置,, 设备的vlan配置,以及透传的上行口,各vlan子接口所设置的地址参数.,,... 设备各单板配置的ONU数据信息.包括注册的MAC地址,分配的ONU ID,采用的线路模板,设备管理地址,管理vlan等. 主要是配置的保存参数 配置的电源参数 配置的风扇参数 配置的自动备份参数 添加的pvc信息 设备维护网口的配置信息 设备设置的安全参数 设备配置中的路由参数,以及允许访问的用户帐户 //举例,查看配置中所有的vlan配置细节.display current-configuration section vlan //进入EPON单板,查看设备注册的情况interface epon 0/1display ont info 0 1 --------------------------------------------------------------------- F/S/P : 0/1/0 //设备机框/槽位/端口 ONT-ID : 1 //ONU注册到OLT,分配的ONU ID. 为开局手动添加的. Control flag : active //配置状态,激活可用. Run state : down // 设备状态 离线. 原因可能为光路不通,或者设备down机 Config state : initial //配置状态为 初始状态(initial),待设备上线之后方能正常. Match state : initial //配置状态为 初始状态(initial) ONT LLID : - Authentic type : MAC-auth //认证方式(即注册到OLT的方式),通过MAC地址注册. MAC : 0025-9E8E-90AA //上报的MAC地址信息. Management mode : SNMP //对于MA561X和 MA562X,都是通过SNMP管理方式实现OLT对ONU的管理. Multicast mode : CTC SNMP profile ID : 1 SNMP profile name : MDU //ONU采用的SNMP模板名称. Description : 603-2_TZJY-3#1DY-F7-MA5620 //设备描述,手动添加的部分. Last down cause : dying-gasp //最后一次离线原因. Last up time : 2010-03-24 17:11:14 //最后一次上线时间 Last down time : 2010-03-28 08:52:14 //最后一次下线时间 Last dying gasp time : 2010-03-28 08:52:14 //最后一次dying gasp时间 --------------------------------------------------------------------- Line profile ID : 1 //所采用的线路模板编号 Line profile name : MDU //所采用的线路模板名称 --------------------------------------------------------------------- FEC switch :Disable //FEC开关关闭状态. Encrypt type :off //加密类型 DBA Profile-ID :9 //采用的DBA模板编号.9为系统自带的模板. Traffic-table-index :6 //采用的流量控制模板索引.6一般为不限速流量控制 Dba-threshold : //DBA序列,暂无实际意义. --------------------------------------------------------------------- Queue-set-index Q1 Q2 Q3 Q4 Q5 Q6 Q7 Q8 --------------------------------------------------------------------- 1 - - - - - - - - 2 - - - - - - - - 3 - - - - - - - - ---------------------------------------------------------------------//查看用户mac地址上报情况.display mac-address all//查看vlan XXX下学习到的地址信息,对于断定ONU用户故障,一般不要采用此方法.会查不出来.display mac-address vlan XXX.//而应该采用查询端口下MAC地址学习情况,需要知道用户所在ONU具体注册的PON口信息.display mac-address port 0/1/0 //对于配置错误的onu,如何添加删除或者更改配置资料,可以参考以下命令.1.因为ONU故障,用其他相同设备类型的ONU替换.通过自动发现命令,查看新上报的ONU 地址信息.按:display ont autofind all //目的:记录新的ONU 的MAC地址 1111-1111-1111进入待替换的故障ONU所注册的单板interface epon 0/1 //此处可以通过查看PON口下设备状态来获取需要替换的ONU ID.假设故障设备位于2端口,ID为6ont modify 2 6 mac 1111-1111-1111 //替换设备.结束后需要通过旧的管理地址(管理地址不变)登陆到设备中,补全设备信息.添加业务数据.结果注意保存(OLT上以及ONU上的)2.因为设备迁移,设备所注册的PON口有变,则旧数据需要删除,重新添加到新上报的端口中. MAC地址在OLT内不可冲突,否则添加不成功;因此需要删除与设备端口ID有关的相关配置,再进行添加操作. 需要查询到此设备MAC地址原有的注册端口和ONU ID,删除与此有关的所有信息(包括pvc和原有PON口下的ONU ID信息) 假设已知设备原来注册端口为 0/2/2, ONU ID 为6 首先查询pvc信息. display service-port port 0/2/2 //查看0/2/2 ID为6的所有pvc id ---------------------------------------------------------------------------- INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE ID ATTR TYPE TYPE PARA ---------------------------------------------------------------------------- 8 99 common epon 0/2 /1 3 - vlan 99 - - down 9 99 common epon 0/2 /1 4 - vlan 99 - - up 10 99 common epon 0/2 /2 5 - vlan 99 - - up 11 99 common epon 0/2 /2 6 - vlan 99 - - down 12 99 common epon 0/2 /2 7 - vlan 99 - - upundo service-port 11 //需要将所有与0/2/2 onu id为6的pvc信息都删除,否则无法执行后面的操作.interface epon 0/2 // 进入原来注册的PON口下ont delete 2 6 // 删除ONU注册信息.interface epon 0/1 //进入新的pon口下,添加ONU信息(略)service-port vlan 99 epon 0/1/0 ont 1 multi-service user-vlan 99 //添加新的pvc信息.保存数据,至此设备添加完毕.登陆到设备上去,添加新的业务数据. 一、 设备数据配置及查询查看10槽位EPON板配置MA5680T(config)#display current-configuration section epon-0/10{ || }: Command: display current-configuration section epon-0/10[MA5600V800R105: 5033]#[epon] interface epon 0/10 port 0 ont-auto-find enable ont add 0 0 mac-auth 0025-9E64-5C46 profile-id 12 desc "ONT_NO_DESCRIPTION" dba-profile 11 ont add 0 1 mac-auth 0025-9E64-5B43 profile-id 12 desc "ONT_NO_DESCRIPTION" ont snmp 0 1 v1 "public" "private" 10.50.58.2 161 "huawei" ont add 0 2 mac-auth 0025-9E62-7E0B profile-id 12 desc "ONT_NO_DESCRIPTION" dba-profile 11 ont snmp 0 2 v1 "public" "private" 10.50.58.2 161 "huawei" ont add 0 3 mac-auth 0025-9E8D-F5ED profile-id 12 desc "ONT_NO_DESCRIPTION" ont add 0 4 mac-auth 0025-9E8D-F5A8 profile-id 12 desc "ONT_NO_DESCRIPTION" ont add 0 5 mac-auth 0025-9E8D-F5C9 profile-id 12 desc "ONT_NO_DESCRIPTION" ont ipconfig 0 0 ip-address 10.50.234.66 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 0 1 ip-address 10.50.234.67 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 0 2 ip-address 10.50.234.68 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 0 3 ip-address 10.50.234.74 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 0 4 ip-address 10.50.234.75 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 0 5 ip-address 10.50.234.76 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 port 1 ont-auto-find enable ont add 1 0 mac-auth 0025-9E8E-7969 profile-id 12 desc "ONT_NO_DESCRIPTION" ont ipconfig 1 0 ip-address 10.50.234.70 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 port 2 ont-auto-find enable ont add 2 1 mac-auth 0018-82EB-3814 profile-id 12 desc "ONT_NO_DESCRIPTION" ont add 2 2 mac-auth 0018-82E7-002B profile-id 12 desc "ONT_NO_DESCRIPTION" ont ipconfig 2 1 ip-address 10.50.234.72 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 ont ipconfig 2 2 ip-address 10.50.234.73 mask 255.255.255.0 gateway 10.50.234.1 manage-vlan 3334 port 3 ont-auto-find enable#returnMA5680T(config)# 查看10槽位下ONUMA5680T(config)#display board 0/10 --------------------------------------- Board Name : H801EPBA Board Status : Normal --------------------------------------- ------------------------------------------ Port Port type ------------------------------------------ 0 EPON 1 EPON 2 EPON 3 EPON ------------------------------------------ ----------------------------------------------------------------------------- F/S/P ONT-ID MAC Control Run Config Match Loopback Flag State State State State ----------------------------------------------------------------------------- 0/10/0 0 0025-9E64-5C46 active up normal match disable 0/10/0 1 0025-9E64-5B43 active up normal match disable 0/10/0 2 0025-9E62-7E0B active up normal match disable 0/10/0 3 0025-9E8D-F5ED active up normal match disable 0/10/0 4 0025-9E8D-F5A8 active up normal match disable 0/10/0 5 0025-9E8D-F5C9 active up normal match disable ----------------------------------------------------------------------------- In port 0, the total of ONTs are: 6 ----------------------------------------------------------------------------- F/S/P ONT-ID MAC Control Run Config Match Loopback &nb |
CopyRight 2018-2019 实验室设备网 版权所有 |