H3C S3600 Series EPON OLT Switches Command Manual-Release 3103-6W100

01-EPON-OLT Command

Chapters Download  (151.79 KB)

01-EPON-OLT Command


OLT Configuration Commands

dba-algorithm enable

Syntax

dba-algorithm enable { extdba | intdba }

undo dba-algorithm update

View

OLT port view

Default Level

2: System level

Parameters

extdba: Enables the external DBA algorithm for implementation through an external DBA algorithm file.

intdba: Enables the internal DBA algorithm for implementation within the device.

Description

Use the dba-algorithm enable command to enable the internal or external DBA algorithm.

Use the undo dba-algorithm update command to remove the loaded external DBA algorithm file and restore the internal DBA algorithm.

By default, the internal DBA algorithm is enabled.

To use the dba-algorithm enable command to enable the external DBA algorithm, use the dba-algorithm update command to load the specified DBA algorithm file first.

 

To avoid service interruption, enable a new DBA algorithm when no service is in progress.

 

Examples

# Load an external DBA algorithm file plato2.app.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] dba-algorithm update plato2.app

 Updating external DBA-algorithm.......

# Enable the external DBA algorithm.

[Sysname-Olt1/0/1] dba-algorithm enable extdba

dba-algorithm update

Syntax

dba-algorithm update file-url

View

OLT port view

Default Level

2: System level

Parameters

update: Updates the external DBA algorithm.

file-url: String of up to 64 characters consisting of device name and the filename of the DBA algorithm. If no device name is entered, the Flash of the switching and routing process unit (SRPU) will be used. Moreover, the DBA algorithm file on the backup SRPU cannot be used for the upgrade.

Description

Use the dba-algorithm update command to load the specified external DBA algorithm file.

Examples

# Load the external DBA algorithm file plato2.app.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] dba-algorithm update plato2.app

 Updating external DBA-algorithm.......

dba-parameters

Syntax

dba-parameters { discovery-frequency value | discovery-length value | cycle-length value } *

undo dba-parameters { discovery-frequency | discovery-length | cycle-length } *

View

OLT port view

Default Level

2: System level

Parameters

discovery-frequency value: Specifies the cycle for the OLT to send discovery GATE frames (the cycle is known as grant cycle, which is measured in cycle-length). The value argument ranges from 25 to 100, and defaults to 50 if you do not use the discovery-frequency keyword (that is, the OLT sends discovery GATE frames every 50 cycle-lengths).

discovery-length value: Specifies the period in TQs for the OLT to discover ONUs. The value argument ranges from 21845 to 87381 and defaults to 41500.

cycle-length value: Specifies the cycle-length in TQs (cycle-length is the measurement unit of grant cycle). The value argument ranges from 32768 to 131070; it defaults to 65535 if you do not use the cycle-length keyword.

 

1 time quantum (TQ) is equal to 16 ns, which is the time it takes to transmit two bytes of data at 1 Gbps.

 

Description

Use the dba-parameters command to specify the cycle for the OLT to send discovery frames to ONUs and the period in TQs for the OLT to discover ONUs.

Use the undo dba-parameters command to restore the default DBA parameter values.

Use the two commands only when necessary.

Examples

# Configure OLT 1/0/1 to periodically send discovery GATE frames at the interval of 30 cycle-lengths.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] dba-parameters discovery-frequency 30

display epon-capability interface

Syntax

display epon-capability interface interface-type interface-number

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT or ONU.

interface-number: OLT/ONU port number.

 

l          An S3600 series EPON OLT switch provides two OLT ports: OLT 1/0/1 and OLT 1/0/2. On an S3600 series EPON OLT switch, the range of available ONU ports is ONU 1/0/1:1 to ONU1/0/1:64 and ONU1/0/2:1 to ONU1/0/2:64.

l          To create an ONU port, use the using onu command in OLT port view.

 

Description

Use the display epon-capability interface command to display OLT or ONU capability information.

