0% found this document useful (0 votes)
16 views

OLT base configuration(2)

The document outlines the configuration steps for creating VLANs, traffic tables, service profiles, and line profiles in a network setup. It includes specific commands for setting up VLANs 476 and 477, defining traffic tables with various bandwidth limits, and creating multiple service and line profiles for different service types. Additionally, it details the parameters for each profile, including maximum MAC counts and DBA profiles for bandwidth allocation.

Uploaded by

hangsohieb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
16 views

OLT base configuration(2)

The document outlines the configuration steps for creating VLANs, traffic tables, service profiles, and line profiles in a network setup. It includes specific commands for setting up VLANs 476 and 477, defining traffic tables with various bandwidth limits, and creating multiple service and line profiles for different service types. Additionally, it details the parameters for each profile, including maximum MAC counts and DBA profiles for bandwidth allocation.

Uploaded by

hangsohieb
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 9

1.

Create VLAN

vlan 476 to 477 smart


vlan desc 476 description "PPPoE-PNHPHT-EZESURF"
vlan desc 477 description "PPPoE-PNHPHT-EZEBIZ"
port vlan 476 to 477 0/2 0

2. Create Traffic Table

undo traffic table ip index 1


undo traffic table ip index 2
undo traffic table ip index 3
undo traffic table ip index 4
undo traffic table ip index 5
undo traffic table ip index 6
traffic table ip index 1 name "TTB-1M" cir 1024 cbs 34768 pir 1024 pbs 34768
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 2 name "TTB-2M" cir 2048 cbs 67536 pir 2048 pbs 67536
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 3 name "TTB-3M" cir 3072 cbs 100304 pir 3072 pbs 100304
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 4 name "TTB-4M" cir 4096 cbs 133072 pir 4096 pbs 133072
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 5 name "TTB-5M" cir 5120 cbs 165840 pir 5120 pbs 165840
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 6 name "TTB-6M" cir 6144 cbs 198608 pir 6144 pbs 198608
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 7 name "TTB-7M" cir 7168 cbs 231376 pir 7168 pbs 231376
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 8 name "TTB-8M" cir 8192 cbs 264144 pir 8192 pbs 264144
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 9 name "TTB-9M" cir 9216 cbs 296912 pir 9216 pbs 296912
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 10 name "TTB-10M" cir 10240 cbs 329680 pir 10240 pbs 329680
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 11 name "TTB-11M" cir 11264 cbs 362448 pir 11264 pbs 362448
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 12 name "TTB-12M" cir 12288 cbs 395216 pir 12288 pbs 395216
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 13 name "TTB-13M" cir 13312 cbs 427984 pir 13312 pbs 427984
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 14 name "TTB-14M" cir 14336 cbs 460752 pir 14336 pbs 460752
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 15 name "TTB-15M" cir 15360 cbs 493520 pir 15360 pbs 493520
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 16 name "TTB-16M" cir 16384 cbs 526288 pir 16384 pbs 526288
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 17 name "TTB-17M" cir 17408 cbs 559056 pir 17408 pbs 559056
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 18 name "TTB-18M" cir 18432 cbs 591824 pir 18432 pbs 591824
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 19 name "TTB-19M" cir 19456 cbs 624592 pir 19456 pbs 624592
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 20 name "TTB-20M" cir 20480 cbs 657360 pir 20480 pbs 657360
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 21 name "TTB-21M" cir 21504 cbs 690128 pir 21504 pbs 690128
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 22 name "TTB-22M" cir 22528 cbs 722896 pir 22528 pbs 722896
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 23 name "TTB-23M" cir 23552 cbs 755664 pir 23552 pbs 755664
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 24 name "TTB-24M" cir 24576 cbs 788432 pir 24576 pbs 788432
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 25 name "TTB-25M" cir 25600 cbs 821200 pir 25600 pbs 821200
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 26 name "TTB-26M" cir 26624 cbs 853968 pir 26624 pbs 853968
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 27 name "TTB-27M" cir 27648 cbs 886736 pir 27648 pbs 886736
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 28 name "TTB-28M" cir 28672 cbs 919504 pir 28672 pbs 919504
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 29 name "TTB-29M" cir 29696 cbs 952272 pir 29696 pbs 952272
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 30 name "TTB-30M" cir 30720 cbs 985040 pir 30720 pbs 985040
color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 31 name "TTB-31M" cir 31744 cbs 1017808 pir 31744 pbs
1017808 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 32 name "TTB-32M" cir 32768 cbs 1050576 pir 32768 pbs
1050576 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 33 name "TTB-33M" cir 33792 cbs 1083344 pir 33792 pbs
1083344 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 34 name "TTB-34M" cir 34816 cbs 1116112 pir 34816 pbs
1116112 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 35 name "TTB-35M" cir 35840 cbs 1148880 pir 35840 pbs
1148880 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 36 name "TTB-36M" cir 36864 cbs 1181648 pir 36864 pbs
1181648 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 37 name "TTB-37M" cir 37888 cbs 1214416 pir 37888 pbs
1214416 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 38 name "TTB-38M" cir 38912 cbs 1247184 pir 38912 pbs
1247184 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 39 name "TTB-39M" cir 39936 cbs 1279952 pir 39936 pbs
1279952 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 40 name "TTB-40M" cir 40960 cbs 1312720 pir 40960 pbs
1312720 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 41 name "TTB-41M" cir 41984 cbs 1345488 pir 41984 pbs
1345488 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 42 name "TTB-42M" cir 43008 cbs 1378256 pir 43008 pbs
1378256 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 43 name "TTB-43M" cir 44032 cbs 1411024 pir 44032 pbs
1411024 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 44 name "TTB-44M" cir 45056 cbs 1443792 pir 45056 pbs
1443792 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 45 name "TTB-45M" cir 46080 cbs 1476560 pir 46080 pbs
1476560 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 46 name "TTB-46M" cir 47104 cbs 1509328 pir 47104 pbs
1509328 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 47 name "TTB-47M" cir 48128 cbs 1542096 pir 48128 pbs
1542096 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 48 name "TTB-48M" cir 49152 cbs 1574864 pir 49152 pbs
1574864 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 49 name "TTB-49M" cir 50176 cbs 1607632 pir 50176 pbs
1607632 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 50 name "TTB-50M" cir 51200 cbs 1640400 pir 51200 pbs
1640400 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 51 name "TTB-51M" cir 50944 cbs 1632208 pir 50944 pbs
1632208 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 52 name "TTB-52M" cir 51968 cbs 1664976 pir 51968 pbs
1664976 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 53 name "TTB-53M" cir 52992 cbs 1697744 pir 52992 pbs
1697744 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 54 name "TTB-54M" cir 53952 cbs 1728464 pir 53952 pbs
1728464 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 55 name "TTB-55M" cir 54976 cbs 1761232 pir 54976 pbs
1761232 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 56 name "TTB-56M" cir 56000 cbs 1794000 pir 56000 pbs
1794000 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 57 name "TTB-57M" cir 56960 cbs 1824720 pir 56960 pbs
1824720 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 58 name "TTB-58M" cir 57984 cbs 1857488 pir 57984 pbs
1857488 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 59 name "TTB-59M" cir 58944 cbs 1888208 pir 58944 pbs
1888208 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 60 name "TTB-60M" cir 59968 cbs 1920976 pir 59968 pbs
1920976 color-mode color-blind priority 0 priority-policy local-setting
traffic table ip index 100 name "TTB-100M" cir 102400 cbs 3278800 pir 102400 pbs
3278800 color-mode color-blind priority 0 priority-policy local-setting

