运营商接入网学习笔记

一、OLT?

1、进入MA5680T后进入终端配置模式进行操作,进入此模式的方法为:?
?
MA5680T>enable??
MA5680T#config?
MA5680T(config)#

  1. 查看自动发现的ONU
    MA5680T(config)#display ont autofind all

  2. 查看端口下ONU的状态
    MA5680T(config)#interface gpon(框/槽)
    MA5680T(config-if-gpon-0/1)#display ont info (口) all
    如:需要查看0/1/2端口下的ONU状态:
    MA5680T(config)#interface gpon 0/1
    MA5680T(config-if-gpon-0/1)#display ont info 2 all

  3. 查看ONU的详细信息(ONU最近上下线的时间及原因等信息):
    MA5680T(config)#interface gpon(框/槽)
    MA5680T(config-if-gpon-0/1)#display ont info (口)(ONT ID
    如:查看0/1/2端口下ONT ID 为0 的信息:
    MA5680T(config)# interface gpon 0/1
    MA5680T(config-if-gpon-0/1)#display ont info 0 0

二、ONU

  1. 查看端口状态:
    查看MA5626下端口的状态: 若端口为 激活 则已经打开,若为 去激活 则为关闭
    MA5626(config)#display board 0/1

  2. 关闭或打开端口
    MA5626(config)# interface eth 0/1
    MA5626(config-if-eth-0/1)#undo shutdown (端口号) 打开端口
    MA5626(config-if-eth-0/1)#shutdown (端口号) 关闭端口
    MA5680T (config)#display board 0 查看所有的单板 0 是框号
    MA5680T (config)# interface gpon 0/1进入GPON命令模式 1是PON口号
    MA5680T(config-if-gpon-0/1)# port 0 ont-auto-find enable 0是 端口号

1、通过端口查看ONU的mac-address
MA5680T (config)# display mac-address port 0/1/0 (0/1/0是框号/槽号/端口号)

2、通过VLAN查看ONU的mac-address
MA5680T (config)# display mac-address vlan 100 ( 100是VLAN id)

3、查看ONU的service-port 信息
MA5680T(config)#display service-port port 0/1/0 ont 1(0/1/0是框号/槽号/端口号 1是ONU id)

4、查看MA5680T的版本信息
MA5680T(config)# display version

5、查看DBA 模板
MA5680T(config)# display dba-profile all

6、查看线路模板
MA5680T(config)#display ont-lineprofile gpon all

7、查看单板信息
MA5680T(config)# display board 0

8、查看单板上ONU的信息
MA5680T(config)# display board 0/1 (0/1是框号/槽号)

1、查看ONU收光功率
MA5680T(config-if-gpon-0/1)#display ont optical-info 0 1 (0是端口号 1是ONU id 号)

2、查看ONU的状态
MA5680T(config-if-gpon-0/1)#display ont info 0 1 ( 0是端口号 1是ONU id 号)

3、查看PON板的端口信息
MA5680T(config-if-gpon-0/1)#display port info 0 (0是端口号

4、查看PON板的端口状态
MA5680T(config-if-gpon-0/1)#display port state 0 (0是端口号

5、查看ONU的注册信息
MA5680T(config-if-gpon-0/1)#display ont register-info 0 1 ( 0是端口号 1是ONU id 号)

6、查看ONU版本信息
MA5680T(config-if-gpon-0/1)#display ont version 0 1 ( 0是端口号 1是ONU id 号)

disp service-port port 0/6/7 ont 26 查看限速模版

ont port native-vlan 3 0 eth 4 vlan 4 开H的eth

创建DBA模板 (模板id为120,模板名称为hisense,模板类型为type4最大带宽)
Huawei(config)# dba-profile add profile-id 120 profile-name hisense type4 max 102400
Huawei(config)#display dba-profile all
创建vlan,并将上联端口加入该vlan
Huawei(config)# vlan 112 smart
Huawei(config)# port vlan 112 0/8 0 (0为机框号,8为上联板槽位号,0为上联端口号)
Huawei(config)#display port vlan 0/8/0
创建线路模板 (模板id为100,模板名称为hisense)
Huawei(config)# ont-lineprofile gpon profile-name hisense profile-id 100 绑定T-cont 与dba模板(只有绑定了dba模板的T-cont才能承载业务)
Huawei(config-gpon-lineprofile-100)# tcont 1 dba-profile-id 120 建立线路模板中GEM port 与T-cont的绑定关系(在建立业务虚端口之前,首先应建立GEM port 与T-cont的绑定关系)
Huawei(config-gpon-lineprofile-100)# gem add 0 eth tcont 1 建立GEM port与ont用户接口上行数据流的映射关系(gem索引号为0,gem mapping索引号为1)
Huawei(config-gpon-lineprofile-100)# gem mapping 0 1 vlan 112
Huawei(config-gpon-lineprofile-100)# commit
Huawei(config)#display ont-lineprofile gpon profile-id 100
创建业务模板 (模板id为100,模板名称为hisense)
Huawei(config)# ont-srvprofile gpon profile-name hisense profile-id 100 进入该业务模板,创建ONT uni类型(以HG8110为例:1个以太网口、1个pots口; 若HG8245为例,则该处的配置为ont-port eth 4 port 2),并将ont以太网口配置为透传模式
Huawei(config-gpon-srvprofile-200)# ont-port eth 1 pots 1
Huawei(config-gpon-srvprofile-200)# port vlan eth 1 transparent
Huawei(config-gpon-srvprofile-200)# commit
Huawei(config)#display ont-srvprofile gpon profile-id 100