l          If interface-type interface-number identifies an OLT port, the following information about the OLT is displayed: automatic gain control (AGC) time and clock data recovery (CDR) time.

l          If interface-type interface-number identifies an ONU port, the following information about the ONU is displayed: laser on time, laser off time, and grant FIFO deep.

 

l          Before displaying the version information about an ONU, make sure the ONU is bound and is in Up state (that is, the ONU is online). Refer to the bind onuid command for more.

l          Before displaying the version information about an OLT, make sure the OLT is in Up state.

 

l          Because location distance and external conditions of each ONU are different, the received signal maybe strong or weak. AGC time is the time used by the OLT to automatically restore the strength of the received signal to an acceptable level.

l          CDR time is the time used by the OLT to synchronize the phase and frequency of received signals.

l          ONU laser on time is the interval between when the ONU laser is turned on and when it becomes stable. ONU laser off time is the interval between when the ONU laser is turned off and when it becomes stable.

 

Examples

# Display OLT capability information.

<Sysname> display epon-capability interface olt 1/0/1

 OLT device capability information:

 AGC lock time(TQ): 14

 CDR lock time(TQ): 20

# Display ONU capability information.

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

 ONU device capability information:

 Laser on time(TQ) : 32

 Laser off time(TQ): 32

 Grant FIFO deep   : 8

Table 1-1 display epon-capability interface command output description

Field

Description

AGC lock time(TQ): 14

AGC time, in TQ

CDR lock time(TQ): 20

Clock data recovery time, in TQ

Grant FIFO deep   : 8

Grant queue depth, namely, size of the FIFO queue (measured by the number of timeslots)

 

display epon-parameter

Syntax

display epon-parameter slot slot-number

View

Any view

Default Level

1: Monitor level

Parameters

slot-number: Number of the slot where the OLT port resides. The value is 1.

Description

Use the display epon-parameter command to display related information of EPON parameters, such as message timeout time in extended OAM discovery, OUI and extended OAM version number list, and encrypted parameters.

Related commands: epon-parameter ouilist, encryption timer.

Examples

# Display related information of EPON parameters

<Sysname> display epon-parameter slot 1

 Parameters:

     oui: 111111     oam-version: 1 (default)

     oui: 111111     oam-version: 2

 encryption-timing :

     update-key-time : 10s

     no-reply-timeout : 3.0s

 eoam-discovery-timeout : 3.0s

Table 1-2 display epon-parameter command output description

Field

Description

Parameters

EPON system parameters

oui: 111111     oam-version: 1 (default)

The default Organizationally Unique Identifier (OUI) of EPON service board(s) and the extended OAM version

oui: 111111     oam-version: 2

The user-defined OUI and the extended OAM version

encryption-timing :

Encryption time

update-key-time : 10s

Key update interval, in seconds

no-reply-timeout : 3.0s

Encryption response timeout time, in seconds

eoam-discovery-timeout : 3.0s

Extended OAM discovery timeout time, in seconds

 

display epon-version interface

Syntax

display epon-version interface interface-type interface-number

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT or ONU.

interface-number: OLT/ONU port number.

Description

Use the display epon-version interface command to display OLT or ONU version information.

l          Before displaying the version information about an ONU, make sure the ONU is online.

l          Before displaying the version information about an OLT, make sure the OLT port is in Up state.

Examples

# Display OLT version information.

<Sysname> display epon-version interface olt 1/0/1

 OLT device version information:

 Firmware major version: 5

 Firmware minor version: 2

 Hardware major version: 5201

 Hardware minor version: 1

 Supported LLID number : 127

# Display ONU version information.

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

 ONU device version information:

 Hardware major version: 6301

 Hardware minor version: 0

 Supported LLID number : 1

 MAC type of UNI port  : GMII

Table 1-3 display epon-version command output description

Field

Description

Supported LLID number

Number of supported LLIDs

MAC type of UNI port

