19-EPON

HomeSupportSwitchesS7500X-G SeriesReference GuidesCommand ReferencesH3C S7500X-G Switch Series Command References-R7761Pxx-6W10019-EPON
01-EPON basics commands
Title Size Download
01-EPON basics commands 908.20 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 fiber-backup group· 9

display epon oam·· 10

display pon onu-event 10

display pon optics-parameters· 11

display epon parameter 12

display epon statistics· 12

display pon version· 13

display epon workmode· 14

display interface· 15

display olt statistics· 22

display packet-drop· 23

display rolt interface· 24

encryption update-time· 25

fiber-backup group· 26

fiber-backup tcp· 27

ftth· 27

grant-filtering enable· 28

interface· 28

interface rolt 29

interface ronu· 29

max-rtt 30

member 30

member interface· 31

monitor enable· 32

oam-discovery-timeout 33

olt-mode· 34

onu flow· 35

onu invalid-address mode· 36

onu snmp port-limit 37

port fiber-backup group· 38

port switch-over 39

port-type· 39

timer monitor 40

uplink interface· 41

vendor-compatible· 42

ONU remote management commands· 42

alarm enable· 43

anti-dhcp-server enable· 49

apply onu template· 49

apply onu-auth-profile· 51

apply onu-auth-profile· 51

bind onu-id· 52

blacklist onu-id· 53

deregister onu· 54

display dhcp-client 54

display pon mac-address· 55

display pon onu-loop-status· 56

display epon onu-template apply-process· 57

display pon onu-update· 58

display onu· 59

display onu dot1x-user interface· 62

display onu dot1x-user interface· 63

display onu loid· 63

display onu mac-address· 64

display onu neighbor 65

display onu protocol 65

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

display onu-auth-profile· 68

display onu-auth-profile· 69

display pon wan· 70

display serial-information· 70

display uni 71

display vendor-specific information· 74

encryption enable· 77

forward-error-correction· 77

hgu-onu· 78

ip address· 78

ipv6 address· 79

keepalive enable· 80

keepalive interval 81

keepalive retransmit 81

keepalive enable· 82

keepalive interval 82

keepalive retransmit 83

management server 84

management-vlan· 85

onu authentication-domain· 85

onu authentication-format 86

onu auth-profile· 87

onu auth-profile· 88

onu bind auto· 90

onu bind batch· 91

onu bind one-to-one· 92

onu dot1x· 93

onu dot1x· 93

onu mac-address timer 94

onu port-isolate enable· 94

onu protocol enable· 95

onu protocol loopback-detection action· 96

onu protocol smart-link uni-bind enable· 96

onu replace enable· 97

onu statistics enable· 98

onu suspicious-loopback-detection enable· 99

onu template· 99

radius accounting· 101

radius authentication· 102

radius accounting· 102

radius authentication· 103

reboot onu· 104

remove offline-onu· 105

reset counters serial 106

reset counters uni 106

reset onu dot1x-user 107

reset onu dot1x-user 107

serial databit 107

serial parity· 108

serial session protocol-type· 109

serial speed· 110

serial stopbit 111

shutdown management-vlan-interface· 111

transceiver-txpower 112

uni auto-negotiation· 113

uni description· 114

uni duplex· 114

uni flow-control 115

uni mac-address· 115

uni mac-address max-mac-count 116

uni mdix-mode· 117

uni mirroring-port 118

uni monitor-port 118

uni port-isolate· 119

uni qinq· 120

uni restart auto-negotiation· 121

uni shutdown· 121

uni speed· 122

uni statistics enable· 123

uni vlan-mode (interface view) 123

uni vlan-mode (ONU template view) 125

update onu filename· 127

update onu type· 129

using onu· 130

wan connection· 131

wan service· 132

 


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

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 2 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 pon onu-event

Use display pon onu-event to display ONU registration and deregistration records for an ONU.

Syntax

display pon 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 pon 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 pon optics-parameters

Use display pon optics-parameters to display optical parameters for an OLT.

Syntax

display pon 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 pon 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 3 Output description

Field

Description

Bias

Bias current.

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

Transmitter power

Transmit power.

For OLT interfaces on 10G-PON cards, this field becomes Transmitter power(1G/10G) and displays the transmit powers for both 1G-PON interfaces and 10G-PON 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 pon version

Use display pon version to display version information for an OLT or ONU.

Syntax

display pon 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 pon 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 pon 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 4 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 5 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 6 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 packet-drop

Use display packet-drop to display information about packets dropped on an interface.

Syntax

In standalone mode:

display packet-drop { interface [ interface-type [ interface-number ] ] | slot [ slot-number ] | summary }

In IRF mode:

display packet-drop { interface [ interface-type [ interface-number ] ] | chassis [ chassis-number [ slot slot-number ] ] | summary }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

summary: Displays the summary of dropped packets on only interfaces that support this command.

slot slot-number: Specifies a card by its slot number. If you do not specify this option, this command displays information about packets dropped on 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, this command displays information about packets dropped on all cards. (In IRF mode.)

Usage guidelines

If you do not specify an interface type, this command displays information about dropped packets on only interfaces that support this command on the device.

If you specify an interface type but do not specify an interface number, this command displays information about dropped packets on only interfaces of the specified type that support this command.

Examples

# Display information about packets dropped on interface Olt 1/4/0/5.

