文档库 最新最全的文档下载
当前位置:文档库 › MA5680T修改DBA

MA5680T修改DBA

这周主要在跟进PON网管这事,通过和督导 董工,他们沟通,也加深了对PON网络的理解,双联通的PON网管昨天已经安装完了,给双联通数据,和业务开放也讲了些怎么使用,添加设备,查看信息。
对上周处理的DSLAM 51系列网管时断时续的问题,在南北大厦和力通大厦交换机上联端口,不让994透传,ping了一晚上,6万多个包丢50多个,算正常,也有跟麦工他们说过,麦工他们的意思是,现网网管改造完了可以删掉没用的数据,如 VLAN994 可以不透传,能缩小广播域,目前仍在跟进。

对OLT的数据配置理解更深层了。知道了OLT里的数据为什么要这样配,起到了什么作用,在OLT里,一般都有四个模板,一DBA(动态带宽分配),二ont-lineprofile(线路模板) 三ont-srvprofile(业务模板,一般在FTTH场景要用到)四,traffic table(流量模板),

1) DBA:
eg: dba-profile add profile-id 100 profile-name "DBA_100M" type3 assure 51200 max
102400
dba-profile add profile-id 102 profile-name "dba-profile_102" type3 assure 2048 max 2048
dba-profile add profile-id 105 profile-name "dba-profile_105" type3 assure 5120 max 5120

DBA有五种类型 type(1,2,3,4,5) tayp1:固定带宽
tayp2:保证带宽
tayp3:保证带宽+最大带宽
tayp4:最大带宽
tayp5 :综合型的, 保证+最大+固定
东莞OLT配置的基本上都是type3类型的DBA 如: assure 51200 max 102400 保证有50M的带宽,最大100M

2) ont-lineprofile (重点,有点绕)
eg: ont-lineprofile gpon profile-id 20 profile-name "line-profile_20"
mapping-mode priority
tcont 1 dba-profile-id 100
tcont 2 dba-profile-id 102
tcont 3 dba-profile-id 105
gem add 1 eth tcont 1
gem add 126 eth tcont 3
gem add 127 eth tcont 2
gem mapping 1 0 priority 1
gem mapping 126 0 priority 6
gem mapping 127 0 priority 5
commit

tcont 1 2 3对应DBA100 102 105
gem-port 1 127 126 又对应tcont的 1 2 3
tcont 是GPON中上行业务流最基本的控制单元,每一个tcont由一个或者多个gem-port组成,一个gem-port承载一种业务流,一个tcont可以承载一个或者多个GEM-port的不同业务流。一个tcont对应一种带宽类型,都有QOS,这里的tcont 1 2 3 也就是gem-port的1 127 126我的理解是分别对应 AD,网管,语音,这点可以从后面service-port vlan的引用情况看得出。在下面的三句就是,指的几种业务流对应的优先级了

3)ont-srvprofile
eg:南城周溪的OLT
ont-srvprofile gpon profile-id 30 profile-name "HG850-0/2/0-0"
ont-port pots 2 eth 4
port vlan eth 1 translation 1001 user-vlan 1001
port vlan eth 2 translation 1002 user-vlan 1002
port vlan eth 3
translation 1003 user-vlan 1003
port

vlan eth 4 translation 1004 user-vlan 1004
port vlan iphost translation 501 user-vlan 501
commit
指ONT对应的能力集 2个POTS 4个eth ,vlan端口对应关系


4)traffic table

traffic table ip index 13 name "kd" cir off priority user-cos 1
priority-policy tag-in-package
traffic table ip index 14 name "zd" cir off priority user-cos 6
priority-policy tag-in-package
traffic table ip index 15 name "gl" cir off priority user-cos 5
priority-policy tag-in-package

这里也是指优先级 13 14 15 又得和下面的service-port 对应上了



service-port 0 vlan 991 gpon 0/3/0 ont 0 gemport 127 multi-service user-vlan 991 tag-transform translate
service-port 1 vlan 3404 gpon 0/3/0 ont 0 gemport 1 multi-service user-vlan
other-all tag-transform default


service-port 0 inbound traffic-table index 15 outbound traffic-table index 15
service-port 1 inbound traffic-table index 13 outbound traffic-table index 13
这里就把上面的线路模板关联上了
991 属于网管VLAN, gem-port 127 对应tcont2 ,tcont 2对应DBA 102 ,DBA 102 保证带宽2M (assure 2048 max 2048)
3404 qinq vlan 对应用户流,gem-port 1对应tcont1,tcont1d又对应DBA 100 ,DBA100 _assure 51200 max 102400 保证有50M的带宽,最大100M)
如果onu 有语音业务的话,还应有一个service-port3 对应gemport 126 对应T-cont 3 ,DBA 105

还有在修改ONU的IP时候,不只是注意在PON口下改IP,还要注意service-port 网管业务流也要改成991.

下面 service-port 0 inbound traffic-table index 15 outbound traffic-table index 15
service-port 1 inbound traffic-table index 13 outbound traffic-table index 13
这两句对应流量模板索引了,这个又和ONU5616上得service-port,流量模板索引rx tx 关联了




华为OLT设备MA5680T具备大容量业务接入能力,包括数据、语音和视频业务等。下面以其版本号为MA5600V800R006C02为例,给出MA5680T开局脚本:

一 设备命名

MA5680T(config)# sysname MA5680T 设备名称一般可按地名规则来命名

二 添加用户