MAC type of a user network interface (UNI) port:

l      Gigabit Media Independent Interface (GMII)

l      Media Independent Interface (MII)

 

A Logical Link Identifier (LLID) uniquely identifies an ONU. It is dynamically allocated by an OLT.

 

display epon-workmode interface

Syntax

display epon-workmode interface interface-type interface-number

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT or ONU.

interface-number: OLT/ONU port number.

Description

Use the display epon-workmode interface command to display the current work mode of an OLT or ONU. If the port type is OLT, this command can also display its MAC address and dynamic bandwidth allocation (DBA) algorithm mode.

To display the working mode of an ONU, make sure the ONU is online.

Table 1-4 Work status and description

Item

Status

Description

OLT

open

The OLT is open.

closed

The OLT is closed.

ONU

open

The ONU is open.

closed

The ONU is closed.

DBA algorithm mode

internal

Internal DBA algorithm

external

External DBA algorithm

 

Examples

# Display the OLT working mode.

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

 OLT work mode:

 Status  : open

 MAC ADDR: 000f-e2a1-1027

 DBA mode: internal

# Display the ONU working mode.

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

 ONU work mode:

 Working status: open

 FEC mode : disable

Table 1-5 display epon-workmode command output description

Field

Description

Status: open

The OLT is open.

MAC ADDR: 000f-e2a1-1027

The MAC address the OLT resides is 000f-e2a1-1027.

All the OLT ports under a switch use the same MAC address.

DBA mode: internal

Internal DBA algorithm is adopted.

Working status: open

The ONU is open.

FEC mode : disable

FEC is disabled

 

display epon statistics interface

Syntax

display epon statistics interface interface-type interface-number

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT or ONU.

interface-number: OLT/ONU port number.

Description

Use the display epon statistics interface command to display the statistics on a specified ONU/OLT port, including average error rate of data bits or data frames of the data exchanged between the OLT and the ONUs.

 

 

l          To display the statistics of an OLT, make sure the OLT is up.

l          To display the statistics of an ONU, make sure the ONU is online.

l          This command displays the average error rate, instead of the accumulated error rate, within a sampling interval. An error rate value less than 1e-9 is displayed as 0.

 

Examples

# Display the statistics of an OLT port.

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

 OLT statistics:

 PON Bit error rate(in 1e-9 unit): 0

 CNI Bit error rate(in 1e-9 unit): 0

# Display the statistics of an ONU port.

<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

Table 1-6 display epon statistics interface command output description

Field

Description

PON Bit error rate(in 1e-9 unit)

PON Bit error rate

CNI Bit error rate(in 1e-9 unit)

Core Network Interface (CNI) Bit error rate.

 

display onuinfo

Syntax

display onuinfo { interface interface-type interface-number | slot slot-number }

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT or ONU.

interface-number: OLT/ONU port number.

slot-number: Number of the slot where the OLT port resides. The value is 1.

Description

Use the display onuinfo command to display the information about all the ONUs under an OLT port, ONU port, or slot 1 where the OLT port resides.

The displayed information includes ONU MAC address, LLID that OLT assigns to an ONU, actual length of the optical fiber between an OLT and an ONU, bound ONU port number, ONU type, hardware version, software version, EEPROM version, ONU status, and ONU MAC aging time.

Examples

# Display the information about all the legal ONUs under OLT 1/0/1 port.

<Sysname> display onuinfo interface Olt 1/0/1

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b90     1     <50   Onu1/0/1:2  ET704-A-L/B  110/100      Up    N/A

 000f-e234-5678     0     N/A   Onu1/0/1:1          N/A      N/A Offline    N/A

 000f-e276-4b93     0     N/A          N/A          N/A      N/A  Silent   284s

 

 ---  3 entries found  ---

# Display the information about ONU port ONU 1/0/1:2.

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

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b93     1     <50   Onu1/0/1:2  ET704-A-L/B  110/100      Up    N/A

 

 ---  1 entry found  ---

