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

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的话,换个光模块试试或提供远程我们看看。
  • 2
    点赞
  • 19
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
### 回答1: MA5680T GPON组播业务配置是指在MA5680T设备上进行组播业务的相关配置操作。组播Multicast)是一种将一个数据流发送给一组目的地的网络通信方法,其中一个发送者可以同时发送给多个接收者。 在MA5680T设备上进行GPON组播业务配置需要进行以下步骤: 1. 创建组播VLAN:首先需要创建一个用于组播的虚拟局域网(VLAN),可以通过命令或者WEB界面进行配置。创建组播VLAN时需要指定一个VLAN ID,确保该ID在设备中是唯一的。 2. 配置组播控制器:接下来需要配置组播控制器,以确保设备能够正确识别和处理组播流量。可以通过命令或者WEB界面配置组播控制器,并将其绑定到先前创建的组播VLAN上。 3. 配置组播路由:在设备上配置组播路由,以确保组播流量能够正确转发和到达目的地。可以通过命令或者WEB界面配置组播路由器,并将其绑定到先前创建的组播VLAN上。 4. 配置组播终端:最后需要配置组播终端,即接收组播流量的设备。可以通过命令或者WEB界面配置组播终端,将其加入到先前创建的组播VLAN中。 通过以上步骤完成配置后,MA5680T设备就能正常支持GPON组播业务了。组播流量可以通过组播VLAN和组播控制器进行转发和管理,确保组播流量能够正确传输到相应的组播终端。同时,通过组播路由的配置,设备能够正确识别和处理组播流量,实现了高效的组播通信。 ### 回答2: MA5680T是华为公司推出的一款高集成的GPON(Gigabit Passive Optical Network)OLT(Optical Line Terminal) 设备。它支持PON(Passive Optical Network)网络,可以提供高速,高带宽的宽带接入服务。 在MA5680T中配置GPON组播业务需要以下步骤: 1. 配置PON端口:首先,需要为GPON组播业务配置相应的PON端口。通过设置PON端口的属性,确保它们能够正确地接入到GPON网络,并能够提供组播服务。 2. 创建GPON线路:在GPON线路中,可以配置组播业务的相关参数,如组播授权,组播业务模式等。可以通过命令行或者网管软件来创建GPON线路。 3. 创建组播VLAN:在GPON线路上,需要创建组播VLAN。组播VLAN可以将组播数据从广域网上传输到用户端口。 4. 配置组播授权:在GPON线路上,需要为组播业务配置相应的授权。授权可以使得用户能够订阅组播业务,并接收相应的组播数据。 5. 配置组播业务模式:在GPON线路上,需要为组播业务选择合适的组播业务模式。根据需要,可以选择基于IGMP(Internet Group Management Protocol)的组播模式或者基于MLD(Multicast Listener Discovery)的组播模式。 6. 配置组播业务参数:最后,需要为组播业务配置一些参数,如组播的源地址,组播组的IP地址,端口号等。 通过上述配置步骤,可以在MA5680T上成功配置组播业务配置完成后,用户就可以通过GPON网络接收到相应的组播数据,实现高效的组播业务传输。

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值