port laser-switch(gpon)
Function
This command is used to turn on or turn off the laser of a GPON
port. This command is usually used for debugging. When you do not need to
connect an ONT under a GPON port, you can run this command to turn off the laser
of the GPON port.
NOTICE:
After this command is executed, the port will be disabled.
Accordingly, services on this port will be interrupted. Therefore, exercise
caution when you run this command.
Parameters
Parameter | Description | Value |
---|---|---|
portid | Indicates the GPON port ID. When you need to turn off the laser on a specified port, use this parameter. | Please see Differences Between Shelves. |
switch |
Indicates whether the laser of a GPON port is open.
|
Enumerated type. Options: on, off. |
Usage Guidelines
- Run the config command to enter global config mode, and then run the interface gpon command to enter GPON mode.
- By default, the laser of a GPON port is open. After the laser of a GPON port is turned off, the GPON port stops working.
- Run the display port info(gpon) command to query the status of a GPON port.
Example
To disable the laser of GPON port 0/3/0, do as
follows:
huawei(config-if-gpon-0/3)#port { portid<U><0,7> }:0 { fec<K>|laser-switch<K>|ont-auto-find<K>|range<K> }:laser-switch { switch<E><on,off> }:off Command: port 0 laser-switch offTo enable the laser of GPON port 0/3/0, do as follows:
huawei(config-if-gpon-0/3)#port { portid<U><0,7> }:0 { fec<K>|laser-switch<K>|ont-auto-find<K>|range<K> }:laser-switch { switch<E><on,off> }:on Command: port 0 laser-switch on
No comments:
Post a Comment