# Display the information about all the ONUs in slot 1 where the OLT port resides.

<Sysname> display onuinfo slot 1

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

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b93     1     <50   Onu1/0/1:2  ET704-A-L/B  110/100      Up    N/A

 000f-e234-5678     0     N/A   Onu1/0/1:1          N/A      N/A  Offline   N/A

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

 Error: The port's state should be up!

---  2 entries found  ---

Table 1-7 display onuinfo command output description

Field

Description

ONU Mac Address

MAC address of the ONU

LLID

Link ID that OLT automatically assigns to a registered ONU. 0 displays if the ONU is not registered.

Dist(M)

Actual length of the optical fiber between the OLT and the ONU. N/A displays if the ONU is not registered.

Port

Number of the port to which an ONU is bound. N/A displays if the ONU is not bound to any ONU port.

Board/Ver

ONU model and PCB version number. N/A displays if the ONU is not registered.

Sft/Eeprom

ONU software version number and EEPROM version number. N/A displays if the ONU is not registered.

State

State of an ONU:

l      Silent displays if the ONU is powered on but not bound to an ONU port.

l      Offline displays if the ONU is not powered on but bound to an ONU port.

l      Up displays if the ONU is started up and bound to an ONU port.

l      Down displays if the ONU is bound to an ONU port but is shut down manually.

Aging

MAC address aging time of an ONU in the silent state. N/A displays if the ONU is not in the silent state.

Error: The port's state should be up!

The OLT port is not UP.

 

display onuinfo mac-address

Syntax

display onuinfo mac-address mac-address

View

Any view

Default Level

2: System level

Parameters

mac-address: MAC address of the ONU.

Description

Use the display onuinfo mac-address command to display the information about the legal ONU with the specified MAC address.

Examples

# Display the information about the legal ONU with the specified MAC address.

<Sysname> display onuinfo mac-address 000f-e276-4b93

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b93     1     <50   Onu1/0/1:2  ET704-A-L/B  110/100      Up    N/A

 

---  1 entry found  ---

For the command output description, refer to Table 1-7.

display onuinfo silent

Syntax

display onuinfo silent { interface interface-type interface-number | slot slot-number }

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type, which can be OLT.

interface-number: OLT port number.

slot-number: Number of the slot where the OLT port resides. The value is 1.

Description

Use the display onuinfo silent command to display the information about all the silent ONUs connected to the specified OLT port or in slot 1.

Examples

# Display the information about all the silent ONUs connected to the EPON card seated in slot 1.

<Sysname> display onuinfo silent slot 1

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

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b90     0     N/A          N/A          N/A      N/A  Silent   266s

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

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b91     0     N/A          N/A          N/A      N/A  Silent   252s

---  2 entries found  ---

# Display the information about all the silent ONUs connected to OLT 1/0/1.

<sysname> display onuinfo silent interface Olt 1/0/1

 ONU Mac Address LLID Dist(M)         Port    Board/Ver  Sft/Epm   State  Aging

 000f-e276-4b90     0     N/A          N/A          N/A      N/A  Silent   243s

 ---  1 entry found  ---

For the command output description, refer to Table 1-7.

encryption timer

Syntax

encryption timer { update-time update-time | no-reply-timeout timeout }* slot slot-number

undo encryption timer slot slot-number

View

FTTH view

Default Level

2: System level

Parameters

update-time: Key update time, in seconds. It is in the range 1 to 255 and defaults to 10.

timeout: Encryption reply timeout time, in a unit of 100 ms. It is in the range 1 to 2550 and defaults to 30.

slot-number: Number of the slot where the OLT port resides. The value is 1.

Description

Use the encryption timer command to configure the key update time and encryption reply timeout time of the encryption.

Use the undo encryption timer command to restore the key update time and encryption reply timeout time of the encryption to the defaults.

Related command: display epon-parameter..

 

 

