TS OLT Internet业务和组播业务(multicast)配置指导

2023-05-16

1、OLT 上网业务配置指导

1.登录方式及登录账号和密码串口
串口 和telnet 192.168.0.100 
账号/密码:root/123456

2. 创建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
exit

7. 使能 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
exit

9.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 GPON11111111

Note: 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 10

OLT(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 10

OLT(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 enable

2.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 all

3.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的话,换个光模块试试或提供远程我们看看。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

TS OLT Internet业务和组播业务(multicast)配置指导 的相关文章

  • 计算机英语名词简释(轉載)

    计算机英语名词简释 一 著名公司及其商标名 Microsoft 有时缩略为MS 是全球最著名的软件商 美国软件巨头微软公司的名字 Microsoft其实是由两个英语单词组成 Micro意为 微小 Soft意为 软的 此处应为 Softwar
  • MTU的测量方法

    MTU的测量方法 MTU是Maximum Transmission Unit的缩写 意思是网络上传送的最大数据包 MTU的单位是字节 大部分网络设备的MTU都是1500 如果本机的MTU比网关的MTU大 大的数据包就会被拆开来传送 这样会产
  • 公司网络故障总结

    公司网络故障总结 Author skate Time 2007 6 8 今天早上一到公司 刚坐下 买的早饭还没吃呢 就有人打电话反映不能上网 我以为是个别机器的问题 但我还是检测一下 查看网络是否畅通 查看结果是不通 于是就要分析原因 要尽
  • 跟踪路由 Tracert

    跟踪路由 Tracert 2007年04月20日 09 03 A M Tracert 跟踪路由 是路由跟踪实用程序 用于确定 IP 数据报访问目标所采取的路径 Tracert 命令用 IP 生存时间 TTL 字段和 ICMP 错误消息来确定
  • 局域网配置网站DNS服务器的安装

    小提示 要想成功部署DNS服务 运行Windows Serve 2003的计算机中必须拥有一个静态IP地址 只有这样才能让DNS客户端定位DNS服务器 另外如果希望该DNS服务器能够解析Internet上的域名 还需保证该DNS服务器能正常
  • TCP/IP网络编程之四书五经

    TCP IP网络编程之四书五经 http blog chinaunix net u 24935 showart 330099 html http book csdn net bookfiles 69 100691972 shtml http
  • IP协议号与传输层端口

    网络层 数据包的包格式里面有个很重要的字段叫做协议号 比如在传输层如果是tcp连接 那么在网络层ip包里面的协议号就将会有个值是6 如果是udp的话那个值就是17 传输层 传输层 通过接口关联 端口的字段叫做端口 应用层 协议号是存在于IP
  • 路由追踪tracert命令

    路由追踪tracert命令Tracert 跟踪路由 是路由跟踪实用程序 用于确定 IP 数据报访问目标所采取的路径 Tracert 命令用 IP 生存时间 TTL 字段和 ICMP 错误消息来确定从一个主机到网络上其他主机的路由 这点和pi
  • 完全免费快速搭建个人www服务器

    想拥有自己的web服务器吗 想把服务器放到自己家里吗 通过ADSL拨号也能建立个人的服务器吗 本文告诉你答案 要建立自己的web服务器 需要两个最重要的工作 1 让别人知道你的主机 目前访问Internet上主机的方式主要有两种 一是通过I
  • 攻略:Windwos 系统中应用程序访问权限

    在Windwos XP系统中 存在着两种类型的账户 即隶属于Administrators组中的管理员账户和隶属于Users组中受限制的用户 默认情况下 管理员账户可以无限制地运行计算机中的所有程序 包括XP系统内建的以及自行安装的应用程序
  • 使用缺省的拷贝构造函数带来的危险性

    我此前另外一篇文章通过类String看拷贝构造函数 赋值函数的作用和区别 对于更深的拷贝构造函数讨论大家可以参见这篇帖子 C 类对象的复制 拷贝构造函数 通过编写类String的拷贝构造函数和赋值函数介绍了一些拷贝构造数 本文着重介绍拷贝构
  • Cygwin安装、使用和软件更新

    http www ibm com developerworks cn aix library au spunix cygwin 幸运的是 Cygwin 见 参考资料 在 Windows 环境中提供大家熟悉的一片天地 就像是美国人在法国找到了
  • SSIS:使用多播将数据输入到 2 个相关目的地

    我是 SSIS 新手 我的数据来自单一来源 我需要将该数据输入到几个表中 这些表通过外键关系相关 我正在使用多播将数据输入到多个目的地 我的问题是 如何获取一个目的地的条目的标识并将该标识用于第二个目的地的外键列 这是我正在寻找的示例 Em
  • TCP 多播和多线程

    我需要提出能够可靠地多播到其他客户端的客户端 这意味着我将使用 TCP 在多播组内的客户端之间进行可靠连接 这不是达到了 n 2 个连接吗 这对我来说似乎有点愚蠢 是否 不应该有一种方法可以更轻松 更可靠地进行多播 编辑 UNIX C 编辑
  • MulticastSocket 构造函数并绑定到端口或 SocketAddress

    我可能对这里的术语 绑定 有一个根本性的误解 但我对 绑定 的用法感到困惑组播套接字 http docs oracle com javase 7 docs api java net MulticastSocket html它是构造函数 他们
  • 如何创建socket.io多播组

    我想用 socket io 模拟多播 我习惯使用 BSD 套接字 将文件描述符保存在 FD SET 中 并在事件循环中迭代它们以 send 或单独写入它们 如果我能用 javascript 做类比 我就会很高兴 关于如何存储 文件描述符 然
  • 向同一台计算机上的多个客户端发送多播消息

    我正在尝试编写一个服务器 服务 它每秒左右在局域网上广播一条消息 有点像服务发现 该消息需要由以下人员接收 多个客户端程序可能是 在同一台机器上或不同的机器上 机器 但可能不止 每台机器上运行一个程序 同一时间 我正在使用 delphi 7
  • 多播 IP 地址 - 在调用 recvfrom 时被阻止

    我正在编写一个简单的多播应用程序 我打算在本地主机上运行它 我做了以下事情 char maddr sendfd socket struct sockaddr in sasend sasend sin family AF INET sasen
  • Android udp 多播与以太网

    大家好 我正在开发一个使用 udp 多播的项目 我有一台服务器通过以太网电缆发送多播 udp 数据包 我花了几周的时间阅读有关 android 上多播的所有帖子 但我仍然无法在我的 Asus Transformer Tablet 4 1 上
  • 互联网上的 UDP 多播?

    我不确定如何最好地解决我的问题 我有一个在远程计算机上运行的服务 用于接收和处理 UDP 数据包 我希望该服务能够将这些数据包重新发送给任何需要它们的人 可能是任何人 通常是一台机器 但也可能更多 我认为 UDP 多播将是理想的 该服务可以

随机推荐