1、OLT 上网业务配置指导

1.登录方式及登录账号和密码串口
串口 和telnet 192.168.0.100
账号/密码:root/1234562. 创建DBA模版
OLT(config)#dba-profile add profile-id 10 type4 max 1021000查看DBA模版配置
OLT(config)# show dba-profile all 3. 业务vlan创建
OLT(config)# interface vlan 10
OLT(config-if-vlan-10)#
OLT(config-if-vlan-10)# port gpon 1 tagged
OLT(config-if-vlan-10)# port ge 1 untagged  #vlan绑定到上行端口
OLT(config-if-vlan-10)# exit
4. 配置上行端口为default vlanID,业务数据流下来不带任何VLANID
OLT(config)# interface ge 0/1
OLT(config-if-ge-0/1)# port default-vlan 10
OLT(config-if-ge-0/1)# exit
5. 配置line-profile
OLT(config)# onu-line-profile profile-id 1
OLT(config-line-profile-1)# mapping-mode vlan
OLT(config-line-profile-1)# tcont 1 dba-profile-id 10
OLT(config-line-profile-1)# gem add 1 eth tcont 1
OLT(config-line-profile-1)# gem mapping 1 0 vlan transparent 或指定某个业务VLANID值
OLT(config-line-profile-1)# commit
OLT(config-line-profile-1)# exit查看线路模版配置
OLT(config)# show running-configonu-line-profile 6.配置service-profile,配置ONU能力及,vlan透传方式
OLT(config)# onu-service-profile profile-id 1  profile-name hgu
OLT(config-service-profile-1)# port-num eth adaptive
OLT(config-service-profile-1)# port-num pots adaptive
OLT(config-service-profile-1)# port-num veip adaptive 或指定veip 1  #这块针对Realtek方案ONU是必须的,对ZTE ONU可以不需要这句
OLT(config-service-profile-1)# commit
OLT(config-service-profile-1)# exit查看service-profile配置
OLT(config)# show running-configonu-service-profile 6.1.配置service-profile,配置ONU能力及,上行vlanID剥离方式出去
onu-service-profile profile-id 2  profile-name sfu
port-num eth adaptive
port-num pots adaptive
port-num veip adaptive
port eth 1 vlan mode trunk
port eth 1 trunk default vlan 10 0
commit
exit7. 使能 ONU 发现功能
OLT(config)# onu auto-find enable all
8.查找未注册的ONU
OLT(config)# show onu auto-find list all
OLT(config)# show onu auto-find list detail all 9. ONU注册 并 可选 绑定line-profile和 service-profile
interface gpon-olt 0/1
onu auto-find enable
onu add 1 sn GPON00000001 line-profile-id 1 service-profile-id 1
onu add 2 sn GPON00000002 line-profile-id 1 service-profile-id 1
exit9.1 仅仅绑定Line-profile
Note: Other configurations corresponding to service-profile can enter gpon-onu node to configure.
eg:
OLT(config)# interface gpon-onu 0/1:1
OLT(config-if-gpon-onu_0/1:1)# port eth 1 vlan mode transparent
或者 配置SFU模式
OLT(config)#  interface gpon-onu 0/1:1
OLT(config-if-gpon-onu_0/1:1)#  port eth 1 vlan mode trunk
OLT(config-if-gpon-onu_0/1:1)#  port eth 1 trunk default vlan 10 0 9.2 注册ONU时 不绑定任何模版
OLT(config)# interface gpon-olt 0/1
OLT(config-if-gpon-olt_0/1)# onu add 1 sn GPON11111111Note: The configurations corresponding toline-profile and service-profile can enter gpon-onu node to configure.
eg:
OLT(config)# interface gpon-onu 0/1:1
OLT(config-if-gpon-onu_0/1:1)# tcont 1 dba-profile-name100M
OLT(config-if-gpon-onu_0/1:1)# gemport 1 unicast tcont 1
OLT(config-if-gpon-onu_0/1:1)# gemport 1 mapping vlan 10OLT(config-if-gpon-olt_0/1)# show onu state ------------------------------------------------------------------ONU-ID   Auth-mode     SN       Config-State Match-State Run-State------------------------------------------------------------------0/1:1    sn        GPON11111111    ok            ok       online ------------------------------------------------------------------Total Num: 1 (online/offline: 1/0, Config ok/failed: 1/0)9.4 检查 ONU配置
OLT(config-if-gpon-olt_0/1)# show running-config gpon-onu 0/1:1
!
interfacegpon-olt 0/1
onu add 1 sn GPON11111111 line-profile-id 1 service-profile-id 1
exit
!10. 创建 业务虚端口
service-port 1 gpon 0/1 onu 1 gemport 1 user-vlan 10 vlan 10
service-port 2 gpon 0/1 onu 2 gemport 1 user-vlan 10 vlan 10OLT(config)# show service-port all
------------------------------------------------
ID  GPON  Onu  GEM  User-vlan  CvlanSvlan
1  0/01    1    1        10      -    10
1  0/01    2    1        10      -    10 查看mac 地址表
OLT(config)# show mac-address all
OLT(config)# mac address-table flush all  #刷新mac表

