FTTB的模板:
OLT上的DBA模板控制ONU上行数据:
dba-profile add profile-id 100 profile-name OLT-DBA type3 assure 102400 max 128000 //创建DBA模板
ont-lineprofile epon profile-id 123 profile-name SNMP //创建线路模板
llid dba-profile-id 100 //引用DBA模板
commit //提交
ZhongCun_MA5680T_T_1(config)#display dba-profile all
----------------------------------------------------------------------------
Profile-ID type Bandwidth Fix Assure Bind
compensation (kbps) (kbps) times
----------------------------------------------------------------------------
1 1 No 5120 0 Max 0 (kbps)
0
2 1 No 1024 0 0 0
3 4 No 0 0 32768 0
4 0
5 0
6 0
7 0
8 0
9 2
1 1 1 2 2 3 No 1024000 No 32768 No 102400 No 0 No 0 No 0 0 0 0 32768 102400 10240 0 0 0 0 0 15360
10 3 No 0 30208 51200 1
11 4 No 0 0 51200 1
12 4 No 0 0 29952 1
13 3 No 0 30720 51200 1
100 3 No 0 102400 128000 1
----------------------------------------------------------------------------
进相应PON对ONU进行绑定!
ont add 3 0 mac-auth 286E-D483-5517 snmp ont-lineprofile-id 123 desc \"QiCheDaSha-1\"
在绑定上线的ONU时对线路模板的引用!!
ZhongCun_MA5680T_T_1(config)#display ont-lineprofile epon all
---------------------------------------------------------------------
Profile-ID Profile-name Binding times
---------------------------------------------------------------------
1 HG866e 5 2 line-profile_2 1 3 huaweihg 0 18 line-profile_18 6 19 line-profile_19 18 20 line-profile_20 1 100 SNMP 21 -----------------------------------------------------------------
ont ipconfig 3 0 ip-address 172.27.13.14 mask 255.255.255.0 172.27.13.1 manage-vlan 50
下发网管IP及网关!!
gateway
service-port vlan 748 epon 0/1/3 ont 0 multi-service user-vlan 50 tag-transform default
建立业务虚端口,可以理解为将0/1/3 ont 0 vlan 50在OLT上加入vlan 748。或在原有的帧上加上vlan 748标记!!因此如果在OLT上没配置service-port 相当于没有加入相应的vlan.
字段介绍:
tag-transform default 默认方式,增加一层tag。
service-port vlan 2076 epon 0/1/3 ont 0 multi-service user-vlan 2076 tag-transform translate
tag-transform translate 表示不打第二层标记,直接透传!!
service-port vlan 1800 epon 0/1/1 ont all multi-service user-vlan 101 to 124
一次性将多个用户vlan打上层vlan.
FTTH模板:
比FTTB多出一个ont-srvprofile模板!对组播也进行了一定的设置!
ont-srvprofile epon profile-id 2 profile-name \"WLAN-HG866E\"
ont-port pots 2 eth 4 //表示有2个语音口,4个eth口
multicast fast-leave enable
port vlan eth 1 101 //101表示做到eth口上的业务vlan,由集成分配
port vlan eth 2 101
port vlan eth 3 101
port vlan eth 4 101
commit
eth 1 ,eth 2,等等表示ONU设备上的端口,如HG8245设备的LAN 1口,LAN 2口。等等!!
进相应PON对在线ONU进行绑定!!
ont add 1 0 mac-auth 001F-A471-CDD2 oam ont-lineprofile-id 2 ont-srvprofile-id 2 desc \"fuhegonggshangju\"
ont multicast-mode 1 0 ctc //设置ONU的组播模式
整理一下顺序:
1, 建DBA 2, 建线路模板(ont-lineprofile)对DBA进行引用。 3, 对于FTTH的则还需建业务模板(ont-srvprofile) 4, 在对添加ONU时对线路模板进行引用FTTH中还要对业务模板进行引用 ONU上的几个模板:
adsl line-profile quickadd 6 basic-para all trellis 1 bitswap 1 1 channel interleaved 16 6 adapt at-startup snr 6 0 31 6 0 31 rate 32 6144 32 512 name ADSL 6M
线路模板,按制用户业务数据上下行!
interface adsl 0/3
deactivate all
activate all profile-index 6 引用!!
流量模板:
traffic table ip index 7 cir off priority 4 priority-policy tag-In-Package //创建流量模板
multi-service-port from-vlan 3549 board 3-4 vpi 8 vci 46 rx-cttr 7 tx-cttr 7
rx-cttr 7 tx-cttr 7引用流量模板!!
ChangShaWeiGongYeQu_MA5616_1(config)#display from-index 0 traffic table ip { |to-index }: Command: display traffic table ip from-index 0 ------------------------------------------------------------------------------ TID CIR(kbps) CBS(bytes) PIR(kbps) PBS(bytes) Pri Copy-policy Pri-Policy Color Mode ------------------------------------------------------------------------------ 0 512 18384 1024 36768 6 - tag-pri blind 1 1024 34768 2048 69536 0 - tag-priblind 2 2048 67536 4096 135027 0 - tag-pri blind 3 4096 133072 8192 266144 4 - tag-pri blind 4 8192 2144 16384 528288 4 - tag-pri blind 5 16384 526288 32768 1024000 4 - tag-pri blind 6 off off off off 0 - tag-pri blind 7 off off off off 4 - tag-pri blind ------------------------------------------------------------------------------ Total Num : 8 ChangShaWeiGongYeQu_MA5616_1(config)#