<Sysname> display packet-drop interface Olt 1/4/0/5

Olt1/4/0/5:

  Packets dropped due to full GBP or insufficient bandwidth: 0

  Packets dropped due to Fast Filter Processor (FFP): 0

  Packets dropped due to STP non-forwarding state: 0

  Packets dropped due to insufficient data buffer. Input dropped: 0, Output dropped: 0

  Packets of ECN marked: 0

# (In standalone mode.) Display information about packets dropped on all cards.

<Sysname> display packet-drop slot

Slot            Total

0               210

1               210

2               210

# (In IRF mode.) Display information about packets dropped on all cards.

<Sysname> display packet-drop chassis

Chassis         Slot            Total

1               0               210

2               0               210

                1               210

                2               210

Table 7 Command output

Field

Description

Packets dropped due to full GBP or insufficient bandwidth

Packets that are dropped because the buffer is used up or the bandwidth is insufficient.

Packets dropped due to Fast Filter Processor (FFP)

Packets that are filtered out.

Packets dropped due to STP non-forwarding state

Packets that are dropped because STP is in the non-forwarding state.

Packets of ECN marked

Packets with the ECN field set to 11 because WRED queue thresholds are reached. For more information about WRED and ECN, see QoS configuration in ACL and QoS Configuration Guide.

Slot

Slot number.

Chassis

Chassis number.

Total

Statistics about dropped 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 240.

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.

When deleting an ROLT interface with an RONU interface, first execute the undo using onu command to delete the RONU interface, and then execute the undo interface rolt command to delete the ROLT interface.

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 flow

Use onu flow to forward multicast and broadcast packets from an ONU in multiple VLANs.

Use undo onu flow to cancel forwarding multicast and broadcast packets from an ONU in multiple VLANs.

Syntax

onu flow flow-id vlan vlan-id { destination-ip ipv4-address { mask-length | mask } | destination-mac mac-address } [ udp-port port-number ] forward-vlan vlan-list

undo onu flow flow-id

Default

Multicast and broadcast packets from an ONU are not configured to be forwarded in multiple VLANs.

Views

System view

Predefined user roles

network-admin

Parameters

flow-id: Specifies a flow matching rule ID, in the range of 1 to 1000. A smaller ID indicates a higher flow matching priority.

vlan vlan-id: Specifies the VLAN of multicast or broadcast packets. The value range for the vlan-id argument is 1 to 4094.

destination-ip ipv4-address: Specifies a destination IPv4 address in dotted decimal notation for multicast or broadcast packets. A multicast IP address is in the range of 224.0.0.0 to 239.255.255.255. The broadcast IP address is 255.255.255.255.

mask-length: Specifies a subnet mask length (the number of consecutive ones in the mask) in the range of 1 to 31.

mask:  Specifies a mask in dotted decimal notation for the IPv4 address.

destination-mac mac-address: Specifies the destination MAC address of multicast packets or broadcast packets in the format of H-H-H. A multicast MAC address is in the range of 0100-5E00-0000 to 0100-5EFF-FFFF. The broadcast MAC address is FFFF-FFFF-FFFF.

udp-port port-number: Specifies the UDP port number of multicast packets or broadcast packets in the range of 1 to 65535. If you do not specify this option, the UDP port number is ignored when multicast or broadcast packets are matched.

forward-vlan vlan-list: Specifies the list of forwarding VLANs. The vlan-list argument specifies multiple VLANs in the form of vlan-list = { vlan-id [ to vlan-id ] }&<1-10>. The vlan-id argument is a VLAN ID in the range of 1 to 4094. &<1-10> means that you can provide up to 10 VLANs/VLAN ranges for this argument.

Usage guidelines

Application scenarios

Use this command to flexibly forward packets across VLANs at Layer 2. When an OLT with this feature configured receives a packet with the specified destination MAC address/IP address and port number from the specified VLAN from an ONU, it forwards the packet directly to the specified target VLANs.

Restrictions and guidelines

Up to 1000 flow matching rules are supported.

This command is not support on an M-LAG network.

This command does not support matching multicast IPv6 packets.

If you execute this command multiple times with the same flow-id argument, the most recent configuration takes effect.

Examples

# Configure flow matching rule 1 to forward multicast packets from VLAN 1 and destined to IP address 255.1.1.1/16 to VLANs 10 through 20.

<Sysname> system-view

[Sysname] onu flow 1 vlan 1 destination-ip 255.1.1.1 16 forward-vlan 10 to 20

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 240. 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 interfaces on the LSCM2XPT24SF0 interface modules.

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

anti-dhcp-server enable

Use anti-dhcp-server enable to prevent the UNIs of an ONU from receiving messages from DHCP servers.

Use undo anti-dhcp-server enable to restore the default.

Syntax

anti-dhcp-server enable

undo anti-dhcp-server enable

Default

The UNIs of an ONU are allowed to receive messages from DHCP servers.

Views

ONU interface View

RONU interface view

Predefined user roles

network-admin

Usage guidelines

Application scenarios

Use this command to prevent unauthorized DHCP servers from connecting to an ONU.

Operating mechanism

After this command is executed, if a UNI of the specified ONU receives a message from a DHCP server, it will automatically drop the message.

Examples

# Prevent UNIs of an ONU from receiving messages from DHCP servers.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] anti-dhcp-server enable

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.

·     The default configuration in a template will not be applied.

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 auto