2、 OLT组播配置指导

2.1 使能IGMP 功能
OLT(config)# btv
OLT(config-btv)# igmp enable2.2 创建组播vlan
OLT(config-btv)# igmp multicast-vlan 100
OLT(config-mvlan-100)#
2.3 配置IGMP mode
OLT(config-mvlan-100)# igmp mode snooping
2.4 配置组播组范围
OLT(config-mvlan-100)# igmp channel 1 group 224.1.1.1 to 224.1.1.20 name ch1
2.5 配置组播源端口
OLT(config-mvlan-100)# igmp port pon 0/1
OLT(config-mvlan-100)# igmp port ge 0/1
OLT(config-mvlan-100)# exit
OLT(config-btv)# show igmp channel                                                                                                  Vlan  Channel  Start IP        End IP          Channel Name                                                                       ----- -------- --------------- --------------- ------------------                                                                 100   1        224.1.1.1       224.1.1.20      ch1              查看组播相关配置
ONU 组播组下发
OLT(config)# show running-config multicast
!                                                                                                                                   multicast-ctrl channel id 1 vlan 100 group 224.1.1.1 to 224.1.1.20 name Def_Channel_1
multicast-ctrl package add id 1 name Def_Package_1
multicast-ctrl package id 1 channel id 1 watch
multicast-ctrl user 0/1:6 cvlan 100 package id 1 注意:
cvlan 100 对应 service-profile 的 igmp (veip/eth 1)  igmp-forward (add 100/translation 100/transparent)配置SFU 方式 :模仿中兴OLT
OLT(config-if-gpon-onu_0/1:1)# show running-config gpon-onu 0/1:1
!
interface gpon-olt 0/1
onu add 1 sn AZGP6879f045
exit
interface gpon-onu 0/1:1
tcont 1 dba-profile-id 101
gemport 1 unicast tcont 1
gemport 1 mapping vlan 100
port eth 1 vlan mode tag
port eth 1 tag vlan 100 priority 0
multicast vlan add vlanlist 100
igmp eth 1 multicast-forward vlan-strip
exit
!    HGU 组播配置
interface gpon-olt 0/1
onu add 9 sn AZGPd704fea8
exit
interface gpon-onu 0/1:9
tcont 1 dba-profile-id 101
gemport 1 unicast tcont 1
gemport 1 mapping vlan 100
multicast vlan add vlanlist 100
igmp eth 1 multicast-forward vlan-strip
exit
!

3、其他指令

3.1 镜像配置
eg: Mirror PON1 to GE3
OLT(config)# interface gpon-olt 0/1
OLT(config-if-gpon-olt_0/1)# mirror dst-port ge 3 all3.2 带内和带外管理IP设置
![IP Band]
!
interface vlan 100
inband ip-address 192.168.88.252 255.255.255.0
exit
outband ip-address 192.168.20.251 255.255.0.0
!  3.3 ONU注册时 不绑定 2个模版
OLT(config)# show running-config gpon-olt
!
![interface-gpon-olt]
interface gpon-olt 0/1                                                                                                                 onu add 6 sn AZGPd704fe48
exit                                                                                                                                   OLT(config)# show running-config gpon-onu
!
![interface-gpon-onu]
interface gpon-onu 0/1:6
tcont 1 dba-profile-id 101
gemport 1 unicast tcont 1
gemport 1 mapping vlan 100
iphost 1 dhcp
iphost 1 vlan 100
voip config-method omci
voip signal-protocol sip
sip agent add proxy-server 192.168.88.166 registrar-server 192.168.88.166
sip agent signal-port 5060 iphost 1
sip user add 1 username 33333 password 11111 telno 33333
sip user add 2
exit
!
OLT(config)# service-port 6 gpon 0/1 onu 6 gemport 1 user-vlan 100 vlan 100                                                            OLT(config)#

