port range(gpon)
Function
The port range command is used to configure
the maximum and minimum logical distances. During ranging for an ONT, the
appropriate maximum and minimum logical distances can avoid long-term impact on
normal services of other ONTs.
NOTICE:
The undo port range command is used to
restore the ranging compensation distance of a GPON port to the default
value.
After this command is executed, the ONT will be re-authenticated and go
online again.
Format
port portid range {
max-distance max-distance |
min-distance min-distance }*
undo port portid range
undo port portid range
Parameters
Parameter | Description | Value |
---|---|---|
portid | Indicates the GPON port ID. | Please see Differences Between Shelves. |
max-distance max-distance | Sets the maximum logical distance (maximum distance for short) of the ONT. |
Numeral type. Range: 0-60 km.
Unit: km.
Default: 20 km. |
min-distance min-distance | Sets the minimum logical distance (minimum distance for short) of the ONT. |
Numeral type. Range: 0-40.
Unit: km.
Default: 0. |
Usage Guidelines
- Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
- Ranging refers to the OLT calculation of the delay of each ONT based on the physical distance of the ONT to prevent the conflict of the upstream data from different ONTs.
- When the ranging starts, the OLT sends a ranging message to the ONT and
starts waiting for the ONT response. When the OLT(like MA5683T) is waiting for the ONT
response, the services of the other ONTs are unavailable. Therefore, the period
of waiting for the ONT response needs to be shortest-possible.
- Usage of the minimum distance: After sending a ranging message, the OLT determines beforehand the start time of waiting for the ONT response according to the preset minimum distance.
- Usage of the maximum distance: After sending a ranging message, the OLT determines the end time of waiting for the ONT response according to the preset maximum distance.
- Ensure the following when configuring the minimum and maximum distances:
- For GPON boards, maximum distance - minimum distance <= 20 km
- For XG-PON boards, maximum distance - minimum distance <= 40 km
- Actual physical distance between the OLT and ONT ≈ (maximum distance + minimum distance)/2
Example
To set the minimum logical distance of the ONT connected to GPON port 0/3/0 to 5 km, and the maximum logical distance to 15 km so
that the actual distance between the ONT and the OLT is within the ranging
distance, do as follows:
huawei(config-if-gpon-0/3)#port { optical-alarm-profile<K>|portid<U><0,7> }:0 { fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-renew<K>|range<K> }:range { max-distance<K>|min-distance<K> }:min-distance { min-distance<U><0,40> }:5 { <cr>|max-distance<K> }:max-distance { max-distance<U><0,60> }:15 Command: port 0 range min-distance 5 max-distance 15 This command may cause the re-registration of the ONT connected to the port. Are you sure to execute this command? (y/n)[n]: yTo restore the maximum and minimum logical distances of the ONT connected to GPON port 0/3/0 to default values, do as follows:
huawei(config-if-gpon-0/3)#undo port { optical-alarm-profile<K>|portid<U><0,7> }:0 { range<K> }:range Command: undo port 0 range This command may cause the re-registration of the ONT connected to the port. Are you sure to execute this command? (y/n)[n]:yTo set the minimum logical distance of the ONT connected to XG-PON port 0/3/0 to 10 km, and the maximum logical distance to 50 km so that the actual distance between the ONT and the OLT is within the ranging distance, do as follows:
huawei(config-if-gpon-0/3)#port { optical-alarm-profile<K>|portid<U><0,7> }:0 { fec<K>|laser-switch<K>|ont-auto-find<K>|ont-password-renew<K>|range<K> }:range { max-distance<K>|min-distance<K> }:min-distance { min-distance<U><0,60> }:10 { <cr>|max-distance<K> }:max-distance { max-distance<U><0,100> }:50 Command: port 0 range min-distance 10 max-distance 50 This command may cause the ONT connected to the port abnormal. Please re-register all of the ONTs connected to the port manually. Are you sure to execute this command? (y/n)[n]: yTo restore the maximum and minimum logical distances of the ONT connected to XG-PON port 0/3/0 to default values, do as follows:
huawei(config-if-gpon-0/3)#undo port { optical-alarm-profile<K>|portid<U><0,7> }:0 { range<K> }:range Command: undo port 0 range This command may cause the ONT connected to the port abnormal. Please re-register all of the ONTs connected to the port manually. Are you sure to execute this command? (y/n)[n]:y
System Response
- The system displays the message "Are you sure to execute this command? (y/n)[n]" after you set the minimum and maximum logical distances of a GPON port.
- The system displays the message "Are you sure to execute this command? (y/n)[n]" after you restore the minimum and maximum logical distances of a GPON port to default values.
No comments:
Post a Comment