[Sysname-ftth] apply onu template 1

Related commands

onu template

apply onu-auth-profile

Use apply onu-auth-profile to apply an authentication profile.

Use undo apply onu-auth-profile to restore the default.

Syntax

apply onu-auth-profile profile-name

undo apply onu-auth-profile

Default

An authentication profile is not applied.

Views

FTTH view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a profile name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

An authentication profile can be applied in FTTH view or OLT interface view. When applied in FTTH view, the configuration in the authentication profile will be deployed to all ONUs attached to all OLT interfaces.

Examples

# Apply the ONU authentication profile named aaa to all ONUs in FTTH view.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] apply onu-auth-profile aaa

apply onu-auth-profile

Use apply onu-auth-profile to apply an authentication profile.

Use undo apply onu-auth-profile to restore the default.

Syntax

apply onu-auth-profile profile-name

undo apply onu-auth-profile

Default

An authentication profile is not applied.

Views

FTTH view

OLT interface view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a profile by its name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

An authentication profile can be applied in FTTH view or OLT interface view. When applied in FTTH view, the configuration in the authentication profile will be deployed to all ONUs attached to all OLT interfaces. When applied in OLT interface view, the configuration in the authentication profile will be deployed to all ONUs attached to that OLT interface. For an OLT interface, the authentication profile applied to the OLT interface takes priority. The authentication profile applied in FTTH view takes effect only when no authentication profile is applied to the OLT interface.

Examples

# Apply the ONU authentication profile named aaa to all ONUs attached to interface OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] apply onu-auth-profile aaa

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 pon mac-address

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

Syntax

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

display pon 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. If you do not specify this argument, the command displays the MAC address entries on all UNIs of the specified ONU.

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 pon 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 pon mac-address interface onu 1/0/1:1 count

PON    : 2

UNI 1  : 0

UNI 2  : 0

...

display pon onu-loop-status

Use display pon onu-loop-status to display loop information of UNIs of ONUs.

Syntax

In standalone mode:

display pon onu-loop-status { interface interface-type interface-number | slot slot-number }

In IRF mode:

display pon onu-loop-status { 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.)

Usage guidelines

Use this command to view the loop information reported recently by UNIs of ONUs.

On an ONU, if a loop occurs on a UNI and loop detection is enabled, the device automatically detects and reports the loop information. You can use this command to view the loop information.

Examples

# Display the loop information reported by UNIs of all ONUs on the specified OLT interface.

<Sysname> display pon onu-loop-status interface olt 1/0/1

ONU Interface  UNI      Date    Time

Onu1/0/1:1

                1    2024/09/27 18:13:55

                2    2024/09/27 18:13:55

                3    2024/09/27 18:13:55

...

Table 13 Command output

Field

Description

ONU Interface

ONU interface name.

UNI

UNI number.

Date

Date when the UNI reported a loop.

Time

Time when the UNI reported a loop.

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.

After the ONU configuration template is applied, executing this command will not output any information.

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 14 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 pon onu-update

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

Syntax

In standalone mode:

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

In IRF mode:

display pon 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 pon 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 15 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 16 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         Model      Sft/Epm

      State          Aging       Version

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

      Silent         N/A         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         Model      Sft/Epm

      State          Aging       Version

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

      Silent         N/A         N/A

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

The port is down.

...

Table 17 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

ONU model. 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.

Version

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

The port is down

The OLT interface or ROLT interface is down.

ONUs found

Total number of ONU found.

display onu dot1x-user interface

Use display onu dot1x-user interface to display the 802.1X user information on an ONU.

Syntax

display onu dot1x-user interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

Examples

# Display 802.1X user information on the specified ONU.

<Sysname> display onu dot1x-user interface onu 1/0/1:1

MAC Address         User Name              VLAN ID   Interface          Online Time(s)

00:00:00:00:00:01   abc                    200       Onu1/0/1:1         300

Table 18 Command output

Field

Description

MAC Address

MAC address of an 802.1X user.

Username

Name of an 802.1X user.

VLAN ID

VLAN ID of an 802.1X user.

Interface

Interface name of an 802.1X user.

Online Time

User online duration, in seconds.

 

display onu dot1x-user interface

Use display onu dot1x-user interface to display the 802.1X user information on an ONU.

Syntax

display onu dot1x-user interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

Examples

# Display 802.1X user information on the specified ONU.

<Sysname> display onu dot1x-user interface onu 1/0/1:1

MAC Address         User Name              VLAN ID   Interface          Online Time(s)

00:00:00:00:00:01   abc                    200       Onu1/0/1:1         300

Table 19 Command output

Field

Description

MAC Address

MAC address of an 802.1X user.

Username

Name of an 802.1X user.

VLAN ID

VLAN ID of an 802.1X user.

Interface

Interface name of an 802.1X user.

Online Time

User online duration, in seconds.

 

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

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

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 20 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: No-shutdown

# Display spanning tree protocol 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 stp

Protocol name: STP

 Protocol status: Enabled

 Port Role        STP State

 1    DISABLE     DISCARDING

 2    DESIGNATED  FORWARDING

 3    BACKUP      BLOCKING

Table 21 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:

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

Port

Port number.

Role

Port role:

·     BACKUP—The port is a backup port.

·     DESIGNATED—The port is a designated port.

·     DISABLE—The port is disabled.

STP State

Spanning tree status on the port:

·     FORWARDING—The port can receive and send BPDUs and also forward user traffic.

·     DISCARDING—The port can receive and send BPDUs but cannot forward user traffic.

·     BLOCKING—The port can receive and send BPDUs and also forward user traffic, but it has a loop.

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 onu-auth-profile

Use display onu-auth-profile to display the authentication profile information.

Syntax

display onu-auth-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

profile-name profile-name: Displays the details of the specified authentication profile. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays brief information of all profiles.

Examples

# Display summary information about all ONU authentication profiles.

<Sysname> display onu-auth-profile

Profile name

  Radius

  abc

# Display detailed information about the ONU authentication profile named RADIUS.

<Sysname> display onu-auth-profile profile-name Radius

Profile name: Radius

  Keepalive: Enable

  Keepalive interval: 10s

  Keepalive retransmit: 3

  Authentication server: 1.1.1.1/1812/1

  Accounting server: 1.1.1.1/1812/1

  Interface list:

    Onu1/0/1:1

    Onu1/0/1:2

Table 22 Command output

Field

Description

Profile name

Name of the ONU authentication profile.

Keepalive

Keepalive feature of the ONU authentication profile.

Keepalive interval

Interval for the ONUs to transmit keepalive packets to the RADIUS servers.

Keepalive retransmit

Number of times an ONU retransmits keepalive packets to the RADIUS servers.

Authentication server

IP address, port number, and priority of the authentication server.

Accounting server

IP address, port number, and priority of the accounting server.

Interface list

Interfaces to which the ONU authentication profile is applied.

 

 

display onu-auth-profile

Use display onu-auth-profile to display the authentication profile information.

Syntax

display onu-auth-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

profile-name profile-name: Displays the details of the specified authentication profile. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. If you do not specify this option, the command displays summary information of all profiles.

Examples

# Display summary information for all ONU authentication profiles.

<Sysname> display onu-auth-profile

Profile name

  Radius

  abc

# Display detailed information of the ONU authentication profile named RADIUS.

<Sysname> display onu-auth-profile profile-name Radius

Profile name: Radius

  Keepalive: Enable

  Keepalive interval: 10s

  Keepalive retransmit: 3

  Authentication server: 1.1.1.1/1812/1

  Accounting server: 1.1.1.1/1812/1

  Interface list:

    Onu1/0/1:1

    Onu1/0/1:2

Table 23 Command output

Field

Description

Profile name

Name of the ONU authentication profile.

Keepalive

Keepalive feature of the ONU authentication profile.

Keepalive interval

Interval for the ONUs to transmit keepalive packets to the RADIUS servers.

Keepalive retransmit

Number of times an ONU retransmits keepalive packets to the RADIUS servers.

Authentication server

IP address, port number, and priority of the authentication server.

Accounting server

IP address, port number, and priority of the accounting server.

Interface list

Interfaces to which the ONU authentication profile is applied.

 

display pon wan

Use display pon wan to display the WAN connection information of an ONU.

Syntax

display pon wan interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

Parameters

interface interface-type: Specifies an interface type. The value for the interface-type argument is ONU.

interface-number: Specifies an interface number.

Examples

# Display all WAN connection information of the specified ONU.

<Sysname> display pon wan interface onu 1/0/1:1

(The output varies by device model)

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

 Description          :

 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

 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 24 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 25 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

The default varies by device card model.

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

hgu-onu

Use hgu-onu to configure the configuration mode and service mode for a home gateway unit (HGU) ONU.

Use undo hgu-onu to restore the default.

Syntax

hgu-onu { control { cli | tr069 | web } | mode { bridge | route } }*

undo hgu-onu

Default

The configuration mode and service mode are not configured for an HGU ONU.

Views

ONU view

Predefined user roles

network-admin

Parameters

control: Sets the configuration mode for an ONU.

cli: Remotely configures and manages an ONU at the CLI of the OLT.

tr069: Remotely configures and manages an ONU through Technical Report 069 (TR069).

web: Remotely configures and manages an ONU in the Web interface.

mode: Sets the service mode of an ONU.

bridge: Specifies the Layer 2 service mode.

route: Specifies the Layer 3 service mode.

Examples

# Remotely configure and manage the ONU at the CLI of the OLT.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] hgu-onu control cli

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

No IPv4 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 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.

When you configure an IP address for the management VLAN interface of an ONU interface or RONU interface, the device does not prompt whether the IP address conflicts with that of any other interface. If multiple interfaces are configured with the same IP address, only the first configuration take effect.

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

keepalive enable

Use keepalive enable to enable the keepalive feature in an authentication profile.

Use undo keepalive enable to disable the keepalive feature in an authentication profile.

Syntax

keepalive enable

undo keepalive enable

Default

The keepalive feature is disabled in an authentication profile.

Views

Authentication profile view

Predefined user roles

network-admin

Usage guidelines

With this feature enabled, an ONU will periodically send keepalive packets to the RADIUS servers to maintain reliable connectivity.

Examples

# Enable the keepalive feature in an authentication profile.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive enable

keepalive interval

Use keepalive interval to configure the interval at which an ONU sends keepalive packets to RADIUS servers.

Use undo keepalive interval to restore the default.

Syntax

keepalive interval seconds

undo keepalive interval

Default

An ONU sends keepalive packets to a RADIUS server every 10 seconds.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