The encryption reply timeout time must be less than or equal to 10 times the key update time.

 

Examples

# Configure the key update time and encryption reply timeout time for the device as 20 seconds and 5 seconds (50 × 100 ms) respectively.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] encryption timer update-time 20 no-reply-timeout 50 slot 1

epon-parameter ouilist

Syntax

epon-parameter ouilist { oui oui-value oam-version version-value } &<1-9> slot slot-number

undo epon-parameter ouilist slot slot-number

View

FTTH view

Default Level

2: System level

Parameters

oui-value: OUI (Organizationally Unique Identifier) of the ONU.

version-value: OAM (Operation, Administration and Maintenance) version number of the ONU.

&<1-9>: Indicates that you can specify up to 9 OUI values/OAM version numbers.

slot-number: The slot number is 1 for the S3600 series EPON OLT switches.

Description

Use the epon-parameter ouilist command to configure the OUI and extended OAM version number of the ONU in the specified slot.

Use the undo epon-parameter ouilist command to cancel the configuration.

By default, the OUI and extended OAM version number are 111111 and 1 respectively. After this configuration, an H3C ONU attached to an OLT goes online after being bound with the specified ONU port (The OUI and extended OAM version number for an H3C ONU are 111111 and 1 respectively).

Note the following:

l          Entries with the same OUIs and extended OAM version numbers cannot be not configured at the same time on one EPON card.

l          When the OUI and extended OAM version number list of an EPON card changes (when a list is configured or canceled), all the ONUs under the EPON card will reregister.

Related commands: display epon-parameter.

 

For detailed information about extended OAM, refer to Extended OAM Configuration.

 

Examples

# Configure the OUI and extended OAM version number of the ONU connected to the EPON card in slot 1.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] epon-parameter ouilist oui 111111 oam-version 2 slot 1

grant-filtering enable

Syntax

grant-filtering enable

undo grant-filtering enable

View

OLT port view

Default Level

2: System level

Parameters

None

Description

Use the grant-filtering enable command to enable the grant filtering function on the OLT port.

Use the undo grant-filtering enable command to disable the grant filtering function on the OLT port. 

By default, this function is enabled.

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

max-rtt

Syntax

max-rtt value

undo max-rtt

View

OLT port view

Default Level

3: Manage level

Parameters

max-rtt value: Maximum round trip time (RTT) to be set. This argument ranges from 1000 to 25000 (in TQs). The system default is 13524 TQs.

Description

Use the max-rtt command to set the maximum RTT from the ONU to the OLT.

 

 

l          Configure the maximum RTT from the ONU to the OLT only when necessary. The relationship between the RTT and the distance (in meters) from the OLT to the ONU can be expressed by the formula: RTT = (Distance + 157)/1.6393.

l          The max-rtt command is applicable to unregistered ONUs only.

l          For details about RTT, refer the related sections in the operation manual.

 

Examples

# Set the maximum RTT of the ONU connected to OLT 1/0/1 to 25000 TQ.

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

 


ONU Remote Management Configuration Commands

bind onuid

Syntax

bind onuid onuid

undo bind onuid

View

ONU port view

Default Level

2: System level

Parameters

onuid: MAC address of the ONU to be bound, in the H-H-H format.

Description

Use the bind onuid command to bind the current ONU port to an ONU by associating the ONU port with the MAC address of the ONU.

Use the undo bind onuid command to unbind the ONU port from the ONU. The unbinding operation invalidates all related configuration for the ONU. 

 

l          An ONU port can be bound with only one ONU MAC address. Conversely, an ONU MAC address can be bound with only one ONU port under one OLT port.

l          In fiber backup, an ONU can be bound with two ONU ports under two OLT ports acting as backups for each other. For information about fiber backup, refer to DLDP – Fiber Backup Configuration.

Examples

# Bind port ONU 1/0/2:1 to an ONU whose MAC address is 000f-e200-0104.

<Sysname> system-view

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

