文档库 最新最全的文档下载
当前位置:文档库 › GPON优先级配置脚本

GPON优先级配置脚本

vlan 991 smart

vlan 501 smart

vlan 3494 smart

vlan attrib 3494 q-in-q

port vlan 3494 0/19 0

port vlan 991 0/19 0

port vlan 501 0/20 0


interface vlanif 991

ip address 10.248.70.0 255.255.0.0

quit

ip route-static 0.0.0.0 0.0.0.0 10.248.0.1


snmp-agent community write w-jingyesi

snmp-agent community read r-jingyesi

snmp-agent trap enable standard

snmp-agent sys-info version v1 v2c

snmp-agent target-host trap-hostname dgcnc address 221.4.129.50 trap-paramsname dgcnc


snmp-agent target-host trap-hostname dgcnc1 address 221.4.129.12 trap-paramsname dgcnc1


snmp-agent target-host trap-hostname dgcnc2 address 221.4.129.13 trap-paramsname dgcnc2




autosave interval on

autosave interval 1440




dba-profile add profile-id 102 profile-name DBA_2M type3 assure 2048 max 2048

dba-profile add profile-id 105 profile-name DBA_5M type3 assure 5120 max 5120

dba-profile add profile-id 100 profile-name DBA_100M type3 assure 51200 max 102400



dba-profile add profile-id 202 profile-name DBA_4M type3 assure 2048 max 4096

dba-profile add profile-id 205 profile-name DBA_6M type3 assure 5120 max 6144

dba-profile add profile-id 200 profile-name DBA_200M type3 assure 51200 max 204800


ont-lineprofile gpon profile-id 24

tcont 1 dba-profile-id 200

tcont 2 dba-profile-id 202

tcont 3 dba-profile-id 205

gem add 1 eth tcont 1

gem add 126 eth tcont 3

gem add 127 eth tcont 2

mapping-mode priority

gem mapping 1 0 priority 1

gem mapping 126 0 priority 6

gem mapping 127 0 priority 5

commit

quit



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

ont-lineprofile gpon profile-id 20

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

mapping-mode priority

gem mapping 1 0 priority 1

gem mapping 126 0 priority 6

gem mapping 127 0 priority 5

commit

quit

port 0 ont-auto-find enable
port 1 ont-auto-find enable
port 2 ont-auto-find enable
port 3 ont-auto-find enable
port 4 ont-auto-find enable
port 5 ont-auto-find enable
port 6 ont-auto-find enable
port 7 ont-auto-find enable




ont add 4 sn-auth 48575443DB680042 snmp ont-lineprofile-id 20 desc DongJunHaoYuan-20


ont ipconfig 4 6 static ip-address 10.248.0.151 mask 255.255.0.0 gateway 10.248.0.1 vlan 991 priority 5



service-port vlan 991 gpon 0/4/4 ont 0 gemport 127 multi-service user-vlan 991 inbound traffic-table index 15 outbound traffic-table index 15

service-port vlan 3480 gpon 0/4/4 ont 0 gemport 1 multi-service user-vlan other-all inbound traffic-table index 13 outbound t

raffic-table index 13

service-port vlan 501 gpon 0/4/4 ont 0 gemport 126 multi-service user-vlan 501 inbound traffic-table index 14 outbound traffic-table index 14






ONU:



sysname ONU-DongJunHaoYuan20B-MA5616

board confirm 0


autosave interval on
autosave interval 1440

interface emu 1

fan speed mode automatic

quit

snmp-agent community write w-jingyesi

snmp-agent community read r-jingyesi

snmp-agent trap enable standard

snmp-agent sys-info version v1 v2c

snmp-agent target-host trap-hostname dgcnc address 221.4.129.50 trap-paramsname dgcnc


snmp-agent target-host trap-hostname dgcnc1 address 221.4.129.12 trap-paramsname dgcnc1


snmp-agent target-host trap-hostname dgcnc2 address 221.4.129.13 trap-paramsname dgcnc2




adsl line-profile add 2
y
2M
1
y
0
1
0
0
0
n
1
n
y
32
2048
32
640

adsl line-profile add 3
y
3M
1
y
0
1
0
0
0
n
1
n
y
32
3072
32
640


adsl line-profile add 4
y
4M
1
y
0
1
0
0
0
n
1
n
y
32
4096
32
640


adsl line-profile add 6
y
6M
1
y
0
1
0
0
0
n
1
n
y
32
6144
32
1024


adsl line-profile add 101
y
6m
1
y
0
1
0
0
1
n
1
n
y
32
6144
32
1024



interface adsl 0/4

deactivate all

quit

vlan 1257 to 1384 mux
y

port vlan 1257 to 1384 0/0 1
y


vlan 501

protocol-8021p-pri 6 vlan 501

port vlan 501 0/0 1

interface vlanif 501

ip address 10.60.17.214 255.255.255.0

quit

ip route-static 10.0.0.0 8 10.60.17.1


ip route-static 221.4.12.0 24 10.60.17.1





traffic table ip index 13 name kd cir off priority 1 priority-policy Tag-In-Package

multi-service-port from-vlan 1353 board 4 vpi 8 vci 35 rx-cttr 13 tx-cttr 13
y



voip
ip address media 10.60.17.214 10.60.17.1
ip address signaling 10.60.17.214
quit

fax-modem parameters rfc2198-start-mode disableRfc2198SmartStartup //关闭2198只能冗余,并复位dsp扣板(方法见附件2)



interface h248 0
y

if-h248 attribute mgip 10.60.17.214 mgport 2944 code text transfer udp primary-mgc-ip1 221.4.12.196 primary-mgc-port 2944 mg-media-ip1 10.60.17.214 start-negotiate-version 2


if-h248 attribute profile-index 0

h248profile modify para 0 1

h248profile modify para 44 1

digitmap-timer long 10



reset coldstart
y

quit


esl user
mgpstnuser batadd 0/3/0 0/3/31 0 terminalid 0

quit

save




相关文档