seconds: Specifies the interval at which an ONU sends keepalive packets to RADIUS servers, in the range of 1 to 65535 seconds.

Examples

# In an ONU authentication profile, configure the interval as 300 seconds for the ONUs to send keepalive packets to the RADIUS servers.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive interval 300

keepalive retransmit

Use keepalive retransmit to configure the number of times an ONU retransmits keepalive packets to RADIUS servers.

Use undo keepalive retransmit to restore the default.

Syntax

keepalive retransmit times

undo keepalive retransmit

Default

An ONU retransmits keepalive packets to the RADIUS servers for up to three times.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

times: Specifies the number of times an ONU retransmits keepalive packets to RADIUS servers, in the range of 1 to 60.

Usage guidelines

After an ONU sends a keepalive packet to a RADIUS server, if no response is received within the time defined by the keepalive interval command, the ONU will attempt to retransmit the keepalive packet to the RADIUS server. If the number of retransmissions reaches the value defined by the keepalive retransmit command and still no response is received, the ONU determines that the connection to the RADIUS server has failed.

Examples

# In an ONU authentication profile, configure the ONUs to retransmit keepalive packets to RADIUS servers for up to 10 times.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive retransmit 10

keepalive enable

Use keepalive enable to enable the keepalive feature in an authentication profile.

Use undo keepalive enable to disable the keepalive feature in an authentication profile.

Syntax

keepalive enable

undo keepalive enable

Default

The keepalive feature is disabled for an authentication profile.

Views

Authentication profile view

Predefined user roles

network-admin

Usage guidelines

With this feature enabled, an ONU will periodically transmit keepalive packets to the RADIUS servers to ensure connection reliability with the servers.

Examples

# Enable the keepalive feature for an authentication profile.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive enable

keepalive interval

Use keepalive interval to configure the interval at which an ONU sends keepalive packets to RADIUS servers.

Use undo keepalive interval to restore the default.

Syntax

keepalive interval seconds

undo keepalive interval

Default

An ONU sends keepalive packets to a RADIUS server every 10 seconds.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

seconds: Specifies the interval at which an ONU sends keepalive packets to RADIUS servers, in the range of 1 to 65535 seconds.

Examples

# In an ONU authentication profile, configure the interval as 300 seconds for the ONUs to transmit keepalive packets to the RADIUS servers.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive interval 300

keepalive retransmit

Use keepalive retransmit to configure the number of times an ONU retransmits keepalive packets to RADIUS servers.

Use undo keepalive retransmit to restore the default.

Syntax

keepalive retransmit times

undo keepalive retransmit

Default

An ONU retransmits keepalive packets to the RADIUS servers for up to three times.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

times: Specifies the number of times an ONU retransmits keepalive packets to RADIUS servers, in the range of 1 to 60.

Usage guidelines

After an ONU sends a keepalive packet to a RADIUS server, if no response is received within the time defined by the keepalive interval command, the ONU will attempt to retransmit the keepalive packet to the RADIUS server. If the number of retransmissions reaches the value defined by the keepalive retransmit command and still no response is received, the ONU considers the connection to the RADIUS server to have failed.

Examples

# In an ONU authentication profile, configure the ONUs to retransmit keepalive packets to RADIUS servers for up to 10 times.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] keepalive-retransmit 10

management server

Use management server to configure the AD-Campus server connection parameters for ONUs.

Use undo management server to delete the AD-Campus server connection parameters for ONUs.

Syntax

management server source-ip ip-address [ port port-number ] [ keepalive interval ] password { cipher | simple } string

undo management server

Default

The AD-Campus server connection parameters are not configured for ONUs.

Views

FTTH view

Predefined user roles

network-admin

Parameters

source-ip ip-address: Specifies a server by its IPv4 address.

port port-number: Specifies the TCP port number for the ONUs to establish connections to the server, in the range of 1 to 65535. If you do not specify this option, no TCP port is configured.

keepalive interval: Specifies the interval for ONUs to send keepalive packets, in the range of 1 to 600 seconds. By default, it is 60 seconds.

password cipher: Specifies a password in encrypted form.

password simple: Specifies a password in plaintext form. For security purposes, the password specified in plaintext form will be stored in encrypted form.

string: Specifies the password string. Its plaintext form is a case-sensitive string of 1 to 63 characters. Its encrypted form is a case-sensitive string of 1 to 117 characters.

Usage guidelines

In an Application Driven Campus (AD-Campus) network, the OLT provides Internet access services for the ONUs. Use this command to remotely configure the AD-Campus server connection parameters on the OLT, facilitating the connection between ONU and server.

Examples

# Configure the following AD-Campus server connection parameters for ONUs:

·     Server IP address 10.1.1.1.

·     Interval of 100 seconds for sending keepalive packets.

·     TCP port number 800 for establishing connections.

·     Password 12345678TESTplat&!.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] management server source-ip 10.1.1.1 port 800 keepalive interval 100 password simple 12345678TESTplat&!

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 auth-profile

Use onu auth-profile to create an ONU authentication profile and enter its view, or enter the view of an existing ONU authentication profile.

Use undo onu auth-profile to delete an ONU authentication profile.

Syntax

onu auth-profile profile-name

undo onu auth-profile profile-name

Default

No authentication profile exists.

Views

System view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a profile name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

Application scenarios