创建业务模板 (模板id为100,模板名称为hisense)
Huawei(config)# ont-srvprofile gpon profile-name hisense profile-id 100 进入该业务模板,创建ONT uni类型(以HG8110为例:1个以太网口、1个pots口; 若HG8245为例,则该处的配置为ont-port eth 4 port 2),并将ont以太网口配置为透传模式
Huawei(config-gpon-srvprofile-200)# ont-port eth 1 pots 1
Huawei(config-gpon-srvprofile-200)# port vlan eth 1 transparent
Huawei(config-gpon-srvprofile-200)# commit
Huawei(config)#display ont-srvprofile gpon profile-id 100

创建业务虚端口,并将pon口下的ont加入该业务虚端口。(业务虚端口用于用户设备的接入,通过用户设备接到业务虚端口形成业务流,从而使用户接入各种业务流。成功执行后,业务承载于此虚端口上。)
Huawei(config)# service-port 0 vlan 112 gpon 0/3/0 ont 0 gemport 0 multi-service user-vlan 112 (0为机框号,3为业务板槽位号,0为pon口号,0为ont ID)

SS-HaiBingLu-OLT051(config)#display ont info 0 13 3 all 查看PON口下所有设备信息(SN ONTID 在线情况 激活情况)
SS-HaiBingLu-OLT051(config)#display ont info 0 13 3 63 查看ONU设备信息
SS-HaiBingLu-OLT051(config)#display ont-lineprofile gpon all 查看线路模板
SS-HaiBingLu-OLT051(config)#display service-port port 0/13/3 ont 63 查看ONU service-port信息
SS-HaiBingLu-OLT051(config)#display mac-address vlan 1526 查看OLT上学习到该VLAN的MAC地址
display current-configuration section gpon | include 0 13 3 筛选单独配置信息
display current-configuration section v 查看 OLT VLAN信息
查看线路模板给的限速
dba-profile add profile-id 11 profile-name "Manage" type3 assure 1024 max 2048
dba-profile add profile-id 48 profile-name "MA5626G_24FE-4" type3 assure 102400 max 204800

ont-lineprofile gpon profile-id 30 profile-name "MA5626G_8FE"
tcont 1 dba-profile-id 11
tcont 2 dba-profile-id 42 //调用限速模板 ID 42
gem add 0 eth tcont 1 cascade on
gem add 1 eth tcont 2 //用TCONT 2 限速(大带宽新建线路模板不要GEM CAR)
gem mapping 0 0 vlan 8
gem mapping 1 0 vlan 100

SS-HaiBingLu-OLT051(config-if-gpon-0/13)#display statistics ont-line-quality 3 查看PON口下的误码情况(可加ONTID)
clear statistics ont-line-quality 3 清除PON口下的误码信息

display ont autofind 3(ALL PON口外使用) 查看新发现设备

ont add 3 63 sn-auth 4857544334716A2C snmp ont-lineprofile-id 30 在PON口3添加ONTID63的ONU 使用线路模板30模式SNMP 串号认证
ont add 3 63 password-auth 1111 hex 1111 always-on omci ont-lineprofile-id 1 ont-srvprofile-id 1 添加ONTID63使用线路模板1服务模板1(仅H设备需要添加服务模板)密码认证
ONT Modify 3 1 sn
ONT Modify 3 1 ont-lineprofile-id 1 ont-srvprofile-id 1 修改ONU串号 密码 线路模板 服务模板各种

SS-HaiBingLu-OLT051(config-if-gpon-0/13)#display ont optical-info 3 63 查看设备光功率信息

ont port native-vlan 3 1 eth 1 vlan 4 priority 0 (H设备使用)在H设备第一口使用VLAN 4 优先级0

ont ipconfig 0 63 static ip-address 10.220.21.184 mask 255.255.252.0 gateway 10.220.20.1 vlan 8 priority 0 (B设备)手工分配B设备管理IP

service-port vlan 1986 gpon 0/18/0 ont 63 gemport 1 multi-service user-vlan 101 tag-transform translate-and-add inner-vlan 3 inner-priority 0 inbound traffic-table index 6 outbound traffic-table index 6 添加service-port将外层VLAN 1986内层VLAN 3 ONU设备VLAN使用101 使用限速模板6(不限速)

service-port vlan 8 gpon 0/18/0 ont 63 gemport 0 multi-service user-vlan 8 tag-transform transparent inbound traffic-table index 6 outbound traffic-table index 6 为ONU添加管理VLAN 8 (不添加管理VLAN无法登陆ONU)

service-port vlan 1612 gpon 0/13/3 ont 63 gemport 1 multi-service user-vlan 100 tag-transform translate inbound traffic-table index 6 outbound traffic-table index 6 专线透传VLAN 打标签,m

port vlan 1620 0/19 VLAN1620上行口0/19
vlan 1575 smart 创建VLAN SMART 类型

(test模式下)pots emulational-caller caller-port 0/2/1 callee-telno xxxxxxxxxxx 仿真测试

转载于:https://blog.51cto.com/11282904/2088950

  • 2
    点赞
  • 14
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值