3. Create and Line profile

dba-profile add profile-id 300 profile-name "DBA-Default-300M" type4 max â€-


307200‬

dba-profile add profile-id 301 profile-name "DBA-Default-500M" type4 max â€512000

dba-profile add profile-id 302 profile-name "DBA-Default-1000M" type4 max â€-


1024000‬

4. Create Service Profile

ont-srvprofile gpon profile-id 1 profile-name "SRV-PPPoE"


ont-port pots adaptive eth adaptive

ring check enable


port eth 1 max-mac-count 1
port eth 2 max-mac-count 1
port eth 3 max-mac-count 1
port eth 4 max-mac-count 1
commit
quit
ont-srvprofile gpon profile-id 2 profile-name "SRV-IPBase"
ont-port pots adaptive eth adaptive

ring check enable


port eth 1 max-mac-count 1
port eth 2 max-mac-count 1
port eth 3 max-mac-count 1
port eth 4 max-mac-count 1
commit
quit
ont-srvprofile gpon profile-id 3 profile-name "SRV-MPLS"
ont-port pots adaptive eth adaptive

ring check enable


port eth 1 max-mac-count 3
port eth 2 max-mac-count 3
port eth 3 max-mac-count 3
port eth 4 max-mac-count 3
commit
quit
ont-srvprofile gpon profile-id 4 profile-name "Router Function"
ont-port pots adaptive eth adaptive

ring check enable


commit
quit

5. Create Line profile

ont-lineprofile gpon profile-id 1 profile-name "Line-Profile-1M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 2 profile-name "Line-Profile-2M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 3 profile-name "Line-Profile-3M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3


gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 5 profile-name "Line-Profile-5M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 6 profile-name "Line-Profile-6M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 10 profile-name "Line-Profile-10M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436


commit
quit

ont-lineprofile gpon profile-id 12 profile-name "Line-Profile-12M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 15 profile-name "Line-Profile-15M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 20 profile-name "Line-Profile-20M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 30 profile-name "Line-Profile-30M"


tcont 1 dba-profile-id 300
tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 50 profile-name "Line-Profile-50M"

tcont 1 dba-profile-id 300


tcont 2 dba-profile-id 300
tcont 3 dba-profile-id 300
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 100 profile-name "Line-Profile-100M"

tcont 1 dba-profile-id 301


tcont 2 dba-profile-id 301
tcont 3 dba-profile-id 301
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 150 profile-name "Line-Profile-150M"

tcont 1 dba-profile-id 301


tcont 2 dba-profile-id 301
tcont 3 dba-profile-id 301
gem add 1 eth tcont 1
gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 200 profile-name "Line-Profile-200M"

tcont 1 dba-profile-id 301


tcont 2 dba-profile-id 301
tcont 3 dba-profile-id 301
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 300 profile-name "Line-Profile-300M"

tcont 1 dba-profile-id 302


tcont 2 dba-profile-id 302
tcont 3 dba-profile-id 302
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3

gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

ont-lineprofile gpon profile-id 500 profile-name "Line-Profile-500M"

tcont 1 dba-profile-id 302


tcont 2 dba-profile-id 302
tcont 3 dba-profile-id 302
gem add 1 eth tcont 1

gem add 2 eth tcont 2

gem add 201 eth tcont 3


gem mapping 1 0 vlan 435

gem mapping 1 1 vlan 436

commit
quit

You might also like