undo forward-error-correction enable
View
ONU port view
Default Level
2: System level
Parameters
None
Description
Use the forward-error-correction enable command to enable forward error correction (FEC) on the
OLT and ONUs.
Use the undo forward-error-correction enable command to disable this function.
This function is disabled by default.
Examples
# Enable FEC on the OLT and ONUs.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] forward-error-correction enable
ip address
Syntax
ip address { dhcp-alloc | ip-address mask gateway gateway }
undo ip address
View
ONU port view
Default Level
2: System level
Parameters
dhcp-alloc: Obtains an IP address through DHCP.
ip-address: IPv4 address.
mask: Subnet mask, in dotted decimal notation or integer in the range 0 to 32 (indicating the network
address length).
gateway: Specifies a gateway IP address.
Description
Use the ip address command to manually configure an IP address or obtain one through DHCP for
the ONU.
Use the undo ip address command to restore the default.
By default, no IP address is configured for the ONU, either manually or automatically through DHCP.
Examples
# Configure the IP address of the ONU as 192.168.0.1/24 and gateway as 192.168.0.99.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] ip address 192.168.0.1 24 gateway 192.168.0.99
3-14