When users access an ONU through 802.1X, you must set up an authentication profile on the OLT to which the ONU is attached. This profile remotely deploys 802.1X-related configurations to the attached ONUs in bulk.

Operating mechanism

In the current software version, the following settings for ONUs can be deployed:

·     Keepalive feature—With this feature enabled, an ONU will periodically send keepalive packets to the RADIUS servers to maintain reliable connectivity. With this feature enabled, you can modify the interval at which an ONU sends keepalive packets based on its actual conditions. After an ONU sends a keepalive packet to a RADIUS server, the ONU must receive a reply from the RADIUS server within one packet sending interval. If not, the ONU retransmits the keepalive packet. If the number of retransmissions reaches the specified number, the ONU determines that the connection to the RADIUS server has failed.

·     RADIUS connection parameters—These parameters are used to establish a connection between an ONU and the RADIUS authentication and accounting servers. These parameters mainly include server addresses, connection keys, and other information.

For more information about 802.1X, see 802.1X configuration in Security Configuration Guide.

Restrictions and guidelines

After you modify the connection parameters of the RADIUS authentication server in an authentication profile, the system will clear all 802.1X users on the ONUs configured with that authentication profile.

To delete an authentication profile that has been applied to ONUs, you must first remove the authentication profile from these ONUs.

An authentication profile can be applied in FTTH view or OLT interface view. When applied in FTTH view, the configuration in the authentication profile will be deployed to all ONUs attached to all OLT interfaces. When applied in OLT interface view, the configuration in the authentication profile will be deployed to all ONUs attached to that OLT interface. For an OLT interface, the authentication profile applied to the OLT interface takes priority. The authentication profile applied in FTTH view takes effect only when no authentication profile is applied to the OLT interface.

Examples

# Create an ONU authentication profile named dot1x_temp and enter its view.

<Sysname> system-view

[Sysname] onu auth-profile dot1x_temp

[Sysname-onu-auth-profile-dot1x_temp]

onu auth-profile

Use onu auth-profile to create an authentication profile and enter its view, or enter the view of an existing authentication profile.

Use undo onu auth-profile to delete an ONU authentication profile.

Syntax

onu auth-profile profile-name

undo onu auth-profile profile-name

Default

No authentication profile exists.

Views

System view

Predefined user roles

network-admin

Parameters

profile-name: Specifies a profile name, a case-sensitive string of 1 to 31 characters.

Usage guidelines

Application scenarios

When users access an ONU through 802.1X, you must set up an authentication profile on the OLT to which the ONU is attached. This profile remotely deploys 802.1X-related configurations to the attached ONUs in bulk.

Operating mechanism

In the current software version, the following configurations can be deployed to ONUs:

·     Keepalive feature—With this feature enabled, an ONU will periodically transmit keepalive packets to the RADIUS servers to ensure connection reliability with the servers. With this feature enabled, you can modify the time interval for ONUs to transmit keepalive packets based on the actual conditions. After transmitting a keepalive packet to a RADIUS server, an ONU must receive a reply from the RADIUS server within one packet transmission interval. If not, the ONU retransmits the keepalive packet. If the number of retransmission failures reaches a certain number, the ONU considers the connection to the RADIUS server to have failed.

·     RADIUS connection parameters—Parameters used to establish connections between the ONUs and the RADIUS authentication and accounting servers, which mainly include server addresses, connection keys, and other information.

For more information about 802.1X, see 802.1X configuration in Security Configuration Guide.

Restrictions and guidelines

After you modify the connection parameters of the RADIUS authentication servers in authentication profile view, the system will clear all 802.1X users on the ONUs configured with that authentication profile.

After applying the authentication profile to ONUs, you must first remove it from these ONUs before you can delete it.

An authentication profile can be applied in FTTH view or OLT interface view. When applied in FTTH view, the configuration in the authentication profile will be deployed to all ONUs attached to all OLT interfaces. When applied in OLT interface view, the configuration in the authentication profile will be deployed to all ONUs attached to that OLT interface. For an OLT interface, the authentication profile applied to the OLT interface takes priority. The authentication profile applied in FTTH view takes effect only when no authentication profile is applied to the OLT interface.

Examples

# Create an ONU authentication profile named dot1x_temp and enter its view.

<Sysname> system-view

[Sysname] onu auth-profile dot1x_temp

[Sysname-onu-auth-profile-dot1x_temp]

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 | sn } * ]

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 | sn } * ]

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 or SNs are used for ONU binding.

mac: Specifies MAC address binding.

loid: Specifies LOID binding.

loid-password: Specifies LOID-password binding.

sn: Specifie SN 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 dot1x

Use onu dot1x to enable 802.1X on an ONU.

Use undo onu dot1x to disable 802.1X on an ONU.

Syntax

onu dot1x

undo onu dot1x

Default

802.1X authentication is enabled on an ONU.

Views

ONU interface view

Predefined user roles

network-admin

Examples

# Disable 802.1X on an ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] undo onu dot1x

onu dot1x

Use onu dot1x to enable 802.1X on an ONU.

Use undo onu dot1x to disable 802.1X for an ONU.

Syntax

onu dot1x

undo onu dot1x

Default

802.1X authentication is enabled on an ONU.

Views

ONU subinterface view

Predefined user roles

network-admin

Examples

# Disable 802.1X on an ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] undo onu dot1x

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

Views

ONU interface view

RONU interface view

Predefined user roles

