0% found this document useful (0 votes)
24 views3 pages

Olt - Onu Configd

Download as txt, pdf, or txt
Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1/ 3

To automatically find an ONU,

huawei(config)#interface gpon 0/2


huawei(config-if-gpon-0/2)#port 1 ont-auto-find enable
huawei(config-if-gpon-0/2)#display ont autofind 1

huawei(config-if-gpon-0/2)#ont confirm 1 ontid 1 sn-auth


32303131B39FD641

Bind an alarm profile to the ONU


huawei(config-if-gpon-0/2)#ont alarm-profile 1 1 profile-id 1

query the current status of the ONU. Ensure that Control flag of the ONU is active,
Run State is online,
Config state is normal, and Match state is match

huawei(config-if-gpon-0/2)#display ont info 1 1

or by sn display query

If the ONU state fails, the ONU fails to be in the up state, or the ONU does not
match,
refer to the following suggestions to rectify the fault.
� If Control flag is deactive, run the ont activate command in the GPON port mode
to activate the ONU.
� If the ONU fails to be in the up state, that is, Run state is offline, the
physical line
may be broken or the optical transceiver may be damaged. You need to check both
the material and the line.
� If the ONU state fails, that is, Config state is failed, the ONU capability set
outmatches the actual ONU capabilities. In this case, run the display ont
failedconfiguration
command in the diagnosis mode to check the failed configuration
item and the failure cause. Then, rectify the fault according to actual conditions.
NOTE
If an ONT supports only four queues, the values of 4-7 of the priority-queue
parameter in the
gem add command are invalid. After configuration recovers, Config state will be
failed.
� If the ONU does not match, that is, Match state is mismatch, the port types and
number of ports undermatch the actual port types and number of ports supported
by the ONU. In this case, run the display ont capability command to query the
actual capability of the ONU, and then select one of the following modes to modify
the ONU configuration:
� Create a proper ONU profile according to the actual capability of the ONU,
and then run the ont modify command to modify the configuration data of the
ONU.
� Modify the ONU profile according to the actual capability of the ONU and save
the modification. Then, the ONU automatically recovers the configuration

Configure the management channel from the OLT to the ONU.

Configure the inband management VLAN and telnet acess


eg
huawei(config)#vlan 8 smart
huawei(config)#port vlan 8 0/19 0
huawei(config)#interface vlanif 8
huawei(config-if-vlanif8)#ip address 192.168.50.1 24
huawei(config-if-vlanif8)#quit
huawei(config-if-gpon-0/2)#ont ipconfig 1 1 static ip-address
192.168.50.2
mask 255.255.255.0 gateway 192.168.50.254 vlan 8
huawei(config-if-gpon-0/2)#ont ipconfig 1 2 static ip-address
192.168.50.3
mask 255.255.255.0 gateway 192.168.50.254 vlan 8
huawei(config-if-gpon-0/2)#quit

Configure an inband management service port.

??

eg
huawei(config)#service-port 1 vlan 8 gpon 0/2/1 ont 1 gemport 0 multiservice
user-vlan 8 rx-cttr 6 tx-cttr 6
huawei(config)#service-port 2 vlan 8 gpon 0/2/1 ont 2 gemport 0 multiservice
user-vlan 8 rx-cttr 6 tx-cttr 6

???

Create service ports.

huawei(config)#service-port 101 vlan 11 gpon 0/2/1 ont 1 gemport 0 multiservice


user-vlan 1001 tag-transform translate-and-add inner-vlan 258 rx-cttr 6 txcttr
6
huawei(config)#service-port 102 vlan 100 gpon 0/2/1 ont 2 gemport 0 multiservice
user-vlan 1001 tag-transform translate-and-add inner-vlan 260 rx-cttr 6 txcttr
6

NOTE
l The OLT's CVLAN must be the same as the upstream VLAN of the ONU.
l Run the service-port to create service ports one by one.
l You can also run the multi-service-port command to create service ports in
batches

Adopt the 3PQ+5WRR queue scheduling. Queues 0-4 adopt the WRR mode and their
weights are 10, 10, 20, 20, and 40 respectively.

For a board that supports only four queues, the default mapping between the 802.1p
priorities
and queue IDs are as follows: priorities 0 and 1 map queue 1; priorities 2 and 3
map queue 2;
priorities 4 and 5 map queue 3; priorities 6 and 7 map queue 4.
huawei(config)#queue-scheduler wrr 10 10 20 20 40 0 0 0

ONT/ONU CONFIGURE IN TELNET

Configure the traffic profile.--

>display traffic table ip


huawei(config)#traffic table ip index 8 cir 4096 priority 1 priority-policy
tag-In-Package
Add traffic profile 8, and set the CIR to 4 Mbit/s. The priority for upstream
packets
is 1. The downstream priority policy is scheduled by the priority that the packets
bear

Create SVLANs 1001�1024 in batches whose type is smart and attribute is common.
Add SVLANs to upstream port 0/0/1.

NOTE
The VLAN ID must be consistent with the CVLAN of the OLT.
huawei(config)#vlan 1001-1024 smart
huawei(config)#port vlan 1001-1024 0/0 1

Add a service port.


Create service port 101, bind port 0/1/1 to it, and configure the C-VLAN to be
1001.
NOTE
In this step, you need to create 24 service ports in batches. The following
considers the creation of
one service port as an example. For the rest, replace the SVLANs, and corresponding
ports.
huawei(config)#service-port 101 vlan 1001 eth 0/1/1 multi-service userencap
untagged rx-cttr 8 tx-cttr 8
Save the data.
huawei(config)#save

You might also like