19-EPON Command Reference

HomeSupportSwitchesH3C S7500X Switch SeriesReference GuidesCommand ReferencesH3C S7500X Switch Series Command References-Release7634Pxx-6W10019-EPON Command Reference
01-EPON basics commands
Title Size Download
01-EPON basics commands 525.04 KB

Contents

EPON basics commands· 1

OLT commands· 1

agmp enable· 1

alarm device-fatal-error enable· 1

alarm oam critical-event enable· 2

alarm oam dying-gasp enable· 3

alarm oam local-link-fault enable· 3

alarm onu-laser always-on enable· 4

alarm onu-over-limit enable· 5

alarm registration-error enable· 5

authentication-mode· 6

display epon alarm history· 7

display epon alarm statistics· 8

display epon authentication-mode· 9

display epon fiber-backup group· 10

display epon oam·· 11

display epon onu-event 12

display epon optics-parameters· 12

display epon parameter 13

display epon statistics· 14

display epon version· 14

display epon workmode· 15

display interface· 16

display olt statistics· 23

display rolt interface· 24

encryption update-time· 25

fiber-backup group· 25

fiber-backup tcp· 26

ftth· 27

grant-filtering enable· 27

interface· 28

interface rolt 28

interface ronu· 29

max-rtt 29

member 30

member interface· 31

monitor enable· 32

oam-discovery-timeout 32

olt-mode· 33

onu invalid-address mode· 34

onu snmp port-limit 35

port fiber-backup group· 36

port switch-over 37

port-type· 38

timer monitor 38

uplink interface· 39

vendor-compatible· 40

ONU remote management commands· 41

alarm enable· 41

apply onu template· 47

bind onu-id· 48

blacklist onu-id· 49

deregister onu· 50

display dhcp-client 50

display epon mac-address· 51

display epon onu-template apply-process· 52

display epon onu-update· 53

display onu· 55

display onu loid· 57

display onu mac-address· 58

display onu neighbor 58

display onu protocol 59

display onu protocol smart-link uni-bind information· 61

display serial-information· 61

display uni 62

display vendor-specific information· 65

encryption enable· 67

forward-error-correction· 68

ip address· 69

ipv6 address· 69

management-vlan· 70

onu authentication-domain· 71

onu authentication-format 72

onu bind auto· 73

onu bind batch· 74

onu bind one-to-one· 75

onu event 76

onu mac-address timer 77

onu port-isolate enable· 77

onu protocol enable· 78

onu protocol loopback-detection action· 79

onu protocol smart-link flush enable· 79

onu protocol smart-link uni-bind enable· 80

onu replace enable· 81

onu statistics enable· 82

onu suspicious-loopback-detection enable· 82

onu template· 83

reboot onu· 84

remove offline-onu· 85

reset counters serial 86

reset counters uni 86

serial databit 87

serial parity· 88

serial session protocol-type· 88

serial speed· 89

serial stopbit 90

shutdown management-vlan-interface· 91

transceiver-txpower 91

uni auto-negotiation· 92

uni description· 93

uni duplex· 94

uni flow-control 94

uni mac-address max-mac-count 95

uni mdix-mode· 96

uni mirroring-port 96

uni monitor-port 97

uni port-isolate· 98

uni qinq· 99

uni restart auto-negotiation· 100

uni shutdown· 100

uni speed· 101

uni statistics enable· 101

uni virtual-cable-test 102

uni vlan-mode (interface view) 103

uni vlan-mode (ONU template view) 105

update onu filename· 107

update onu type· 108

using onu· 110

 


EPON basics commands

The device supports 10G-EPON cards and 1G-EPON cards. Unless otherwise specified, interfaces on 1G-EPON cards are used in this document.

OLT commands

agmp enable

Use agmp enable to enable AGMP.

Use undo agmp enable to disable AGMP.

Syntax

agmp enable

undo agmp enable

Default

AGMP is disabled.

Views

FTTH view

Predefined user roles

network-admin

network-operator

Usage guidelines

After AGMP is enabled on an OLT, you can remotely manage the  Aolynk S1500E series switches in the LAN through the Web interface on the OLT.

Examples

# Enable AGMP.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] agmp enable

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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the device fatal error alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the critical event alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the dying gasp alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the local link fault alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 [ action power-off ]

undo alarm onu-laser always-on enable

Default

The ONU laser-always-on alarm is enabled.

Views

FTTH view

OLT interface view

Predefined user roles

network-admin

Parameters

action power-off: Generates laser-always-on alarms and powers off the Tx power (Tx power for the transceiver module of a PON interface) of an ONU when the OLT detects laser-always-on events on the ONU. If you do not specify this keyword, the OLT only generates laser-always-on alarms when detecting laser-always-on events on an ONU.

Usage guidelines

With the ONU laser-always-on alarm enabled, this alarm is sent if the OLT detects that an ONU keeps sending optical signals for a long period of time.

If you configure this alarm in OLT interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the ONU laser-always-on alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the ONU over limit alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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 interface view, the configuration takes effect only on the OLT interface. If you configure this alarm in FTTH view, the configuration takes effect on all OLT interfaces.

If you configure this alarm in both OLT interface view and FTTH view, the most recent configuration takes effect on the OLT interface.

Examples

# Enable the registration error alarm on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm registration-error enable

authentication-mode

Use authentication-mode to set the ONU authentication mode.

Use undo authentication-mode to delete ONU authentication mode settings.

Syntax

authentication-mode { mac | loid | loid-password } *

undo authentication-mode [ mac | loid | loid-password ] *

Default

An OLT interface uses the MAC mode for ONU authentication.

Views

FTTH view

OLT interface view

ROLT interface view

Predefined user roles

network-admin

Parameters

mac: Specifies the MAC mode. In this mode, an OLT interface authenticates ONUs based on the MAC address.

loid: Specifies the logical ONU identifier (LOID) mode. In this mode, an OLT interface authenticates ONUs based on the LOID.

loid-password: Specifies the LOID-password mode. In this mode, an OLT interface authenticates ONUs based on the LOID and LOID password.

Usage guidelines

The LOID mode and the LOID-password mode are mutually exclusive. You cannot use them together.

If you execute this command in interface view, the configuration takes effect only on the corresponding interface. If you execute this command in FTTH view, the configuration takes effect on all ROLT interfaces and all OLT interfaces that have not been assigned to ROLT interfaces. An OLT interface or ROLT interface preferentially uses the interface-specific ONU authentication mode. If no interface-specific ONU authentication mode is available, the OLT interface or ROLT interface uses the ONU authentication mode configured in FTTH view.

You can execute this command multiple times to add ONU authentication mode settings.

To restore the default, do not specify any keyword when you execute the undo authentication-mode command. To delete an ONU authentication mode setting, specify the corresponding keyword when you execute the undo authentication-mode command.

Examples

# Set the ONU authentication mode to MAC and LOID on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] authentication-mode mac loid

display epon alarm history

Use display epon alarm history to display EPON alarm information.

Syntax