4、OLT缺陷须知:

2.在onu-lineprofile模版中: mapping-mode 只有vlan 和优先级映射方式;不支持 port 映射(参照华为OLT),以及 没有绑定VEIP的相关指令:gem mapping 1 1 iphost(导致Realtek方案ONU无法获取WANIP,Realtek方案ONU对接中兴和华为OLT,如果是vlan映射方式也是无法获取到WANIP地址)Realtek HGU ONU配置参考如下:
<1>绑模板方式
(1)line-profile
onu-line-profile profile-id 1 profile-name line-profile_1
tcont 1 dba-profile-id 0
gem add 1 eth tcont 1
gem mapping 1 1 vlan transparent(或gem mapping 1 1 vlan100)
commit
(2)service-profile
onu-service-profile profile-id 1 profile-name srv-profile_1
port-num eth adaptive
port-num pots adaptive
port-num veip adaptive(或port-num veip 1,这样就会自动绑定veip)
commit
(3)注册ONU
interfacegpon-olt 0/1
onu add 1 sn GPON12345678 line-profile-id 1 service-profile-id 1 3.在gpon-olt模式下:没有ONU替换操作的相关 指令,每次接入一台新的ONU都需要重新注册ONU
4.mapping-mode 只有vlan 和优先级映射模式;不支持port 映射,以及 gem mapping 1 1 iphost
如参考 HUAWEI OLT :ont-lineprofile gpon profile-id 512 profile-name "line-profile_512"                                                                mapping-mode port                                                                                                                 tcont 1 dba-profile-id 10                                                                                                         gem add 0 eth tcont 1                                                                                                             gem mapping 0 1 iphost                                                                                                            commit   5. 在gpon-olt模式下:已经注册过的ONU并且 绑定了 相关onu profile模版操作,若想修改 替换 其它的 ONU-lineprofile 模版操作 ,无法实现?,必须删除 ONU ,重新去 注册ONU且绑定相应模版或者不绑定模版操作,直接在ONU_ID模式下配置相关命令。6.在全局模式下:已创建的 onu-lineprofile模版和onu-srvprofile等模版,无法再次 进入 修改 配置(华为OLT可以修改配置)答:目前是:如果模板已被ONU绑定,则无法进去修改或删除;如果没有被ONU绑定,则可以进去修改或删除。OLT 私有协议支持部分7. 1. OLT 通过 OMCI 下发 WAN连接 配置 不成功,(IP host方式下发WAN连接 是 OK的)提示如下:
OLT(config-if-gpon-onu_0/1:6)# wan add 2 dhcp service-type internet                                                                 Failure: The ONU does not support this WAN configuration!
答:gpon-onu节点下,wan add…命令是TS私有的。其他ONU不支持该命令,只能通过iphost方式。2. 有时在使用 OLT时 ,操作 一些指令时 会提示 如下 错误:出现错误的时候,配置其他指令也是出现同样的错误(对接Realtek方案 ONU出现过此问题)
OLT(config-if-gpon-onu_0/1:3)# no port flow-control eth 1                                                                           Error: Operation fail[-187]!答:errno-187是ONU响应超时。可多输几次对应命令看看,如果还是不行和输其他命令也出现同样错误,
可先查看下ONU 的配置状态是否OK(show onu state)。
如果配置状态为OK,插拔ONU光纤重新上线再试下对应命令是否配置ok,
如果还不行,麻烦提供远程我们看看; 如果配置状态为fail, 插拔ONU光纤重新上线看是否OK,
如果还是fail的话,换个光模块试试或提供远程我们看看。

