开局
board confirm 0
interface gpon 0/1
port 0 ont-autofind enable 做到 7
dba-profile add profile-id 10 type3 assure 10240 max
ont-lineprofile gpon profile-id 2
tcont 1 Dba-profile-ID 10
不用管那个
gem add 0 eth tcont 1
gem mapping 0 0 vlan 2
commit quit ok
///////////////////////////////////////////////////////////
记住这几部 等会 从 id3 开始 做到 id10
ont-srvprofile gpon profile-id 2
ont-port eth 1 pots 1
port vlan eth 1 2(vlan)
commit
20480 quit
vlan 2 to 10 smart
port vlan 2 to 10 0/上行板的槽位 0 上行板 是 多少槽位
disp boa 0
Onu注册
interface gpon 0/1(0/1
MA5680T(config-if-gpon-0/1)#display ont autofind
第一块业务版0/2第二块业务版)
0(端口) display ont info
0 all //查看ONT的状态
---------------------------------------------------------------------- --
Number : 1 F/S/P : 0/1/0
Ont SoN : 485754434105041E
Password : 0x00000000000000000000 Loid : Checkcode :
VendorID : HWTC Ont Version : 4D2.A
Ont SoftwareVersion : V3R012C00S100 Ont EquipmentID : 110F
Ont autofind time : 2014-08-28 16:20:04+08:00
---------------------------------------------------------------------- --
MA5680T(config-if-gpon-0/1)#ont add 0(接口) sn-auth 485754434105041E omci ont-lineprofile-id 2 ont-srvprofile-id 2 (2为VLAN)
{
Command:
ont add 0 sn-auth 485754434105041E omci ont-lineprofile-id 2
ont-srvprofile-id 2
Number of ONTs that can be added: 1, success: 1 PortID :0, ONTID :0
MA5680T(config-if-gpon-0/1)#quit
MA5680T(config)#service-port vlan 2(vlan0 multi-service user-vlan 2(vlan
号) gpon 0/1/0 ont 0(ont号) gemport
号)
{
Command:
service-port vlan 2 gpon 0/1/0 ont 0 gemport 0 multi-service user-vlan 2
MA5680T(config)#interface gpon 0/1(0/1
第一块业务版0/2第二块业务
版)
MA5680T(config-if-gpon-0/1)#ont port native-vlan 1(端口号) vlan 2
0(ont号) eth 1
限速:
可以使用如下命令查询ONU系统内存在的CAR模板信息: MA5620G(config)#display traffic table ip from-index 0
Traffic table ip index 12 cir 10240 pir 10240 priority 0 priority-policy tag-in-package Disp service-port port 0/0/1
Int G0/1
Ont port car 0 0 eth outbound 12
service-port vlan 10 gpon 0/1/1 ont 7 gemport 0 multi-service
tag-transform translate outbound index 12
Service-port
举例:增加用户huawei1234,指定用户操作级别为Administrator、绑定用户模板为缺省模板、可重复登录数为1。 huawei#terminal user name
User Name(length<6,15>):huawei1234 User Password(length<6,15>): Confirm Password(length<6,15>):
User profile name(<=15 chars)[root]: User's Level:
1. Common User 2. Operator 3. Administrator:3 Permitted Reenter Number(0--4):1 User's Appended Info(<=30 chars): Adding user succeeds Repeat this operation? (y/n)[n]:
举例:管理员更改普通用户级用户shenzhen的口令。 huawei#terminal user password User name (<=15 chars):shenzhen New password(<=15 chars): Confirm Password(<=15 chars): Information takes effect
Repeat this operation? (y/n)[n]:n
取消光猫注册:
Display board 0/1查看所有ont
在接口下:int gpon 0/1 display ont port attribute 1(接口) 0(ont-id) eth
display service-port port 0/1/1
{
Command:
display service-port port 0/1/1 Switch-Oriented Flow List
----------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA ----------------------------------------------------------------------------
10 3 common gpon 0/1 /1 0 0 vlan 3 - - up
-------------------------------------------------------
---------------------
Total : 1 (Up/Down : 1/0)
undo service-port 10
display ont info by-sn 485754434105041E interface gpon 0/1 ont delete 0 22
查询ONU注册状态:|
display board 0/1
------------------------------------------------------------------------------
框/槽/端口 ONT 序列号 控制 运行 配置 匹配 DBA 编号 标志 标志 状态 状态 方式 ------------------------------------------------------------------------------
0/ 1/3 0 4857544369CEBF06 激活 在线 正常 匹配 SR ------------------------------------------------------------------------------
端口3下, ONT总数为: 1 查询HG850A收光功率
HAJF-OLT_MA5680T(config-if-gpon-0/1)#display ont optical-info 3 0
检查是否为VLAN 绑定上行口
使用display vlan命令检查是否为网络侧VLAN增加了上行口。若没有则使用port vlan命令指定VLAN上行口。 检查业务流配置是否正确
使用display service-port all命令查询业务流配置是否正确。
使用display ont-srvprofile命令查询ONU的端口VLAN 配置是否与业务流对
相关推荐: