- Table of Contents
-
- 04-Layer 2 - LAN Switching Command Reference
- 00-Preface
- 01-MAC address table commands
- 02-Ethernet link aggregation commands
- 03-Port isolation commands
- 04-VLAN commands
- 05-MVRP commands
- 06-QinQ commands
- 07-VLAN mapping commands
- 08-Loop detection commands
- 09-Spanning tree commands
- 10-LLDP commands
- 11-L2PT commands
- 12-Service loopback group commands
- 13-EPON commands
- Related Documents
-
Title | Size | Download |
---|---|---|
13-EPON commands | 303.2 KB |
dba-report queue-set-id queue-id threshold
display epon fiber-backup group
display epon optics-parameters
multicast call-detail-record cache-limit
multicast call-detail-record enable
multicast call-detail-record record-delay
multicast call-detail-record report-interval
multicast call-detail-record send
ONU remote management commands
bandwidth-downstream policy enable
display onu protocol smart-link uni-bind information
display onu protocol transparent-multicast
display vendor-specific information
multicast-control host-aging-time
onu multicast fast-leave enable
onu protocol igmp-snooping timer
onu protocol igmp-snooping suppression
onu protocol loopback-detection action
onu protocol smart-link flush enable
onu protocol smart-link uni-bind enable
onu protocol transparent-multicast dest-mac
shutdown management-vlan-interface
uni multicast-control multicast-address
uni multicast-strip-tag enable
alarm device-fatal-error enable
alarm oam critical-event enable
alarm oam local-link-fault enable
alarm onu-laser always-on enable
alarm registration-error enable
EPON commands
OLT commands
dba-parameters
Use dba-parameters to set ONU discovery parameters.
Use undo dba-parameters to restore the default.
Syntax
dba-parameters { discovery-frequency frequency | discovery-length length } *
undo dba-parameters { discovery-frequency | discovery-length } *
Default
An OLT port initiates ONU discovery at an interval of 500 milliseconds, and each ONU discovery process lasts for 307.6 milliseconds.
Views
OLT port view
Predefined user roles
network-admin
Parameters
discovery-frequency frequency: Specifies the ONU discovery interval at which the OLT port broadcasts discovery GATE messages, in the range of 100 to 60000. The unit of the frequency argument is 0.1 millisecond.
discovery-length length: Specifies the duration of each ONU discovery, in the range of 200 to 10240. The unit of the length argument is 0.1 millisecond.
Usage guidelines
Incorrect DBA settings might interrupt services. Make sure you are fully aware of the impact of this command when you use it on a live network.
Examples
# Set the ONU discovery interval to 300 milliseconds on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] dba-parameters discovery-frequency 3000
dba-report queue-set-id queue-id threshold
Use dba-report queue-set-id queue-id threshold to configure the threshold for a queue.
Use undo dba-report queue-set-id to restore the default.
Syntax
dba-report queue-set-id queue-set-id queue-id queue-id { active | inactive } threshold threshold-value
undo dba-report queue-set-id queue-set-id
Default
The default thresholds are as follows:
· 0 for queues 1 through 3, and the threshold is activated.
· 65535 for queues 4 and 5, and the threshold is activated.
· 0 for queues 6 through 8, and the threshold is not activated.
Views
ONU port view
Predefined user roles
network-admin
Parameters
queue-set-id: Specifies a queue set ID in the range of 1 to 3.
queue-id: Specifies a queue ID in the range of 1 to 8.
threshold-value: Specifies a threshold in the range of 0 to 65535.
active: Activates the threshold.
inactive: Does not activate the threshold.
Examples
# Set the threshold to 200 for queue 1 in queue set 1 and activate the threshold.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] dba-report queue-set-id 1 queue-id 1 active threshold 200
dba-report queue-set-number
Use dba-report queue-set-number to set the number of queue sets that ONU REPORT messages support.
Use undo dba-report queue-set-number to restore the default.
Syntax
dba-report queue-set-number queue-set-number
undo dba-report queue-set-number
Default
ONU REPORT messages support two queue sets.
Views
ONU port view
Predefined user roles
network-admin
Parameters
queue-set-number: Specifies the number of queue sets, in the range of 2 to 4.
Examples
# Set the number of queue sets to 2 for ONU REPORT messages on ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] dba-report queue-set-number 2
display epon fiber-backup group
Use display epon fiber-backup group to display information about fiber backup groups.
Syntax
display epon fiber-backup group { group-number | all }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
group-number: Specifies a fiber backup group number in the range of 1 to 80.
all: Specifies all fiber backup groups.
Examples
# Display information about fiber backup group 1.
<Sysname> display epon fiber-backup group 1
Fiber backup group 1 information:
Member Role State
OLT3/0/1 Master Active
OLT3/0/2 Standby Ready
Table 1 Command output
Field |
Description |
Role |
OLT port role: · Master—Master port. · Standby—Subordinate port. |
State |
OLT port status: · Active—The master port is active. (The chip is active and the EPON transceiver module is plugged in.) · Ready—The subordinate port is ready, and a master/subordinate switchover can be performed. · Down—Any other condition. |
display epon oam
Use display epon oam to display Operations, Administration and Maintenance (OAM) information for an ONU port.
Syntax
display epon oam interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be onu.
interface-number: Specifies an interface number.
Examples
# Display OAM information for ONU 4/0/1:1.
<Sysname> display epon oam interface onu 4/0/1:1
OAM information:
OAM version: 1
Multiplexer action: Discard non-OAM PDUs
Parser action : Forward non-OAM PDUs to higher layer
Sending variable-length OAM response PDUs: Not supported
Interpreting link events : Not supported
OAM mode : Active
Unidirectional support: Disabled
Loopback support : Disabled
Maximal PDU size : 494 bytes
Identifier : 433348
display epon onu-event
Use display epon onu-event to display ONU registration and deregistration records for an ONU port.
Syntax
display epon onu-event interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be onu.
interface-number: Specifies an interface number.
Examples
# Display ONU registration and deregistration records for ONU 3/0/1:1.
<Sysname> display epon onu-event interface onu 3/0/1:1
Date Time ONU Event ONU Status
2015/06/24 14:41:18 Registration Up
2015/06/24 14:41:59 Deregistration Down
2015/06/24 14:42:02 Registration Up
2015/06/24 14:42:49 Deregistration Down
display epon optics-parameters
Use display epon optics-parameters to display optical parameters for an OLT port.
Syntax
display epon optics-parameters interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be olt.
interface-number: Specifies an interface number.
Examples
# Display optical parameters for OLT 3/0/1.
<Sysname> display epon optics-parameters interface olt 3/0/1
Optical parameters:
Temperature :34.16 °C
Voltage :3.29 V
Bias :1.51 mA
Transmitter power :4.60 dbm
display epon parameter
Use display epon parameter to display EPON system parameters.
Syntax
display epon parameter slot slot-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
slot slot-number: Specifies a card by its slot number.
Examples
# Display EPON system parameters for card 4.
<Sysname> display epon parameter slot 4
Parameters:
OUI: 111111 OAM version:3.0
OUI: 111111 OAM version:2.1
OUI: 111111 OAM version:2.0
OUI: 111111 OAM version:1.3
OUI: 111111 OAM version:1(default)
Key update timer : 10 seconds
OAM discovery timeout timer : 3.0 seconds
display epon statistics
Use display epon statistics to display packet error rates on an ONU port.
Syntax
display epon statistics interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be onu.
interface-number: Specifies an interface number.
Usage guidelines
You can view packet error rates of an ONU port only when the port is up.
This command displays the average error rates for the last sampling interval. An error rate value less than 1e-9 is displayed as 0.
Examples
# Display packet error rates on ONU 3/0/1:1.
<Sysname> display epon statistics interface onu 3/0/1:1
ONU statistics:
Bit error rate(in 1e-9 unit) : 0
Frame error rate(in 1e-9 unit): 0
display epon version
Use display epon version to display version information for an OLT or ONU port.
Syntax
display epon version interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be olt or onu.
interface-number: Specifies an interface number.
Usage guidelines
You can view version information for an OLT or ONU port only when the port is up.
Examples
# Display version information for OLT 3/0/1.
<Sysname> display epon version interface olt 3/0/1
OLT version information:
Firmware major version: 0
Firmware minor version: 3
Hardware major version: 1
Hardware minor version: 1
Supported LLIDs : 63
# Display version information for ONU 3/0/1:1.
<Sysname> display epon version interface onu 3/0/1:1
ONU version information:
Hardware major version: A
Hardware minor version: 0
Supported LLIDs : 1
MAC type of UNI port : MII
display epon workmode
Use display epon workmode to display the operation mode of an OLT or ONU port.
Syntax
display epon workmode interface interface-type interface-number
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
interface-type: Specifies an interface type. The value of this argument must be olt or onu.
interface-number: Specifies an interface number.
Usage guidelines
If you specify an OLT port, this command also displays the port's MAC address and DBA algorithm.
You can view the operation mode of an ONU port only when the port has been bound to an ONU.
Examples
# Display the operation mode of OLT 3/0/1.
<Sysname> display epon workmode interface olt 3/0/1
Port status: Open
MAC address: 000f-e2a1-1027
DBA mode : Internal
# Display the operation mode of ONU 3/0/1:1.
<Sysname> display epon workmode interface onu 3/0/1:1
Port status: Open
FEC mode : Disabled
Table 2 Command output
Field |
Description |
Port status |
Port status: · Open. · Closed. · Resetting—The chip is resetting. This value is available for OLT ports. · Pending—The ONU has been registered but fails the authentication. This value is available for ONU ports. · Unknown. |
MAC address |
MAC address of the OLT port. All OLT ports on a device use the same MAC address. |
DBA mode |
DBA algorithm of the OLT port: · Internal—Internal DBA algorithm. · External—External DBA algorithm. |
encryption update-time
Use encryption update-time to set the LLID key update interval.
Use undo encryption update-time to restore the default.
Syntax
encryption slot slot-number update-time update-time
undo encryption slot slot-number update-time
Default
The LLID key update interval is 10 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number.
update-time update-time: Specifies the LLID key update interval in the range of 1 to 255 seconds.
Examples
# Set the LLID key update interval to 100 seconds for card 2.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] encryption slot 2 update-time 100
fiber-backup group
Use fiber-backup group to create a fiber backup group, or enter the view of an existing fiber backup group.
Use undo fiber-backup group to delete a fiber backup group.
Syntax
fiber-backup group group-number
undo fiber-backup group group-number
Default
No fiber backup groups exist.
Views
FTTH view
Predefined user roles
network-admin
Parameters
group-number: Specifies a fiber backup group number in the range of 1 to 80.
Examples
# Create fiber backup group 1 and enter its view.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] fiber-backup group 1
member
port fiber-backup group
ftth
Use ftth to enter FTTH view.
Syntax
ftth
Views
System view
Predefined user roles
network-admin
Examples
# Enter FTTH view.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth]
grant-filtering enable
Use grant-filtering enable to enable grant filtering on an OLT port.
Use undo grant-filtering enable to disable grant filtering on an OLT port.
Syntax
grant-filtering enable
undo grant-filtering enable
Default
Grant filtering is enabled on an OLT port.
Views
OLT port view
Predefined user roles
network-admin
Examples
# Enable grant filtering on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] grant-filtering enable
interface
Use interface to enter OLT port or ONU port view.
Syntax
interface interface-type interface-number
Views
System view
Predefined user roles
network-admin
Parameters
interface-type: Specifies an interface type. The value of this argument must be olt or onu.
interface-number: Specifies an interface number.
Examples
# Enter the view of OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1]
max-rtt
Use max-rtt to set the maximum ONU-OLT RTT.
Use undo max-rtt to restore the default.
Syntax
max-rtt max-rtt-value
undo max-rtt
Default
The maximum ONU-OLT RTT is 14500 TQ.
Views
OLT port view
Predefined user roles
network-admin
Parameters
max-rtt-value: Specifies an RTT in the range of 2000 to 32000 TQ. 1 time quantum (TQ) is equal to 16 ns, the time for transmitting two bytes of data at 1 Gbps.
Usage guidelines
Make sure you are fully aware of the impact of this command when you use it on a live network.
Examples
# Set the maximum ONU-OLT RTT to 25000 TQ on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] max-rtt 25000
member
Use member to assign an OLT port to a fiber backup group.
Use undo member to remove an OLT port from a fiber backup group.
Syntax
member olt interface-number
undo member olt interface-number
Default
A fiber backup group does not contain any OLT ports.
Views
Fiber backup group view
Predefined user roles
network-admin
Parameters
olt interface-number: Specifies an OLT port by its number.
Usage guidelines
A fiber backup group contains a maximum of two OLT ports. An OLT port can be assigned to only one fiber backup group. The OLT port assigned first acts as the master port, and the other OLT port acts as the subordinate port. Only the master OLT port forwards traffic.
To assign an OLT port to a fiber backup group in OLT port view, use the port fiber-backup group command.
Examples
# Assign OLT 3/0/1 to fiber backup group 1.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] fiber-backup group 1
[Sysname-fiber-group1] member olt 3/0/1
fiber-backup group
port fiber-backup group
multicast call-detail-record cache-limit
Use multicast call-detail-record cache-limit to set the upper limit for the Call Detail Record (CDR) buffer.
Use undo multicast call-detail-record cache-limit to restore the default.
Syntax
multicast call-detail-record cache-limit number
undo multicast call-detail-record cache-limit
Default
The CDR buffer can save a maximum of 32 records.
Views
FTTH view
Predefined user roles
network-admin
Parameters
number: Specifies an upper limit in the range of 16 to 1024.
Usage guidelines
If the CDR buffer upper limit is reached, the OLT automatically sends the CDR records to the information center module and clears the CDR buffer.
# Set the upper limit of the CDR buffer to 16.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record cache-limit 16
multicast call-detail-record enable
Use multicast call-detail-record enable to enable CDR.
Use undo multicast call-detail-record enable to disable CDR.
Syntax
multicast call-detail-record enable
undo multicast call-detail-record enable
Default
CDR is disabled.
Views
FTTH view
Predefined user roles
network-admin
CDR takes effect only on ONUs in multicast control mode.
Examples
# Enable CDR.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record enable
Related commands
multicast mode
multicast call-detail-record record-delay
Use multicast call-detail-record record-delay to set the CDR generation delay.
Use undo multicast call-detail-record record-delay to restore the default.
Syntax
multicast call-detail-record record-delay delay-time
undo multicast call-detail-record record-delay
Default
The CDR generation delay is 30 seconds.
Views
FTTH view
Predefined user roles
network-admin
delay-time: Specifies a delay time in the range of 10 to 600 seconds.
Usage guidelines
After CDR is enabled, the OLT periodically checks the online duration of users. If the online duration of a user is longer than the CDR generation delay, the OLT generates a CDR record and saves it to the CDR buffer.
Examples
# Set the CDR generation delay to 20 seconds.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record record-delay 20
multicast call-detail-record report-interval
Use multicast call-detail-record report-interval to set the CDR sending interval.
Use undo multicast call-detail-record report-interval to restore the default.
Syntax
multicast call-detail-record report-interval interval
undo multicast call-detail-record report-interval
The CDR sending interval is 30 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
interval: Specifies an interval in the range of 30 to 600 seconds.
Usage guidelines
The OLT sends CDR records to the information center module and clears the CDR buffer at the CDR sending interval.
Examples
# Set the CDR sending interval to 40 seconds.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record report-interval 40
multicast call-detail-record send
Use multicast call-detail-record send to manually send CDR records.
Syntax
multicast call-detail-record send
Views
FTTH view
Predefined user roles
network-admin
network-operator
Usage guidelines
This command allows you to manually send CDR records to the information center module and clears the CDR buffer. You can set CDR record output rules, including output destinations. For more information about using the information center, see Network Management and Monitoring Configuration Guide.
Examples
# Manually send CDR records.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast call-detail-record send
oam-discovery-timeout
Use oam-discovery-timeout to set the timeout timer for extended OAM discovery.
Use undo oam-discovery-timeout to restore the default.
Syntax
oam-discovery-timeout slot slot-number value value
undo oam-discovery-timeout slot slot-number value
Default
The timeout timer for extended OAM discovery is 3 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number.
value value: Specifies a timeout period in the range of 30 to 2550. The unit of the value argument is 100 milliseconds.
Usage guidelines
The timeout timer for extended OAM discovery determines the timeout period for extended OAM messages during extended OAM discovery.
As a best practice, use the default setting for this timer. Increase this timer on the card that hosts an OLT port if an ONU connected to the OLT and bound to an ONU port remains down.
Examples
# Set the timeout timer for extended OAM discovery to 10 seconds for card 2.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] oam-discovery-timeout slot 2 value 100
onu invalid-address mode
Use onu invalid-address mode to set the processing mode for frames with an invalid source MAC address.
Use undo onu invalid-address mode to restore the default.
Syntax
onu invalid-address mode { abandon | broadcast | unicast }
undo onu invalid-address mode
Default
The abandon mode is enabled for frames with an invalid source MAC address.
Views
FTTH view
Predefined user roles
network-admin
Parameters
abandon: Specifies the abandon mode. In this mode, the OLT drops frames with an invalid source MAC address.
broadcast: Specifies the broadcast mode. In this mode, the OLT forwards frames sourced from an invalid MAC address without learning the source MAC address. When the OLT receives a frame with an invalid destination MAC address, it floods the frame to all interfaces in the frame's VLAN except for the incoming interface.
unicast: Specifies the unicast mode. In this mode, the OLT forwards frames sourced from an invalid MAC address and generates a unicast MAC address entry for the invalid MAC address. The OLT uses the entry for forwarding frames destined for the invalid MAC address.
Usage guidelines
An invalid MAC address is a MAC address whose seventh bit of the first byte is 1, for example, 02-10-94-00-00-02 (the first byte is 00000010).
The processing mode for frames with an invalid source MAC address does not take effect on a GigabitEthernet interface that is changed from an EPON fiber interface.
Examples
# Set the processing mode to broadcast for frames with an invalid source MAC address.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] onu invalid-address mode broadcast
port fiber-backup group
Use port fiber-backup group to assign an OLT port to a fiber backup group.
Use undo port fiber-backup group to restore the default.
Syntax
port fiber-backup group group-number
undo port fiber-backup group
Default
An OLT port is not assigned to a fiber backup group.
Views
OLT port view
Predefined user roles
network-admin
Parameters
group-number: Specifies a fiber backup group number.
Usage guidelines
A fiber backup group contains a maximum of two OLT ports. An OLT port can be assigned to only one fiber backup group. The OLT port assigned first acts as the master port, and the other OLT port acts as the subordinate port. Only the master OLT port forwards traffic.
To assign an OLT port to a fiber backup group in fiber backup group view, use the member command.
Examples
# Assign OLT 3/0/1 to fiber backup group 1.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] fiber-backup group 1
[Sysname-fiber-group1] quit
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] port fiber-backup group 1
Related commands
fiber-backup group
member
port switch-over
Use port switch-over to perform a master/subordinate switchover for a fiber backup group.
Syntax
port switch-over
Views
Fiber backup group view
Predefined user roles
network-admin
Usage guidelines
For successful command execution, use this command when the subordinate OLT port is in Ready state.
Examples
# Perform a master/subordinate switchover for fiber backup group 1.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] fiber-backup group 1
[Sysname-fiber-group1] port switch-over
port-type
Use port-type to change the type of a fiber interface.
Use undo port-type to cancel the type change of a fiber interface.
|
NOTE: This command is supported by the LSQM1PT24TSSC0 interface card. |
Syntax
In OLT port view:
port-type gigabitethernet
undo port-type gigabitethernet
In Layer 2 or Layer 3 GigabitEthernet interface view:
port-type olt
undo port-type olt
Default
The type of a fiber interface is OLT.
Views
Layer 2/Layer 3 GigabitEthernet interface view
OLT port view
Predefined user roles
network-admin
Parameters
gigabitethernet: Changes the OLT port to a GigabitEthernet interface. By default, the GigabitEthernet interface is in Layer 2 mode.
olt: Changes the GigabitEthernet interface to an OLT port.
Usage guidelines
The fiber interfaces on the LSQM1PT24TSSC0 interface card are grouped by port number in order, starting from 1. Each group contains four interfaces. To change the type of an interface in a group, you must change the type of all the four interfaces in the group. For the interface type change to take effect, reboot the interface card.
If you change the type of an interface, the system automatically removes the original interface and then creates the target interface with the same number as the original interface.
Examples
# Change GigabitEthernet 3/0/1 through GigabitEthernet 3/0/4 to OLT ports.
<Sysname> system-view
[Sysname] interface range gigabitethernet 3/0/1 to gigabitethernet 3/0/4
[Sysname-if-range] port-type olt
vendor-compatible
Use vendor-compatible to enable compatibility with third-party ONUs.
Use undo vendor-compatible to disable compatibility with third-party ONUs.
Syntax
vendor-compatible slot slot-number
undo vendor-compatible slot slot-number
Default
Compatibility with third-party ONUs is enabled.
Views
FTTH view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number.
Usage guidelines
To allow non-H3C ONUs to register with an OLT, enable compatibility with third-party ONUs. If this feature is disabled, only H3C ONUs can register with the OLT.
If you bind a non-H3C ONU to an ONU port before this feature is enabled, the non-H3C ONU cannot register with the OLT even if you enable this feature. For successful registration, you must perform one of the following tasks:
· Use the deregister onu command to deregister the ONU.
· Use the shutdown command to shut down the ONU port and then use the undo shutdown command to bring it up.
Examples
# Disable compatibility with third-party ONUs on card 2.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] undo vendor-compatible slot 2
ONU remote management commands
|
NOTE: Support for ONU remote management commands depends on the ONU model. |
bandwidth-downstream
Use bandwidth-downstream to configure the downlink bandwidth limits on an ONU port.
Use undo bandwidth-downstream to restore the default maximum downlink bandwidth or default maximum downlink burst buffer on an ONU port.
Syntax
bandwidth-downstream { max-bandwidth value1 | max-burstsize value2 } *
undo bandwidth-downstream { max-bandwidth | max-burstsize } *
Default
The maximum downlink bandwidth is 999994 Kbps, and the maximum downlink burst buffer is 4194240 bytes on an ONU port.
Views
ONU port view
Predefined user roles
network-admin
Parameters
value1: Specifies the maximum downlink bandwidth in the range of 0 to 999994 Kbps.
value2: Specifies the maximum downlink burst buffer in the range of 0 to 4194240 bytes.
Usage guidelines
For the downlink bandwidth limits to take effect, you must enable the downlink bandwidth allocation policy. The downlink bandwidth limits take effect only on known unicast packets.
Examples
# Set the maximum downlink bandwidth to 888 Kbps and the maximum downlink burst buffer to 999 bytes on ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] bandwidth-downstream max-bandwidth 888 max-burstsize 999
bandwidth-downstream policy enable
bandwidth-downstream policy enable
Use bandwidth-downstream policy enable to enable the downlink bandwidth allocation policy on an ONU port.
Use undo bandwidth-downstream policy enable to disable the downlink bandwidth allocation policy on an ONU port.
Syntax
bandwidth-downstream policy enable
undo bandwidth-downstream policy enable
Default
The downlink bandwidth allocation policy is disabled on an ONU port.
Views
ONU port view
Predefined user roles
network-admin
Examples
# Enable the downlink bandwidth allocation policy on ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] bandwidth-downstream policy enable
bind onu-id
Use bind onu-id to bind an ONU to an ONU port.
Use undo bind onu-id to unbind an ONU from an ONU port.
Syntax
bind onu-id mac-address
undo bind onu-id
Default
No ONU is bound to an ONU port.
Views
ONU port view
Predefined user roles
network-admin
Parameters
mac-address: Specifies an ONU by its MAC address.
Usage guidelines
If fiber backup is not configured, you can create only one-to-one bindings between ONUs and ONU ports. For a fiber backup group, you can bind an ONU to two ONU ports that are on different member OLT ports.
Examples
# Bind the ONU with MAC address 11-22-33 to ONU 2/0/2:1.
<Sysname> system-view
[Sysname] interface onu 2/0/2:1
[Sysname-Onu2/0/2:1] bind onu-id 11-22-33
deregister onu
Use deregister onu to deregister an ONU.
Syntax
deregister onu
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
After you deregister an ONU, the ONU will be re-registered.
Examples
# Deregister the ONU bound to ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface ONU 2/0/1:1
[Sysname-Onu2/0/1:1] deregister onu
display dhcp-client
Use display dhcp-client to display IP address assignment information for an ONU that acts as a DHCP client.
Syntax
display dhcp-client
Views
ONU port view
Predefined user roles
network-admin
network-operator
Examples
# Display IP address assignment information for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display dhcp-client
DHCP client statistic information :
|
NOTE: Output of this command varies by ONU model. |
display epon multicast
Use display epon multicast to display multicast information for an ONU port in multicast control mode.
Syntax
display epon multicast
Views
ONU port view
Predefined user roles
network-admin
network-operator
Usage guidelines
You can view multicast information for an ONU port only when the ONU port is up and in multicast control mode.
Examples
# Display multicast information for ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display epon multicast
Multicast control information:
UNI number 1:
Multicast vlan 10
Current channel list:
Multicast IP: 225.0.0.2
Status: Permit
Multicast vlan 10
Current channel list:
Multicast IP: 225.0.0.3
Status: Preview
Preview times: 16
Preview remaining time: 144s
Table 3 Command output
Field |
Description |
Multicast-control information: None. |
No multicast control entries are generated. The causes are as follows: · Multicast control is not configured. · Multicast clients do not send multicast membership reports. |
Status |
Multicast control policy: · Permit—Users are permitted to access the channel. · Preview—Users can only preview the channel. |
display onu
Use display onu to display ONU information.
Syntax
display onu [ silent ] { interface interface-type interface-number | slot slot-number }
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
silent: Specifies silent ONUs.
interface interface-type interface-number: Specifies an OLT port or ONU port by its number. The value of the interface-type argument must be olt or onu.
slot slot-number: Specifies a card by its slot number.
Examples
# Display information about all ONUs on OLT 3/0/1.
<Sysname> display onu interface olt 3/0/1
MAC LLID Dist(M) Port Model/Version Sft/Epm State Aging
586a-b1ea-8a6d 60 <1000 Onu3/0/1:1 ET254-G-S/A 206/100 Up N/A
586a-b1ea-8a03 41 <1000 Onu3/0/1:2 ET254-G-S/A 206/100 Up N/A
...
586a-b1ea-91c4 18 <1000 Onu3/0/1:62 ET254-G-S/A 206/100 Up N/A
--- 62 entries found ---
Field |
Description |
MAC |
ONU MAC address. |
LLID |
LLID assigned to the registered ONU. This field displays N/A if the ONU is not registered. |
Dist(M) |
Actual length (in metres) of the optical fiber between the OLT and the ONU. If the optical fiber is shorter than 1 km, this field displays <1000. If the ONU is not registered, this field displays N/A. |
Port |
Bound ONU port number. This field displays N/A if the ONU is not bound to an ONU port. |
Model/Version |
ONU model and PCB version. This field displays N/A if the ONU is not registered. |
Sft/Epm |
ONU software version and EEPROM version. This field displays N/A if the ONU is not registered. |
State |
ONU state: · Silent—The ONU is powered on, and it is not bound to an ONU port. · Offline—The ONU is powered off, and it is bound to an ONU port. · Up—The ONU is powered on, and it is bound to an ONU port. · Down—The ONU is bound to an ONU port, but the ONU port is manually shut down. |
Aging |
Remaining MAC address aging time of an ONU in silent state. This field displays N/A if the ONU is not in silent state. |
display onu mac-address
Use display onu mac-address to display information about a legal ONU.
Syntax
display onu mac-address mac-address
Views
Any view
Predefined user roles
network-admin
network-operator
Parameters
mac-address: Specifies an ONU by its MAC address.
Examples
# Display information about the legal ONU with MAC address 586a-b1ea-8a6d.
<Sysname> display onu mac-address 586a-b1ea-8a6d
MAC LLID Dist(M) Port Model/Version Sft/Epm State Aging
586a-b1ea-8a6d 60 <1000 Onu3/0/1:1 ET254-G-S/A 206/100 Up N/A
--- 1 entry found ---
For information about the parameters in the command output, see Table 4.
display onu protocol
Use display onu protocol to display information about protocols supported by an ONU.
Syntax
display onu protocol { dhcp-snooping information | igmp-snooping | loopback-detection | pppoe | smart-link | stp }
Views
ONU port view
Predefined user roles
network-admin
network-operator
Parameters
dhcp-snooping information: Specifies DHCP snooping Option 82.
igmp-snooping: Specifies IGMP snooping.
loopback-detection: Specifies loop detection.
pppoe: Specifies PPPoE+.
smart-link: Specifies Smart Link.
stp: Specifies RSTP.
Examples
# Display IGMP snooping information for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display onu protocol igmp-snooping
Protocol name: IGMP snooping
Protocol status: Enabled
Total 4 Multicast groups.
Group: 0100-5e01-0140
Port : 9
Group: 0100-5e01-013f
Port : 9
Group: 0100-5e01-013e
Port : 9
Group: 0100-5e01-013d
Port : 9
# Display loop detection information for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display onu protocol loopback-detection
Protocol name: Loopback detection
Protocol status: Enabled
Loopback action: Semi-block
Loopback is detected on following interfaces:UNI 1 UNI 4
Table 5 Command output
Field |
Description |
Group |
Multicast MAC address. |
Port |
UNI number. |
Loopback action |
Loop protection action: · Semi-block—If a loop is detected on a UNI, the system generates a log message, disables MAC learning on the UNI, and blocks the inbound direction of the UNI. · No-learning—If a loop is detected on a UNI, the system generates a log message and disables MAC learning on the UNI. · Shutdown—If a loop is detected on a UNI, the system generates a log message and shuts down the UNI. The UNI will automatically come up after the interval set by using the shutdown-interval command. For more information about the command, see device management commands in Fundamentals Command Reference. |
display onu protocol smart-link uni-bind information
Use display onu protocol smart-link uni-bind information to display information about UNI count-based PON port activation for an ONU.
Syntax
display onu protocol smart-link uni-bind information
Views
ONU port view
Predefined user roles
network-admin
Examples
# Display information about UNI count-based PON port activation for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display onu protocol smart-link uni-bind information
Protocol name: smart-link uni-bind
Protocol status: Enabled
Related commands
onu protocol smart-link uni-bind enable
display onu protocol transparent-multicast
Use display onu protocol transparent-multicast to display the multicast MAC addresses enabled with transparent transmission.
Syntax
display onu protocol transparent-multicast
Views
ONU port view
Predefined user roles
network-admin
Examples
# Display the multicast MAC addresses enabled with transparent transmission.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display onu protocol transparent-multicast
Transparent dest-mac packet: 0100-ffff-ffff
Table 6 Command output
Field |
Description |
Transparent dest-mac packet |
Multicast MAC address enabled with transparent transmission. |
Related commands
onu protocol transparent-multicast dest-mac
display serial-information
Use display serial-information to display information about a serial interface on an ONU.
Syntax
display serial-information interface-number
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
Examples
# Display information about serial interface 1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display serial-information 1
Description: Serial 1 interface
Parameters:
Baud:9600
Databits:8
Parity:none
Stopbits:1
Statistics:
Input total: 0 bytes, Error 0 bytes
Output total: 0 bytes, Error 0 bytes
display uni
Use display uni to display information about a UNI on an ONU.
Syntax
display uni uni-number
Views
ONU port view
Predefined user roles
network-admin
network-operator
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Examples
# Display information about UNI 1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display uni 1
UNI 1
Configuration :
Port status : UP
Flow control : Closed
Autonegotiation state: Enable
Port isolation : Disable
MDI type : Automdix
Port policy :
Inbound : None
Outbound : None
Vlan configuration :
VLAN mode : Transparent
Classification & marking :
Multicast VLAN : None
Multicast groups : 64
Multicast VLAN untagging : Disable
=========================================================
Current Status :
Link state : DOWN
Local autonegotiation ability :
1000BASE-T UTP PHY
Full duplex 1000BASE-T UTP PHY
100BASE-TX
Full duplex 100BASE-TX
Full duplex 10BASE-T
10BASE-T
Symmetric PAUSE operation for full duplex links
Asymmetric PAUSE operation for full duplex links
Autonegotiation advertisement ability :
1000BASE-T UTP PHY
Full duplex 1000BASE-T UTP PHY
100BASE-TX
Full duplex 100BASE-TX
Full duplex 10BASE-T
10BASE-T
Symmetric PAUSE operation for full duplex links
Asymmetric PAUSE operation for full duplex links
100Mbps-speed mode, Full-duplex mode
Link speed type is autonegotiation, Link duplex type is autonegotiation
Input(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0 unicasts, 0 pauses
Input: 0 input errors, 0 runts, 0 giants, 0 InRxErr, 0 CRC
0 buffer failures
Output(total): 0 packets, 0 bytes
0 broadcasts, 0 multicasts, 0 unicasts, 0 pauses
Output: 0 output errors, 0 deferred, 0 collisions, 0 InTxErr
Table 7 Command output
Field |
Description |
Port status |
Port status: · UP. · DOWN—The port is shut down by using the shutdown command. |
MDI type |
MDIX mode: · Automdix. · Mdi. · Mdix. |
Port policy |
Traffic policing parameters: · Inbound—Uplink traffic policing parameters. · Outbound—Downlink traffic policing parameters. |
Vlan configuration |
VLAN operation mode. |
Link state |
Link layer status: · UP. · DOWN. |
Input(total) |
Total input packet statistics (in packets and bytes), and the packet counts for input broadcast packets, multicast packets, unicast packets, and pause frames. |
Input |
Counts for the following frames: · Error frames. · Runt frames. · Giant frames. · Frames having the InRxErr error. · Frames having the CRC error. · Frames dropped because of insufficient buffer. |
Output(total) |
Total output packet statistics (in packets and bytes), and the packet counts for output broadcast packets, multicast packets, unicast packets, and pause frames. |
Output |
Counts for the following frames: · Error frames. · Deferred frames. · Collision frames. · Frames having the InTxErr error. |
display vendor-specific information
Use display vendor-specific information to display detailed information about an ONU.
Syntax
display vendor-specific information
Views
ONU port view
Predefined user roles
network-admin
Examples
# Display detailed information about the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] display vendor-specific information
Serial number
Vendor ID : kt
ONU MAC address : 00e0-0f01-b33a
ONU model : 0x706e6334
ONU hardware version : 0000
ONU software version : 342
ONU extend model :
Firmware version : 0x0
Chipset information :
Vendor ID : 0x6b74
Chip model : 3000
Revision version : 0x01
Design date : 08/01/29
ONU capability :
Gigabit ethernet interface : Not support
Fast ethernet interface : Support
VoIP service : Not support
TDM ces service : Not support
Gigabit ethernet ports number : 0
Fast ethernet ports number : 4
Fast ethernet ports :
0x1
0x2
0x3
0x4
POTS ports number : 0
E1 ports number : 0
Upstream queues number : 8
Maximum queues per port upstream : 8
Downstream queues number : 8
Maximum queues per port downstream : 8
Battery backup : Not support
Forward error correction ability : Support
IGMP-snooping fast-leave : Support
Multicast control fast-leave : Support
Forward error correction mode : Disable
DBA-Report parameters :
Queue sets number : 2
Queue 1 : State:1 , Value:0
Queue 2 : State:1 , Value:0
Queue 3 : State:1 , Value:0
Queue 4 : State:1 , Value:65535
Queue 5 : State:1 , Value:65535
Queue 6 : State:0 , Value:0
Queue 7 : State:0 , Value:0
Queue 8 : State:0 , Value:0
Multicast-fast-leave : Disable
ONU-Isolate state : Disable
Multicast-mode : IGSP
Table 8 Command output
Field |
Description |
ONU extend model |
Complete ONU model. This field is required for CTC 3.0. |
DBA-Report parameters |
DBA report message parameters: · Queue sets number—Number of queue sets. · Queue x: State:x , Value:x—State and threshold (Value) of a queue. The State field displays 0 for a disabled queue and 1 for an enabled queue. |
Multicast-fast-leave |
Whether fast-leave processing is enabled for all UNIs on the ONU. |
ONU-Isolate state |
Whether port isolation is enabled for all UNIs on the ONU. |
encryption enable
Use encryption enable to enable downlink traffic encryption for an ONU.
Use undo encryption enable to disable downlink traffic encryption for an ONU.
Syntax
encryption enable
undo encryption enable
Default
Downlink traffic encryption is enabled for an ONU.
Views
ONU port view
Predefined user roles
network-admin
Examples
# Disable downlink traffic encryption for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] undo encryption enable
forward-error-correction
Use forward-error-correction enable to enable Forward Error Correction (FEC) for an ONU.
Use undo forward-error-correction enable to disable FEC for an ONU.
Syntax
forward-error-correction enable
undo forward-error-correction enable
Default
FEC is disabled on an ONU port.
Views
ONU port view
Predefined user roles
network-admin
Examples
# Enable FEC for the ONU bound to ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] forward-error-correction enable
ip address
Use ip address to assign an IP address to the management VLAN interface of an ONU.
Use undo ip address to restore the default.
Syntax
ip address { dhcp-alloc | ip-address { mask-length | mask } gateway gateway }
undo ip address
Default
The management VLAN interface of an H3C ONU uses the IP address 192.168.0.240 and subnet mask 255.255.255.0.
Views
ONU port view
Predefined user roles
network-admin
Parameters
dhcp-alloc: Specifies DHCP IP address allocation.
ip-address: Specifies an IP address in dotted decimal format.
mask-length: Specifies the length of the subnet mask, in the range of 1 to 31. The subnet mask length is the number of consecutive 1s in the subnet mask.
mask: Specifies a subnet mask in dotted decimal format.
gateway: Specifies the gateway IP address.
Usage guidelines
If the management VLAN of an ONU is changed, the IP address of the original management VLAN interface is deleted.
Examples
# Assign the IP address 192.168.0.1/24 to the management VLAN interface of the ONU bound to ONU 3/0/1:1, and specify the gateway IP address 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
management-vlan
management-vlan
Use management-vlan to specify the management VLAN of an ONU.
Use undo management-vlan to restore the default.
Syntax
management-vlan vlan-id
undo management-vlan
Default
The management VLAN of an ONU is VLAN 1.
Views
ONU port view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
Usage guidelines
If the management VLAN of an ONU is changed, the IP address of the original management VLAN interface is deleted. You must assign an IP address to the new management VLAN interface.
Examples
# Specifies the management VLAN as VLAN 10 for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] management-vlan 10
Related commands
ip address
shutdown management-vlan-interface
multicast mode
Use multicast mode to set the multicast mode of an ONU.
Use undo multicast mode to restore the default.
Syntax
multicast mode { igmp-snooping | multicast-control }
undo multicast mode
Default
The multicast mode of an ONU is IGMP snooping.
Views
ONU port view
Predefined user roles
network-admin
Parameters
igmp-snooping: Specifies the IGMP snooping mode.
multicast-control: Specifies the multicast control mode.
Examples
# Set the multicast mode to multicast control for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] multicast mode multicast-control
multicast vlan-id ip
Use multicast vlan-id ip to map multicast IP addresses to a multicast VLAN.
Use undo multicast vlan-id ip to restore the default.
Syntax
multicast vlan-id vlan-id ip ip-address-list
undo multicast vlan-id vlan-id
Default
No multicast IP addresses are mapped to a multicast VLAN.
Views
FTTH view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094.
ip-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP addresses in the format of ip-address1 to ip-address2.
Usage guidelines
When receiving an IGMP report message, the OLT verifies whether the multicast IP address in the message belongs to a multicast VLAN.
· If the address belongs to a multicast VLAN, the OLT generates a multicast forwarding entry for the multicast VLAN.
· If the address does not belong to a multicast VLAN, the OLT drops the message.
A multicast IP address can be mapped to only one multicast VLAN.
Examples
# Map the multicast IP address 225.1.2.1 to multicast VLAN 1002.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] multicast vlan-id 1002 ip 225.1.2.1
multicast-control host-aging-time
Use multicast-control host-aging-time to set the multicast group member port aging timer for an ONU.
Use undo multicast-control host-aging-time to restore the default.
Syntax
multicast-control host-aging-time host-aging-time
undo multicast-control host-aging-time
Default
The multicast group member port aging timer is 260 seconds.
Views
ONU port view
Predefined user roles
network-admin
Parameters
host-aging-time: Set the aging timer in the range of 200 to 1000 seconds.
Usage guidelines
This command is available only on an ONU in multicast control mode.
Examples
# Set the multicast mode to multicast control for the ONU bound to ONU 3/0/1:1. Set the multicast group member port aging timer to 500 seconds for the ONU.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] multicast mode multicast-control
[Sysname-Onu3/0/1:1] multicast-control host-aging-time 500
Related commands
multicast mode
onu bind auto
Use onu bind auto to enable automatic ONU binding.
Use undo onu bind auto to disable automatic ONU binding.
Syntax
onu bind auto [ slot slot-number ]
undo onu bind auto [ slot slot-number ]
Default
Automatic ONU binding is disabled.
Views
FTTH view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command enables automatic ONU binding for all cards.
Usage guidelines
If an ONU is not bound to any ONU port, the ONU cannot be registered. Such an ONU is called a silent ONU. Automatic ONU binding automatically binds ONU ports to existing silent ONUs and ONUs that join the system after this feature is enabled.
Automatic ONU binding applies to an EPON system where ONUs attached to the OLT are completely trustworthy. To unbind an ONU, first use the undo onu bind auto command to disable automatic ONU binding.
Examples
# Enable automatic ONU binding on card 2.
<Sysname> system-view
[sysname] ftth
[sysname-ftth] onu bind auto slot 2
onu bind batch
Use onu bind batch to perform batch ONU binding.
Syntax
onu bind batch [ slot slot-number ]
Default
Batch ONU binding is not performed.
Views
FTTH view
Predefined user roles
network-admin
Parameters
slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command enables batch ONU binding for all cards.
Usage guidelines
Batch ONU binding automatically binds existing silent ONUs to ONU ports at a time. The ONUs that join the system after batch ONU binding is performed will not be bound.
Batch ONU binding applies to a newly established EPON system that contains only legal ONUs. You can use the bind onu-id command to manually bind new ONUs after batch ONU binding is performed.
Examples
# Perform batch ONU binding on card 2.
<Sysname> system-view
[sysname] ftth
[sysname-ftth] onu bind batch slot 2
bind onu-id
onu event
Use onu event to enable event reporting for an ONU.
Use undo onu event to disable event reporting for an ONU.
Syntax
onu event { debug | log | trap } enable level severity
undo onu event { debug | log | trap } enable
Default
Event reporting is disabled for an ONU.
Views
ONU port view
Predefined user roles
network-admin
Parameters
debug: Specifies debugging information.
log: Specifies log information.
trap: Specifies trap information.
level severity: Specifies the severity level threshold. The ONU reports an event to the OLT if the severity level of the event reaches or exceeds this threshold. The following are the severity levels in descending order of priority:
· Emergencies (severity=0).
· Alerts (severity=1).
· Critical (severity=2).
· Errors (severity=3).
· Warnings (severity=4).
· Notifications (severity=5).
· Information (severity=6).
· Debugging (severity=7).
Examples
# Enable the ONU bound to ONU 2/0/2:1 to report debugging events with a severity level of alerts or a higher severity level.
<Sysname> system-view
[Sysname] interface onu 2/0/2:1
[Sysname-Onu2/0/2:1] onu event debug enable level alerts
onu multicast fast-leave enable
Use onu multicast fast-leave enable to enable fast-leave processing for all UNIs on an ONU.
Use undo onu multicast fast-leave enable to disable fast-leave processing for all UNIs on an ONU.
Syntax
onu multicast fast-leave enable
undo onu multicast fast-leave enable
Default
Fast-leave processing is disabled for all UNIs on an ONU.
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.
You cannot use this command together with the uni igmp-snooping fast-leave command.
Examples
# Enable fast-leave processing for all UNIs on the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu multicast fast-leave enable
Related commands
multicast mode
uni igmp-snooping fast-leave
onu port-isolate enable
Use onu port-isolate enable to assign all UNIs on an ONU to the isolation group.
Use undo onu port-isolate enable to remove all UNIs on an ONU from the isolation group.
Syntax
onu port-isolate enable
undo onu port-isolate enable
Default
A UNI is not in the isolation group.
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
You cannot use this command together with the uni port-isolate command.
Examples
# Assign all UNIs on the ONU bound to ONU 3/0/1:1 to the isolation group.
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu port-isolate enable
Related commands
uni port-isolate
onu protocol enable
Use onu protocol enable to enable a user network management feature on an ONU.
Use undo onu protocol enable to disable a user network management feature on an ONU.
Syntax
onu protocol { dhcp-snooping | dhcp-snooping information | loopback-detection | pppoe | stp } enable
undo onu protocol { dhcp-snooping | dhcp-snooping information | loopback-detection | pppoe | stp } enable
Default
RSTP is enabled, and DHCP snooping, DHCP snooping Option82, loop detection, and PPPoE+ are disabled on an ONU.
Views
ONU port view
Predefined user roles
network-admin
Parameters
dhcp-snooping: Specifies DHCP snooping.
dhcp-snooping information: Specifies DHCP snooping Option 82.
loopback-detection: Specifies loop detection.
pppoe: Specifies PPPoE+.
stp: Specifies RSTP.
Examples
# Enable DHCP snooping on the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol dhcp-snooping enable
onu protocol igmp-snooping timer
Use onu protocol igmp-snooping timer to set IGMP snooping timers.
Use undo onu protocol igmp-snooping timer to restore the default.
|
NOTE: This command is supported by ET704 ONUs. |
Syntax
onu protocol igmp-snooping timer { host-aging-time host-aging-time | max-response-time max-response-time | router-aging-time router-aging-time }
undo onu protocol igmp-snooping timer { host-aging-time | max-response-time | router-aging-time }
Default
The multicast group member port aging timer is 260 seconds.
The query response timer is 1 second.
The router port aging timer is 105 seconds.
Views
ONU port view
Predefined user roles
network-admin
Parameters
host-aging-time host-aging-time: Sets the multicast group member port aging timer in the range of 200 to 1000 seconds.
max-response-time max-response-time: Sets the query response timer in the range of 1 to 25 seconds.
router-aging-time router-aging-time: Sets the router port aging timer in the range of 1 to 1000 seconds.
Usage guidelines
The multicast group member port aging timer determines how often multicast group members are refreshed. If the ONU does not receive an IGMP report from a multicast group member port when this timer expires, the ONU deletes the port. In a network where multicast group members change frequently, set this timer to a small value.
The query response timer sets the response timeout time for group-specific queries. If the ONU does not receive a response before the query response timer expires for the first time, it re-sends group-specific queries and re-starts the query response timer. If the ONU still does not receive a response when the timer expires, the multicast group on the ONU is deleted.
The router port is the port that connects the ONU to the router. The ONU receives IGMP general query messages from the router through this port. If no IGMP general query message is received through the router port when the router port aging timer expires, the ONU determines that the port is not a router port. The router port aging timer must be a value about 2.5 times of the general query interval. For more information about the general query interval, see IGMP in IP Multicast Configuration Guide.
Examples
# Set the multicast group member port aging timer to 200 seconds for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol igmp-snooping timer host-aging-time 200
onu protocol igmp-snooping suppression
Use onu protocol igmp-snooping suppression to enable IGMP membership report suppression or IGMP leave suppression.
Use undo onu protocol igmp-snooping suppression to disable IGMP membership report suppression or IGMP leave suppression.
|
NOTE: This command is supported by ET704 ONUs. |
Syntax
onu protocol igmp-snooping suppression { leave | report }
undo onu protocol igmp-snooping suppression { leave | report }
Default
IGMP leave suppression is enabled, and IGMP membership report suppression is disabled.
Views
ONU port view
Predefined user roles
network-admin
Examples
# Enable IGMP leave suppression on the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol igmp-snooping suppression leave
onu protocol loopback-detection action
Use onu protocol loopback-detection action to set the loop protection action.
Use undo onu protocol loopback-detection action to restore the default.
Syntax
onu protocol loopback-detection action { no-learning | semi-block | shutdown }
undo onu protocol loopback-detection action
Default
The loop protection action of an ONU port is semi-block.
Views
ONU port view
Predefined user roles
network-admin
Parameters
no-learning: Disables MAC address learning and generates a log when a loop is detected.
semi-block: Disables MAC address learning, generates a log, and blocks inbound traffic when a loop is detected.
shutdown: Shuts down the port and generates a log when a loop is detected. The device automatically sets the port to the forwarding state after the interval set by using the shutdown-interval command (see Fundamentals Command Reference).
Examples
# Set the loop protection action to semi-block on ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol loopback-detection action semi-block
onu protocol smart-link flush enable
Use onu protocol smart-link flush enable to enable an ONU to send flush messages.
Use undo onu protocol smart-link flush enable to disable an ONU from sending flush messages.
Syntax
onu protocol smart-link flush enable [ control-vlan vlan-id ]
undo onu protocol smart-link flush enable
Default
An ONU does not send flush messages.
Views
ONU port view
Predefined user roles
network-admin
Parameters
control-vlan vlan-id: Specifies the control VLAN for receiving flush messages. The VLAN ID is in the range of 1 to 4094, and the default control VLAN is VLAN 1.
Examples
# Enable the ONU bound to ONU 3/0/1:1 to send flush messages, and specify the control VLAN as VLAN 2.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol smart-link flush enable control-vlan 2
onu protocol smart-link uni-bind enable
Use onu protocol smart-link uni-bind enable to enable UNI count-based PON port activation for an ONU.
Use undo onu protocol smart-link uni-bind enable to disable UNI count-based PON port activation for an ONU.
|
NOTE: This command is supported by ET824-E ONUs. |
Syntax
onu protocol smart-link uni-bind enable
undo onu protocol smart-link uni-bind enable
Default
UNI count-based PON port activation is disabled for an ONU.
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
This command enables an ONU to activate the PON port that has more online UNIs if two PON ports are online.
Examples
# Enable UNI count-based PON port activation for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol smart-link uni-bind enable
Related commands
display onu protocol smart-link uni-bind information
onu protocol transparent-multicast dest-mac
Use onu protocol transparent-multicast dest-mac to enable transparent transmission for a multicast MAC address.
Use undo onu protocol transparent-multicast dest-mac to disable transparent transmission for a multicast MAC address.
Syntax
onu protocol transparent-multicast dest-mac mac-address
undo onu protocol transparent-multicast dest-mac mac-address
Default
Transparent transmission is disabled for unknown multicast frames.
Views
ONU port view
Predefined user roles
network-admin
Parameters
mac-address: Specifies a multicast MAC address. In the current software version, you can specify only 0100-ffff-ffff for a registered ONU.
Usage guidelines
By default, an ONU drops unknown multicast frames. This feature enables the ONU to flood frames destined for specific multicast MAC addresses.
If a multicast source is in the customer network connected to a UNI, enable transparent transmission for the corresponding multicast MAC address. This setting ensures that the other UNIs on the ONU can receive the multicast frames sent by the multicast source.
Examples
# Enable transparent transmission for multicast MAC address 0100-ffff-ffff for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] onu protocol transparent-multicast dest-mac 0100-ffff-ffff
Related commands
display onu protocol transparent-multicast
qos cos-local-precedence-map
Use qos cos-local-precedence-map to configure CoS-to-local priority mappings.
Use undo qos cos-local-precedence-map to restore the default.
Syntax
qos cos-local-precedence-map cos0 cos1 cos2 cos3 cos4 cos5 cos6 cos7
undo qos cos-local-precedence-map
Default
Table 9 shows default CoS-to-local priority mappings.
Table 9 Default CoS-to-local priority mappings
CoS priority |
Local precedence |
0 |
0 |
1 |
0 |
2 |
1 |
3 |
1 |
4 |
2 |
5 |
2 |
6 |
3 |
7 |
3 |
Views
ONU port view
Predefined user roles
network-admin
Parameters
cos0: Specifies the local precedence to be mapped to CoS priority 0, in the range of 0 to 3.
cos1: Specifies the local precedence to be mapped to CoS priority 1, in the range of 0 to 3.
cos2: Specifies the local precedence to be mapped to CoS priority 2, in the range of 0 to 3.
cos3: Specifies the local precedence to be mapped to CoS priority 3, in the range of 0 to 3.
cos4: Specifies the local precedence to be mapped to CoS priority 4, in the range of 0 to 3.
cos5: Specifies the local precedence to be mapped to CoS priority 5, in the range of 0 to 3.
cos6: Specifies the local precedence to be mapped to CoS priority 6, in the range of 0 to 3.
cos7: Specifies the local precedence to be mapped to CoS priority 7, in the range of 0 to 3.
Usage guidelines
This command takes effect only on downlink data flows.
Examples
# Configure CoS-to-local priority mappings on ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] qos cos-local-precedence-map 2 2 1 1 3 3 0 0
reboot onu
Use reboot onu to reboot an ONU.
Syntax
reboot onu
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
This command takes effect only on online ONUs.
Examples
# Reboot the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] reboot onu
reset counters serial
Use reset counters serial to clear packet statistics on a serial interface on an ONU.
Syntax
reset counters serial interface-number
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
Usage guidelines
Before you use this command, make sure the ONU has serial interfaces.
Examples
# Clear packet statistics on serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] reset counters serial 1
reset counters uni
Use reset counters uni to clear packet statistics on UNIs of an ONU.
Syntax
reset counters uni [ uni-number ]
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs. If you do not specify this argument, the command clears packet statistics on all UNIs of the ONU.
Examples
# Clear packet statistics on UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] reset counters uni 1
serial databit
Use serial databit to set the number of data bits for a serial interface on an ONU.
Use undo serial databit to restore the default.
Syntax
serial interface-number databit { 5 | 6 | 7 | 8 }
undo serial interface-number databit
Default
The number of data bits is 8 for an ONU serial interface.
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
5: Sets the number of data bits to 5.
6: Sets the number of data bits to 6.
7: Sets the number of data bits to 7.
8: Sets the number of data bits to 8.
Usage guidelines
Before you use this command, make sure the ONU has serial interfaces.
Examples
# Set the number of data bits to 5 for serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 databit 5
serial parity
Use serial parity to set the parity type for a serial interface on an ONU.
Use undo serial parity to restore the default.
Syntax
serial interface-number parity { even | mark | none | odd | space }
undo serial interface-number parity
Default
The parity type of an ONU serial interface is none, which indicates that no parity is used.
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
even: Uses even parity.
mark: Uses mark parity.
none: Uses no parity.
odd: Uses odd parity.
space: Uses space parity.
Usage guidelines
Before you use this command, make sure the ONU has serial interfaces.
Examples
# Set the parity type to odd for serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 parity odd
serial session protocol-type
Use serial session protocol-type to establish a session on a serial interface of an ONU.
Use undo serial session protocol-type to delete the session on a serial interface of an ONU.
Syntax
serial interface-number session session-number protocol-type tcp-client server ip-address port port-number
serial interface-number session session-number protocol-type tcp-server listen-port port-number
serial interface-number session session-number protocol-type udp server ip-address port port-number listen-port port-number
undo serial interface-number session session-number protocol-type
Default
No session is established on an ONU serial interface.
Views
ONU port view
Predefined user roles
network-admin
Parameters
protocol-type tcp-client: Uses the ONU as the client of a TCP session.
protocol-type tcp-server: Uses the ONU as the server of a TCP session.
protocol-type udp: Uses the ONU as both the server and client of a UDP session.
server: Specifies a server.
port: Specifies a port on the server.
listen-port: Specifies a local listening port.
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
session-number: Specifies a session number. An ONU can have a maximum of 6 sessions.
ip-address: Specifies the IP address of the server.
port-number: Specifies the port number of the server, in the range of 1024 to 65535.
Examples
# Establish a TCP session on serial interface 1 of the ONU bound to ONU 3/0/1:1, and configure the ONU as the client of the session.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 session 1 protocol-type tcp-client server 122.100.52.5
2 port 15
# Establish a TCP session on serial interface 1 of the ONU bound to ONU 3/0/1:1, and configure the ONU as the server of the session.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 session 3 protocol-type tcp-server listen-port 2500
# Establish a UDP session on serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 session 5 protocol-type udp server 3.3.2.5 port 4500 l
isten-port 75
# Delete the session on serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname] undo serial 1 session 4 protocol-type
serial speed
Use serial speed to set the baud rate for a serial interface of an ONU.
Use undo serial speed to restore the default.
Syntax
serial interface-number speed { 300 | 600 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 }
undo serial interface-number speed
Default
The baud rate of an ONU serial interface is 9600 bps.
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
300: Sets the baud rate to 300 bps.
600: Sets the baud rate to 600 bps.
1200: Sets the baud rate to 1200 bps.
2400: Sets the baud rate to 2400 bps.
4800: Sets the baud rate to 4800 bps.
9600: Sets the baud rate to 9600 bps.
19200: Sets the baud rate to 19200 bps.
38400: Sets the baud rate to 38400 bps.
57600: Sets the baud rate to 57600 bps.
115200: Sets the baud rate to 115200 bps.
Usage guidelines
Before you use this command, make sure the ONU has serial interfaces.
Examples
# Set the baud rate to 300 bps for serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 speed 300
serial stopbit
Use serial stopbit to set the number of stop bits for a serial interface of an ONU.
Use undo serial stopbit to restore the default.
Syntax
serial interface-number stopbit { 1 | 1.5 | 2 }
undo serial interface-number stopbit
Default
The number of stop bits is 1 for an ONU serial interface.
Views
ONU port view
Predefined user roles
network-admin
Parameters
interface-number: Specifies a serial interface by its number. An ONU can have a maximum of 10 serial interfaces.
1: Sets the number of stop bits to 1.
1.5: Sets the number of stop bits to 1.5.
2: Sets the number of stop bits to 2.
Usage guidelines
Before you use this command, make sure the ONU has serial interfaces.
Examples
# Set the number of stop bits to 1.5 for serial interface 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] serial 1 stopbit 1.5
shutdown management-vlan-interface
Use shutdown management-vlan-interface to shut down the management VLAN interface of an ONU.
Use undo shutdown management-vlan-interface to bring up the management VLAN interface of an ONU.
Syntax
shutdown management-vlan-interface
undo shutdown management-vlan-interface
Default
The management VLAN interface of an ONU is down.
Views
ONU port view
Predefined user roles
network-admin
Usage guidelines
After you execute this command, the status of the management VLAN interface depends on the status of the UNIs in the management VLAN.
· If all UNIs are down, the management VLAN interface is down.
· If a minimum of one UNI is up, the management VLAN interface is up.
Examples
# Bring up the management VLAN interface of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] undo shutdown management-vlan-interface
uni auto-negotiation
Use uni auto-negotiation to enable autonegotiation on a UNI.
Use undo uni auto-negotiation to disable autonegotiation on a UNI.
Syntax
uni uni-number auto-negotiation
undo uni uni-number auto-negotiation
Default
Autonegotiation is enabled on a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Usage guidelines
On a UNI, do not enable autonegotiation and manually set the duplex mode, MDIX mode, or port rate at the same time.
Examples
# Enable autonegotiation on UNI 1 of the ONU bound to ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] uni 1 auto-negotiation
uni classification-marking
Use uni classification-marking to configure priority marking on a UNI.
Use undo uni classification-marking to remove priority marking configuration from a UNI.
Syntax
uni uni-number classification-marking index index queue qid priority priority { selector operator matched-value } & <1-4>
uni uni-number classification-marking index index queue qid priority priority { always-match | never-match }
undo uni uni-number classification-marking index index
Default
Priority marking is not configured on a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
index: Specifies an index in the range of 1 to 8. The smaller the index, the higher the priority.
qid: Assigns packets to a queue specified by its ID in the range of 0 to 7.
priority: Marks packets with a priority in the range of 0 to 7.
{ selector operator matched-value } & <1-4>: Specifies a maximum of four matching field and rule pairs.
· selector: Specifies a matching field. Table 10 shows the available values.
· operator: Specifies a matching rule. Table 11 shows the available values.
· matched-value: Specifies the value of the matching field if the value of the operator argument is not exist or not-exist.
? ip-address: Specifies an IP address.
? mac-address: Specifies a MAC address. Do not specify an ONU MAC address bound to an ONU port for the dst-mac and src-mac fields.
? port-number: Specifies a port number in the range of 0 to 65535.
? priority: Specifies a CoS priority in the range of 0 to 7.
? eth-type: Specifies an Ethernet frame type in the range of 0 to FFFF.
? ip-dscp: Specifies a ToS priority or DSCP priority in the range of 0 to 63.
? ip-type: Specifies an IP protocol type in the range of 0 to FF.
? vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
always-match: Performs match for traffic classification.
never-match: Does not perform match.
Table 10 Values for the selector argument
selector |
Description |
dst-ip |
Matches the destination IP address. |
dst-mac |
Matches the destination MAC address. |
dst-port |
Matches the destination port number. |
eth-pri |
Matches the CoS priority. |
eth-type |
Matches the Ethernet frame type. |
ip-precedence |
Matches the IP precedence. |
ip-tos-dscp |
Matches the ToS priority or DSCP priority. |
ip-type |
Matches the IP protocol type. |
src-ip |
Matches the source IP address. |
src-mac |
Matches the source MAC address. |
src-port |
Matches the source port number. |
vlan-id |
Matches the VLAN ID. |
Table 11 Values for the operator argument
operator |
Description |
equal |
The value of the matched-value argument must be equal to the value of the matching field of packets. |
exist |
The packets must contain the matching field. |
not-equal |
The value of the matched-value argument must be different from the value of the matching field of packets. |
not-exist |
The packets cannot contain the matching field. |
greater-equal |
The value of the matched-value argument must be greater than the value of the matching field of packets. |
less-equal |
The value of the matched-value argument must be smaller than the value of the matching field of packets. |
Usage guidelines
Do not use the uni classification-marking commands together with the qos trust dscp command. For more information about the qos trust command, see ACL and QoS Command Reference.
Examples
# Configure UNI 1 of the ONU bound to ONU 3/0/1:1 to modify the priority to 3 for packet tagged with VLAN ID 10.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 classification-marking index 1 queue 3 priority 3 vlan-id
equal 10
uni description
Use uni description to configure the description for a UNI.
Use undo uni description to restore the default.
Syntax
uni uni-number description text
undo uni uni-number description
Default
A UNI does not have a description.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
text: Specifies the description, a string of 1 to 40 characters.
Examples
# Configure the description as Test for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 description Test
uni duplex
Use uni duplex to set the duplex mode of a UNI.
Use undo uni duplex to restore the default.
Syntax
uni uni-number duplex { auto | full | half }
undo uni uni-number duplex
Default
A UNI is operating in full duplex mode.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
auto: Specifies the auto mode.
full: Specifies the full duplex mode.
half: Specifies the half duplex mode.
Usage guidelines
Before you use this command, make sure autonegotiation is disabled on the UNI.
Examples
# Set the duplex mode to auto for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 duplex auto
Related commands
uni auto-negotiation
uni flow-control
Use uni flow-control to enable flow control for a UNI.
Use undo uni flow-control to disable flow control for a UNI.
Syntax
uni uni-number flow-control
undo uni uni-number flow-control
Default
Flow control is disabled for a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Examples
# Enable flow control for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 flow-control
uni igmp-snooping fast-leave
Use uni igmp-snooping fast-leave to enable fast-leave processing for a UNI.
Use undo uni igmp-snooping fast-leave to disable fast-leave processing for a UNI.
Syntax
uni uni-number igmp-snooping fast-leave
undo uni uni-number igmp-snooping fast-leave
Default
Fast-leave processing is disabled for a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Usage guidelines
Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.
You cannot use this command together with the onu multicast fast-leave enable command.
Examples
# Enable fast-leave processing for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 igmp-snooping fast-leave
Related commands
multicast mode
onu multicast fast-leave enable
uni mdix-mode
Use uni mdix-mode to set the MDIX mode for a UNI.
Use undo uni mdix-mode to restore the default.
|
NOTE: This command is not supported by ET254 ONUs. |
Syntax
uni uni-number mdix-mode { automdix | mdi | mdix }
undo uni uni-number mdix-mode
Default
The MDIX mode of a UNI is automdix.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
automdix: Negotiates pin roles with its peer.
mdi: Uses pins 1 and 2 as transmit pins and pins 3 and 6 as receive pins.
mdix: Uses pins 1 and 2 as receive pins and pins 3 and 6 as transmit pins.
Usage guidelines
Before you use this command, make sure autonegotiation is disabled on the UNI.
Examples
# Set the MDIX mode to automdix for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 mdix-mode automdix
Related commands
uni auto-negotiation
uni mirroring-port
Use uni mirroring-port to configure a UNI as a mirroring source port.
Use undo uni mirroring-port to remove mirroring source port configuration from a UNI.
Syntax
uni uni-number mirroring-port { both | inbound | outbound }
undo uni uni-number mirroring-port
Default
A UNI is not a mirroring source port.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
both: Specifies both inbound and outbound mirroring.
inbound: Specifies inbound mirroring.
outbound: Specifies outbound mirroring.
Usage guidelines
A UNI cannot be both a mirroring source port and destination port.
Examples
# Configure UNI 1 of the ONU bound to ONU 3/0/1:1 as a mirroring source port and enable both inbound and outbound mirroring.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 mirroring-port both
Related commands
uni monitor-port
uni monitor-port
Use uni monitor-port to configure a UNI as a mirroring destination port.
Use undo uni monitor-port to restore the default.
Syntax
uni uni-number monitor-port
undo uni uni-number monitor-port
Default
A UNI is not a mirroring destination port.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Usage guidelines
An ONU can have only one mirroring destination port. To change the mirroring destination port, first remove the original mirroring destination port.
A UNI cannot be both a mirroring source port and destination port.
Examples
# Configure UNI 1 of the ONU bound to ONU 3/0/1:1 as a mirroring destination port.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 monitor-port
Related commands
uni mirroring-port
uni multicast vlan
Use uni multicast vlan to assign a UNI to multicast VLANs on an ONU.
Use undo uni multicast vlan to remove a UNI from the specified or all multicast VLANs on an ONU.
Syntax
uni uni-number multicast vlan vlan-id-list
undo uni uni-number multicast vlan { vlan-id-list | all }
Default
A UNI is not assigned to any multicast VLANs.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
vlan-id-list: Specifies a space-separated list of up to 15 multicast VLAN IDs in the range of 1 to 4094.
all: Specifies all multicast VLAN IDs.
Usage guidelines
On an ONU, UNIs can be assigned to a maximum of 15 multicast VLANs.
This command is available only on an ONU in IGMP snooping mode.
Examples
# Assign UNI 1 of the ONU bound to ONU 3/0/1:1 to multicast VLANs 2000 and 3000.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 multicast vlan 2000 3000
Related commands
multicast mode
uni multicast-control multicast-address
Use uni multicast-control multicast-address to configure the access to multicast channels on a UNI.
Use undo uni multicast-control multicast-address to restore the default.
Syntax
uni uni-number multicast-control multicast-address multicast-address-list [ source-ip ip-address [ to ip-address ] ] rule { deny | permit [ channel-limit channel-number ] | preview time-slice preview-time [ preview-interval interval-time | preview-times preview-times [ reset-interval reset-interval-time ] ]* }
undo uni uni-number multicast-control multicast-address [ multicast-address-list ]
Default
The access to multicast channels is not configured on a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
multicast-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP address in the format of multicast-address1 to multicast-address2.
source-ip ip-address [ to ip-address ]: Specifies the IP address range of the multicast sources that issue multicast channels. The ip-address argument indicates the IP address of a multicast source.
deny: Denies user access to the specified multicast channels.
permit: Permits user access to the specified multicast channels.
channel-number: Specifies the number of channels that can be accessed at the same time when the permit keyword is specified. The value range for this argument is 1 to 5.
preview time-slice: Assigns users preview right to multicast channels within a specified time period.
preview-time: Specifies the preview period in the range of 1 to 3 minutes.
interval-time: Specifies the preview interval in the range of 1 to 10 minutes.
preview-times: Specifies the times of previews, in the range of 1 to 3.
reset-interval-time: Specifies the preview reset interval in the range of 1 to 43200 minutes. If the preset number of previews is reached, you must wait for a preview reset interval before the next preview.
Usage guidelines
This command is available only on an ONU in multicast control mode.
If you specify the source-ip keyword, the OLT processes received IGMPv3 packets as follows:
· For IS_IN, TO_IN, or ALLOW IGMPv3 packets:
? If their multicast IP address and source IP address are in the address range that has multicast rights, the OLT creates multicast entries.
? If this requirement is not met, the OLT drops the packets.
· If the packet type is IS_EX or TO_EX, the OLT drops the packets.
· If the packet type is BLOCK, the OLT directly deletes the corresponding multicast entries without checking the packet rights.
For more information about IS_IN, TO_IN, ALLOW, IS_EX, TO_EX, and BLOCK IGMPv3 packets, see IP Multicast Configuration Guide.
If you assign preview right to multiple multicast channels to users on a UNI, only one of the multicast channels can be previewed at a given time.
Examples
# Permit users on UNI 1 of the ONU bound to ONU 3/0/1:1 to access the multicast channel 224.1.1.2.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 multicast-control multicast-address 224.1.1.2 rule permit
Related commands
multicast mode
multicast vlan-id ip
uni multicast-group-number
Use uni multicast-group-number to configure the number of multicast channels that users can access at the same time on a UNI.
Use undo multicast-group-number to restore the default.
Syntax
uni uni-number multicast-group-number number
undo uni uni-number multicast-group-number
Default
The users on a UNI can access 64 multicast channels at the same time.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
number: Specifies the number of multicast channels, in the range of 0 to 255.
Examples
# Configure the number of multicast channels as 30 on UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 multicast-group-number 30
uni multicast-strip-tag enable
Use uni multicast-strip-tag enable to configure a UNI to remove the VLAN tag of downlink multicast flows.
Use undo uni multicast-strip-tag enable to restore the default.
Syntax
uni uni-number multicast-strip-tag enable
undo uni uni-number multicast-strip-tag enable
Default
A UNI does not remove the VLAN tag of downlink multicast flows.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Examples
# Configure UNI 1 of the ONU bound to ONU 3/0/1:1 to remove the VLAN tag of downlink multicast flows.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 multicast-strip-tag enable
uni port-isolate
Use uni port-isolate to assign a UNI to the isolation group.
Use undo uni port-isolate to remove a UNI from the isolation group.
Syntax
uni uni-number port-isolate
undo uni uni-number port-isolate
Default
A UNI is not in the isolation group.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Usage guidelines
An ONU supports only one isolation group. The number of UNIs in the isolation group is not limited.
You cannot use this command together with the onu port-isolate enable command.
Examples
# Assign UNI 1 and UNI 2 of the ONU bound to ONU 3/0/1:1 to the isolation group.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 port-isolate
[Sysname-Onu3/0/1:1] uni 2 port-isolate
Related commands
onu port-isolate enable
uni port-policy inbound
Use uni port-policy inbound to configure uplink traffic policing on a UNI.
Use undo uni port-policy inbound to restore the default.
Syntax
uni uni-number port-policy inbound { bucket-depth bucket-depth-value | cir cir-value | extra-burst-size extra-burst-size-value } *
undo uni uni-number port-policy inbound
Default
The CBS is 1522 bytes, the CIR is not configured, and the EBS is 0 bytes.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
bucket-depth bucket-depth-value: Specifies the CBS in the range of 1522 to 65535 bytes. The CBS is the maximum burst bandwidth.
cir cir-value: Specifies the CIR in the range of 64 to 1024000 Kbps. The value of the cir-value argument must be a multiple of 64.
extra-burst-size extra-burst-size-value: Specifies the EBS in the range of 0 to 1522 bytes.
Examples
# Configure uplink traffic policing on UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 port-policy inbound cir 640 bucket-depth 2000 extra-burst-size 1000
uni port-policy outbound
Use uni port-policy outbound to configure downlink traffic policing on a UNI.
Use undo uni port-policy outbound to restore the default.
Syntax
uni uni-number port-policy outbound cir cir-value [ pir pir-value ]
undo uni uni-number port-policy outbound
Default
Downlink traffic policing is not configured.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
cir cir-value: Specifies the CIR in the range of 64 to 1024000 Kbps. The value of the cir-value argument must be a multiple of 64.
pir pir-value: Specifies the PIR in the range of 64 to 1024000 Kbps. The value of the pir-value argument must be a multiple of 64 and be larger than the CIR.
Examples
# Configure downlink traffic policing on UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 port-policy outbound cir 64 pir 640
uni qinq
Use uni qinq to add an SVLAN tag for packets with specific CVLAN tags, or enable transparent transmission for VLANs on a UNI.
Use undo uni qinq to remove QinQ configuration from a UNI.
Syntax
uni uni-number qinq svlan svlan-id cvlan { cvlan-id-list | all }
undo uni uni-number qinq svlan svlan-id
uni uni-number qinq transparent-vlan { cvlan-id-list | all }
undo uni uni-number qinq transparent-vlan { cvlan-id-list | all }
Default
QinQ is not configured on a UNI.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
svlan svlan-id: Specifies an SVLAN ID in the range of 1 to 4094.
cvlan-id-list: Specifies a space-separated list of up to 10 CVLAN ID items. Each item specifies a VLAN ID or a range of VLAN IDs in the format of vlan-id1 to vlan-id2. The value of vlan-id2 cannot be smaller than the value of vlan-id1. The value range for VLAN IDs is 1 to 4094.
all: Specifies all CVLAN IDs.
Usage guidelines
Before you can configure QinQ for a UNI, you must set its VLAN operation mode to QinQ.
Enable transparent transmission for VLANs that have special purposes, for example, a VLAN dedicated to a corporation or a management VLAN. When receiving packets tagged with the VLAN ID, the ONU does not add the SVLAN tag to the packets before forwarding them to the service provider network.
Examples
# Configure UNI 1 of the ONU bound to ONU 3/0/1:1 to add the SVLAN tag 20 for packets with a CVLAN tag of VLAN 3 or 4.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 qinq svlan 20 cvlan 3 to 4
Related commands
uni vlan-mode
uni restart auto-negotiation
Use uni restart auto-negotiation to force a UNI to restart autonegotiation.
Syntax
uni uni-number restart auto-negotiation
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Usage guidelines
This command is available only when autonegotiation is enabled.
Examples
# Force UNI 1 of the ONU bound to ONU 2/0/1:1 to restart autonegotiation.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] uni 1 restart auto-negotiation
Related commands
uni auto-negotiation
uni shutdown
Use uni shutdown to shut down a UNI.
Use undo uni shutdown to bring up a UNI.
Syntax
uni uni-number shutdown
undo uni uni-number shutdown
Default
A UNI is up.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Examples
# Shut down UNI 1 of the ONU bound to ONU 2/0/1:1.
<Sysname> system-view
[Sysname] interface onu 2/0/1:1
[Sysname-Onu2/0/1:1] uni 1 shutdown
uni speed
Use uni speed to set the rate of a UNI.
Use undo uni speed to restore the default.
Syntax
uni uni-number speed { 10 | 100 | 1000 | auto }
undo uni uni-number speed
Default
The rate of a UNI is 100 Mbps.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
10: Sets the UNI rate to 10 Mbps.
100: Sets the UNI rate to 100 Mbps.
1000: Sets the UNI rate to 1000 Mbps.
auto: Enable auto rate negotiation.
Usage guidelines
Before you use this command, make sure autonegotiation is disabled on the UNI.
Examples
# Set the rate to 10 Mbps for UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 speed 10
Related commands
uni auto-negotiation
uni virtual-cable-test
Use uni virtual-cable-test to test the cable connected to a UNI.
Syntax
uni uni-number virtual-cable-test
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
Examples
# Test the cable connected to UNI 1 of the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 virtual-cable-test
Cable status: abnormal(open), 0 metre(s)
Pair Impedance mismatch: -
Pair skew: - ns
Pair swap: -
Pair polarity: -
Insertion loss: - db
Return loss: - db
Near-end crosstalk: 4294967040 db
Table 12 Command output
Field |
Description |
Cable status |
Cable status: · Normal. · Abnormal. · abnormal(open). · abnormal(short). · failure. |
n metre(s) |
If the cable is operating correctly, this field displays the total length of the cable. If the cable is not operating correctly, this field displays the length of the cable between the UNI and the point of failure. |
Pair skew |
Pair skew. The hyphen (-) indicates that the test item is not supported. |
Pair swap |
Pair swap. The hyphen (-) indicates that the test item is not supported. |
Pair polarity |
Pair polarity. The hyphen (-) indicates that the test item is not supported. |
Insertion loss |
Insertion loss. The hyphen (-) indicates that the test item is not supported. |
Return loss |
Return loss. The hyphen (-) indicates that the test item is not supported. |
Near-end crosstalk |
Near-end crosstalk. The hyphen (-) indicates that the test item is not supported. |
uni vlan-mode
Use uni vlan-mode to set the VLAN operation mode of a UNI.
Use undo uni vlan-mode to restore the default.
Syntax
uni uni-number vlan-mode transparent
uni uni-number vlan-mode tag pvid pvid [ priority priority ]
uni uni-number vlan-mode translation pvid pvid [ priority priority ] { vlan-id to vlan-id } &<1-15>
uni uni-number vlan-mode qinq pvid pvid [ priority priority ]
undo uni uni-number vlan-mode
Default
The VLAN operation mode of a UNI is transparent.
Views
ONU port view
Predefined user roles
network-admin
Parameters
uni-number: Specifies a UNI by its number. An ONU can have a maximum of 79 UNIs.
pvid: Specifies a PVID in the range of 1 to 4094.
priority priority: Specifies an 802.1p precedence in the range of 0 to 7.
{ vlan-id to vlan-id } &<1-15>: Specifies a maximum of 15 original VLAN ID and translated VLAN ID pairs. The value range for VLAN IDs is 1 to 4094.
Usage guidelines
If the link type of all ONU ports on an OLT port is access, you must set the VLAN operation mode to transparent for UNIs of the ONUs. This setting ensures that the ONU ports and users receive only untagged packets.
Examples
# Set the VLAN operation mode of UNI 1 to transparent for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 vlan-mode transparent
# Set the VLAN operation mode of UNI 1 to tag for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 vlan-mode tag pvid 100 priority 3
# Set the VLAN operation mode of UNI 1 to translation for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] uni 1 vlan-mode translation pvid 100 priority 3 2 to 5
# Set the VLAN operation mode of UNI 1 to QinQ for the ONU bound to ONU 1/0/1:1.
<Sysname> system-view
[Sysname] interface onu 1/0/1:1
[Sysname-Onu1/0/1:1] uni 1 vlan-mode qinq pvid 100 priority 3
update onu filename
Use update onu filename to update an ONU or all ONUs on an OLT port.
Use undo update onu to cancel the update configuration for an ONU or all ONUs on an OLT port.
Syntax
update onu filename filename
undo update onu
Views
ONU port view
Predefined user roles
network-admin
Parameters
filename: Specifies a file by its name, a string of 1 to 63 characters. The string can contain only letters, numbers, and special characters in Table 13. The file name is formed by the device name and the ONU update file name. If you do not specify a device name, the name of the Flash on the active MPU is used as the device name. The files on the standby MPU cannot be used for the update.
Character name |
Symbol |
Character name |
Symbol |
Tilde |
~ |
Plus sign |
+ |
Exclamation point |
! |
Equal sign |
= |
At sign |
@ |
Left brace |
{ |
Pound sign |
# |
Right brace |
} |
Dollar sign |
$ |
Left bracket |
[ |
Percent sign |
% |
Right bracket |
] |
Caret |
^ |
Backslash |
\ |
Ampersand sign |
& |
Semi-colon |
; |
Left parenthesis |
( |
Apostrophe |
' |
Right parenthesis |
) |
Comma |
, |
Hyphen |
- |
Dot |
. |
Underscore |
_ |
|
|
Usage guidelines
To update a single ONU, use this command in ONU port view. To update all ONUs on an OLT port, use this command in OLT port view.
This command issues the update file to ONUs.
· If an ONU is online and matches the update file, the ONU is updated.
· If an ONU is online but does not match the update file, the ONU is not updated.
· If an ONU that matches the update file is not online, the ONU is updated when it is online. An ONU is not online if it is not bound to an ONU port, or the extended OAM connection is not established.
After you use this command in OLT port view, whether the OLT updates a matching ONU that newly comes online depends on the creation time of the corresponding ONU port.
· If the ONU port is created before you execute this command, the ONU will be updated.
· If the ONU port is created after you execute this command, the ONU will not be updated.
Examples
# Update the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] update onu filename file.app
Update flash:/file.app?[Y/N] Y
update onu type
Use update onu type to update ONUs by type.
Use undo update onu type to cancel the update configuration for an ONU type.
Syntax
update onu type onu-type filename filename
undo update onu type onu-type
Views
FTTH view
Predefined user roles
network-admin
Parameters
onu-type: Specifies an ONU type, a case-insensitive string of 1 to 16 characters. The string can contain only letters, numbers, and special characters in Table 14.
Character name |
Symbol |
Character name |
Symbol |
Tilde |
~ |
Plus sign |
+ |
Exclamation point |
! |
Equal sign |
= |
At sign |
@ |
Left brace |
{ |
Pound sign |
# |
Right brace |
} |
Dollar sign |
$ |
Left bracket |
[ |
Percent sign |
% |
Right bracket |
] |
Caret |
^ |
Backslash |
\ |
Ampersand sign |
& |
Semi-colon |
; |
Left parenthesis |
( |
Apostrophe |
' |
Right parenthesis |
) |
Comma |
, |
Hyphen |
- |
Dot |
. |
Underscore |
_ |
|
|
filename: Specifies a file by its name, a string of 1 to 63 characters. The string can contain only letters, numbers, and special characters in Table 14. The file name is formed by the device name and the ONU update file name. If you do not specify a device name, the name of the Flash on the active MPU is used as the device name. The files on the standby MPU cannot be used for the update.
Usage guidelines
This command enables the OLT to automatically update ONUs that match the specified ONU type and do not have an update file. The OLT updates ONUs as follows:
· If a matching ONU is online, the ONU is updated.
· If an ONU is online but does not match the update file, the ONU is not updated.
· If a matching ONU is not online, the ONU is updated when it is online. An ONU is not online if it is not bound to an ONU port, or the extended OAM connection is not established.
You can update a maximum of 64 types of ONUs at the same time.
Examples
# Update all ET704-A-L ONUs.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] update onu type et704-a-l filename file.app
upstream-sla
Use upstream-sla to specify the uplink bandwidth range for an ONU.
Use undo upstream-sla to restore the default.
Syntax
upstream-sla { fixed-bandwidth fixed-value | maximum-bandwidth max-value | minimum-bandwidth min-value } *
undo upstream-sla
Default
The fixed uplink bandwidth is 0 kbps, the maximum uplink bandwidth is 23552 kbps, and the minimum uplink bandwidth is 2048 kbps.
Views
ONU port view
Predefined user roles
network-admin
Parameters
fixed-bandwidth fixed-value: Sets the fixed uplink bandwidth in the range of 0 to 14843. The unit of the fixed-value argument is 64 kbps.
maximum-bandwidth max-value: Sets the maximum uplink bandwidth in the range of 8 to 15625. The unit of the max-value argument is 64 kbps.
minimum-bandwidth min-value: Sets the minimum uplink bandwidth in the range of 8 to 15000. The unit of the min-value argument is 64 kbps.
Usage guidelines
On an ONU port, the sum of the minimum uplink bandwidth and the fixed uplink bandwidth cannot be greater than the maximum uplink bandwidth.
Make sure the total minimum uplink bandwidth of ONUs does not exceed 972800 kbps on an OLT port.
Examples
# Set the minimum uplink bandwidth to 9600 kbps and the maximum uplink bandwidth to 12800 kbps,for the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] upstream-sla minimum-bandwidth 150 maximum-bandwidth 200
using onu
Use using onu to create ONU ports.
Use undo using onu to delete ONU ports.
Syntax
using onu onu-number-list
undo using onu onu-number-list
Default
No ONU ports exist.
Views
OLT port view
Predefined user roles
network-admin
Parameters
onu-number-list: Specifies a space-separated list of up to 10 ONU port number items. Each item specifies an ONU port number or a range of ONU port numbers in the format of onu-number1 to onu-number2. The value of onu-number2 cannot be smaller than the value of onu-number1. The value range for ONU port numbers is 1 to 64.
Examples
# Create ONU port 1 on OLT 2/0/2.
<Sysname> system-view
[sysname] interface olt 2/0/2
[sysname-Olt2/0/2] using onu 1
voip-port shutdown
Use voip-port shutdown to shut down a VoIP interface on an ONU.
Use undo voip-port shutdown to bring up a VoIP interface on an ONU.
Syntax
voip-port port-number shutdown
undo voip-port port-number shutdown
Default
A VoIP interface is down on an ONU.
Views
ONU port view
Predefined user roles
network-admin
Parameters
port-number: Specifies a VoIP interface by its number.
Examples
# Bring up VoIP interface 1 on the ONU bound to ONU 3/0/1:1.
<Sysname> system-view
[Sysname] interface onu 3/0/1:1
[Sysname-Onu3/0/1:1] undo voip-port 1 shutdown
EPON alarm commands
alarm device-fatal-error enable
Use alarm device-fatal-error enable to enable the device fatal error alarm.
Use undo alarm device-fatal-error enable to disable the device fatal error alarm.
Syntax
alarm device-fatal-error enable
undo alarm device-fatal-error enable
Default
The device fatal error alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if an error that causes system unavailability occurs, such as memory leak and high memory usage.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the device fatal error alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm device-fatal-error enable
alarm oam critical-event enable
Use alarm oam critical-event enable to enable the critical event alarm.
Use undo alarm oam critical-event enable to disable the critical event alarm.
Syntax
alarm oam critical-event enable
undo alarm oam critical-event enable
Default
The critical event alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if the local link fault or dying gasp alarm is sent.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the critical event alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm oam critical-event enable
alarm oam dying-gasp enable
Use alarm oam dying-gasp enable to enable the dying gasp alarm.
Use undo alarm oam dying-gasp enable to disable the dying gasp alarm.
Syntax
alarm oam dying-gasp enable
undo alarm oam dying-gasp enable
Default
The dying gasp alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if an irrecoverable error occurs, such as a system error and a data loading error.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the dying gasp alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm oam dying-gasp enable
alarm oam local-link-fault enable
Use alarm oam local-link-fault enable to enable the local link fault alarm.
Use undo alarm oam local-link-fault enable to disable the local link fault alarm.
Syntax
alarm oam local-link-fault enable
undo alarm oam local-link-fault enable
Default
The local link fault alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if a fault occurs in the inbound direction on the OLT.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the local link fault alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm oam local-link-fault enable
alarm onu-laser always-on enable
Use alarm onu-laser always-on enable to enable the ONU laser always on alarm.
Use undo alarm onu-laser always-on enable to disable the ONU laser always on alarm.
Syntax
alarm onu-laser always-on enable
undo alarm onu-laser always-on enable
Default
The ONU laser always on alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if an ONU keeps sending optical signals for a long period of time.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the ONU laser always on alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm onu-laser always-on enable
alarm onu-over-limit enable
Use alarm onu-over-limit enable to enable the ONU over limit alarm.
Use undo alarm onu-over-limit enable to disable the ONU over limit alarm.
Syntax
alarm onu-over-limit enable
undo alarm onu-over-limit enable
Default
The ONU over limit alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if the number of ONUs connected to the OLT reaches the upper limit.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the ONU over limit alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt 3/0/1
[Sysname-Olt3/0/1] alarm onu-over-limit enable
alarm registration-error enable
Use alarm registration-error enable to enable the registration error alarm.
Use undo alarm registration-error enable to disable the registration error alarm.
Syntax
alarm registration-error enable
undo alarm registration-error enable
Default
The registration error alarm is enabled.
Views
FTTH view
OLT port view
Predefined user roles
network-admin
Usage guidelines
This alarm is sent if an error occurs during ONU registration.
If you configure this alarm in OLT port view, the configuration takes effect only on the OLT port. If you configure this alarm in FTTH view, the configuration takes effect on all OLT ports.
If you configure this alarm in both OLT port view and FTTH view, the most recent configuration takes effect on the OLT port.
Examples
# Enable the registration error alarm on OLT 3/0/1.
<Sysname> system-view
[Sysname] interface olt3/0/1
[Sysname-Olt3/0/1] alarm registration-error enable
monitor enable
Use monitor enable to enable alarm monitoring.
Use undo monitor enable to disable alarm monitoring.
Syntax
monitor enable
undo monitor enable
Default
Alarm monitoring is enabled.
Views
FTTH view
Predefined user roles
network-admin
Examples
# Enable alarm monitoring.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] monitor enable
Related commands
timer monitor
timer monitor
Use timer monitor to set the alarm monitoring interval.
Use undo timer monitor to restore the default.
Syntax
timer monitor seconds
undo timer monitor
Default
The alarm monitoring interval is 80 seconds.
Views
FTTH view
Predefined user roles
network-admin
Parameters
seconds: Specifies an interval in the range of 1 to 3600 seconds.
Examples
# Set the alarm monitoring interval to 100 seconds.
<Sysname> system-view
[Sysname] ftth
[Sysname-ftth] timer monitor 100
monitor enable
BCMP proxy commands
bcmp-proxy enable
Use bcmp-proxy enable to enable the BCMP proxy feature.
Use undo bcmp-proxy enable to disable the BCMP proxy feature.
Syntax
bcmp-proxy enable
undo bcmp-proxy enable
Default
The BCMP proxy feature is disabled.
Views
System view
Predefined user roles
network-admin
Usage guidelines
An OLT with this feature enabled operates as a BCMP proxy to forward member registration information and configuration between the BCMP server and BCMP clients.
Examples
# Enable the BCMP proxy feature.
[Sysname] bcmp-proxy enable
bcmp-proxy server address
Use bcmp-proxy server address to specify the IP address of the BCMP server.
Use undo bcmp-proxy server address to restore the default.
Syntax
bcmp-proxy server address ip-address
undo bcmp-proxy server address
Default
The IP address of the BCMP server is not specified.
Views
System view
Predefined user roles
network-admin
Parameters
ip-address: Specifies an IP address.
Usage guidelines
For a BCMP proxy to communicate with a BCMP server, you must specify the IP address of the server on the BCMP proxy.
Examples
# Specify 1.1.1.1 as the IP address of the BCMP server.
[Sysname] bcmp-proxy server address 1.1.1.1
Related commands
bcmp-proxy enable
bcmp-proxy server port
Use bcmp-proxy server port to specify the port number of the BCMP server.
Use undo bcmp-proxy server port to restore the default.
Syntax
bcmp-proxy server port port-number
undo bcmp-proxy server port
Default
The port number of the BCMP server is 5000.
Views
System view
Predefined user roles
network-admin
Parameters
port-number: Specifies a port number in the range of 1 to 65535.
Usage guidelines
Use this command to specify the UDP port number that the BCMP proxy and the BCMP server use to establish a UDP connection. The BCMP proxy and the BCMP server can communicate only after the UDP connection is set up.
Examples
# Specify 2000 as the port number of the BCMP server.
[Sysname] bcmp-proxy server port 2000
Related commands
bcmp-proxy enable
bcmp-proxy vlan
Use bcmp-proxy vlan to specify the BCMP VLAN.
Use undo bcmp-proxy vlan to restore the default.
Syntax
bcmp-proxy vlan vlan-id
undo bcmp-proxy vlan
Default
The BCMP VLAN is 4041.
Views
System view
Predefined user roles
network-admin
Parameters
vlan-id: Specifies a VLAN ID in the range of 1 to 4094.
Usage guidelines
The BCMP proxy communicates with BCMP clients only in the BCMP VLAN.
Examples
# Specify VLAN 100 as the BCMP VLAN.
[Sysname] bcmp-proxy vlan 100
Related commands
bcmp-proxy enable