network-admin

Usage guidelines

On an online ONU, you cannot change the loop protection action to no-learning.

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

radius accounting

Use radius accounting to configure connection parameters for RADIUS accounting servers.

Use undo radius accounting to remove the connection parameters for RADIUS accounting servers.

Syntax

radius accounting ip-address ip-address [ port port-number ] key simple string [ priority priority ]

undo radius accounting ip-address ip-address

Default

Connection parameters are not configured for RADIUS accounting servers.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the effective IPv4 address of a server.

port port-number: Specifies a port number for the server, in the range of 1 to 65535. The default is 1813.

key: Specifies a key for the server.

simple: Specifies an authentication key in plaintext form.

string: Specifies a case-sensitive key. A plaintext key is a string of 1 to 65 characters.

priority: Specifies a priority for the server, in the range 0 to 7. The default is 1.

Usage guidelines

You can configure up to four RADIUS accounting servers with different IP addresses.

If you execute this command multiple times with the same IP address, the most recent configuration takes effect.

Examples

# In an ONU authentication profile, configure a RADIUS accounting server with IP address 14.1.1.6 and configure a key.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] radius accounting ip-address 14.1.1.6  key simple passwordsimple

radius authentication

Use radius authentication to configure the connection parameters for RADIUS authentication servers.

Use undo radius authentication to remove the connection parameters for RADIUS authentication servers.

Syntax

radius authentication ip-address ip-address [ port port-number ] key simple string [ priority priority ]

undo radius authentication ip-address ip-address

Default

Connection parameters are not configured for RADIUS authentication servers.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the effective IPv4 address of a server.

port port-number: Specifies a port number for the server, in the range of 1 to 65535. The default is 1812.

key: Specifies a key for the server.

simple: Specifies an authentication key in plaintext form.

string: Specifies a case-sensitive key. A plaintext key is a string of 1 to 65 characters.

priority: Specifies a priority for the server, in the range 0 to 7. The default is 1.

Usage guidelines

You can configure up to four RADIUS authentication servers with different IP addresses.

If you execute this command multiple times with the same IP address, the most recent configuration takes effect.

After you modify the connection parameters of the RADIUS authentication servers in authentication profile view, the system will clear all 802.1X users on the ONUs configured with that authentication profile.

Examples

# In an ONU authentication profile, configure a RADIUS authentication server with IP address 14.1.1.5 and configure a key.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] radius authentication ip-address 14.1.1.5 key simple passwordsimple

radius accounting

Use radius accounting to configure connection parameters for RADIUS accounting servers.

Use undo radius accounting to remove the connection parameters for RADIUS accounting servers.

Syntax

radius accounting ip-address ip-address [ port port-number ] key simple string [ priority priority ]

undo radius accounting ip-address ip-address

Default

Connection parameters are not configured for RADIUS accounting servers.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the effective IPv4 address of a server.

port port-number: Specifies a port number for the server, in the range of 1 to 65535. The default value is 1813.

key: Specifies a key for the server.

simple: Specifies the authentication key in plaintext form.

string: Specifies a case-sensitive key. A plaintext key is a string of 1 to 65 characters.

priority: Specifies a priority for the server, in the range 0 to 7. The default is 1.

Usage guidelines

You can configure up to four RADIUS accounting servers with different IP addresses.

If you execute this command multiple times with the same IP address, the most recent configuration takes effect.

Examples

# In an ONU authentication profile, configure a RADIUS accounting server with IP address 14.1.1.6 and configure a key.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] radius accounting ip-address 14.1.1.6  key simple passwordsimple

radius authentication

Use radius authentication to configure the connection parameters for RADIUS authentication servers.

Use undo radius authentication to remove the connection parameters for RADIUS authentication servers.

Syntax

radius authentication ip-address ip-address [ port port-number ] key simple string [ priority priority ]

undo radius authentication ip-address ip-address

Default

Connection parameters are not configured for RADIUS authentication servers.

Views

Authentication profile view

Predefined user roles

network-admin

Parameters

ip-address: Specifies the effective IPv4 address of a server.

port port-number: Specifies a port number for the server, in the range of 1 to 65535. The default is 1812.

key: Specifies a key for the server.

simple: Specifies an authentication key in plaintext form.

string: Specifies a case-sensitive key. A plaintext key is a string of 1 to 65 characters.

priority: Specifies a priority for the server, in the range 0 to 7. The default is 1.

Usage guidelines

You can configure up to four RADIUS authentication servers with different IP addresses.

If you execute this command multiple times with the same IP address, the most recent configuration takes effect.

After you modify the connection parameters of the RADIUS authentication servers in authentication profile view, the system will clear all 802.1X users on the ONUs configured with that authentication profile.

Examples

# In an ONU authentication profile, configure a RADIUS authentication server with IP address 14.1.1.5 and configure a key.

<Sysname> system-view

[Sysname] onu auth-profile onu_certificate_temp

[Sysname-certificateprofile-onu_certificate_temp] radius authentication ip-address 14.1.1.5 key simple passwordsimple

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

reset onu dot1x-user

Use reset onu dot1x-user to clear 802.1X users on an ONU.

Syntax

reset onu dot1x-user

Views

ONU interface view

Predefined user roles

network-admin

Examples

# Clear 802.1X users on an ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] reset onu dot1x-user

reset onu dot1x-user