[Sysname-Onu1/0/2:1] bind onuid 000f-e200-0104

dba-report queue-id

Syntax

dba-report queue-id queue-id { active | inactive } threshold threshold-value

undo dba-report queue-id

View

ONU port view

Default Level

2: System level

Parameters

queue-id: Queue number in the range 1 to 8.

threshold-value: Threshold of a queue, in the range 0 to 65535. The default thresholds of queue 4 and queue 5 are 65535, and the default thresholds of other queues are 0.

active: Activates the threshold.

inactive: Inactivates the threshold.

Description

Use the dba-report queue-id command to configure the threshold for a queue.

Use the undo dba-report queue-id command to restore the default threshold for a queue.

Examples

# Configure the threshold of queue 1 as 200 and activate the threshold.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] dba-report queue-id 1 active threshold 200

dba-report queue-set-number

Syntax

dba-report queue-set-number queue-set-number

undo dba-report queue-set-number

View

ONU port view

Default Level

2: System level

Parameters

queue-set-number: Number of queue sets. It is in the range 2 to 4 and defaults to 2.

Description

Use the dba-report queue-set-number command to configure the number of queue sets supported by ONU Report frames.

Use the undo dba-report queue-set-number command to restore the default number of queue sets supported by ONU Report frames.

 

 

H3C's ONU Report frames support up to two queue sets. 

 

Examples

# Configure the number of queue sets supported by ONU Report frames as 2.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] dba-report queue-set-number 2

deregister onu

Syntax

deregister onu

View

ONU port view

Default Level

2: System level

Parameters

None

Description

Use the deregister onu command to deregister the ONU under the ONU port.

Examples

# Deregister the ONU under ONU port ONU 1/0/1:1.

<Sysname> system-view

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

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

display onu-event interface

Syntax

display onu-event interface interface-type interface-number

View

Any view

Default Level

2: System level

Parameters

interface-type: Port type. It is ONU here.

interface-number: ONU port number.

Description

Use the display onu-event interface command to display the registration and deregistration records of an ONU.

 

l          An ONU supports up to 50 records. When the maximum number is reached, the latest record will override the oldest record.

l          Unbinding an ONU from an ONU port or resetting an ONU will clear all records about the ONU.

 

Examples

# Display the registration and deregistration information of the ONU bound to port ONU 1/0/1:1.

<Sysname> display onu-event interface onu 1/0/1:1

Date         Time       ONU Event       ONU Status

2007/07/28   13:57:03   Registration    Down

2007/07/28   18:00:06   Deregistration  Up

Table 2-1 display onu-event interface command output description

Field

Remarks

Date

Date when the ONU event occurs

Time

Time when the ONU event occurs

ONU Event

ONU event, which can be:

l      Registration

l      Deregistration

ONU Status

Sate of the ONU when the ONU event occurs, which can be:

l      Up: ONU deregistration occurs when the ONU is up.

l      Down: ONU registration occurs when the ONU is down.

 

display vendor-specific information

Syntax

display vendor-specific information

View

ONU port view

Default Level

1: Monitor level

Parameters

None

Description

Use the display vendor-specific information command to display the detailed information of the ONU when it is up.

Examples

# Display the detailed ONU information of 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 : 000f-e276-4b93

     onu model : 0x704

     onu hardware version : B

     onu software version : 110

 firmware version : 0x214

 chipset information :

     vendor id : 0x4536

     chip model : 6301

     revision version : 0x00

     design date : 07/09/27

 onu capability :

     gigabit ethernet interface :  not support

     fast ethernet interface :  support

     voip service :  not support

     tdm ces service :  not support

     gigabit ethernet ports number :  0

     fast ethernet ports number :  4

     fast ethernet ports :

       0x1

       0x2

       0x3

       0x4

     pots ports number :  0

     e1 ports number :  0

     upstream queues number :  4

     Maximum queues per port upstream :  4

     downstream queues number :  4

     Maximum queues per port downstream :  4

     battery backup :  not support

 forward error correction ability : support

 forward error correction mode : disable

 DBA-Report parameters :

      queue sets number : 2

      queue 1 : state:1 , value:0

      queue 2 : state:1 , value:0

      queue 3 : state:1 , value:0

      queue 4 : state:1 , value:65535

      queue 5 : state:1 , value:65535

      queue 6 : state:1 , value:0

      queue 7 : state:1 , value:0

      queue 8 : state:1 , value:0

