Hello,
everyone!
Today, I will explain and show commands for configuring a line profile for GPON. For access service (data, voice, video) we have to configure the ONU profile. It consists of DBA profile, line profile, service profile, and SNMP profile. In my previous articles, I explained the DBA profile, the service profile, and the SNMP profile. Today I will explain the line profile and after that, I will finish the ONU profile.
A-line profile describes the binding between the T-CONTs and the DBA profiles, the QoS model of the traffic stream, and the mapping between the GEM port and the ONT side service.
In the first step, we have to see all existing line profiles in the system, because we can not add a new line profile with the same profile-id or profile name. For this operation, we use the next command:
TEST(config)#display ont-lineprofile gpon all
{ <cr>||<K> }:
Command:
display ont-lineprofile gpon all
------------------------------------------------------------------------------
Profile-ID Profile-name Binding times
------------------------------------------------------------------------------
0 line-profile_default_0 0
1 0100m 85
2 0150m 50
10 start 0
8193 line-profile-extend-frame 0
8194 line-profile-extend-frame-xgpon 0
8195 line-profile-extend-frame-xgspon 0
------------------------------------------------------------------------------
Total: 7
By default, the system has line profiles (you can see below, there are profile-id 0, 8193, 8194, and 8195).
If we want to see detail about some line profiles, we can use this command:
TEST(config)#display ont-lineprofile gpon profile-id 1
{ <cr>||<K> }:
Command:
display ont-lineprofile gpon profile-id 1
------------------------------------------------------------------------------
Profile-ID :1
Profile-name :0100m
Access-type :GPON
------------------------------------------------------------------------------
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :PQ
Mapping mode :VLAN
TR069 management :Enable
TR069 IP index :0
------------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
<T-CONT 1> DBA Profile-ID:10
<Gem Index 40>
….
Now, we can add a new line profile with profile id: 3, profile name: 200Mbps. If we do not put profile id, the system automatically allocates it. We create this gpon line profile on the next way:
TEST(config)#ont-lineprofile gpon profile-id 3 profile-name 200Mbps
TEST(config-gpon-lineprofile-3)#tr069-management enable
TEST(config-gpon-lineprofile-3)#tcont 1 dba-profile-id 10
TEST(config-gpon-lineprofile-3)#tcont 2 dba-profile-id 12
TEST(config-gpon-lineprofile-3)#tcont 3 dba-profile-id 11
TEST(config-gpon-lineprofile-3)#tcont 4 dba-profile-id 20
TEST(config-gpon-lineprofile-3)#gem add 40 eth tcont 1 encrypt on
{ <cr>|cascade<K>|downstream-priority-queue<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 40 eth tcont 1 encrypt on
TEST(config-gpon-lineprofile-3)#gem add 41 eth tcont 4 encrypt on
{ <cr>|cascade<K>|downstream-priority-queue<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 41 eth tcont 4 encrypt on
TEST(config-gpon-lineprofile-3)#gem add 42 eth tcont 3 encrypt on
{ <cr>|cascade<K>|downstream-priority-queue<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 42 eth tcont 3 encrypt on
TEST(config-gpon-lineprofile-3)#gem add 43 eth tcont 2 encrypt on
{ <cr>|cascade<K>|downstream-priority-queue<K>|gem-car<K>|priority-queue<K> }:
Command:
gem add 43 eth tcont 2 encrypt on
TEST(config-gpon-lineprofile-3)#gem mapping 40 1 vlan 404
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 40 1 vlan 404
TEST(config-gpon-lineprofile-3)#gem mapping 41 2 vlan 405
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 41 2 vlan 405
TEST(config-gpon-lineprofile-3)#gem mapping 42 3 vlan 406
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 42 3 vlan 406
TEST(config-gpon-lineprofile-3)#gem mapping 43 4 vlan 407
{ <cr>|flow-car<K>|priority<K>|transparent<K> }:
Command:
gem mapping 43 4 vlan 407
TEST(config-gpon-lineprofile-3)#commit
TEST(config-gpon-lineprofile-3)#quit
In this process, we created a line profile with profile-id 3 and profile-name 200Mbps. And we can see all line profiles on the system, again:
TEST(config)#display ont-lineprofile gpon all
{ <cr>||<K> }:
Command:
display ont-lineprofile gpon all
------------------------------------------------------------------------------
Profile-ID Profile-name Binding times
------------------------------------------------------------------------------
0 line-profile_default_0 0
1 0100m 85
2 0150m 50
3 200 Mbps 0
10 start 0
8193 line-profile-extend-frame 0
8194 line-profile-extend-frame-xgpon 0
8195 line-profile-extend-frame-xgspon 0
------------------------------------------------------------------------------
Total: 8
When we want to see many details about line profile, we can use the next command:
TEST(config)#display ont-lineprofile gpon profile-id 3
{ <cr>||<K> }:
Command:
display ont-lineprofile gpon profile-id 3
------------------------------------------------------------------------------
Profile-ID :3
Profile-name :200Mbps
Access-type :GPON
------------------------------------------------------------------------------
FEC upstream switch :Disable
OMCC encrypt switch :Off
Qos mode :PQ
Mapping mode :VLAN
TR069 management :Enable
TR069 IP index :0
------------------------------------------------------------------------------
<T-CONT 0> DBA Profile-ID:1
<T-CONT 1> DBA Profile-ID:10
<Gem Index 40>
….
For this command, we can use profile-id or profile-name.
With these commands, we describe the binding between the T-CONT and the DBA profile, mapping between the GEM port and the ONT-side services, then, activate tr069 management and AES128.
In the end, when we want to delete some line profile, we use the next command:
TEST(config)#undo ont-lineprofile gpon profile-id 3
TEST(config)#display ont-lineprofile gpon profile-id 3
{ <cr>||<K> }:
Command:
display ont-lineprofile gpon profile-id 3
Failure: The line profile does not exist
For this command, we can use profile-id or profile-name.
Thank you!