display epon alarm history [ interface interface-type interface-number ] [ count number ] [ from start-time ] [ to end-time ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type (which can be olt, onu, or ronu) and number. If you do not specify this option, this command displays EPON alarm information of all OLT interfaces, ONU interfaces, and RONU interfaces.

count number: Specifies the maximum number of most recent EPON alarms that can be displayed, in the range of 1 to 2000. The default is 100. If you do not specify this option, this command displays all most recent EPON alarms.

from start-time: Specifies the start time of displayed EPON alarms, in the format of yyyy/mm/dd-hh:mm:ss and in the range of 1970/01/01-00:00:00 to 2035/12/31-23:59:59. If you do not specify this option, the start time is 1970/01/01-00:00:00.

to end-time: Specifies the end time of displayed EPON alarms, in the format of yyyy/mm/dd-hh:mm:ss and in the range of 1970/01/01-00:00:00 to 2035/12/31-23:59:59. The end time must be no earlier than the start time. If you do not specify this option, the end time is 2035/12/31-23:59:59.

Usage guidelines

The device records a maximum of 2000 most recent EPON alarms in the memory for users to view. The newly generated EPON alarms are preferentially displayed.

When you use this command to display EPON alarm information of an OLT interface, this command also displays EPON alarm information of ONU interfaces corresponding to the OLT interface.

Examples

# Display all EPON alarms.

<Sysname> disp epon alarm history

2018/09/28-16:03:30:203 Olt1/0/1 OnuSilence Onu silence which mac is 0011-00ff-00dd.

...

# Display most recent two alarms that occur within the specified time range.

<Sysname> display epon alarm history count 2 from 2018/02/02-10:01:30 to 2018/02/02-13:10:10

2018/02/02-10:15:39:866 Onu1/0/1:1 Uni 20 change to up.

2018/02/02-10:01:30:166 Onu1/0/1:1 Uni 20 change to down.

display epon alarm statistics

Use display epon alarm statistics to display EPON alarm statistics.

Syntax

display epon alarm statistics [ interface interface-type interface-number ] [ from start-time ] [ to end-time ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an interface by its type (which can be olt, onu, or ronu) and number. If you do not specify this option, this command displays EPON alarm statistics of all OLT interfaces, ONU interfaces, and RONU interfaces.

from start-time: Specifies the start time of displayed EPON alarms, in the format of yyyy/mm/dd-hh:mm:ss and in the range of 1970/01/01-00:00:00 to 2035/12/31-23:59:59. If you do not specify this option, the start time is 1970/01/01-00:00:00.

to end-time: Specifies the end time of displayed EPON alarms, in the format of yyyy/mm/dd-hh:mm:ss and in the range of 1970/01/01-00:00:00 to 2035/12/31-23:59:59. The end time must be no earlier than the start time. If you do not specify this option, the end time is 2035/12/31-23:59:59.

Usage guidelines

When you use this command to display EPON alarm statistics of an OLT interface, this command also displays EPON alarm statistics of ONU interfaces corresponding to the OLT interface.

Examples

# Display all EPON alarm statistics.

<Sysname> display epon alarm statistics

Type                     Count

PortAlarmBer             0

PortAlarmFer             0

...

Table 1 Command output

Field

Description

Type

Alarm type.

Count

Alarm count.

display epon authentication-mode

Use display epon authentication-mode to display ONU authentication mode settings of an OLT.

Syntax

display epon authentication-mode [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface: Specifies an OLT or ROLT interface. If you do not specify an OLT or ROLT interface, this command displays all ONU authentication mode settings, including the settings configured in FTTH view and all settings specific to OLT interfaces and ROLT interfaces.

interface-type: Specifies an interface type. The value of this argument can be olt or rolt.

interface-number: Specifies an interface number.

Examples

# Display all ONU authentication mode settings.

<Sysname> display epon authentication-mode

Ftth authentication mode:-

Interface              Authentication-mode

Olt1/0/1               mac and loid

Table 2 Command output

Field

Description

Ftth authentication mode

ONU authentication mode configured in FTTH view:

·     If the ONU authentication mode is not configured in FTTH view, this field displays a hyphen (-). In this situation, the default setting applies.

·     If the ONU authentication mode is configured in FTTH view, this field displays the configured mode settings. Available values are as follows:

¡     mac—Authenticates ONUs based on the MAC address.

¡     loid—Authenticates ONUs based on the LOID.

¡     loid-password—Authenticates ONUs based on the LOID and LOID password.

¡     mac and loid—Authenticates ONUs based on the MAC address or the LOID.

¡     mac and loid-password—Authenticates ONUs based on the MAC address, or the LOID and LOID password.

Authentication-mode

Interface-specific ONU authentication mode:

·     If the ONU authentication mode is not configured for an OLT interface or ROLT interface, the OLT interface or ROLT interface is not displayed.

·     If the ONU authentication mode is configured for an OLT interface or ROLT interface, this field displays the configured authentication mode settings. Available values are as follows:

¡     mac—Authenticates ONUs based on the MAC address.

¡     loid—Authenticates ONUs based on the LOID.

¡     loid-password—Authenticates ONUs based on the LOID and LOID password.

¡     mac and loid—Authenticates ONUs based on the MAC address or the LOID.

¡     mac and loid-password—Authenticates ONUs based on the MAC address, or the LOID and LOID password.

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 120.

all: Specifies all fiber backup groups.

Examples

# Display information about all fiber backup groups. A fiber backup group for which the Uplink interface field is displayed is a multidevice fiber backup group.

<Sysname> display epon fiber-backup group all

Fiber backup group 1 information:

 Member         Role        State

 OLT1/0/1       Master      Active

 OLT1/0/2       Standby     Ready

 

Fiber backup group 2 information:

 Member         Role        State

 OLT1/0/3       Master      Other

 Uplink interface: GigabitEthernet1/0/20

Table 3 Command output

Field

Description

Role

OLT interface role in the fiber backup group:

·     Master—Master port. For a multicast fiber backup group, this field indicates the OLT interface is specified as a master port at the CLI.

·     Standby—Subordinate port. For a multicast fiber backup group, this field indicates the OLT interface is specified as a subordinate port at the CLI.

State

OLT interface status:

·     Active—The master port is in active state and is the actual master port.

·     Ready—The port is in ready state.

·     Other—Any other condition. For example, the interface is down.

Uplink interface

Uplink interface specified for a multidevice fiber backup group.

·     If no uplink interface is configured for a multidevice fiber backup group, this field displays a hyphen (-).

·     For a common fiber backup group, this field is not displayed.

display epon oam

Use display epon oam to display Operations, Administration and Maintenance (OAM) information for an ONU.

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 can be onu or ronu.

interface-number: Specifies an interface number.

Examples

# Display OAM information for the ONU bound to ONU 1/0/1:1.

<Sysname> display epon oam interface onu 1/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.

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 can be onu or ronu.

interface-number: Specifies an interface number.

Examples

# Display ONU registration and deregistration records for the ONU bound to ONU 1/0/1:1.

<Sysname> display epon onu-event interface onu 1/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.

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 1/0/1.

<Sysname> display epon optics-parameters interface olt 1/0/1

Optical parameters:

 Temperature       :37.50 °C

 Voltage           :3.27 V

 Bias              :1.74 mA

 Transmitter power :4.36 dBm

Table 4 Output description

Field

Description

Bias

Bias current.

For OLT interfaces on 10G-EPON cards, this field becomes Bias(1G/10G) and displays the bias currents for both 1G-EPON interfaces and 10G-EPON interfaces, for example, 24.36 mA/80.72 mA.

Transmitter power

Transmit power.

For OLT interfaces on 10G-EPON cards, this field becomes Transmitter power(1G/10G) and displays the transmit powers for both 1G-EPON interfaces and 10G-EPON interfaces, for example, 4.48 dBm/3.44 dBm.

display epon parameter

Use display epon parameter to display EPON system parameters.

Syntax

In standalone mode:

display epon parameter slot slot-number

In IRF mode:

display epon parameter chassis chassis-number slot slot-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

Examples

# Display EPON system parameters for the specified slot.

<Sysname> display epon parameter slot 1

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.

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 can be onu or ronu.

interface-number: Specifies an interface number.

Usage guidelines

You can view packet error rates of an ONU only when the specified interface 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 the ONU bound to ONU 1/0/1:1.

<Sysname> display epon statistics interface onu 1/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.

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, onu, or ronu.

interface-number: Specifies an interface number.

Usage guidelines

You can view version information for an OLT or ONU only when the specified interface is up.

Examples

# Display version information for OLT 1/0/1.

<Sysname> display epon version interface olt 1/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 1/0/1:1.

<Sysname> display epon version interface onu 1/0/1:1

ONU version information:

 Hardware major version: A

 Hardware minor version: 0

 Supported LLIDs       : 1

 MAC type of UNI port  : MII

 CTC version           : 2.1

display epon workmode

Use display epon workmode to display the operation mode of an OLT or ONU.

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, onu, or ronu.

interface-number: Specifies an interface number.

Usage guidelines

If you specify an OLT interface, this command also displays the interface's MAC address and DBA algorithm.

You can view the operation mode of an ONU interface or RONU interface only when the interface has been bound to an ONU.

Examples

# Display the operation mode of an OLT.

<Sysname> display epon workmode interface olt 1/0/1

Port status: Open

MAC address: 000f-e2a1-1027

DBA mode   : Internal

# Display the operation mode of the ONU bound to ONU 1/0/1:1.

<Sysname> display epon workmode interface onu 1/0/1:1

Port status: Open

FEC mode   : Disabled

Table 5 Command output

Field

Description

Port status

Interface status:

·     Open.

·     Closed.

·     Resetting—The chip is resetting. This value is available for OLTs.

·     Pending—The ONU has been registered but fails the authentication. This value is available for ONUs.

·     Unknown.

MAC address

MAC address of the OLT interface.

All OLT interfaces on a device use the same MAC address.

DBA mode

DBA algorithm of the OLT:

·     Internal—Internal DBA algorithm.

·     External—External DBA algorithm.

display interface

Use display interface to display information of an OLT interface, ONU interface, ROLT interface, or RONU interface.

Syntax

display interface [ interface-type [ interface-number ] ] [ brief [ description | down ] ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type, which can be olt, onu, rolt, or ronu. If you do not specify an interface type, this command displays information about all interfaces.

interface-number: Specifies an interface number. If you specify an interface type but do not specify an interface number, this command displays information about all interfaces of the specified type.

brief: Displays brief interface information. If you do not specify this keyword, the command displays detailed interface information.

description: Displays complete interface descriptions. If you do not specify this keyword, the command displays only the first 25 characters of each interface description.

down: Displays information about interfaces in down state and the causes. If you do not specify this keyword, the command displays information about interfaces in all states.

Usage guidelines

An ROLT interface does not support collecting incoming or outgoing packet statistics.

When you display detailed information about an OLT interface on a 10G-EPON card, the following rules apply:

·     The Input/Output fields display packet statistics of 1G-EPON interfaces of the OLT interface.

·     The 10G-EPON Input/Output fields display packet statistics of 10G-EPON interfaces of the OLT interface.

Examples

# Display information about OLT 1/0/1.

<Sysname> display interface Olt 1/0/1

Olt1/0/1

Current state: UP

IP packet frame type: Ethernet II, hardware address: 00e0-fc00-511e

Description: Olt1/0/1 Interface

Maximum frame length: 1500

Port hardware type is 1000_BASE_PX_SFP

Flow-control is not enabled

Broadcast max-ratio: 100%

Multicast max-ratio: 100%

Unicast max-ratio: 100%

PVID: 1

Port link-type: Hybrid

 Tagged VLANs:   None

 Untagged VLANs: 1(default vlan)

Last clearing of counters: Never

Current system time:2019-01-05 05:12:35                                        

Last time when physical state changed to up:-                                  

Last time when physical state changed to down:2019-01-04 00:54:04  

 Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%

 Last 300 seconds output: 0 packets/sec 0 bytes/sec 0%

 Input (total):  0 packets, 0 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Input (normal):  0 packets, 0 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Input:  0 input errors, 0 runts, 0 giants, - throttles

          0 CRC, - frame, - overruns, - aborts

          - ignored, - parity errors

 Output (total): 100000 packets, 12800000 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Output (normal): 100000 packets, 12800000 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Output: 0 output errors, - underruns, - buffer failures

          - aborts, - deferred, - collisions, - late collisions

          - lost carrier, - no carrier

 10G-EPON input (normal): 100000 packets, 12893588 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 10G-EPON input: 0 input errors, 0 runts, 0 giants, 0 CRC

 10G-EPON output (normal): 100000 packets, 12845974 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 10G-EPON output: 0 output errors

# Display detailed information about ROLT 1.

<Sysname> display interface rolt 1

Rolt1

Current state: DOWN

IP packet frame type: Ethernet II, hardware address: 00e0-fc00-511e

Description: Rolt1 Interface

Maximum frame length: 1500

PVID: 1

Port link-type: Hybrid

 Tagged VLANs:   None

 Untagged VLANs: 1(default vlan)

 Peak input rate: 0 bytes/sec, at 00-00-00 00:00:00

 Peak output rate: 0 bytes/sec, at 00-00-00 00:00:00

 Last 300 seconds input: 0 packets/sec 0 bytes/sec 0%

 Last 300 seconds output: 0 packets/sec 0 bytes/sec 0%

...

# Display detailed information about ONU 1/0/1:1.

<Sysname> display interface Onu 1/0/1:1

Onu1/0/1:1

Current state: DOWN

IP packet frame type: Ethernet II, hardware address: 00e0-fc00-511e

Description: Onu1/0/1:1 Interface

Maximum frame length: 1500

Loopback is not set

Port hardware type is 1000M_SFF_NO_CONNECTOR

Broadcast max-ratio: 100%

Multicast max-ratio: 100%

Unicast max-ratio: 100%

PVID: 1

Port link-type: Access

 Tagged VLANs:   None

 Untagged VLANs: 1

Last clearing of counters: Never

 Last 300 seconds input: - packets/sec - bytes/sec -%

 Last 300 seconds output: - packets/sec - bytes/sec -%

 Input (total):  0 packets, 0 bytes

          - unicasts, 0 broadcasts, - multicasts, - pauses

 Input (normal):  - packets, - bytes

          - unicasts, - broadcasts, - multicasts, - pauses

 Input:  0 input errors, - runts, 0 giants, - throttles

          0 CRC, 0 frame, - overruns, - aborts

          - ignored, - parity errors

 Output (total): 0 packets, 0 bytes

          - unicasts, 0 broadcasts, - multicasts, - pauses

 Output (normal): - packets, - bytes

          - unicasts, - broadcasts, - multicasts, - pauses

 Output: - output errors, - underruns, 0 buffer failures

          - aborts, - deferred, - collisions, - late collisions

          - lost carrier, - no carrier

# Display brief information about all OLT interfaces.

<Sysname> display interface Olt brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

Duplex: (a)/A - auto; H - half; F - full   

Type: A - access; T - trunk; H - hybrid

Interface            Link Speed   Duplex Type PVID Description

Olt1/0/1             UP   --      --     H    1

Olt1/0/2             DOWN --      --     H    1

...

Table 6 Command output

Field

Description

Current state

Physical link state of the interface:

·     Administratively DOWN—The interface has been shut down by using the shutdown command.

·     DOWN—The interface is administratively up, but its physical state is down (possibly because no physical link exists or the link has failed).

·     UP—The interface is both administratively and physically up.

IP packet frame type

IPv4 packet framing format.

hardware address

MAC address of the interface.

Maximum frame length

Maximum length of Ethernet frames allowed to pass through the interface.

Flow-control is not enabled

Generic flow control is disabled on the interface. This field depends on your configuration and the link parameter negotiation result.

Broadcast max-

Broadcast storm suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

Multicast max-

Multicast storm suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

Unicast max-

Unknown unicast storm suppression threshold in ratio, pps, or kbps. The unit of the threshold depends on your configuration.

PVID

Port VLAN ID (PVID) of the interface.

Port link-type

Link type of the interface:

·     access.

·     trunk.

·     hybrid.

Tagged VLANs

VLANs for which the interface sends packets without removing VLAN tags.

Untagged VLANs

VLANs for which the interface sends packets after removing VLAN tags.

Last clearing of counters

Time when the reset counters interface command was last used to clear the interface statistics. This field displays Never if the reset counters interface command has never been used on the interface since device startup.

Current system time

Current system time in the YYYY/MM/DD HH:MM:SS format. If the time zone is configured, this field is in the YYYY/MM/DD HH:MM:SS zone-name±HH:MM:SS format, where the zone-name argument is the local time zone.

Last time when physical state changed to up

Last time when the physical state of the interface changed to up.

If the time zone is configured, this field is in the YYYY/MM/DD HH:MM:SS zone-name±HH:MM:SS format, where the zone-name argument is the local time zone.

A hyphen (-) indicates that the physical state of the interface has never changed.

Last time when physical state changed to down

Last time when the physical state of the interface changed to down.

If the time zone is configured, this field is in the YYYY/MM/DD HH:MM:SS zone-name±HH:MM:SS format, where the zone-name argument is the local time zone.

A hyphen (-) indicates that the physical state of the interface has never changed.

Last 300 seconds input: - packets/sec - bytes/sec -%

 Last 300 seconds output: - packets/sec - bytes/sec -%

Average inbound or outbound traffic rate (in pps and Bps) in the last 300 seconds, and the ratio of the actual rate to the interface bandwidth.

A hyphen (-) indicates that the statistical item is not supported.

Input (total):  0 packets, 0 bytes

          - unicasts, 0 broadcasts, - multicasts, - pauses

The two fields on the first line represent the inbound traffic statistics (in packets and bytes) for the interface. All inbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Input (normal):  0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the inbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of inbound normal unicast packets.

·     Number of inbound normal broadcasts.

·     Number of inbound normal multicasts.

·     Number of inbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Input

Statistics of inbound abnormal packets.

input errors

Number of inbound errors packets.

Runts

Number of inbound runts.

Giants

Number of inbound giants.

throttles

Number of inbound frames that had a non-integer number of bytes.

CRC

Number of inbound frames that had a normal length, but contained CRC errors.

frame

Number of inbound frames that contained CRC errors and a non-integer number of bytes.

overruns

Number of packets dropped because the input rate of the interface exceeded the queuing capability.

aborts

Total number of illegal inbound packets:

·     Fragment frames—CRC error frames shorter than 64 bytes.

·     Jabber frames—CRC error frames greater than the maximum frame length supported on the interface.

·     Symbol error frames—Frames that contained a minimum of one undefined symbol.

ignored

Number of inbound frames dropped because the receiving buffer of the interface ran low.

parity errors

Number of frames with parity errors.

Output(total): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound traffic statistics (in packets and bytes) for the interface. All outbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of outbound unicast packets.

·     Number of outbound broadcasts.

·     Number of outbound multicasts.

·     Number of outbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Output(normal): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

The two fields on the first line represent the outbound normal traffic and pause frame statistics (in packets and bytes) for the interface.

The four fields on the second line represent:

·     Number of outbound normal unicast packets.

·     Number of outbound normal broadcasts.

·     Number of outbound normal multicasts.

·     Number of outbound normal pause frames.

A hyphen (-) indicates that the statistical item is not supported.

Output

Statistics of outbound abnormal packets.

output errors

Number of outbound packets with errors.

underruns

Number of packets dropped because the output rate of the interface exceeded the output queuing capability.

buffer failures

Number of packets dropped because the transmitting buffer of the interface ran low.

aborts

Number of packets that failed to be transmitted, for example, because of collisions.

deferred

Number of frames that the interface deferred to transmit because of detected collisions.

collisions

Number of frames that the interface stopped transmitting because collisions were detected during transmission.

late collisions

Number of frames that the interface deferred to transmit after transmitting their first 512 bits because of detected collisions.

lost carrier

Number of carrier losses during transmission. This counter increases by one when a carrier is lost, and applies to serial WAN interfaces.

no carrier

Number of times that the interface failed to detect the carrier when attempting to send frames. This counter increases by one when an interface failed to detect the carrier, and applies to serial WAN interfaces.

10G-EPON input (normal): 100000 packets, 12893588 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

The two fields on the first line represent the inbound traffic statistics (in packets and bytes) for the 10G-EPON interface. All inbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

10G-EPON input: 0 input errors, 0 runts, 0 giants, 0 CRC

Statistics of inbound abnormal packets for the 10G-EPON interface, including:

·     input errors—Number of inbound errors packets.

·     runts—Number of inbound runts.

·     giants—Number of inbound giants.

·     CRC—Number of inbound frames that had a normal length, but contained CRC errors.

10G-EPON output (normal): 100000 packets, 12845974 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

The two fields on the first line represent the outbound traffic statistics (in packets and bytes) for the 10G-EPON interface. All outbound normal packets, abnormal packets, and normal pause frames were counted.

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

A hyphen (-) indicates that the statistical item is not supported.

10G-EPON output: 0 output errors

Number of outbound packets with errors for the 10G-EPON interface.

Brief information on interfaces in bridge mode:

Brief information about Layer 2 interfaces.

Interface

Interface name.

Link

Physical link state of the interface:

·     UP—The interface is physically up.

·     DOWN—The interface is physically down.

·     ADM—The interface has been shut down by using the shutdown command. To restore the physical state of the interface, use the undo shutdown command.

·     Stby—The interface is a backup interface in standby state.

Speed

Speed of the interface, in bps.

Duplex

Duplex mode of the interface.

Type

Link type of the interface:

·     A—Access.

·     H—Hybrid.

·     T—Trunk.

PVID

Port VLAN ID.

display olt statistics

Use display olt statistics to display packet statistics of OLT interfaces.

Syntax

In standalone mode:

display olt statistics { inbound | outbound } { olt interface-number | slot slot-number }

In IRF mode:

display olt statistics { inbound | outbound } { olt interface-number | chassis chassis-number slot slot-number }

Views

User view

Predefined user roles

network-admin

network-operator

Parameters

inbound: Displays incoming packet statistics.

outbound: Displays outgoing packet statistics.

olt interface-number: Specifies an OLT interface by its number.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

Examples

# Display the outgoing packet statistics of all OLT interfaces on slot 1.

<Sysname> display olt statistics outbound slot 1

Output Statistics:

Olt1/0/1: 1711 broadcasts, 30461 multicasts, 0 errors

Olt1/0/2: 15 broadcasts, 150 multicasts, 10 errors

Olt1/0/3: 0 broadcasts, 0 multicasts, 0 errors

...

Table 7 Command output

Field

Description

Input Statistics

Incoming packet statistics.

Output Statistics

Outgoing packet statistics.

Olt1/0/1

Packet statistics of OLT 1/0/1:

·     broadcasts—Number of broadcast packets.

·     multicasts—Number of multicast packets.

·     errors—Number of error packets.

display rolt interface

Use display rolt interface to display member ports of an ROLT interface.

Syntax

display rolt interface rolt interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

rolt interface-number: Specifies an ROLT interface by its number.

Examples

# Display member ports of ROLT 1.

<Sysname> display rolt interface rolt 1

Rolt1:                                                                         

  Member           Priority       Forwarding status      Presence status       

  Olt1/0/1         100            Inactive               Normal                

  Olt1/0/2         50             Active                 Normal

Table 8 Command output

Field

Description

Rolt1

Information of ROLT 1.

Member

Member port name.

Priority

Member port priority.

Forwarding status

Member port forwarding state:

·     Active—The member port can properly receive and send packets.

·     Inactive—The member port cannot receive or send packets.

Presence status

Member port status:

·     Normal—The interface is present.

·     Absent—The interface is absent.

encryption update-time

Use encryption update-time to set the LLID key update interval.

Use undo encryption update-time to restore the default.

Syntax

In standalone mode:

encryption slot slot-number update-time update-time

undo encryption slot slot-number update-time

In IRF mode:

encryption chassis chassis-number slot slot-number update-time update-time

undo encryption chassis chassis-number 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. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

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 8 seconds for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] encryption slot 1 update-time 8

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 [ multidevice ]

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 120.

multidevice: Creates a multidevice fiber backup group. If you do not specify this keyword, a common fiber backup group is created.

Usage guidelines

Fiber backup groups include the following types:

·     Common—The two OLT interfaces that back up each other are on the same OLT.

·     Multidevice—The two OLT interfaces that back up each other are on two different OLTs. The two OLTs synchronize data by using TCP connections.

Examples

# Create common fiber backup group 1 and enter its view.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

Related commands

member

port fiber-backup group

fiber-backup tcp

Use fiber-backup tcp to configure TCP connection parameters for multidevice fiber backup groups.

Use undo fiber-backup tcp to restore the default.

Syntax

fiber-backup tcp local-ip local-ip-address peer-ip peer-ip-address

undo fiber-backup tcp

Defaults

No TCP connection parameters are configured for multidevice fiber backup groups.

Views

FTTH view

Predefined user roles

network-admin

Parameters

local-ip local-ip-address: Specifies the local device IP.

peer-ip peer-ip-address: Specifies the peer device IP.

Usage guidelines

The two OLTs where a multidevice fiber backup group is configured synchronize data through TCP connections.

Examples

# Configure TCP connection parameters for multidevice fiber backup groups.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup tcp local-ip 192.168.56.1 peer-ip 192.168.56.2

Related commands

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 interface.

Use undo grant-filtering enable to disable grant filtering on an OLT interface.

Syntax

grant-filtering enable

undo grant-filtering enable

Default

Grant filtering is enabled on an OLT interface.

Views

OLT interface view

Predefined user roles

network-admin

Examples

# Enable grant filtering on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] grant-filtering enable

interface

Use interface to enter OLT interface or ONU interface 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 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1]

# Enter the view of ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1]

interface rolt

Use interface rolt to create an ROLT interface and enter its view, or enter the view of an existing ROLT interface.

Use undo interface rolt to delete an ROLT interface.

Syntax

interface rolt interface-number

undo interface rolt interface-number

Default

No ROLT interface exists.

Views

System view

Predefined user roles

network-admin

Parameters

interface-number: Specifies an ROLT interface number in the range of 1 to 120.

Usage guidelines

An ROLT interface is a Layer 2 virtual interface. An ROLT interface contains two member ports, which redundantly back up each other.

An ROLT interface with member ports cannot be deleted.

Examples

# Create ROLT interface 1.

<Sysname> system-view

[Sysname] interface rolt 1

Related commands

member interface

interface ronu

Use interface ronu to enter RONU interface view.

Syntax

interface ronu interface-number

Views

System view

Predefined user roles

network-admin

Parameters

interface-number: Specifies an RONU interface number.

Usage guidelines

An RONU interface can be created by using the using onu command on an ROLT interface.

A RONU interface is numbered in the format of ROLT interface number:RONU interface number, for example, RONU1:1.

Examples

# Create RONU 1:1 and enter its view.

<Sysname> system-view

[Sysname] interface Rolt 1

[Sysname-Rolt1] using onu 1

[Sysname-Rolt1] quit

[Sysname] interface ronu 1:1

[Sysname-Ronu1:1]

Related commands

interface rolt

using onu

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 15000 TQ.

Views

OLT interface view

Predefined user roles

network-admin

Parameters

max-rtt-value: Specifies an RTT in the range of 2000 to 32000 TQ. 1 TQ is equal to 16 ns.

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 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] max-rtt 25000

member

Use member to assign an OLT interface to a fiber backup group.

Use undo member to remove an OLT interface from a fiber backup group.

Syntax

member olt interface-number [ master | standby ]

undo member olt interface-number

Default

A fiber backup group does not contain any OLT interfaces.

Views

Fiber backup group view

Predefined user roles

network-admin

Parameters

olt interface-number: Specifies an OLT interface by its number.

master: Specifies the OLT interface as a master port of a multidevice fiber backup group.

standby: Specifies the OLT interface as a subordinate port of a multidevice fiber backup group.

Usage guidelines

A fiber backup group contains a maximum of two OLT interfaces.

Common fiber backup groups do not support the master or standby keyword. The first OLT interface assigned to a common fiber backup group is the master port, and the second OLT interface assigned is the subordinate port.

You must specify the master or standby keyword when assigning an OLT interface to a multidevice fiber backup group. Make sure the multidevice fiber backup groups on two involved OLTs are numbered the same. In the same multidevice fiber backup group, configure an OLT interface on an OLT as the master port and an OLT interface on the other OLT as the subordinate port.

To assign an OLT interface to a fiber backup group in OLT interface view, use the port fiber-backup group command.

Examples

# Assign OLT 1/0/1 to common fiber backup group 1.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

[Sysname-fiber-group1] member olt 1/0/1

Related commands

fiber-backup group

port fiber-backup group

member interface

Use member interface to assign a member port to an ROLT interface.

Use undo member interface to remove a member port from an ROLT interface.

Syntax

member interface olt interface-number priority priority

undo member interface olt interface-number

Default

An ROLT interface does not contain any member ports.

Views

ROLT interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies an OLT interface number.

Priority: Specifies the member port priority in the range of 1 to 255. A greater value indicates a higher priority.

Usage guidelines

An OLT interface assigned to a fiber backup group or configured with the ONU authentication mode cannot be assigned to an ROLT interface. An OLT interface assigned to an ROLT interface cannot be assigned to a fiber backup group or configured with the ONU authentication mode.

When you assign member ports to an ROLT interface, follow these restrictions and guidelines:

·     An ROLT interface can contain only two member ports and the member ports must have different priorities.

·     An OLT interface can be assigned to only one ROLT interface.

·     To assign an OLT interface to an ROLT interface, make sure the OLT interface has the same attribute configurations as the ROLT interface. The attribute configurations cannot be modified for an OLT interface that has been assigned to an ROLT interface.

Attribute configurations include port isolation, VLAN mapping, QinQ, and port-based VLAN configurations.

Examples

# Assign OLT 1/0/1 to ROLT interface 1 and specify the priority as 100. Assign OLT 1/0/2 to ROLT interface 1 and specify the priority as 50.

<Sysname> system-view

[Sysname] interface rolt 1

[Sysname-Rolt1] member interface olt 1/0/1 priority 100

[Sysname-Rolt1] member interface olt 1/0/2 priority 50

Related commands

authentication-mode

interface rolt

port fiber-backup group

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

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

In standalone mode:

oam-discovery-timeout slot slot-number value value

undo oam-discovery-timeout slot slot-number value

In IRF mode:

oam-discovery-timeout chassis chassis-number slot slot-number value value

undo oam-discovery-timeout chassis chassis-number 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. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

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 slot that hosts an OLT interface if an ONU connected to the OLT and bound to an ONU interface remains down.

Examples

# Set the timeout timer for extended OAM discovery to 10 seconds for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] oam-discovery-timeout slot 1 value 100

olt-mode

Use olt-mode to set the OLT operating mode.

Use undo olt-mode to restore the default.

Syntax

In standalone mode:

olt-mode slot slot-number { 64-onu | 128-onu }

undo olt-mode slot slot-number

In IRF mode:

olt-mode chassis chassis-number slot slot-number { 64-onu | 128-onu }

undo olt-mode chassis chassis-number slot slot-number

Default

The OLT operating mode is 64-ONU.

Views

FTTH view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

64-onu: Specifies the 64-ONU mode. In this mode, up to 64 ONU interfaces can be created on an OLT interface in the specified slot.

128-onu: Specifies the 128-ONU mode. In this mode, up to 128 ONU interfaces can be created on an OLT interface in the specified slot.

Usage guidelines

Only 10G-EPON cards support this command.

After you change the OLT operating mode for a slot, you must reboot the slot or the whole device to make the OLT operating mode change take effect.

·     If the slot is rebooted, all OLT interfaces in the slot are restored to the default settings, and the ONU interfaces created on the OLT interfaces are deleted.

·     If the whole device is rebooted and the running configuration is saved, ONU interfaces numbered from 1 to 64 and OLT interfaces are not affected. When the OLT operating mode is changed from 128-ONU to 64-ONU, ONU interfaces numbered more than 64 are deleted.

Examples

# Set the OLT operating for slot 1 to 128-ONU.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] olt-mode slot 1 128-onu

Related commands

using onu

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 the following interfaces:

·     OLT interfaces on 10G-EPON cards.

·     GE interfaces that are changed from EPON fiber interfaces.

For more information about changing the type of a fiber interface, see the port-type command.

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

onu snmp port-limit

Use onu snmp port-limit to set the maximum number of E1/UNI/VoIP interfaces on offline ONUs that can be queried on offline ONUs by SNMP or NETCONF.

Use undo onu snmp port-limit to restore the default.

Syntax

onu snmp port-limit { e1 e1-count | uni uni-count | voip voip-count }*

undo onu snmp port-limit

Default

The maximum number of UNI interfaces on offline ONUs that can be queried by SNMP or NETCONF is 4.

The maximum number of E1/VoIP interfaces on offline ONUs that can be queried by SNMP or NETCONF is 0.

Views

FTTH view

Predefined user roles

network-admin

Parameters

e1 e1-count: Specifies the maximum number of ONU E1 interfaces on offline ONUs that can be queried in the range of 0 to 16.

uni uni-count: Specifies the maximum number of ONU UNI interfaces on offline ONUs that can be queried in the range of 1 to 79.

voip voip-count: Specifies the maximum number of ONU VoIP interfaces on offline ONUs that can be queried in the range of 0 to 64.

Usage guidelines

The device supports querying the interface information on ONUs through SNMP or NETCONF and reporting the query result to the NMS through SNMP or NETCONF. When a large number of ONUs exist or ONUs have a large number of interfaces, the querying and reporting operations consume a large number of system resources. By decreasing the maximum number of E1/UNI/VoIP interfaces on offline ONUs that can be queried by SNMP or NETCONF, you can reduce the resource consumption of the device.

This command is only for administrators. As a best practice, do not use this feature as a common user.

This command applies to all ONU interfaces of all OLT interfaces, and takes effect only on ONU interfaces whose ONUs are offline.

Examples

# Set the maximum number of UNI interfaces on offline ONUs that can be queried by SNMP or NETCONF to 63.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu snmp port-limit uni 63

port fiber-backup group

Use port fiber-backup group to assign an OLT interface to a fiber backup group.

Use undo port fiber-backup group to restore the default.

Syntax

port fiber-backup group group-number [ master | standby ]

undo port fiber-backup group

Default

An OLT interface is not assigned to a fiber backup group.

Views

OLT interface view

Predefined user roles

network-admin

Parameters

group-number: Specifies a fiber backup group number in the range of 1 to 120. The fiber backup group must already exist.

master: Specifies the OLT interface as a master port of a multidevice fiber backup group.

standby: Specifies the OLT interface as a subordinate port of a multidevice fiber backup group.

Usage guidelines

A fiber backup group contains a maximum of two OLT interfaces.

Common fiber backup groups do not support the master or standby keyword. The first OLT interface assigned to a common fiber backup group is the master port, and the second OLT interface assigned is the subordinate port.

You must specify the master or standby keyword when assigning an OLT interface to a multidevice fiber backup group. Make sure the multidevice fiber backup groups on two involved OLTs are numbered the same. In the same multidevice fiber backup group, configure an OLT interface on an OLT as the master port and an OLT interface on the other OLT as the subordinate port.

To assign an OLT interface to a fiber backup group in fiber backup group view, use the member command.

Examples

# Assign OLT 1/0/1 to common fiber backup group 1.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

[Sysname-fiber-group1] quit

[Sysname] interface olt 1/0/1

[Sysname-Olt1/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 interface 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.

Syntax

In OLT interface 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 interface view

Predefined user roles

network-admin

Parameters

gigabitethernet: Changes the OLT interface to a GigabitEthernet interface. By default, the GigabitEthernet interface is in Layer 2 mode.

olt: Changes the GigabitEthernet interface to an OLT interface.

Usage guidelines

This command is supported only by ports on the LSQM1PT24TSSC0 interface cards.

The fiber interfaces are grouped by interface 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 1/0/1 through GigabitEthernet 1/0/4 to OLT interfaces.

<Sysname> system-view

[Sysname] interface range gigabitethernet 1/0/1 to gigabitethernet 1/0/4

[Sysname-if-range] port-type olt

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

Related commands

monitor enable

uplink interface

Use uplink interface to configure an uplink interface for a multidevice fiber backup group.

Use undo uplink interface to restore the default.

Syntax

uplink interface interface-type interface-number

undo uplink interface

Defaults

No uplink interface is configured for a multidevice fiber backup group.

Views

Fiber backup group view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type, which must be Layer 2 Ethernet or Layer 2 aggregate.

interface-number: Specifies an interface number.

Usage guidelines

Only multidevice fiber backup groups support this command.

Only one uplink interface can be configured for a multidevice fiber backup group. An interface can be configured as the uplink interface for multiple multidevice fiber backup groups.

Examples

# Configure GigabitEthernet 1/0/20 as the uplink interface for multidevice fiber backup group 1.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1 multidevice

[Sysname-fiber-group1] uplink interface gigabitethernet 1/0/20

Related commands

fiber-backup group

vendor-compatible

Use vendor-compatible to enable compatibility with third-party ONUs.

Use undo vendor-compatible to disable compatibility with third-party ONUs.

Syntax

In standalone mode:

vendor-compatible slot slot-number

undo vendor-compatible slot slot-number

In IRF mode:

vendor-compatible chassis chassis-number slot slot-number

undo vendor-compatible chassis chassis-number 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. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

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 interface 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 interface and then use the undo shutdown command to bring it up.

Examples

# Disable compatibility with third-party ONUs on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] undo vendor-compatible slot 1

ONU remote management commands

 

NOTE:

Support for ONU remote management commands depends on the ONU model.

alarm enable

Use alarm enable to enable ONU alarms.

Use undo alarm enable to disable ONU alarms.

Syntax

alarm enable { onu onu-alarm | pon pon-alarm | uni uni-alarm } [ protocol { auto | ctc2.1 | ctc3.0 } ] [ threshold trigger-value clear-value ]

undo alarm enable { onu onu-alarm | pon pon-alarm | uni uni-alarm }

Default

Only the eth-port-loopback alarm is enabled for an ONU.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

onu-alarm: Specifies an ONU device alarm. Table 9 shows available ONU device alarms and alarm threshold value ranges.

pon-alarm: Specifies a PON interface alarm. Table 10 shows available PON interface alarms and alarm threshold value ranges.

uni-alarm: Specifies a UNI alarm. Table 11 shows available UNI alarms and alarm threshold value ranges.

protocol: Specifies a CTC protocol version. If you do not specify a CTC protocol version, the ONU automatically negotiates the CTC protocol version.

auto: Automatically negotiates the CTC protocol version.

ctc2.1: Uses CTC v2.1.

ctc3.0: Uses CTC v3.0 or later.

threshold trigger-value clear-value: Sets the thresholds for the alarm. The trigger-value argument specifies the alarm triggering threshold. The clear-value argument specifies the alarm clearing threshold. The value ranges for the trigger-value and clear-value arguments are shown in Table 9, Table 10, and Table 11. When you set the thresholds, follow these restrictions and guidelines:

·     If an alarm does not support threshold configuration, the threshold value range for the alarm is N/A. If an alarm supports thresholds, you must set the thresholds.

·     If the input threshold exceeds the number of decimal places supported by the value range, the exceeding decimal places are ignored. For example, if the value can only be an integer and you input 5.9, the actual value that takes effect is 5.

Usage guidelines

You can specify only one CTC protocol version for an ONU.

Figure 1 shows the relationships between the triggering threshold trigger-value and clearing threshold clear-value of an alarm.

·     For a lower limit alarm, for example, temp-low-alarm, the clearing threshold must be higher than or equal to the triggering threshold. For an upper limit alarm, for example, temp-high-alarm, the triggering threshold must be higher than or equal to the clearing threshold.

·     For a pair of upper limit alarm and lower limit alarm, for example, rx-power-high-alarm and rx-power-low-alarm, the following requirements must be met:

¡     The clearing threshold of the upper limit alarm must be higher than or equal to the triggering threshold of the lower limit alarm.

¡     The triggering threshold of the upper limit alarm must be higher than or equal to the clearing threshold of the lower limit alarm.

Figure 1 Relationships between the triggering thresholds and clearing thresholds

 

Table 9, Table 10, and Table 11 list the alarms supported by the device.

Table 9 ONU device alarms

Alarm

Explanation

Threshold value range

battery-failure

The battery cannot be charged.

N/A

battery-missing

The battery is absent.

N/A

battery-volt-low

The battery voltage is low.

0 to 6.55 V

equipment-alarm

An internal interface failure occurs.

N/A

iad-connection-failure

Failure of the connection between the internal IAD and the SS platform occurs.

N/A

onu-self-test-failure

The ONU fails the self-test.

N/A

onu-temp-high-alarm

The internal temperature of the ONU reaches the high-temperature alarm  threshold.

-127 to 127°C

onu-temp-low-alarm

The internal temperature of the ONU falls below the low-temperature alarm threshold.

-127 to 127°C

physical-intrusion-alarm

The ONU is intruded.

N/A

ponif-switch

The ONU reports a link failure to the main OLT PON interface.

N/A

power-alarm

The power supply is abnormal.

N/A

sleep-status-update

The ONU exits sleep mode and starts operating.

N/A

Table 10 PON interface alarms

Alarm

Explanation

Threshold value range

downstream-crc-error-frames-alarm

The number of downstream CRC error frames exceeds the alarm threshold.

0 to 4294967295

downstream-crc-error-frames-warning

The number of downstream CRC error frames exceeds the warning threshold.

0 to 4294967295

downstream-discards-alarm

The number of discarded downstream frames exceeds the alarm threshold.

0 to 4294967295

downstream-discards-warning

The number of discarded downstream frames exceeds the warning threshold.

0 to 4294967295

downstream-drop-events-alarm

The number of downstream frame loss events exceeds the alarm threshold.

0 to 4294967295

downstream-drop-events-warning

The number of downstream frame loss events exceeds the warning threshold.

0 to 4294967295

downstream-errors-alarm

The number of downstream error frames exceeds the alarm threshold.

0 to 4294967295

downstream-errors-warning

The number of downstream error frames exceeds the warning threshold.

0 to 4294967295

downstream-fragments-alarm

The number of downstream fragments exceeds the alarm threshold.

0 to 4294967295

downstream-fragments-warning

The number of downstream fragments exceeds the warning threshold.

0 to 4294967295

downstream-jabbers-alarm

The number of downstream jabber frames exceeds the alarm threshold.

0 to 4294967295

downstream-jabbers-warning

The number of downstream jabber frames exceeds the warning threshold.

0 to 4294967295

downstream-oversize-frames-alarm

The number of downstream oversized frames exceeds the alarm threshold.

0 to 4294967295

downstream-oversize-frames-warning

The number of downstream oversized frames exceeds the warning threshold.

0 to 4294967295

downstream-undersize-frames-alarm

The number of downstream undersized frames exceeds the alarm threshold.

0 to 4294967295

downstream-undersize-frames-warning

The number of downstream undersized frames exceeds the warning threshold.

0 to 4294967295

rx-power-high-alarm

The receive power exceeds the high-power alarm threshold.

-40.00 to 8.10 dBm

rx-power-high-warning

The receive power exceeds the high-power warning threshold.

-40.00 to 8.10 dBm

rx-power-low-alarm

The receive power falls below the low-power alarm threshold.

-40.00 to 8.10 dBm

rx-power-low-warning

The receive power falls below the low-power warning threshold.

-40.00 to 8.10 dBm

temp-high-alarm

The internal temperature exceeds the high-temperature alarm threshold.

-127 to 127°C

temp-high-warning

The internal temperature exceeds the high-temperature warning threshold.

-127 to 127°C

temp-low-alarm

The internal temperature falls below the low-temperature alarm threshold.

-127 to 127°C

temp-low-warning

The internal temperature falls below the low-temperature warning threshold.

-127 to 127°C

tx-bias-high-alarm

The bias current exceeds the high-current alarm threshold.

0 to 131 mA

tx-bias-high-warning

The bias current exceeds the high-current warning threshold.

0 to 131 mA

tx-bias-low-alarm

The bias current falls below the low-current alarm threshold.

0 to 131 mA

tx-bias-low-warning

The bias current falls below the low-current warning threshold.

0 to 131 mA

tx-power-high-alarm

The transmit power exceeds the high-power alarm threshold.

-40.00 to 8.10 dBm

tx-power-high-warning

The transmit power exceeds the high-power warning threshold.

-40.00 to 8.10 dBm

tx-power-low-alarm

The transmit power falls below the low-power alarm threshold.

-40.00 to 8.10 dBm

tx-power-low-warning

The transmit power falls below the low-power warning threshold.

-40.00 to 8.10 dBm

upstream-crc-error-frames-alarm

The number of upstream CRC error frames exceeds the alarm threshold.

0 to 4294967295

upstream-crc-error-frames-warning

The number of upstream CRC error frames exceeds the warning threshold.

0 to 4294967295

upstream-discards-alarm

The number of discarded upstream frames exceeds the alarm threshold.

0 to 4294967295

upstream-discards-warning

The number of discarded upstream frames exceeds the warning threshold.

0 to 4294967295

upstream-drop-events-alarm

The number of upstream frame loss events exceeds the alarm threshold.

0 to 4294967295

upstream-drop-events-warning

The number of upstream frame loss events exceeds the warning threshold.

0 to 4294967295

upstream-errors-alarm

The number of upstream error frames exceeds the alarm threshold.

0 to 4294967295

upstream-errors-warning

The number of upstream error frames exceeds the warning threshold.

0 to 4294967295

upstream-fragments-alarm

The number of upstream fragments exceeds the alarm threshold.

0 to 4294967295

upstream-fragments-warning

The number of upstream fragments exceeds the warning threshold.

0 to 4294967295

upstream-jabbers-alarm

The number of upstream jabber frames exceeds the alarm threshold.

0 to 4294967295

upstream-jabbers-warning

The number of upstream jabber frames exceeds the warning threshold.

0 to 4294967295

upstream-oversize-frames-alarm

The number of upstream oversized frames exceeds the alarm threshold.

0 to 4294967295

upstream-oversize-frames-warning

The number of upstream oversized frames exceeds the warning threshold.

0 to 4294967295

upstream-undersize-frames-alarm

The number of upstream undersized frames exceeds the alarm threshold.

0 to 4294967295

upstream-undersize-frames-warning

The number of upstream undersized frames exceeds the warning threshold.

0 to 4294967295

vcc-high-alarm

The internal voltage exceeds the high-voltage alarm threshold.

0 to 6.55 V

vcc-high-warning

The internal voltage exceeds the high-voltage warning threshold.

0 to 6.55 V

vcc-low-alarm

The internal voltage falls below the low-voltage alarm threshold.

0 to 6.55 V

vcc-low-warning

The internal voltage falls below the low-voltage warning threshold.

0 to 6.55 V

Table 11 UNI alarms

Alarm

Explanation

Threshold value range

downstream-crc-error-frames-alarm

The number of downstream CRC error frames exceeds the alarm threshold.

0 to 4294967295

downstream-crc-error-frames-warning

The number of downstream CRC error frames exceeds the warning threshold.

0 to 4294967295

downstream-discards-alarm

The number of discarded downstream frames exceeds the alarm threshold.

0 to 4294967295

downstream-discards-warning

The number of discarded downstream frames exceeds the warning threshold.

0 to 4294967295

downstream-drop-events-alarm

The number of downstream frame loss events exceeds the alarm threshold.

0 to 4294967295

downstream-drop-events-warning

The number of downstream frame loss events exceeds the warning threshold.

0 to 4294967295

downstream-errors-alarm

The number of downstream error frames exceeds the alarm threshold.

0 to 4294967295

downstream-errors-warning

The number of downstream error frames exceeds the warning threshold.

0 to 4294967295

downstream-fragments-alarm

The number of downstream fragments exceeds the alarm threshold.

0 to 4294967295

downstream-fragments-warning

The number of downstream fragments exceeds the warning threshold.

0 to 4294967295

downstream-jabbers-alarm

The number of downstream jabber frames exceeds the alarm threshold.

0 to 4294967295

downstream-jabbers-warning

The number of downstream jabber frames exceeds the warning threshold.

0 to 4294967295

downstream-oversize-frames-alarm

The number of downstream oversized frames exceeds the alarm threshold.

0 to 4294967295

downstream-oversize-frames-warning

The number of downstream oversized frames exceeds the warning threshold.

0 to 4294967295

downstream-undersize-frames-alarm

The number of downstream undersized frames exceeds the alarm threshold.

0 to 4294967295

downstream-undersize-frames-warning

The number of downstream undersized frames exceeds the warning threshold.

0 to 4294967295

e1-los

A loss of signal event occurs on an E1 interface.

N/A

e1-port-failure

E1 interface failure occurs.

N/A

e1-timing-unlock

N/A

N/A

eth-port-auto-neg-failure

Autonegotiation fails on an Ethernet interface.

N/A

eth-port-congestion

Congestion is detected on an Ethernet interface.

N/A

eth-port-failure

An Ethernet interface fails.

N/A

eth-port-loopback

A loop is detected on an Ethernet interface.

N/A

eth-port-los

A loss of signal event occurs on an Ethernet interface.

N/A

pots-port-failure

A POTS interface fails.

N/A

status-change-times-alarm

The number of interface status changes exceeds the alarm threshold.

0 to 4294967295

status-change-times-warning

The number of interface status changes exceeds the warning threshold.

0 to 4294967295

upstream-crc-error-frames-alarm

The number of upstream CRC error frames exceeds the alarm threshold.

0 to 4294967295

upstream-crc-error-frames-warning

The number of upstream CRC error frames exceeds the warning threshold.

0 to 4294967295

upstream-discards-alarm

The number of discarded upstream frames exceeds the alarm threshold.

0 to 4294967295

upstream-discards-warning

The number of discarded upstream frames exceeds the warning threshold.

0 to 4294967295

upstream-drop-events-alarm

The number of upstream frame loss events exceeds the alarm threshold.

0 to 4294967295

upstream-drop-events-warning

The number of upstream frame loss events exceeds the warning threshold.

0 to 4294967295

upstream-errors-alarm

The number of upstream error frames exceeds the alarm threshold.

0 to 4294967295

upstream-errors-warning

The number of upstream error frames exceeds the warning threshold.

0 to 4294967295

upstream-fragments-alarm

The number of upstream fragments exceeds the alarm threshold.

0 to 4294967295

upstream-fragments-warning

The number of upstream fragments exceeds the warning threshold.

0 to 4294967295

upstream-jabbers-alarm

The number of upstream jabber frames exceeds the alarm threshold.

0 to 4294967295

upstream-jabbers-warning

The number of upstream jabber frames exceeds the warning threshold.

0 to 4294967295

upstream-oversize-frames-alarm

The number of upstream oversized frames exceeds the alarm threshold.

0 to 4294967295

upstream-oversize-frames-warning

The number of upstream oversized frames exceeds the warning threshold.

0 to 4294967295

upstream-undersize-frames-alarm

The number of upstream undersized frames exceeds the alarm threshold.

0 to 4294967295

upstream-undersize-frames-warning

The number of upstream undersized frames exceeds the warning threshold.

0 to 4294967295

Examples

# Enable the equipment-alarm alarm and configure the ONU to use CTC v3.0 or later on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] alarm enable onu equipment-alarm protocol ctc3.0

apply onu template

Use apply onu template to apply an ONU configuration template.

Use undo apply onu template to remove an ONU configuration template.

Syntax

apply onu template template-id

undo apply onu template

Default

An ONU configuration template is not applied.

Views

FTTH view

OLT interface view

Predefined user roles

network-admin

Parameters

template-id: Specifies an ONU configuration template by its ID in the range of 1 to 32.

Usage guidelines

When ONUs are bulk or automatically bound, you can apply an ONU configuration template to automatically configure the existing and newly online ONUs.

You can apply an ONU configuration template to one of the following destinations:

·     Globally—Apply an ONU configuration template in FTTH view. Then, commands in the template are issued to the ONU interfaces with online ONUs on all OLT interfaces. When you create a new ONU interface, the commands in the template are automatically issued to the interface.

·     OLT interface—Apply an ONU configuration template to an OLT interface. Then, commands in the template are issued to the ONU interfaces with online ONUs on this OLT interface. When you create a new ONU interface on the OLT interface, the commands in the template are automatically issued to the interface.

When applying or removing an ONU configuration template, follow these restrictions and guidelines:

·     You can apply an ONU configuration template either globally or to an OLT interface, but not both.

·     After an ONU configuration template is applied, you cannot execute commands in the ONU configuration template. To do that, first remove the ONU configuration template.

·     When an ONU configuration template is removed, the commands already issued to ONU interfaces are not withdrawn.

If you execute this command multiple times in a view, the most recent configuration takes effect.

Examples

# Enable automatic ONU binding, and apply ONU configuration template 1 globally.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind batch

[Sysname-ftth] apply onu template 1

Related commands

onu template

bind onu-id

Use bind onu-id to bind an ONU to an ONU interface or RONU interface.

Use undo bind onu-id to unbind an ONU from an ONU interface or RONU interface.

Syntax

bind onu-id { mac-address | loid loid | loid-password loid { cipher | simple } password }

undo bind onu-id

Default

No ONU is bound to an ONU interface or RONU interface.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

mac-address: Specifies an ONU by its MAC address.

loid: Specifies an ONU by its LOID.

loid-password: Specifies an ONU by its LOID and LOID password.

loid: Specifies an LOID, a case-sensitive string of 1 to 24 characters. The LOID cannot contain question marks (?), or begin or end with any of the following characters:

·     Character string DEL.

·     One of the following special characters: At sign (@), dot (.), comma (,), exclamation point (!), semi-colon (;), colon (:), back quote (`), and double quotes (").

·     A hexadecimal number in the range of 0x0 to 0x20.

cipher: Specifies a password in encrypted form.

simple: Specifies a password in plaintext form.

password: Specifies an LOID password, a case-sensitive string of 1 to 12 characters. The LOID password cannot contain question marks (?), or begin or end with any of the following characters:

·     Character string DEL.

·     One of the following special characters: At sign (@), dot (.), comma (,), exclamation point (!), semi-colon (;), colon (:), back quote (`), and double quotes (").

·     A hexadecimal number in the range of 0x0 to 0x20.

Usage guidelines

The ONU attributes (MAC address, LOID, and LOID password) you use for ONU binding are not restricted by the ONU authentication mode set by using the authentication-mode command.

An ONU goes offline when you use the undo bind onu-id command to unbind it from its ONU interface or RONU interface.

You can bind only one ONU to an ONU interface or RONU interface.

Examples

# Bind the ONU with MAC address 11-22-33 to ONU 1/0/2:1.

<Sysname> system-view

[Sysname] interface onu 1/0/2:1

[Sysname-Onu1/0/2:1] bind onu-id 11-22-33

blacklist onu-id

Use blacklist onu-id to add an ONU to the ONU blacklist.

Use undo blacklist onu-id to remove an ONU from the ONU blacklist.

Syntax

blacklist onu-id { mac-address | loid loid }

undo blacklist onu-id { mac-address | loid loid }

Defaults

No ONU is added to the ONU blacklist.

Views

FTTH view

Predefined user roles

network-admin

Parameters

mac-address: Specifies an ONU by its MAC address.

loid loid: Specifies an ONU by its LOID.

Usage guidelines

An ONU added to the ONU blacklist cannot register with the OLT.

This feature takes effect only on ONUs accessing after automatic ONU binding is enabled.

Up to 256 ONUs can be added to the ONU blacklist.

Examples

# Add an ONU with the LOID as abc to the ONU blacklist.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] blacklist onu-id loid abc

deregister onu

Use deregister onu to deregister an ONU.

Syntax

deregister onu

Views

ONU interface view

RONU interface 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 1/0/1:1.

<Sysname> system-view

[Sysname] interface ONU 1/0/1:1

[Sysname-Onu1/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 [ ipv6 ] dhcp-client

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

network-operator

Parameters

ipv6: Displays IP address assignment information for an ONU that acts as a DHCPv6 client. If you do not specify this keyword, this command displays IP address assignment information for an ONU that acts as a DHCPv4 client.

Examples

# Display IP address assignment information for the ONU bound to ONU 1/0/1:1 that acts as a DHCPv4 client.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] display dhcp-client

DHCP client statistic information :

  Current machine state : HALT

 

NOTE:

Output from this command varies by ONU model.

display epon mac-address

Use display epon mac-address command to display the MAC address entries of an ONU.

Syntax

display epon mac-address interface onu interface-number [ mac mac-address ] [ vlan vlan-id ] [ pon | uni uni-number ]

display epon mac-address interface onu interface-number [ count ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-number: Specifies an ONU interface by its number.

mac mac-address: Specifies a MAC address entry with the specified MAC address. The mac-address argument is in the format of H-H-H. When specifying a MAC address, you can omit the starting zeros in each H section. For example, if you enter f-e2-1, it represents MAC address 000f-00e2-0001.

vlan vlan-id: Specifies a MAC address entry with the specified VLAN. The vlan-id argument is in the range of 1 to 4094.

pon: Specifies the MAC address entry of the uplink PON interface on the ONU.

uni: Specifies the MAC address entry of an UNI on an ONU.

uni-number: Specifies a UNI interface by its number in the range of 1 to the number of UNI interfaces on the current ONU. Up to 79 UNI interfaces are supported.

count: Displays the number of MAC address entries on the ONU. If you specify this keyword, this command displays only the number of MAC address entries on the PON interface and each UNI interface. If you do not specify this keyword, this command displays contents of MAC address entries.

Usage guidelines

If will do not specify any parameter, this command displays all MAC address entries on an ONU.

Examples

# Display the MAC address entries on the ONU connected to ONU interface ONU 1/0/1:1.

<Sysname> display epon mac-address interface onu 1/0/1:1

MAC Address      VLAN ID      State        Port        Aging

000f-e291-6101   -            Static       PON         N

000f-e291-6100   -            Static       PON         N

Table 12 Command output

Field

Description

MAC Address

MAC address on the ONU.

VLAN ID

ID of the VLAN to which the interface belongs.

This field displays a hyphen (-) if the system does not support obtaining information for this field.

State

MAC address entry state:

·     Static—Indicates that this entry is a static MAC address entry.

·     Learned—Indicates that this entry is a dynamic MAC address entry. It can be manually configured or learned by the device.

Port

Name of the interface in the MAC address entry. Packets sent to the MAC address will be sent out the interface.

Aging

MAC address entry aging time, in seconds.

The value of N indicates that the MAC address entry never ages out.

 

# Displays the number of MAC address entries on the ONU connected to ONU interface ONU 1/0/1:1.

<Sysname> display epon mac-address interface onu 1/0/1:1 count

PON    : 2

UNI 1  : 0

UNI 2  : 0

...

display epon onu-template apply-process

Use display epon onu-template apply-process to display the progress of applying the ONU configuration template.

Syntax

display epon onu-template apply-process

Views

Any view

Predefined user roles

network-admin

network-operator

Usage guidelines

Using the apply onu template command to apply the ONU configuration template takes a certain period of time. Before the ONU configuration template is applied to all ONU interfaces, you cannot perform the following operations:

·     Cancel the application of the ONU configuration template.

·     Edit the ONU configuration template.

Examples

# Display the progress of applying the ONU configuration template.

<Sysname> display epon onu-template apply-process

There are 2 OLT port(s) left to be applied

Current applied interface: Olt1/0/1(Onu1/0/1:3)

Table 13 Command output

Field

Description

There are 2 OLT port(s) left to be applied

The ONU configuration template has not been applied to two OLT ports.

Current applied interface: Olt1/0/1(Onu1/0/1:3)

The ONU configuration template is being applied to an ONU interface of an OLT port.

Related commands

apply onu template

display epon onu-update

Use display epon onu-update to display the ONU update information.

Syntax

In standalone mode:

display epon onu-update { interface interface-type interface-number | slot slot-number }

In IRF mode:

display epon onu-update { interface interface-type interface-number | chassis chassis-number slot slot-number }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an OLT interface or ONU interface by its number. The interface-type argument specifies an interface type, which can be olt or onu. The interface-number argument specifies an interface number. If you specify an OLT interface, this command displays the update information for all ONUs connected to this OLT interface.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

Examples

# Display the ONU update information of slot 1.

<Sysname> display epon onu-update slot 1

---------------------------------- Olt1/0/1 ---------------------------------

Port           Model            Version          Protocol   State

Onu1/0/1:3     ET924-H-POE      105              H3C        Not Configured

Onu1/0/1:4     ET924-H-POE      105              H3C        Not Configured

Onu1/0/1:5     ET916-H-A        107              H3C        Not Configured

Onu1/0/1:6     ET908-H-P        106              H3C        Not Configured

Onu1/0/1:7     ET904-H          203              H3C        Not Configured

 

ONUs found: 5

---------------------------------- Olt1/0/2 ---------------------------------

The port is down.

...

Table 14 Command output

Field

Description

Port

ONU interface bound to the ONU.

Model

ONU model. This field displays N/A if the ONU is not powered on.

Version

PCB version. This field displays N/A if the ONU has not registered successfully.

Protocol

Update protocol type. Possible values are:

·     H3C—H3C proprietary update protocol.

·     CTC—CTC update protocol.

State

ONU update state:

·     Not configured—ONU update is not configured.

·     Configured—ONU update is configured, and the update command is to be issued to the ONU.

·     Updating(xx%)—The ONU is being updated. xx indicates the update progress.

·     Active—Version check for the update file succeeds, and the ONU is being rebooted. If the ONU fails to be rebooted, the update fails and the software version is rolled back.

·     Update canceled—The update configuration is canceled during the process of sending the update file to the ONU.

·     Reconfigured—The update command is issued again by using another update file during the process of sending the update file to the ONU.

·     Successful—The ONU update succeeded.

·     Failed—The ONU update failed.

·     Unsupported protocol—The ONU does not support the specified update protocol.

ONUs found

Number of ONUs found.

The port is down.

The OLT interface is down.

display onu

Use display onu to display ONU information.

Syntax

In standalone mode:

display onu [ silent [ mac | loid ] | status [ keep-time keep-time ] ] { interface interface-type interface-number | slot slot-number }

In IRF mode:

display onu [ silent [ mac | loid ] | status [ keep-time keep-time ] ] { interface interface-type interface-number | chassis chassis-number slot slot-number }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

silent: Specifies silent ONUs.

mac: Specifies silent ONUs of the MAC address binding type.

loid: Specifies silent ONUs of the LOID binding type.

status: Displays the ONU state information.

keep-time keep-time: Displays ONUs that have been in a state for a time longer than the specified time. The time argument specifies the time of staying in up or offline state, in the range of 1 to 4294967295 minutes. If you do not specify this option, the command displays information about all ONUs.

interface interface-type interface-number: Specifies an interface by its type. The value of the interface-type argument must be olt, onu, rolt, or ronu.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

Usage guidelines

If you do not specify the mac or loid keyword when you specify the silent keyword, this command displays silent ONUs of the MAC address binding type.

If you do not specify the silent keyword, this command displays all ONUs.

If the specified OLT interface is the member port of an ROLT interface, this command displays ONU information on the ROLT interface rather than ONU information on the member port.

Examples

# Display the state of ONUs in slot 1.

<Sysname> display onu status slot 1

---------------------------------- Olt1/0/1 ---------------------------------

MAC            Port            Model          State    KeepTime   Description

3c8c-40cf-0f9e Onu1/0/1:1      ET254-G-S      Up       2625       Onu1/0/1:1 Interface

3c8c-40cf-0bf0 Onu1/0/1:2      ET254-G-S      Up       2625       Onu1/0/1:2 Interface

3c8c-40cf-04fd Onu1/0/1:3      ET254-G-S      Offline  239        Onu1/0/1:3 Interface

...

 

ONUs found: 128

  Up ONUs: 109

  Down ONUs: 8

  Offline ONUs: 11

Table 15 Command output

Field

Description

MAC

MAC address of an ONU that has been bound to an ONU interface.

Port

Bound ONU interface.

Model

ONU model. This field displays N/A if the ONU is in Offline state.

State

ONU state:

·     Offline—The ONU is powered off and it has been bound to an ONU interface. In this case, the KeepTime field displays the offline duration of the ONU.

·     Up—The ONU is powered on and it has been bound to an ONU interface. In this case, the KeepTime field displays the online duration of the ONU.

·     Down—The ONU has been bound to an ONU interface, but the ONU interface is down at the data link layer. In this case, the KeepTime field displays N/A, but the ONU is still considered as online and the online duration of the ONU still accumulates.

KeepTime

Time for which the ONU has been in the offline or up state, in minutes.

Description

ONU interface description.

If the ONU interface has not been configured with a description by using the description command, this field displays the default description in the format of Interface Name Interface, for example, Onu1/0/1:1 Interface.

ONUs found

Total number of ONUs found, including:

·     Up ONUs—Number of online ONUs.

·     Down ONUs—Number of down ONUs.

·     Offline ONUs—Number of offline ONUs.

 

# Display information about all ONUs on OLT 1/0/1.

<Sysname> display onu interface olt 1/0/1

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

3c8c-40cf-07f2                            N/A     N/A      Onu1/0/1:2       N/A

            N/A        Offline   N/A

...

# Display information about all ONUs on the specified slot.

<Sysname> display onu slot 1

---------------------------------- Olt1/0/1 ---------------------------------

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

3c8c-40cf-07f2                            N/A     N/A      Onu1/0/1:2       N/A

            N/A        Offline   N/A

---------------------------------- Olt1/0/2 ---------------------------------

The port is down.

...

Table 16 Command output

Field

Description

MAC

ONU MAC address.

LOID

ONU LOID.

LLID

LLID assigned to the registered ONU. This field displays N/A if the ONU is not registered.

Dist(M)

Actual length (in meters) 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 interface or RONU interface number. This field displays N/A if the ONU is not bound to an ONU interface or RONU interface.

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 interface or RONU interface.

·     Offline—The ONU is powered off, and it is bound to an ONU interface or RONU interface.

·     Up—The ONU is powered on, and it is bound to an ONU interface or RONU interface.

·     Down—The ONU is bound to an ONU interface or RONU interface, but the ONU interface or RONU interface 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.

The port is down

The OLT interface or ROLT interface is down.

ONUs found

Total number of ONU found.

display onu loid

Use display onu loid to display information about a legal ONU by specifying its LOID.

Syntax

display onu loid loid

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

loid: Specifies an LOID, a case-sensitive string of 1 to 24 characters. The LOID cannot contain question marks (?), or begin or end with any of the following characters:

·     Character string DEL.

·     One of the following special characters: At sign (@), dot (.), comma (,), exclamation point (!), semi-colon (;), colon (:), back quote (`), and double quotes (").

·     A hexadecimal number in the range of 0x0 to 0x20.

Examples

# Display information about the legal ONU with LOID test.

<Sysname> display onu loid test

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

3c8c-40cf-07f2  test                      10      1200     Onu1/0/1:2       BT/BV

            S/E        Up        N/A

...

For information about the parameters in the command output, see Table 16.

display onu mac-address

Use display onu mac-address to display information about a legal ONU by specifying its MAC address.

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 000f-e200-0031.

<Sysname> display onu mac-address 000f-e200-0031

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

000f-e200-0031                            N/A     N/A      Onu1/0/1:2       N/A

            N/A        Offline   N/A

 ---  1 entry found  ---

For information about the parameters in the command output, see Table 16.

display onu neighbor

Use display onu neighbor to display ONU neighbor information.

Syntax

display onu neighbor [ interface interface-type interface-number ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface interface-type interface-number: Specifies an existing interface by its type (which can be onu or ronu) and number. If you do not specify this option, this command displays neighbor information of all ONUs.

Usage guidelines

The neighbors of an ONU refers to the devices (for example, APs) connected to UNIs of the ONU.

Examples

# Display neighbor information of all ONUs.

<Sysname> display onu neighbor

Interface: Onu1/0/1:1

  UNI number     Neighbor MAC       Neighbor type

  1              3c8c-40cf-07f2     AP

Table 17 Command output

Field

Description

Interface

ONU interface or RONU interface name.

UNI number

UNI number.

Neighbor MAC

ONU neighbor MAC address.

Neighbor type

ONU neighbor type. AP indicates wireless APs.

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 interface view

RONU interface 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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 18 Command output

Field

Description

Protocol status

Protocol status:

·     Enabled.

·     Disabled.

·     Failed to get.

Group

Multicast MAC address.

Port

UNI number.

Loopback action

Loop protection action:

·     Semi-block—If a loop is detected on a UNI, the system 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 disables MAC learning on the UNI.

·     Shutdown—If a loop is detected on a UNI, the system shuts down the UNI.

·     No shutdown—If a loop is detected on a UNI, the system does not shut down the UNI.

·     Failed to get—Failed to get the loop protection action.

Loopback is detected on following interfaces

UNIs where loops were detected.

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 interface activation for an ONU.

Syntax

display onu protocol smart-link uni-bind information

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Examples

# Display information about UNI count-based PON interface activation 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] 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 serial-information

Use display serial-information to display information about a serial interface on an ONU.

Syntax

display serial-information interface-number

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

Examples

# Display information about serial interface 1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

network-operator

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Examples

# Display information about UNI 1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] display uni 1

 UNI 1

 Configuration        :

 Port status          : Undo shutdown

 Flow control         : Closed

 Autonegotiation state: Enable

 Port isolation       : Disable

 MDI type             : Automdix

 Port policy :

   Inbound :

     CIR : 0

     Bucket depth : 0

     Extra burst size : 0

   Outbound :

     CIR : 0

     PIR : 0

 Vlan configuration :

   VLAN mode : Transparent

 Classification & marking :

 Multicast VLAN : None

 Multicast groups : 64

 Multicast VLAN untagging : Disable

Multicast VLAN forwarding info:

  Multicast VLAN forwarding index:0

  VLAN ID:100

  Multicast MAC address:0100-5e00-0002

 =========================================================

 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 19 Command output

Field

Description

Port status

Interface status:

·     Shutdown—The interface has been shut down by using the uni shutdown command.

·     Undo shutdown—The interface is administratively up.

MDI type

MDIX mode:

·     Automdix.

·     Mdi.

·     Mdix.

Port policy

Traffic policing parameters:

·     Inbound—Uplink traffic policing parameters, including CIR, bucket depth, and extra burst size. To configure these parameters, use the uni port-policy inbound command.

·     Outbound—Downlink traffic policing parameters, including CIR and PIR. To configure these parameters, use the uni port-policy outbound command.

Vlan configuration

VLAN operation mode of the UNI:

·     Transparent—Transparent mode.

·     Add-vlan-tag—Tag mode.

·     Translation—Translation mode.

·     802.1q-in-802.1q—QinQ mode.

·     Trunk—Trunk mode.

·     Aggregation—N:1 aggregation mode.

Possible fields of the VLAN operation mode are as follows:

·     PVID—PVID of the interface.

·     Priority—802.1p priority of packets.

·     Old VLAN—Original VLAN ID of packets.

·     New VLAN—Translated VLAN ID of packets.

·     Trunk VLAN—Permitted VLANs of the interface.

To configure the VLAN operation mode, use the uni vlan-mode command.

Multicast VLAN forwarding info

Unknown multicast packet transparent transmission configuration information of the UNI.

Multicast VLAN forwarding index

Index of the unknown multicast packet transparent transmission configuration.

VLAN ID

VLAN ID corresponding to the multicast MAC address.

Multicast MAC address

Multicast MAC address with unknown multicast packet transparent transmission enabled.

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 interface view

RONU interface view

Predefined user roles

network-admin

Examples

# Display detailed information about the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] display vendor-specific information

 Serial number

     Vendor ID : H3C

     ONU MAC address : 3c8c-40cf-0f12

     ONU model : 254

     ONU hardware version : A0

     ONU software version : 110

     ONU extend model :

 Firmware version : 0x1

 Chipset information :

     Vendor ID : 0x4530

     Chip model : 6750

     Revision version : 0xa0

     Design date : 08/03/27

 ONU capability :

     Gigabit ethernet interface :  Support

     Fast ethernet interface :  Not support

     VoIP service :  Not support

     TDM ces service :  Not support

     Gigabit ethernet ports number :  4

     Gigabit ethernet ports :

       0x1

       0x2

       0x3

       0x4

     Fast ethernet ports number :  0

     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

 ONU capability(CTC2.1) :

     ONU type :  SFU

     LLID number :  1

     Protection type :  Not support

     Slot number :  0

     PON number :  1

     Interface type number :  1

     VoIP ports number :  0

     GE ports number :  4

     FE ports number :  0

     WLAN ports number :  0

     CATV RF ports number :  0

     USB ports number :  0

 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 set : 1

       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

     Queue set : 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 20 Command output

Field

Description

ONU capability(CTC2.1)

ONU capability (CTC v2.1):

·     ONU type—ONU type, including:

¡     SFU—Single family unit.

¡     HGU—Home gateway unit.

¡     SBU—Single business unit.

¡     MDU—Multi-dwelling unit.

¡     MTU—Multi-tenant unit.

·     LLID number—Supported number of LLIDs.

·     Protection type—Supported link protection type, including type c and type d.

·     Slot number—Number of slots.

·     PON number—Supported number of PON interfaces.

·     Interface type number—Number of interface types.

·     VoIP ports number—Number of VoIP interfaces.

·     GE ports number—Number of GE interfaces.

·     FE ports number—Number of FE interfaces.

·     WLAN ports number—Number of WLAN interfaces.

·     CATV RF ports number—Number of CATV RF interfaces.

·     USB ports number—Number of USB interfaces.

ONU capability(CTC3.0)

ONU capability (CTC v3.0):

·     IPV6 supported—IPv6 awareness capability.

·     Power supply control—Power supply control, including ONU transmit power supply control and ONU receive power supply control.

·     Service SLA—Service Level Agreement.

ONU extend model

Complete ONU model. This field is required for CTC v3.0.

DBA-Report parameters

DBA report message parameters:

·     Queue sets number—Number of queue sets.

·     Queue set—Queue set ID.

·     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 interface or RONU interface.

Use undo encryption enable to disable downlink traffic encryption for an ONU interface or RONU interface.

Syntax

encryption enable

undo encryption enable

Default

Downlink traffic encryption is enabled for an ONU interface or RONU interface.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Examples

# Enable downlink traffic encryption 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] 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.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Usage guidelines

When 10G/10G ONUs connected to ONU interfaces or RONU interfaces on 10G-EPON cards come online, these ONUs support FEC by default and do not need this configuration. The undo forward-error-correction enable command does not take effect on these interfaces.

Examples

# Enable FEC 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] forward-error-correction enable

ip address

Use ip address to assign an IPv4 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 IPv4 address 192.168.0.240 and subnet mask 255.255.255.0.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

dhcp-alloc: Specifies DHCP IPv4 address allocation.

ip-address: Specifies an IPv4 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 gateway: Specifies the gateway IPv4 address.

Usage guidelines

If the management VLAN of an ONU is changed, the IP address of the original management VLAN interface is deleted.

This command belongs to the IP stack feature instead of EPON. You cannot execute this command if a user role rule is configured to deny access to the IP stack feature, for example, rule 1 deny write feature ipstack. For more information about the rule command, see RBAC commands in Fundamentals Command Reference.

Examples

# Assign the IPv4 address 192.168.0.1/24 to the management VLAN interface of the ONU bound to ONU 1/0/1:1, and specify the gateway IP address as 192.168.0.99.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] ip address 192.168.0.1 24 gateway 192.168.0.99

Related commands

management-vlan

ipv6 address

Use ipv6 address to assign an IPv6 address to the management VLAN interface of an ONU.

Use undo ipv6 address to restore the default.

Syntax

ipv6 address { dhcp-alloc | { ipv6-address prefix-length | ipv6-address/prefix-length } gateway gateway }

undo ipv6 address

Default

No IPv6 address is assigned to the management VLAN interface of an ONU.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

dhcp-alloc: Specifies DHCP IPv6 address allocation.

ipv6-address: Specifies an IPv6 address for the management VLAN interface of an ONU.

prefix-length: Specifies the prefix length in the range of 1 to 128.

gateway gateway: Specifies the gateway IPv6 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 IPv6 address 2001::1 to the management VLAN interface of the ONU bound to ONU 1/0/1:1, and specify the gateway IPv6 address as 2001::99.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] undo shutdown management-vlan-interface

[Sysname-Onu1/0/1:1] ipv6 address 2001::1/64 gateway 2001::99

Related commands

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 interface view

RONU interface 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.

Examples

# Specifies the management VLAN as VLAN 10 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] management-vlan 10

Related commands

shutdown management-vlan-interface

onu authentication-domain

Use onu authentication-domain command to enable ONU authentication for an OLT and specify the ISP domain for ONU users on the OLT.

Use undo onu authentication-domain to disable ONU authentication for an OLT and remove the ISP domain configuration for ONU users on the OLT.

Syntax

onu authentication-domain domain-name

undo onu authentication-domain

Default

ONU authentication is disabled for an OLT.

Views

OLT interface view

ROLT interface view

Predefined user roles

network-admin

Parameters

domain-name: Specifies an ISP domain by its name, a case-insensitive string of 1 to 255 characters. The ISP domain name cannot contain any of the following characters:

 /\|”:*?<>@

Usage guidelines

The ISP domain defines the authentication scheme for ONU users. For more information about ISP domains, see Security Configuration Guide.

The ONU authentication function takes effect only when the automatic ONU binding function is enabled.

Examples

# Enable ONU authentication for OLT 1/0/1, and specify the ISP domain named test for ONU users on the OLT.

<Sysname> system-view

[Sysname] interface Olt 1/0/1

[Sysname-Olt1/0/1] onu authentication-domain test

[Sysname-Olt1/0/1] quit

# Enable automatic ONU binding for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind auto slot 1

[Sysname-ftth] quit

Related commands

authentication onu (Security Command Reference)

onu bind auto

onu authentication-format

Use onu authentication-format to configure the account format for ONU authentication users.

Use undo onu authentication-format to restore the default.

Syntax

onu authentication-format mac-address { { with-hyphen | without-hyphen } | { lowercase | uppercase } }*

undo onu authentication-format

Default

An OLT uses the MAC address of an ONU as the username and password for ONU authentication. The MAC address has two hyphens and all letters in the MAC address are uppercase.

Views

FTTH view

Predefined user roles

network-admin

Parameters

mac-address: Uses the MAC address of an ONU as the username and password for ONU authentication.

with-hyphen: Specifies that the MAC address used for authentication has two hyphens, for example, 3C8C-40CF-0523.

without-hyphen: Specifies that the MAC address used for authentication has no hyphens, for example, 3C8C40CF0523.

lowercase: Specifies that the letters in the MAC address used for authentication are all lowercase.

uppercase: Specifies that the letters in the MAC address used for authentication are all uppercase.

Usage guidelines

If you execute this command multiple times, the most recent configuration takes effect. When the with-hyphen or without-hyphen keyword is not specified, the default is with-hyphen. When the lowercase or uppercase keyword is not specified, the default is uppercase.

Examples

# Configure all OLTs to use the MAC address of an ONU as the username and password for ONU authentication. Specify that the MAC address has no hyphens and all letters in the MAC address are lowercase.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu authentication-format mac-address without-hyphen lowercase

Related commands

onu authentication-domain

onu bind auto

Use onu bind auto to enable automatic ONU binding.

Use undo onu bind auto to disable automatic ONU binding.

Syntax

In standalone mode:

onu bind auto [ slot slot-number ] [ bind-type { mac | loid | loid-password } * ]

undo onu bind auto [ slot slot-number ] [ bind-type { mac | loid | loid-password } * ]

In IRF mode:

onu bind auto [ chassis chassis-number slot slot-number ] [ bind-type { mac | loid | loid-password } * ]

undo onu bind auto [ chassis chassis-number slot slot-number ] [ bind-type { mac | loid | loid-password } * ]

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. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command enables automatic ONU binding for all cards in the IRF fabric. (In IRF mode.)

bind-type: Specifies an ONU binding type. If you do not specify a binding type, ONU MAC addresses are used for ONU binding.

mac: Specifies MAC address binding.

loid: Specifies LOID binding.

loid-password: Specifies LOID-password binding.

Usage guidelines

If an ONU is not bound to any ONU interface or RONU interface, the ONU cannot be registered. Such an ONU is called a silent ONU. Automatic ONU binding automatically binds ONU interfaces and RONU interfaces 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.

You can execute this command multiple times to add ONU binding types.

If you do not specify an ONU binding type when you execute the undo onu bind auto command, automatic ONU binding is disabled. If you specify ONU binding types when you execute the undo onu bind auto command, automatic ONU binding is disabled for the specified binding types.

If you specify LOID binding or LOID-password binding when you execute the onu bind auto command, an online ONU cannot re-register with the OLT after its LOID or LOID password is modified. For successful registration, you must execute the undo bind onu-id command on the corresponding ONU interface or RONU interface to remove the ONU binding.

Examples

# Enable automatic ONU binding on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind auto slot 1

onu bind batch

Use onu bind batch to perform batch ONU binding.

Syntax

In standalone mode:

onu bind batch [ slot slot-number ] [ bind-type { mac | loid | loid-password } ]

In IRF mode:

onu bind batch [ chassis chassis-number slot slot-number ] [ bind-type { mac | loid | loid-password } ]

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. (In standalone mode.)  

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. If you do not specify this option, the command enables batch ONU binding for all cards in the IRF fabric. (In IRF mode.)

bind-type: Specifies an ONU binding type. If you do not specify a binding type, ONU MAC addresses are used for ONU binding.

mac: Specifies MAC address binding.

loid: Specifies LOID binding.

loid-password: Specifies LOID-password binding.

Usage guidelines

Batch ONU binding automatically binds existing silent ONUs to ONU interfaces and RONU interfaces 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 the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind batch slot 1

Related commands

bind onu-id

onu bind one-to-one

Use onu bind one-to-one to enable ONU binding control for OLTs.

Use undo onu bind one-to-one to disable ONU binding control for OLTs.

Syntax

onu bind one-to-one

undo onu bind one-to-one

Default

ONU binding control is disabled on an OLT.

Views

FTTH view

OLT interface view

ROLT interface view

Predefined user roles

network-admin

Usage guidelines

This feature allows an ONU to be bound to only one ONU interface or RONU interface of an OLT interface or ROLT interface. With this feature enabled on an OLT interface or ROLT interface, if an ONU has registered with an OLT interface or ROLT interface, the ONU cannot register with any other OLT interface or ROLT interface on the device.

Configured in interface view, this feature takes effect only on the interface. Configured in FTTH view, this feature takes effect on all OLT interfaces and ROLT interfaces. You cannot configure this feature in both interface view and FTTH view.

Enabling this feature does not affect ONUs registered with different OLTs.

For a fiber backup group to operate properly, do not assign an OLT interface with this feature enabled to a fiber backup group. The fiber backup feature requires an ONU to be simultaneously bound to two ONU interfaces on two OLT interfaces that back up each other.

When you roll back the configuration by using a configuration file with the onu bind one-to-one command and ONU interfaces on different OLT interfaces are bound to the same ONU by using the bind onu-id command, the bind onu-id command configuration is kept for only an ONU interface on one OLT interface after configuration rollback.

Examples

# Enable ONU binding control on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] onu bind one-to-one

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 interface view

RONU interface 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 1/0/2:1 to report debugging events with a severity level of alerts or a higher severity level.

<Sysname> system-view

[Sysname] interface onu 1/0/2:1

[Sysname-Onu1/0/2:1] onu event debug enable level alerts

onu mac-address timer

Use onu mac-address timer to set the aging timer for dynamic MAC address entries for an ONU.

Use undo onu mac-address timer to restore the default.

Syntax

onu mac-address timer { aging seconds | no-aging }

undo onu mac-address timer

Default

The aging timer for dynamic MAC address entries is 300 seconds.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

aging seconds: Specifies an aging timer value in the range of 1 to 4294967295 seconds.

no-aging: Does not set the aging timer, which means dynamic MAC address entries do not age out.

Examples

# Set the aging timer for dynamic MAC address entries to 500 seconds on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] onu mac-address timer aging 500

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 interface view

RONU interface 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 1/0/1:1 to the isolation group.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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

Loop detection is enabled, and DHCP snooping, DHCP snooping Option 82, PPPoE+, and RSTP are disabled on an ONU.

Views

ONU interface view

RONU interface 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.

Usage guidelines

As a best practice, do not enable both RSTP and loop detection on an ONU. These features might operate incorrectly when used together.

Examples

# Enable DHCP snooping on the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] onu protocol dhcp-snooping enable

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 interface is semi-block.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

no-learning: Disables MAC address learning when a loop is detected.

semi-block: Disables MAC address learning and blocks inbound traffic when a loop is detected.

shutdown: Shuts down the interface when a loop is detected.

Examples

# Set the loop protection action to semi-block on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface 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 1/0/1:1 to send flush messages, and specify the control VLAN as VLAN 2.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface activation for an ONU.

Use undo onu protocol smart-link uni-bind enable to disable UNI count-based PON interface 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 interface activation is disabled for an ONU.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Usage guidelines

This command enables an ONU to activate the PON interface that has more online UNIs if two PON interfaces are online.

Examples

# Enable UNI count-based PON interface activation 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] onu protocol smart-link uni-bind enable

Related commands

display onu protocol smart-link uni-bind information

onu replace enable

Use onu replace enable to enable automatic ONU replacement.

Use undo onu replace enable to disable automatic ONU replacement.

Syntax

onu replace enable { keep-config | clear-config }

undo onu replace enable

Default

Automatic ONU replacement is disabled.

Views

FTTH view

Predefined user roles

network-admin

Parameters

keep-config: Retains the configuration (except the bind onu-id command configuration) on an ONU interface when replacing the ONU connected to the ONU interface.

clear-config: Clears the configuration (except the shutdown command configuration) on an ONU interface when replacing the ONU connected to the ONU interface.

Usage guidelines

In the automatic ONU binding scenario, when the number of ONUs registered with an OLT interface reaches the upper limit, new ONUs cannot register with the OLT. Through executing this command, you can unbind from the OLT the registered ONU that has been offline for the longest time. Then, the new ONU can be bound to the automatically released ONU interface.

Automatic ONU replacement cannot be enabled on ONU interfaces of an OLT interface in a fiber backup group.

Automatic ONU replacement cannot be enabled on RONU interfaces of an ROLT interface.

Typically, as a best practice, specify the keep-config keyword. If you specify the clear-config keyword, follow these restrictions and guidelines:

·     After some configurations on an ONU interface are cleared, services running on the ONU will be affected. As a best practice, make sure you known the impact before specifying this keyword.

·     Clearing configuration on an ONU interface will take a while. If automatic replacement is triggered on multiple ONU interfaces, wait with patience.

Examples

# Enable automatic ONU replacement. When replacing the ONU connected to an ONU interface, clear the configuration (except the shutdown command configuration) on the ONU interface.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu replace enable clear-config

Related commands

onu bind auto

onu statistics enable

Use onu statistics enable to enable packet statistics for an ONU.

Use undo onu statistics enable to disable packet statistics for an ONU.

Syntax

onu statistics enable [ period period-value ]

undo onu statistics enable

Default

The packet statistics feature is enabled for an ONU.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

period period-value: Specifies a statistic collection interval in the range of 0 to 4294967295 seconds. The default is 4294967295.

Examples

# Enable packet statistics and set the statistic collection interval to 1000 seconds on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] onu statistics enable period 1000

Related commands

display epon statistics

onu suspicious-loopback-detection enable

Use onu suspicious-loopback-detection enable to enable suspicious loop detection for all ONUs.

Use undo onu suspicious-loopback-detection enable to disable suspicious loop detection for all ONUs.

Syntax

onu suspicious-loopback-detection enable

undo onu suspicious-loopback-detection enable

Default

Suspicious loop detection is disabled  for all ONUs.

Views

FTTH view

Predefined user roles

network-admin

Usage guidelines

A suspicious loop might not be an actual loop. Identify whether the loop is actual based on the live network conditions.

Only ONUs with loop detection enabled support suspicious loop detection. To enable loop detection on an ONU, you must use the onu protocol loopback-detection enable command.

Examples

# Enable suspicious loop detection for all ONUs.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu suspicious-loopback-detection enable

Related commands

onu protocol enable

onu template

Use onu template to create an ONU configuration template and enter its view, or enter the view of an existing ONU configuration template.

Use undo onu template to delete an ONU configuration template.

Syntax

onu template template-id

undo onu template template-id

Default

No ONU configuration template exists.

Views

System view

Predefined user roles

network-admin

Parameters

template-id: Specifies an ONU configuration template by its ID in the range of 1 to 32.

Usage guidelines

In an ONU configuration template, you can execute multiple commands for remotely configuring ONUs. By applying an ONU configuration template, you can bulk issue commands in the ONU configuration template to ONU interfaces on the specified OLT interface or all OLT interfaces.

In ONU configuration template view, you can execute the following commands:

·     VLAN commands:

¡     port access vlan

¡     port link-type

¡     port trunk pvid

¡     port trunk permit vlan

For more information about VLAN configuration for an ONU interface, see EPON Configuration Guide.

·     uni vlan-mode (ONU template view)

·     Basic EPON commands:

¡     forward-error-correction enable

¡     onu port-isolate enable

¡     onu protocol loopback-detection action

¡     onu protocol loopback-detection enable

¡     uni flow-control

¡     uni mac-address max-mac-count

¡     uni port-isolate

·     EPON multicast commands:

¡     onu multicast fast-leave enable

¡     onu protocol transparent-multicast

¡     uni igmp-snooping fast-leave

¡     uni multicast vlan

¡     uni multicast-strip-tag enable

¡     uni multicast-translate-tag

¡     uni transparent-multicast

·     EPON QoS commands:

¡     bandwidth-downstream

¡     bandwidth-downstream policy enable

¡     upstream-sla

No commands exist in a newly created ONU configuration template.

To delete a command from an ONU configuration template, use the undo form of this command in ONU configuration template view.

Examples

# Create ONU configuration template 1 and enter its view.

<Sysname> system-view

[Sysname] onu template 1

[Sysname-onu-template-1]

Related commands

apply onu template

reboot onu

Use reboot onu to reboot an ONU.

Syntax

reboot onu

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only on online ONUs.

Examples

# Reboot the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] reboot onu

remove offline-onu

Use remove offline-onu to remove offline ONUs from OLT interfaces.

Syntax

In standalone mode:

remove offline-onu [ offline-time time ] { interface olt interface-number | slot slot-number }

In IRF mode:

remove offline-onu [ offline-time time ] { interface olt interface-number | chassis chassis-number slot slot-number }

Views

System view

Predefined user roles

network-admin

Parameters

offline-time time: Deletes ONUs that have been offline for a time longer than the specified offline time. The time argument specifies the offline time in the range of 30 to 4294967295 minutes. If you do not specify this option, the system removes ONUs that have been offline for more than 30 minutes.

interface olt interface-number: Specifies an OLT interface by its number.

slot slot-number: Specifies a card by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies a card on an IRF member device. The chassis-number argument represents the member ID of the IRF member device. The slot-number argument represents the slot number of the card. (In IRF mode.)

Usage guidelines

You can use this command to unbind an offline ONU from its ONU interface and release the ONU interface.

To remove an offline ONU, make sure automatic ONU binding is disabled.

Offline ONUs on OLT interfaces in a fiber backup group cannot be removed by using this command.

To view offline ONUs, execute the display onu command and check the State field in the command output.

Examples

# Remove ONUs that have been offline for more than 30 minutes from all OLT interfaces on slot 1.

<Sysname> system-view

[Sysname] remove offline-onu offline-time 30 slot 1

Related commands

display onu

onu bind auto

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79. 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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface 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 in the range of 1 to 10.

session-number: Specifies a session number in the range of 1 to 6.

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 UDP session on serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] serial 1 session 5 protocol-type udp server 3.3.2.5 port 4500 listen-port 75

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

interface-number: Specifies a serial interface by its number in the range of 1 to 10.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Usage guidelines

You must assign an IP address to a management VLAN interface after you bring it up.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] undo shutdown management-vlan-interface

transceiver-txpower

Use transceiver-txpower to set the state of the transmit power supply for transceiver modules of ONU PON interfaces.

Syntax

transceiver-txpower { on | off | off seconds } pon { all | main | standby } onu { all | onu-number-list }

Default

The transmit power supply is turned on for transceiver modules of all PON interfaces on an ONU.

Views

OLT interface view

RONU interface view

Predefined user roles

network-admin

Parameters

on: Turns on the transmit power supply.

off: Turns off the transmit power supply.

off seconds: Turns off the transmit power supply for a period of time. The seconds argument specifies the period of time when the transmit power supply is off. The value range for the seconds argument is 1 to 65534 seconds. The transmit power supply is turned on automatically after this period of time.

pon: Specifies PON interfaces.

all: Specifies the main and standby PON interfaces.

main: Specifies the main PON interface.

standby: Specifies the standby PON interface.

onu: Specifies ONUs.

all: Specifies all ONUs.

onu-number-list: Specifies a space-separated list of up to 10 ONU interface items. Each item specifies an ONU interface number or a range of ONU interface numbers in the form of onu-number1 [ to onu-number2 ]. The value range for the onu-number1 and onu-number2 arguments is 1 to 64. The value of the onu-number2 argument must be larger than or equal to the value of the onu-number1 argument.

Usage guidelines

In an EPON system, ONUs cannot transmit upstream traffic simultaneously. If an ONU fails and keeps sending optical signals, the other ONUs in the system cannot transmit upstream traffic because their transmission timeslots are occupied. To locate the faulty ONU, you can use this command to disable the transmit power supply of ONUs.

Examples

# Turn off the transmit power supply of the main and standby PON interfaces on all ONUs for 300 seconds on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] transceiver-txpower off 300 pon all onu all

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Usage guidelines

On a UNI, do not enable autonegotiation and manually set the duplex mode, MDIX mode, or interface rate at the same time.

Examples

# Enable autonegotiation on UNI 1 of 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 auto-negotiation

 

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Examples

# Enable flow control for UNI 1 of 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 flow-control

uni mac-address max-mac-count

Use uni mac-address max-mac-count to set the MAC learning limit on a UNI.

Use undo uni mac-address max-mac-count to restore the default.

Syntax

uni uni-number mac-address max-mac-count count

undo uni uni-number mac-address max-mac-count

Default

The number of MAC addresses that a UNI can learn is not limited.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

count: Specifies the maximum number of MAC addresses that the UNI can learn. The value range for this argument is 0 to 65534.

Examples

# Set the MAC learning limit to 5 on UNI 1 of 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 mac-address max-mac-count 5

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1 as a mirroring source port and enable both inbound and outbound mirroring.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1 as a mirroring destination port.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 monitor-port

Related commands

uni mirroring-port

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1 to the isolation group.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 port-isolate

[Sysname-Onu1/0/1:1] uni 2 port-isolate

Related commands

onu port-isolate enable

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/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 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Usage guidelines

This command is available only when autonegotiation is enabled.

Examples

# Force UNI 1 of the ONU bound to ONU 1/0/1:1 to restart autonegotiation.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Examples

# Shut down UNI 1 of 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 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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

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 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 speed 10

Related commands

uni auto-negotiation

uni statistics enable

Use uni statistics enable to enable packet statistics for a UNI.

Use undo uni statistics enable to disable packet statistics for a UNI.

Syntax

uni uni-number statistics enable [ period period-value ]

undo uni uni-number statistics enable

Default

The packet statistics feature is enabled for a UNI.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

period period-value: Specifies a statistic collection interval in the range of 0 to 4294967295 seconds. The default is 4294967295 seconds.

Examples

# Enable packet statistics and set the statistic collection interval to 1000 seconds for UNI 1 on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 statistics enable period 1000

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 interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

Examples

# Test the cable connected to UNI 1 of 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 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 21 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 (interface view)

Use uni vlan-mode to set the VLAN operation mode of a UNI.

Use undo uni vlan-mode to restore the default.

Syntax

·     Transparent mode:

uni uni-number vlan-mode transparent

·     Tag mode:

uni uni-number vlan-mode tag pvid pvid [ priority priority ]

·     Translation mode:

uni uni-number vlan-mode translation pvid pvid [ priority priority ] { original-vlan-id to translated-vlan-id } &<1-15>

·     QinQ mode:

uni uni-number vlan-mode qinq pvid pvid [ priority priority ]

·     Trunk mode:

uni uni-number vlan-mode trunk pvid pvid [ priority priority ] trunk-vlan-list

·     N:1 aggregation mode:

uni uni-number vlan-mode aggregation pvid pvid [ priority priority ] { vlan-id1 to vlan-id2 aggregated-vlan aggregated-vlan }&<1-15>

undo uni uni-number vlan-mode

Default

The VLAN operation mode of a UNI is transparent.

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79.

pvid pvid: Specifies a PVID in the range of 1 to 4094. In tag mode, translation mode, trunk mode, or N:1 aggregation mode, a UNI tags only incoming untagged frames with its PVID. In QinQ mode, a UNI tags all incoming frames with its PVID, regardless of whether the frames already have tags.

priority priority: Specifies an 802.1p precedence in the range of 0 to 7. In tag mode, translation mode, trunk mode, or N:1 aggregation mode, a UNI sets only the 802.1p precedence in the PVID tag that it adds to incoming untagged frames. In QinQ mode, a UNI sets the 802.1p precedence in the outermost PVID tag that it adds to incoming frames.

{ original-vlan-id to translated-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.

trunk-vlan-list: Specifies the permitted VLANs in the format of { vlan-id1 to vlan-id2 }&<1-15>. You can specify a maximum of 15 VLAN ID ranges. In a VLAN ID range, the start VLAN ID cannot be greater than the end VLAN ID. Different VLAN ID ranges cannot overlap. The value range for VLAN IDs is 1 to 4094.

{ vlan-id1 to vlan-id2 aggregated-vlan aggregated-vlan }&<1-15>: Translates a range of VLANs to an aggregate VLAN. The vlan-id1 to vlan-id2 option specifies the original VLAN range. In the VLAN range, the start VLAN ID cannot be greater than the end VLAN ID. The aggregated-vlan argument specifies the translated aggregate VLAN. You can specify a maximum of 15 original VLAN ID range and aggregate VLAN pairs.

Usage guidelines

If the link type of all ONU interfaces and RONU interfaces on an OLT is access, you must set the VLAN operation mode to transparent for UNIs of the ONUs. This setting ensures that the ONU interfaces and RONU interfaces and users receive only untagged packets.

When configuring the VLAN trunk mode, make sure the number of permitted VLANs on a UNI does not exceed 16. Otherwise, the uni vlan-mode command cannot be issued to an ONU.

The VLANs configured by using the uni vlan-mode command takes effect only on unicast packets. As a best practice, make sure the VLANs configured by using the uni vlan-mode command do not overlap with those configured by using the uni multicast vlan command.

If you enable transparent transmission of unknown multicast packets with the destination MAC address 0100-ffff-ffff on a UNI, the VLANs configured by using the uni vlan-mode command also take effect on all unknown multicast 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 1/0/1:1

[Sysname-Onu1/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

# Set the VLAN operation mode of UNI 1 to trunk for the ONU bound to ONU 1/0/1:1. Set the PVID to 1, set the 802.1p priority in packets to 3, and permit VLANs 2 through 5.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 vlan-mode trunk pvid 1 priority 3 2 to 5

# Set the VLAN operation mode of UNI 1 to N:1 aggregation for the ONU bound to ONU 1/0/1:1. Set the PVID to 1, set the 802.1p priority in packets to 3, and translate VLANs 2 through 5 to 100.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/0/1:1] uni 1 vlan-mode aggregation pvid 1 priority 3 2 to 5 aggregate 100

Related commands

onu protocol transparent-multicast

uni multicast vlan

uni transparent-multicast

uni vlan-mode (ONU template view)

Use uni vlan-mode to set the VLAN operation mode of a UNI.

Use undo uni vlan-mode to delete the uni vlan-mode command from an ONU configuration template.

Syntax

Transparent mode:

uni uni-number vlan-mode transparent

undo uni uni-number vlan-mode

Tag mode:

uni uni-number vlan-mode tag pvid pvid [ priority priority ]

uni start-uni-number vlan-mode tag start-pvid start-pvid [ priority priority ]

undo uni uni-number vlan-mode

Default

The uni vlan-mode command does not exist in an ONU configuration template.

Views

ONU configuration template view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI interface by its number in the range of 1 to the number of UNI interfaces on the current ONU.  Up to 79 UNI interfaces are supported.

pvid pvid: Specifies a PVID, in the range of 1 to 4094.

priority priority: Specifies an 802.1p priority value for packets, in the range of 0 to 7.

start-pvid start-pvid: Specifies the start PVID, in the range of 1 to 4094.

Usage guidelines

For more information about VLAN operation modes, see EPON Configuration Guide.

When you configure the VLAN tag mode for an UNI in an ONU configuration template, If you specify the start-pvid keyword, the PVIDs are bulk assigned to ONU interfaces in incremental mode as follows:

·     For the scope (FTTH or OLT interface) to which the ONU configuration template is applied, the ONU interfaces are arranged in ascending order of ID, and the VLAN tag mode is configured for UNIs on all ONU interfaces with online ONUs. The start ONU interface is assigned PVID start-pvid, the next ONU interface is assigned PVID start-pvid+1, and so on.

·     If the PVID to be assigned has reached the upper limit, the PVID does not increment.

If you execute this command multiple times on the same UNI interface, the most recent configuration takes effect.

For more information about this command, see uni vlan-mode (interface view).

Examples

# In ONU configuration template 1, assign PVIDs to UNI 1 on ONU interfaces with online ONUs in incremental mode. Apply the ONU configuration template to OLT 1/0/1. Specify the start PVID as 4092 and the 802.1p priority in packets as 3.

<Sysname> system-view

[Sysname] onu template 1

[Sysname-onu-template-1] uni 1 vlan-mode tag start-pvid 4092 priority 3

[Sysname-onu-template-1] quit

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] apply onu template 1

Enter the view of each ONU interface with online ONUs, and execute the display this command to display its configuration. You can see the commands issued by the ONU configuration template.

#

interface Onu1/0/1:1

 uni 1 vlan-mode tag pvid 4092 priority 3

#

interface Onu1/0/1:3

 uni 1 vlan-mode tag pvid 4093 priority 3

#

interface Onu1/0/1:4

 uni 1 vlan-mode tag pvid 4094 priority 3

#

interface Onu1/0/1:5

 uni 1 vlan-mode tag pvid 4094 priority 3

...

Related commands

uni vlan-mode (interface view)

update onu filename

Use update onu filename to update an ONU or all ONUs on an OLT interface.

Use undo update onu to cancel the update configuration for an ONU or all ONUs on an OLT interface.

Syntax

update onu [ protocol-type { h3c | ctc } ] filename filename [ start-time start-time duration minutes ]

undo update onu

Views

OLT interface view

ONU interface view

RONU interface view

Predefined user roles

network-admin

Parameters

protocol-type: Specifies the protocol used for ONU update. If you do not specify a protocol, the H3C protocol is used.

h3c: Specifies the H3C protocol.

ctc: Specifies the CTC protocol.

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 22. 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.

Table 22 Special characters

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

_

 

 

start-time start-time: Specifies the start time of the scheduled update. The start-time argument is in the range of 00:00 to 23:59. If you do not specify this option, the update command is immediately issued to the ONU. As a best practice, update an ONU at an idle time, for example, in the small hours.

duration minutes: Specifies the duration of a single update, in the range of 1 to 1439 minutes. If the update is not finished when the duration expires, the update is suspended, and will start again when the next update start time reaches. As a best practice, set the duration of a single update to 30 to 360 minutes.

Usage guidelines

To update a single ONU, use this command in ONU interface or RONU interface view. To update all ONUs on an OLT interface, use this command in OLT interface view.

As a best practice, use the H3C protocol for H3C ONUs. To update ONUs from other vendors, use the CTC protocol. When the OLT operating mode of a 10G-EPON card is changed to 128-ONU, the ONUs connected to the EPON card do not support using the H3C protocol for upgrading ONUs.

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, whether the ONU is updated when it comes online depends on the update protocol.

¡     If the H3C protocol is used, the ONU is updated after it comes online.

¡     If the CTC protocol is used, the ONU is not updated after it comes online. To update the ONU, first use the undo update onu command to cancel the update, and execute the update onu command when the ONU is online.

After you use this command in OLT interface view, whether the OLT updates a matching ONU that newly comes online depends on the creation time of the corresponding ONU interface.

·     If the ONU interface is created before you execute this command, the ONU will be updated.

·     If the ONU interface is created after you execute this command, the ONU will not be updated.

Examples

# Update the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface onu 1/0/1:1

[Sysname-Onu1/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 [ protocol-type { h3c | ctc } ] filename filename [ start-time start-time duration minutes ]

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 23.

Table 23 Special characters

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

_

 

 

protocol-type: Specifies the protocol used for ONU update. If you do not specify a protocol, the H3C protocol is used.

h3c: Specifies the H3C protocol.

ctc: Specifies the CTC protocol.

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 23. 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.

start-time start-time: Specifies the start time of the scheduled update. The start-time argument is in the range of 00:00 to 23:59. If you do not specify this option, the update command is immediately issued to the ONU. As a best practice, update an ONU at an idle time, for example, in the small hours.

duration minutes: Specifies the duration of a single update, in the range of 1 to 1439 minutes. If the update is not finished when the duration expires, the update is suspended, and will start again when the next update start time reaches. As a best practice, set the duration of a single update to 30 to 360 minutes.

Usage guidelines

This command enables the OLT to automatically update ONUs that match the specified ONU type and do not have an update file on newly created ONU or RONU interfaces.

As a best practice, use the H3C protocol for H3C ONUs. To update ONUs from other vendors, use the CTC protocol. When the OLT operating mode of a 10G-EPON card is changed to 128-ONU, the ONUs connected to the EPON card do not support using the H3C protocol for upgrading ONUs.

When you update ONUs by type and an ROLT interface exists on the OLT, follow these restrictions and guidelines:

·     To avoid ONU update failure, do not assign a member port to or remove a member port from the ROLT interface during the update process.

·     If active port switchover occurs to the ROLT interface (for example, the active port goes down) during the update process, the ONU update might fail.

You can update a maximum of 64 types of ONUs at the same time.

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 an ONU that matches the update file is not online, whether the ONU is updated when it comes online depends on the update protocol.

¡     If the H3C protocol is used, the ONU is updated after it comes online.

¡     If the CTC protocol is used, the ONU is not updated after it comes online. To update the ONU, first use the undo update onu command to cancel the update, and execute the update onu command when the ONU is online.

Examples

# Update all ET704-A-L ONUs.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] update onu type et704-a-l filename file.app

using onu

Use using onu to create ONU interfaces or RONU interfaces.

Use undo using onu to delete ONU interfaces or RONU interfaces.

Syntax

using onu onu-number-list

undo using onu onu-number-list

Default

No ONU interfaces or RONU interfaces exist.

Views

OLT interface view

RONU interface view

Predefined user roles

network-admin

Parameters

onu-number-list: Specifies a space-separated list of up to 10 ONU or RONU interface number items. Each item specifies an ONU or RONU interface number or a range of ONU or RONU interface 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 or RONU interface numbers is 1 to 64.

Usage guidelines

On an OLT interface, the ONU interface created by using this command is named in the format of onu interface-number.

On an ROLT interface, the RONU interface created by using this command is named in the format of ronu interface-number.

Examples

# Create ONU interface 1 on OLT 1/0/2.

<Sysname> system-view

[Sysname] interface olt 1/0/2

[Sysname-Olt1/0/2] using onu 1

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Intelligent Storage
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
  • Technical Blogs
All Support
  • Become A Partner
  • Partner Policy & Program
  • Global Learning
  • Partner Sales Resources
  • Partner Business Management
  • Service Business
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网