Multicast-fastleave : disable

 ONU-Isolate state : disable

 Multicast-mode : multicast control 

Table 2-2 display vendor-specific information command output description

Field

Description

gigabit ethernet interface :  not support

Whether the ONU has Gigabit Ethernet ports

fast ethernet interface :  support

Whether the ONU has fast Ethernet ports

voip service :  not support

Whether the ONU supports Voice over IP (VoIP) service

tdm ces service :  not support

Whether the ONU supports the TDM Circuit Emulation Service (CES)

gigabit ethernet ports number :  0

Number of Gigabit Ethernet ports

fast ethernet ports number :  4

Number of fast Ethernet ports

fast ethernet ports :

0x1

0x2

0x3

0x4

Fast Ethernet port numbers: 1, 2, 3, 4

pots ports number :  0

Number of Plain Old Telephone Service (POTS) ports

e1 ports number :  0

Number of E1 ports

upstream queues number :  4

Number of upstream queues

Maximum queues per port upstream :  4

Maximum number of upstream queues supported per port

downstream queues number :  4

Number of downstream queues

Maximum queues per port downstream :  4

Maximum number of downstream queues supported per port

battery backup :  not support

Whether battery backup is supported

forward error correction ability : support

Whether Forward Error Correction (FEC) is supported

forward error correction mode : disable

Whether FEC is enabled

queue sets number : 2

Number of queue sets supported

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:1 , value:0

queue 7 : state:1 , value:0

queue 8 : state:1 , value:0

Queue states and thresholds. If the value of state is 0, it means the queue is disabled; if the value of state is 1, it means the queue is enabled.

Multicast-fastleave : disable

Whether multicast fast leave is enabled on the ONU port

ONU-Isolate state : disable

Whether port isolation is enabled on the ONU port

Multicast-mode : multicast control 

Multicast mode: IGMP Snooping (IGSP) or multicast control

 

encrypt enable

Syntax

encrypt enable

undo encrypt enable

View

ONU port view

Default Level

2: System level

Parameters

None

Description

Use the encrypt enable command to encrypt downstream data.

Use the undo encrypt enable command to disable stream encryption.

By default, encryption is enabled for downstream data.

Examples

# Enable downstream data encryption.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] encrypt enable

encrypt key

Syntax

encrypt key key-value

undo encrypt key

View

ONU port view

Default Level

2: System level

Parameters

key-value: Encryption key, a string of up to 16 characters.

Description

Use the encrypt key command to configure the encryption key.

Use the undo encrypt command to restore the default encryption key.

 

 

l          This command takes effect on H3C ONUs only.

l          Currently, the encrypt key command is not supported.

 

Examples

# Configure the encryption key as test.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] encrypt key test

 This operation is not supported in current version!

forward-error-correction enable

Syntax

forward-error-correction enable

undo forward-error-correction enable

View

ONU port view

Default Level

2: System level

Parameters

None

Description

Use the forward-error-correction enable command to enable forward error correction (FEC) on the OLT and ONUs.

Use the undo forward-error-correction enable command to disable this function.

This function is disabled by default.

Examples

# Enable FEC on the OLT and ONUs.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] forward-error-correction enable

ip address

Syntax

ip address { dhcp-alloc | ip-address mask gateway gateway }

undo ip address

View

ONU port view

Default Level

2: System level

Parameters

dhcp-alloc: Obtains an IP address through DHCP.