Use reset onu dot1x-user to clear 802.1X users on an ONU.

Syntax

reset onu dot1x-user

Views

ONU interface view

Predefined user roles

network-admin

Examples

# Clear 802.1X users on an ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] reset onu dot1x-user

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

Use uni mac-address static to configure static MAC address entries for a UNI.

Use undo uni mac-address static to delete static MAC address entries from a UNI.

Syntax

uni uni-number mac-address static mac-address

undo uni uni-number mac-address static { all | mac-address }

Default

No static MAC address entries are configured for a UNI.

Views

ONU interface View

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

mac-address: Specifies a static MAC address entry by its MAC address 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.

all: Specifies all MAC address entries that have been configured.

Usage guidelines

Application scenarios

To enhance the security of a UNI, you can manually add static MAC address entries for endpoints attached to this UNI to bind these endpoints to this UNI. This feature prevents unauthorized endpoints from accessing the network through the UNI.

Operating mechanism

After you execute this command for a UNI, only endpoints corresponding to the specified static MAC address entries can access the network through this UNI. Messages from other endpoints will be dropped by this UNI.

Restrictions and guidelines

A single UNI supports up to eight static MAC address entries.

Examples

# Configure static MAC address entries for a UNI.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 mac-address static 1-1-1

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 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 priority 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 priority in the PVID tag that it adds to incoming untagged frames. In QinQ mode, a UNI sets the 802.1p priority 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-8>. You can specify a maximum of 8 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 each 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 26. 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 26 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.

After the update onu filename command is successfully executed, you cannot use the undo update onu command to disrupt the process of sending the update file from the OLT to the 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 27.

Table 27 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 27. 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.

After the update onu type command is successfully executed, you cannot use the undo update onu type command to disrupt the process of sending the upgrade file from the OLT to the 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.

To create an RONU interface, first execute the member interface command to add member ports to the ROLT interface, and then use the using onu command to create an RONU interface.

If the onu bind auto command is executed in FTTH view or the configuration is being restored for an ONU, the undo using onu command is unavailable.

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

wan connection

Use wan connection to configure a WAN connection for an ONU.

Use undo wan connection to delete a WAN connection for an ONU.

Syntax

wan wan-number connection { bridge | route ip-address ip-address mask } { vlan vlan-id priority priority tag | transparent } service-type service-type [ binding { uni uni-list | ssid ssid-list }* ] [ connection-name connection-name ]

undo wan wan-number connection

Default

No WAN connection is configured for an ONU.

Views

ONU view

Predefined user roles

network-admin

Parameters

wan-number: Specifies a WAN connection number, in the range 1 to 32.

bridge: Specifies the Layer 2 service mode.

route: Specifies the Layer 3 service mode.

ip-address ip-address: Specifies the IPv4 address of a WAN interface in dotted decimal notation.

mask: Specifies the subnet mask of the IPv4 address, in dotted decimal notation.

vlan vlan-id: Specifies a service VLAN by its ID. The value for the vlan-id argument is in the range of 1 to 4094.

priority priority: Specifies an 802.1p priority value for packets, in the range of 0 to 7.

tag: Specifies the VLAN tagging mode. The ONU tags Ethernet frames that it receives with a VLAN tag before forwarding them.

transparent: Specifies the transparent VLAN transmission mode. In this mode, the ONU can transparently transmit the received Ethernet frames.

service-type service-type: Specifies a service type. Possible values include internet, internet-tr069, internet-voip, internet-voiptr069, tr069, voip, voiptr069, and other.

binding: Binds a WAN connection to UNIs or SSIDs, so the related customer-side service traffic will use that WAN connection. If you do not specify this keyword, the customer side determines the routes of packets.

uni uni-list: Specifies a list of multiple UNI numbers in the form of uni-list = { uni-number  }&<1-8>. The uni-number argument specifies a UNI number in the range of 1 to 8. The &<1- 8> parameter indicates that you can specify the preceding parameter for up to 8 times.

ssid ssid-list: Specifies an SSID list in the form of ssid-list = { ssid-id}&<1-8>. The ssid-id argument specifies an SSID in the range of 1 to 8. The &<1- 8> parameter indicates that you can specify the preceding parameter for up to 8 times.

connection-name connection-name: Specifies a WAN connection name, which must be a case-sensitive string of 1 to 32 characters and cannot contain hyphens (-). If you do not specify this option, no WAN connection name is used.

Examples

# Configure WAN connection 1 for an ONU as follows:

·     Specify the Layer 2 service mode, service VLAN 1, and the VLAN tagging mode.

·     Set the 802.1p priority to 1 for packets, and specify the service type as voip.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] wan 1 connection bridge vlan 1 priority 1 tag service-type voip

wan service

Use wan service enable to enable the WAN connection service for an ONU.

Use wan service disable to disable the WAN connection service for an ONU.

Use undo wan service to restore the default.

Syntax

wan wan-number service { nat { disable | enable } | dhcp { disable | enable } }*

undo wan wan-number service

Default

The WAN connection service is not configured for an ONU.

Views

ONU view

Predefined user roles

network-admin

Parameters

wan-number: Specifies a WAN connection number in the range 1 to 32.

nat: Specifies the NAT service.

dhcp: Specifies the DHCP service.

Examples

# Enable the NAT service for WAN connection 1 of the ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] wan 1 service nat enable

 

  • 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
新华三官网