资源描述
内部材料,注意保密!
呵呵!!!
说真,我也不懂得要记什么,就随便找个站点来讲吧!
例如:奥亮光电科技有限公司
一、咱们要懂得配备流程图:
二,数据收集
OLT
普宁南径七楼机房无线1-OLT001-HW-MA5680T
OLT管理vlan
Vlan 60
OLT管理IP
172.31.36.133/25
网关
172.31.36.129
语音vlan
外层vlan 2067 内层vlan101
互联网vlan
外层vlan 2063 内层vlan100
PON口
0/18/0 0
三、理解各种模板
DBA模板、线路模板、业务模板、traffic table 虽然不需要咱们配备,但咱们还是要弄懂它们
3.1、DBA模板
JY-NanJing-MA5680T#display dba-profile all
----------------------------------------------------------------------------
Profile-ID type Bandwidth Fix Assure Max Bind
compensation (kbps) (kbps) (kbps) times
----------------------------------------------------------------------------
0 3 No 0 8192 20480 1
1 1 No 5120 0 0 27
2 1 No 1024 0 0 1
3 4 No 0 0 32768 0
4 1 No 1024000 0 0 0
5 1 No 32768 0 0 0
6 1 No 102400 0 0 0
7 2 No 0 32768 0 0
8 2 No 0 102400 0 0
9 3 No 0 32768 65536 0
10 3 No 0 6144 10240 1
201 3 No 0 2048 4096 2
202 3 No 0 4096 8192 15
203 3 No 0 5120 10240 2
204 3 No 0 6144 12288 2
205 3 No 0 8192 16384 2
210 3 No 0 10240 20480 2
211 3 No 0 20480 40960 2
212 3 No 0 30720 61440 2
213 3 No 0 40960 81920 2
214 3 No 0 51200 102400 2
215 3 No 0 61440 122880 2
216 3 No 0 81920 163840 2
217 3 No 0 102400 204800 2
301 3 No 0 1024 1024 13
302 3 No 0 2048 2048 13
----------------------------------------------------------------------------
这个例子用到会是210 、302 、202
3.2线路模板
ont-lineprofile gpon profile-id 210 profile-name "10M-per-MA5620"
mapping-mode priority
tcont 1 dba-profile-id 210 //用于宽带业务
tcont 2 dba-profile-id 302 //用于网管
tcont 3 dba-profile-id 202 //用于语音业务
gem add 1 eth tcont 1
gem add 2 eth tcont 2
gem add 3 eth tcont 3
gem mapping 1 0 priority 1
gem mapping 2 0 priority 5
gem mapping 3 0 priority 6
commit
从线路模板咱们可以看出tcont 1绑定DBA-210,绑定在gemport 1,优先级为1
从线路模板咱们可以看出tcont 2绑定DBA-302,绑定在gemport 2,优先级为5
从线路模板咱们可以看出tcont 3绑定DBA-202,绑定在gemport 3,优先级为6
3.3业务模板
由于奥亮光电科技有限公司是MA5620,因此不需要用到业务模板,但咱们可以查看普宁南径 OLT里面业务模板
JY-NanJing-MA5680T#display ont-srvprofile gpon all
---------------------------------------------------------------------
Profile-ID Profile-name Binding times
---------------------------------------------------------------------
0 srv-profile_default_0 0
1 srvprofile_default_0 0
2 srvprofile_default_1 0
101 HG850a-4port 0
102 HG813-4port 0
---------------------------------------------------------------------
Total:5
3.4 traffic table
由于揭阳MA5620使用端口限速,不需要用到traffic table,但HG8240还是需要用到,咱们可以查看普宁南径 OLT里面业务模板
traffic table ip index 7 name "20M_DOWN" cir 20480 cbs 657360 pir 20480 pbs
657360 priority 1 priority-policy tag-in-package
traffic table ip index 8 name "20M_UP" cir 20480 cbs 657360 pir 20480 pbs
657360 priority 1 priority-policy tag-in-package
traffic table ip index 201 name "traffic_2M" cir 2048 cbs 67536 pir 4096 pbs
133072 priority 1 priority-policy local-setting
traffic table ip index 202 name "traffic_4M" cir 4096 cbs 133072 pir 8192 pbs 264144 priority 1 priority-policy local-setting
traffic table ip index 203 name "traffic_5M" cir 5120 cbs 165840 pir 10240 pbs 329680 priority 1 priority-policy local-setting
traffic table ip index 204 name "traffic_6M" cir 6144 cbs 198608 pir 12288 pbs 395216 priority 1 priority-policy local-setting
traffic table ip index 205 name "traffic_8M" cir 8192 cbs 264144 pir 16384 pbs 526288 priority 1 priority-policy local-setting
traffic table ip index 210 name "traffic_10M" cir 10240 cbs 329680 pir 20480
pbs 657360 priority 1 priority-policy local-setting
traffic table ip index 211 name "traffic_20M" cir 20480 cbs 657360 pir 40960
pbs 1312720 priority 1 priority-policy local-setting
traffic table ip index 212 name "traffic_30M" cir 30720 cbs 985040 pir 61440
pbs 1968080 priority 1 priority-policy local-setting
traffic table ip index 213 name "traffic_40M" cir 40960 cbs 1312720 pir 81920 pbs 2623440 priority 1 priority-policy local-setting
traffic table ip index 214 name "traffic_50M" cir 51200 cbs 1640400 pir 102400 pbs 3278800 priority 1 priority-policy local-setting
traffic table ip index 215 name "traffic_60M" cir 61440 cbs 1968080 pir 122880 pbs 3934160 priority 1 priority-policy local-setting
traffic table ip index 216 name "traffic_80M" cir 81920 cbs 2623440 pir 163840 pbs 5244880 priority 1 priority-policy local-setting
traffic table ip index 217 name "traffic_100M" cir 102400 cbs 3278800 pir
204800 pbs 6555600 priority 1 priority-policy local-setting
switch adsl mode to rfc2662 vdsl mode to tr129
四、添加、透传互联网vlan、语音vlan
[vlan-config]
<vlan-config>
vlan 60 smart
vlan 2063 smart
vlan 2067 smart //建立语音和互联网VLAN
vlan attrib 2063 q-in-q
vlan attrib 2067 q-in-q //设立为QINQ模式
port vlan 60 0/19 0
port vlan 60 0/20 0
port vlan 2063 0/19 0
port vlan 2063 0/20 0 //透传互联网LAN
port vlan 2067 0/19 0
port vlan 2067 0/20 0 //透传语音VLAN
#
五、注册ONU、下发ONU网管IP
[gpon]
<gpon-0/18>
interface gpon 0/18
port 0 ont-auto-find enable
ont add 0 0 sn-auth "48575443BC990215" snmp ont-lineprofile-id 210 desc "
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)"// //增长ONU。在0 PON下增长ONUID为0ONU;该ONU 序列号为48575443BC990215;管理模式为snmp;线路版本为210;描述信息为JY_GuangDongAoLiangKeJiGongSi_MA5620(J)
ont snmp-profile 0 0 profile-id 1
ont ipconfig 0 0 static ip-address 172.31.36.133 mask 255.255.255.128 vlan 60 priority 5 gateway 172.31.36.129 //给ONU下发IP地址。给0 PON口下1号ONU下发静态IP地址:172.31.36.133,掩码255.255.255.128,网关172.31.36.129,管理vlan 60,优先级 5
注:本来真可以哦!这条搞进去ONU管理IP就配备好了
六、添加业务虚端口
#
[bbs-config]
<bbs-config>
service-port 0 vlan 60 gpon 0/18/0 ont 0 gemport 2 multi-service user-vlan 60 tag-transform translate //配备网管业务虚端口。
service-port 1 vlan 2063 gpon 0/18/0 ont 0 gemport 1 multi-service user-vlan
100 tag-transform default //配备宽带业务虚端口
service-port 4 vlan 2067 gpon 0/18/0 ont 0 gemport 3 multi-service user-vlan
101 tag-transform default //配备语音业务虚端口
#
Return
到了 这里OLT数据就配备完毕了。
七、补充
顺便说一下,如果是8240话,有如下两个区别:
1、如在添加ONU,通过第1步,可以懂得ONU在18槽3口,因此进入18槽进行相应配备
JY_JX_XiaSha_MA5680T_A(config)#interface gpon 0/18 //进入18槽进行相应配备
JY_JX_XiaSha_MA5680T_A(config-if-gpon-0/18)#ont add 3 0 sn-auth 48575443A3F04B02 omci ont-lineprofile-id 110 ont-srvprofile-id 101 desc “JY_GuangDongAoLiangKeJiGongSi_MA5620(J)"
如上:多了ont-srvprofile-id 101 业务模板
2、还需要创立traffic table进行流量限速
JY_JX_XiaSha_MA5680T_A(config)#disp cur //通过当前配备,查看已创立 traffic table;
JY_JX_XiaSha_MA5680T_A(config)#traffic table ip index 210 name 210+10M cir 10240 cbs 10240 pir 10240 pbs 10240 priority user-cos 0 priority-policy tag-in-package
//其中CIR为下行保证带宽,CBS为下行最大带宽;PIR为上行保证带宽,PBS为上行最大带宽;本次开局带宽为10M
八、删除ONU配备办法
1,删除service-port
JY_JX_XiaSha_MA5680T_A(config)#display service-port all //可以查看当前所有service-port,如下所示
{ <cr>|sort-by<K>||<K> }:
Command:
display service-port all
----------------------------------------------------------------------------
INDEX VLAN VLAN PORT F/ S/ P VPI VCI FLOW FLOW RX TX STATE
ID ATTR TYPE TYPE PARA
----------------------------------------------------------------------------
0 3006 common gpon 0/18/1 1 1 vlan 3006 6 6 up
1 1213 QinQ gpon 0/18/3 0 1 vlan 101 14 14 up
----------------------------------------------------------------------------
Total :2 (Up/Down : 2/0)
可以懂得刚刚创立service-port index 为1
JY_JX_XiaSha_MA5680T_A(config)#undo service-port 1 //删除index为1service-port
2,删除添加ONU
JY_JX_XiaSha_MA5680T_A(config)#int gpon 0/18 //进入18槽
JY_JX_XiaSha_MA5680T_A(config-if-gpon-0/18)#ont delete 3 0 //删除18插槽3端口,编号为0onu
3,删除业务模板
JY_JX_XiaSha_MA5680T_A(config)#undo ont-srvprofile gpon profile-id 101 //删除id为101业务模板
4,删除线路模板
JY_JX_XiaSha_MA5680T_A(config)#undo ont-lineprofile gpon profile-id 110 //删除id为110线路模板
5,删除dba模板,如果dba模板不是新建,可以不删除
JY_JX_XiaSha_MA5680T_A(config)#dba-profile delete profile-id 210 // 删除id为210dba模板
6,删除vlan
JY_JX_XiaSha_MA5680T_A(config)#undo port vlan 1213 0/11 0
JY_JX_XiaSha_MA5680T_A(config)#undo vlan 1213
JY_JX_XiaSha_MA5680T_A(config)#undo vlan 101
九、ONU配备
如下是奥亮光电科技有限公司MA5620配备阐明:
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)#display current-configuration
{ <cr>|section<K>|simple<K>||<K> }:
Command:
display current-configuration
[MA562XV800R308:3600]
#
[global-config]
<global-config>
sysname JY_GuangDongAoLiangKeJiGongSi_MA5620(J)
traffic table ip index 7 name ip-traffic-table_7 cir off color-mode color-blind priority 1 priority-policy local-setting //没用用到,摆设
trap convert event-to-alarm 0x3721000a
alarm alarmlevel 0x0a11a106 warning
alarm alarmlevel 0x0a11a109 warning
alarm alarmlevel 0x0a310112 warning
alarm alarmlevel 0x0a310142 warning //(不用看直接COPY)
local-digitmap add DefaultNormalDmm normal x.S
local-digitmap add DefaultSccDmm scc ([EF]X[0-9E].F|[EF]X[0-9E].S|[EF][EF]X[
0-9E].F|[EF][EF]X[0-9E].S)
local-digitmap add DefaultEmergencyDmm emergency (11X|91X)
#
[device-config]
<device-config>
port port-index 0/0/1 port-type GPON-PORT
#
[public-config]
<public-config>
snmp-agent local-engineid 800007DB03DCD2FCBC9903
snmp-agent community read public
snmp-agent community write private
snmp-agent target-host trap-hostname 1MTU.192.168.46.251 address 192.168.46.251 udp-port 162 trap-paramsname 1MTU.192.168.46.251
snmp-agent target-host trap-paramsname 1MTU.192.168.46.251 v1 securityname
wangguan
snmp-agent trap enable standard //配备网管(不用看直接COPY)
#
[vlan-config]
<vlan-config>
vlan 60 smart
vlan 100 to 101 smart
vlan desc 101 description "VOIP"
port vlan 60 0/0 1
port vlan 100 to 101 0/0 1
protocol-8021p-pri 5 vlan 60
protocol-8021p-pri 6 vlan 101 //和olt 同样,添加、透传互联网vlan、语音vlan
//普及课外知识
VLAN类型
VLAN 描述
应用场景
Standard VLAN
原则VLAN。一种Standard VLAN 只包括各种上行端口,VLAN 中以太网端口可互相通信,VLAN 间以太网端口互相隔离。
只合用于以太网端口。应用于网管、级联等。
Smart VLAN
一种Smart VLAN 中可包括各种上行端口和各种业务虚端口,且同一种Smart VLAN 包括业务虚端口互相隔离。VLAN 间业务虚端口也互相隔离。一种VLAN 可接入各种顾客,减少了对VLAN 数量占用。
应用于FE 接入业务,
如社区接入。
MUX VLAN
一种MUX VLAN 可包括各种上行端口,但只
包括一种业务虚端口,VLAN 间业务虚端口
互相隔离。VLAN 与接入顾客存在一对一映
射关系,因而可依照VLAN 区别不同接入
顾客。
应用于FE 接入业务,
如用VLAN 来区别用
户。
#
[gponnni]
<gponnni-0/0/1>
interface gponnni 0/0/1
password
#
[port-config]
<port-config>
line-rate inbound 10240 port 0/1/1
line-rate outbound 10240 port 0/1/1
//设立以太网端口0/1/1 上行和下载限速为10Mbit/s
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)#display qos-info line-rate port 0/1/1
line-rate:
port 0/1/1:
Inbound:
line rate:10240 Kbps
Outbound:
line rate:10240 Kbps
#
[bbs-config]
<bbs-config>
service-port 0 vlan 100 eth 0/1/1 multi-service user-vlan untagged rx-cttr 7 tx-cttr 7
//配备宽带业务虚端口,创立索引号分别为0业务虚端口, S-VLAN 分别为100,业务流模板分别为7、7。
#
[abs-config]
<abs-config>
config
ring check enable //启动铃声测试
#
[voip]
<voip>
voip
ip address media 172.0.96.2 172.0.96.1
ip address signaling 172.0.96.2
//在VOIP地址池中添加媒体IP及信令IP
#
[sip]
<sip-0>
interface sip 0 //创立一种sip接口
if-sip attribute basic media-ip 172.0.96.2 signal-ip 172.0.96.2 signal-port
5060 home-domain 192.168.1.64
if-sip attribute basic primary-proxy-ip1 192.168.1.64 primary-proxy-port 5060
if-sip attribute basic sipprofile-index 0
sipprofile modify syspara 49 1
//配备项添加必要SIP接口参数(看都不用看,直接copy)
#
[esl-user]
<esl-user>
esl user
sippstnuser add 0/2/1 0 telno 6180999
sippstnuser add 0/2/2 0 telno 6180833
sippstnuser add 0/2/3 0 telno 6180688
sippstnuser add 0/2/4 0 telno 6180988
sippstnuser auth set 0/2/1 telno 6180999 password-mode password auth-username 6180999 auth-password JYgmcc0999
sippstnuser auth set 0/2/2 telno 6180833 password-mode password auth-username 6180833 auth-password JYgmcc0833
sippstnuser auth set 0/2/3 telno 6180688 password-mode password auth-username 6180688 auth-password JYgmcc0688
sippstnuser auth set 0/2/4 telno 6180988 password-mode password auth-username 6180988 auth-password JYgmcc0988
//配备PSTN顾客数据
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)(config-esl-user)#display sip pstn user authinfo 0/2/1 telno 6189880
----------------------------------------
password-mode :password
auth-username :6180999
auth-password :******
----------------------------------------
检查语音网关与否通
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)(config)#display if-sip all
-----------------------------------------------------------------------------
MGID Trans State MGPort MGIP ProxyPort ProxyIP/DomainName
-----------------------------------------------------------------------------
0 UDP Fault 5060 172.0.60.2 5060 192.168.1.64
----------------------------------------------------------------------------
JY_GuangDongAoLiangKeJiGongSi_MA5620(J) (config-if-sip-0)#reset (重启语音业务接口)
Are you sure to reset the SIP interface?(y/n)[n]:y
JY_GuangDongAoLiangKeJiGongSi_MA5620(J)(LHuaDian)1LouIP_MA5620(config)#display pstn
展开阅读全文