巴西DataCom OLT基本业务配置详解

OLT基础配置:
波特率:9600
串口登录 用户名: admin
密码: admin

一、以下几点注意:在配置过程中遇到的问题:

  1. 注册ONU时要先发现 ONU的SN, 在普通模式(#)执行:show interface gpon 1/1/1 discover-onus;
  2. 注册ONU时 会把 ONU的ETH端口 down 掉,需要 在 功能接口----ONU ID 接口下:配置 Ethernet 1 —>>>>再 commit 提交;
  3. 注册完 ONU后, ONU需要 绑定 line-profile (该模版 是创建 tcont,gemport,mapping映射)和 service-profile(该模版就是定义ONU能力及,也就绑定 ONU-profile)以及RG-profile(该模版是定义OMCI下发WAn连接配置)
    -----------------------------------这块跟华为 OLT的配置类似;
    4.配置line-profile时 必须 先配置 DBA 模版;
  4. 配置 service-profile 必须先配置 onu-profile
  5. 配置 service-port 是必须先配置 业务VLAN 的类型: service VLAN vlanid type(1:1,n:1,tls三者选择一个)
    注意:
    1.配置组播业务:vlan service-type必须是n:1
    2.配置internet业务:vlan service-type是tls或1:1

二、配置 上联口为 tag VLAN 模式 和 default vlan 模式
7. tag VLAN 模式:
1.1 先创建 VLAN 同时 绑定 上行接口 为tagged
vlan 100,300
interface gigabit-ethernet-1/1/10
!
8. default VLAN 模式
先创建 VLAN 同时 绑定 上行接口 为 untagged;
vlan 100,300
interface gigabit-ethernet-1/1/12
untagged

2.2 在(config)# 模式下:配置:switchport interface 上行接口名 native-vlan vlan-id
switchport
interface gigabit-ethernet-1/1/12
native-vlan
vlan-id 100

三、 配置HGU SFU ONU指导思路
3.1 创建 VLAN 并 绑定 端口(该OLT只能 绑定 上行 端口)

#con
(config)# dotlq
(dotlq)# vlan 100,300 interface gigabit-ethernet-1/1/10 tagged
(dotlq)# vlan 100,300 interface gigabit-ethernet-1/1/12 untagged
(dotlq)# commit

3.2 依次创建 DBA-profile,line-profile,onu-profile,service-profile

1、创建DBA 模版
#con
(config)# profile gpon bandwidth-profile 125-DBA
(config-125-DBA)# traffic type-3 assured-bw 102400 max-bw 204800
(config-125-DBA)# commit

2、创建 line-profile,
方法一:指定VLAN 映射
(config)# profile gpon line-profile 125-LINE
(config-125-LINE)# tcont 1 bandwidth-profile 125-DBA
(config-125-LINE)# gem 1
(config-gem1)# tcont 1 priority 0
map 1
veip 1 vlan 100 cos any
commit
!
!
gem 2
tcont 1 priority 0
map 2
veip 1 vlan 300 cos any
commit
!

方法二:不指定VLAN,意指透传任意VLAN
(config)# profile gpon line-profile 125-AnyLINE

tcont 1 bandwidth-profile 125-DBA
gem 1
tcont 1 priority 0
map 1
veip 1 vlan any cos any
commit
!
!
gem 2
tcont 1 priority 0
map 2
iphost vlan any cos any
commit
!
!
!

3、创建 ONU-profile
(config)# profile gpon onu-profile 125-ONU
ethernet adaptive
veip 1
commit
!

4、创建service-profile

(config)# profile gpon service-profile 125-SERVICE
onu-profile 125-ONU
commit
!

附加: 创建rg-profile(目的是创建 WAN连接 远程 OMCI下发 WAN连接)

(config)# profile gpon rg-profile 125-PPPOE
wan-pppoe-connection ppp1
vlan-mux vlan 100 cos 0
nat
auth-type auto
username 5555
password 5555
commit
!
!
3.3 注册 ONU

(config)# interface gpon 1/1/1
no shutdown
onu 1
serial-number AZGP33345122
service-profile 125-SERVICE line-profile 125-LINE
rg-profile 125-PPPOE // 可以不配置自动下发WAN连接
ethernet 1 // 这里必须配置,否则会自动down 掉 ONU的eth 口(BoradCom方案SFU设备不会被down掉,中兴微方案设备需要配置该语句)
negotiation
no shutdown
mac-limit 17 //限制ONU接入客户端数量
commit
!
veip 1 //必须配置
commit
!

3.4 配置 业务VLAN TYPE

(config)# service vlan 100
type tls
commit
!
(config)# service vlan 300
type 1:1
commit
!

3.5 配置 service-port
(config)# service-port 1 gpon 1/1/1 onu 1 gem 1 match vlan vlan-id 100 action vlan replace vlan-id 100
(config)# service-port 2 gpon 1/1/1 onu 1 gem 2 match vlan vlan-id 300 action vlan replace vlan-id 300
(config)# commit

猜你喜欢

转载自blog.csdn.net/weixin_42353331/article/details/86066040
今日推荐