TS OLT Internet业务和组播业务(multicast)配置指导相关推荐

  1. c语言组播源码_CLAA Class C简单组播业务的实现

    1 概述 -适用版本 -LoRaWAN1.0.2 CLAA.03 02.19.15 Aug 16 2018 09:57:31 -说明 -本文档主要描述的是CLAA Class C简单组播业务的实现,暂 ...

  2. 华为设备组播路由管理配置命令

    [Huawei]ip rpf-route-static 10.1.1.1 24 static 10.2.1.1 //配置组播静态路由 [Huawei]multicast longest-match / ...

  3. 网络基本概念之TCP, UDP, 单播(Unicast), 组播(Multicast)

    这篇文章相当低级,但相当重要! 我们周围一切几乎都依赖于把事情抽象成低等级,并在某一点把它具体化,在一些设计概念中,接口层十分清晰并且目标很集中,应用程序不用考虑操作系统如何工作,操作系统也不用考虑硬 ...

  4. Linux 网络协议栈开发基础篇(十)—— 组播(Multicast)基础

    一.组播(Multicast)传输 在发送者和每一接收者之间实现点对多点网络连接. 如果一台发送者同时给多个的接收者传输相同的数据,也只需复制一份的相同数据包.它提高了数据传送效率.减少了骨干网络出现 ...

  5. 十五、组播(Multicast)

    组播(Multicast) 组播基础 前言 当网络中部署点到多点通信应用时,若采用单播方式,网络中传输的信息量与需要该信息的用户量成正比.多份内容相同的信息发送给不同用户,对信源及网络带宽都将造成巨大 ...

  6. linux网络协议栈 转发组播,Linux 网络协议栈开发基础篇(十)—— 组播(Multicast)基础...

    一.组播(Multicast)传输 在发送者和每一接收者之间实现点对多点网络连接. 如果一台发送者同时给多个的接收者传输相同的数据,也只需复制一份的相同数据包.它提高了数据传送效率.减少了骨干网络出现 ...

  7. java (多网卡环境下)发送组播广播(multicast/broadcast)失败问题

    java发送组播或广播包并不复杂网上有很多文章,比如下面的两篇: <Java实现组播(multicast)简单例子> <Java 网络编程案例:使用 MulticastSocket ...

  8. 单播(Unicast),组播(Multicast),广播(Broadcast)

    根据目标地址判断 类型 说明 单播 Unicast 发送给单个设备(明确目标地址) 广播 Brodcast发送给所属广播域内的所有设备(目标地址不明确)MAC地址全F,IP地址全1 组播 Multic ...

  9. Skynet 通过组播(Multicast)实现一个简单的世界频道

    2019独角兽企业重金招聘Python工程师标准>>> 什么是世界频道? "世界频道" 这个概念就是在一个游戏内经常见到.简单来说,世界频道就是在游戏内的一个大区 ...

最新文章

  1. 定时任务:Java中Timer和TimerTask的使用
  2. python List,切片的用法
  3. 快递信息css3手风琴代码_用纯CSS实现手风琴效果的示例代码
  4. 如何创建一个MVC模式的Joomla组件教程(九) 使用数据库下
  5. 使用BeetleX.NetBenchmark压测TCP,HTTP和Websocket服务
  6. python美化输出模块_python日志处理模块
  7. 好了好久时间,终于写成了第一个Python代码
  8. 移动磁盘此卷不包含可识别的文件系统要怎么找到数据
  9. 边框的复合写法(HTML、CSS)
  10. String字符串拼接原理
  11. 教师计算机考核有啥用,教师计算机使用管理制度和考核方案
  12. javascript清理IE内存
  13. s8 android 8.0变化,三星s8何时能更新android8.0
  14. 【电脑办公软件有哪些】万彩办公大师教程丨PDF分割帮助文档
  15. Zabbix忘记登录密码重置
  16. centos7配置tomcat环境变量
  17. 晶圆测试厂wafer map管理建议
  18. 洛谷1462 通往奥格瑞玛的道路 二分+spfa
  19. 【100个 Unity实用技能】☀️ | Unity中设置 允许的最大帧数,锁定游戏的最大帧率(游戏锁帧)
  20. 【C#】依赖注入及Autofac

热门文章

  1. ajax请求有多少种写法,Ajax 请求的三种写法
  2. 移动互联网感言(董烨/Joven.Dong)
  3. 全面曝光POS机支付行业三大痛点,许多支付人为此献出劳动成果
  4. 泛函分析——内积空间定义的概念
  5. iOS 怎么查app的下载量
  6. Html网站页面实现黑白效果
  7. AI语音外呼机器人是如何帮助电销行业获客
  8. 全球与中国一体化VR摄影机市场现状及未来发展趋势2022-2028
  9. 当使用VMware给虚拟机扩展硬盘容量时,显示无法扩展容量并提示:在部分链上无法执行所调用的函数,请打开父虚拟磁盘。
  10. Adobe国际认证设计师证书含金量怎么样?