以添加用户名和密码test11/admin11为例:
MA5680T(config)#terminal user name
User profile name(<=15 chars)[root]:
User Name(<=15 chars):test11
User Password(<=15 chars): 此处输入admin11,但不显示
Confirm Password(<=15 chars): 此处输入admin11,但不显示
User's Level:
1. Common User 2. Operator 3. Administrator:3
Permitted Reenter Number(0--4):4
User's Appended Info(<=30 chars):


This user has been added
Repeat this operation? (y/n)[n]:n

三 创建管理VLAN

MA5680T(config)#vlan 100 standard
MA5680T(config)#port vlan 100 0/19 0 在上行口透穿

四 配置公网IP地址

MA5680T(config)# interface vlanif100 进入管理vlan三层接口
MA5680T(config-if-vlanif100)# Ip address 201.72.31.6 255.255.255.0 配置IP地址

五 配置静态路由

MA5680T(config)# Ip route-static 0.0.0.0 0.0.0.0 201.72.31.1

六 ACL配置

MA5680T(config)#acl 3000
MA5680T(config-acl-adv-3000)# rule deny ip destination 201.72.31.6 0 先禁止所有访问
MA5680T(config-acl-adv-3000)#rule permit ip source 201.72.31.0 0.0.0.255 destination 201.72.31.6 0 再允许特定网段访问
MA5680T (config)#packet-filter inbound ip-group 3000 port 0/19/0 激活ACL生效

七 网管配置

MA5680T(config)#snmp-agent community read wlwhb!@#$ 名称和网管侧一致
MA5680T(config)#snmp-agent community write wlwhb%^&*名称和网管侧一致
MA5680T(config)#snmp-agent trap enable standard
MA5680T(config)#snmp-agent target-host trap address 217.23.42.31 securityname TEST-N2000 IP地址为网管IP地址,名称和网管侧一致
MA5680T(config)#snmp-agent target-host trap address 217.23.42.32 securityname TEST -N2000 IP地址为网管IP地址,名称和网管侧一致
MA5680T(config)#snmp-agent target-host trap address 217.23.42.33 securityname HF-SZL-N2000 IP地址为网管IP地址,名称和网管侧一致
MA5680T(config)#snmp-agent trap source vlanif 4000 网管VLAN
MA5680T(config)#snmp-agent sys-info contact HW-800-830-2118
MA5680T(config)# MA5600(config)#snmp-agent sys-info location Test Telecom, Office根据具体位置填写
MA5680T(config)# snmp-agent sys-info version v1 v2c 版本信息

八 创建业务VLAN并在上行口透传

MA5680T(config)# vlan 1111 smart
MA5680T(config)# vlan attrib 1111 q-in-q
MA5680T(config)# port vlan 1111 0/19 0

九 配置流量模版

MA5680T(config)#traffic table ip index 1 cir 4096 priority 1 priority-policy tag-In-Packag
模板ID为1,保证信息速率为4M,优先级为1,按照报文中优先级进行调度

十 配置DBA模板

MA5680T(config)#dba-profile add profile-id 2 type 3 assure 30720 max 102400
模板的索引号为20,类型为Type3,保证带宽为30M,最大带宽为100M

十一 配置ONT线路模版

MA5680T(config)#ont-lineprofile epon profile-id 10
MA5680T(config-epon-lineprofile-10)#llid dba-profile-id 20
MA5680T(config-epon-lineprofile-10)#commit
MA5680T(config-epon-lineprofile-10)#quit
模板ID为10,LLID(Logic Link ID)的DBA模板ID为20。去使能FEC功能(默认),不进行流量限速(默认),需强调的是,模板数据配置后,退出模板模式前,必须使用commit命令使配置生效。

十二 配置ONT业务模版

MA5680T(config)#ont-srvprofile epon profile-id 10
MA5680T

(config-epon-srvprofile-10)#ont-port eth 4 pots 2
MA5680T(config-epon-srvprofile-10)#port vlan eth 1 10
MA5680T(config-epon-srvprofile-10)#commit
MA5680T(config-epon-srvprofile-10)#quit
业务模板需要与实际ONT类型保持一致,本例以HG850e为例,4个ETH端口,2个POTS端口,ETH端口1所属VLAN ID为10。同样,模板参数配置完成后,退出模板模式前,必须使用commit命令使配置生效。

十三 添加ONT

MA5680T(config)#interface epon 0/1
MA5680T(config-if-epon-0/1)#port 1 ont-auto-find enable
MA5680T(config-if-epon-0/1)#display ont autofind 1
Number : 1
F/S/P : 0/1/1
Ont Mac : 001E-E3F4-0006
Password : 000000000000
VenderID : HWTC
Ontmodel : 850e
OntSoftwareVersion : V100R001C05B055
OntHardwareVersion : HG850e
Ont autofind time : 20011-01-08 16:15:31
MA5680T(config-if-epon-0/1)#ont confirm 1 ontid 1 mac-auth 001E-E3F4-0006 oam ont-lineprofile-id 10 ont-srvprofile-id 10
ONT接在EPON端口0/1/1下,ONT ID为1,MAC地址为001E-E3F4-0006。

十四 配置ONT端口VLAN

MA5680T(config-if-epon-0/1)#ont port native-vlan 1 1 eth 1 vlan 1200

ONT上ID为1的ETH端口native VLAN ID为1200。

十五 配置业务虚端口

MA5680T(config)#service-port 1 vlan 100 epon 0/1/1 ont 1 multi-service
user-vlan 10 inbound traffic-table index 1 outbound traffic-table index 1
业务流索引为1,业务VLAN为1200,ONT ID为1,用户侧VLAN为1111。使用索引为1的流量模板。对于EPBA单板,业务VLAN与用户侧VLAN需要设置成相同的VLAN。

十六 保存数据

MA5680T(config)#save


相关文档