ip-address mask gateway gateway: Manually configures the IP address for the management VLAN, where ip-address is an IPv4 address, mask is a subnet mask (which is in dotted decimal notation or an integer in the range 0 to 32, indicating the network address length), and gateway is the gateway IP address.

Description

Use the ip address command to manually configure an IP address or obtain one through DHCP for the management VLAN of the ONU.

Use the undo ip address command to restore the default IP address of the management VLAN of the ONU.

By default, no IP address is configured for the management VLAN of the ONU, either manually or automatically through DHCP.

Examples

# Configure the IP address of the management VLAN of the ONU as 192.168.0.1/24 and gateway 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

management-vlan

Syntax

management-vlan vlan-id

undo management-vlan

View

ONU port view

Default Level

2: System level

Parameters

vlan-id: Specifies the management VLAN ID, in the range 1 to 4094.

Description

Use the management-vlan command to configure the management VLAN of the ONU.

Use the undo management-vlan command to restore the default management VLAN ID of the ONU.

By default, VLAN 1 operates as the management VLAN of the ONU.

Examples

# Configure the management VLAN of the ONU as VLAN 10.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] management-vlan vlan 10

onu-protocol pppoe enable

Syntax

onu-protocol pppoe enable

undo onu-protocol pppoe enable

View

ONU port view

Default Level

2: System level

Parameters

pppoe: Enables PPPoE+ for the ONU.

Description

Use the onu-protocol pppoe enable command to enable the PPPoE+ function for the ONU.

Use the undo onu-protocol pppoe enable command to disable the PPPoE+ function for the ONU.

The PPPoE+ function is disabled by default.

Examples

# Enable the PPPoE+ function for the ONU attached to ONU 1/0/1:1.

<Sysname> system-view

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

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

shutdown management-vlan-interface

Syntax

shutdown management-vlan-interface

undo shutdown management-vlan-interface

View

ONU port view

Default Level

2: System level

Parameters

None

Description

Use the shutdown management-vlan-interface command to shut down the management VLAN interface of the ONU.

Use the undo shutdown management-vlan-interface command to bring up the management VLAN interface of the ONU.

By default, a management VLAN interface is down.

After the undo shutdown management-vlan-interface command is used:

l          A management VLAN interface is down if all the Ethernet ports in the management VLAN of the ONU are down;

l          A management VLAN interface is up if one or more Ethernet ports in the management VLAN of the ONU are up.

Examples

# Bring up the management VLAN interface of the ONU.

<Sysname> system-view

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

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

upstream-sla

Syntax

upstream-sla { minimum-bandwidth value1 | maximum-bandwidth value2 | delay { low | high } } *

undo upstream-sla

View

ONU port view

Default Level

2: System level

Parameters

minimum-bandwidth value1: Specifies the minimum uplink bandwidth, in the unit of 64 kbps. value1 is in the range 8 to 14400 and defaults to 32.

maximum-bandwidth value2: Specifies the maximum uplink bandwidth, in the unit of 64 kbps. value2 is in the range 8 to 16000 and defaults to 368.

delay: Specifies the delay mode. The low keyword means that low delay is adopted and the high keyword is high delay. Low delay is adopted by default.

Description

Use the upstream-sla command to set the ONU's minimum uplink bandwidth, maximum uplink bandwidth, and delay mode of packet forwarding through the EPON system.

Use the undo upstream-sla command to restore the default values.

 

The sum of the minimum uplink bandwidths configured for all the created ONU ports under an OLT port cannot exceed 921600 kbps, namely, 900 Mbps.

 

Examples

# Set the ONU port's minimum uplink bandwidth to 9600 kbps and maximum uplink bandwidth to 12800 kbps.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] upstream-sla minimum-bandwidth 150 maximum-bandwidth 200

 Info: The minimum-bandwidth of upstream is 9600 Kbps

 Info: The maximum-bandwidth of upstream is 12800 Kbps

H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.