20-GPON

HomeSupportSwitchesS7500X-G SeriesReference GuidesCommand ReferencesH3C S7500X-G Switch Series Command References-R7761Pxx-6W10020-GPON
01-GPON basics commands
Title Size Download
01-GPON basics commands 560.83 KB

GPON basics

GPON basics commands

activate onu

Use activate onu to activate a GPON ONU.

Use undo activate onu to deactivate an ONU.

Syntax

activate onu

undo activate onu

Default

The ONU connected to an ONU interface is in active state.

Views

ONU interface view

Predefined user roles

network-admin

Usage guidelines

To use a GPON ONU correctly, you must first activate it.

Examples

# Activate the ONU connected to interface ONU 1/0/2:1.

<Sysname> system-view

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

[Sysname-Onu1/0/2:1] activate onu

authentication-mode

Use authentication-mode to configure the ONU authentication mode.

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

Syntax

authentication-mode sn

undo authentication-mode sn

Default

An OLT interface uses the SN mode for ONU authentication.

Views

FTTH view

OLT interface view

Predefined user roles

network-admin

Parameters

sn: Specifies the SN mode. In this mode, an OLT interface authenticates ONUs based on the SN.

Usage guidelines

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. An OLT interface preferentially uses the interface-specific ONU authentication mode. If no interface-specific ONU authentication mode is available, the OLT interface uses the ONU authentication mode configured in FTTH view.

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

Examples

# Set the ONU authentication mode to SN on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] authentication-mode sn

bind onu-id

Use bind onu-id to bind a GPON ONU to an ONU interface and apply an ONU line profile.

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

Syntax

bind onu-id sn serial-number

undo bind onu-id

Default

An ONU interface is not bound to any ONU.

Views

ONU interface view

Predefined user roles

network-admin

Parameters

sn: Binds an ONU by its serial number (SN).

serial-number: Specifies the SN of an ONU, which is a case-sensitive string of 12 characters.

Usage guidelines

Application scenarios

When you bind a GPON ONU to an ONU interface, the specified (or default) ONU interface commands will be automatically issued to that ONU interface.

Restrictions and guidelines

You can bind only one ONU to an ONU interface.

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

After you bind an ONU, you can use the bind onu-line-profile command to apply a line profile to the bound ONU.

Examples

# Bind the GPON ONU with the specified SN to interface ONU 1/0/2:1.

<Sysname> system-view

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

[Sysname-Onu1/0/2:1] bind onu-id sn h3c-12345678

Related commands

onu line-profile

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 sn serial-number

undo blacklist onu-id sn serial-number

Default

No ONU is added to the ONU blacklist.

Views

FTTH view

Predefined user roles

network-admin

Parameters

serial-number: Specifies the SN of an ONU, which is a case-insensitive string of 12 characters. The SN cannot contain question marks (?) or hexadecimal digits in the range of 0x0 to 0x20, and cannot start or end with any of the following characters DEL, @, ., ,, !, ;, :, `, and ".

Usage guidelines

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

After you configure the ONU blacklist, the system will check whether any ONU that comes online is on the blacklist.

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

Examples

# Add an ONU with the specified SN to the ONU blacklist.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] blacklist onu-id sn h2c-12345678

dba bandwidth-assignment-mode

Use dba bandwidth-assignment-mode to configure the dynamic bandwidth assignment (DBA) mode.

Use undo dba bandwidth-assignment-mode to restore the default.

Syntax

In standalone mode:

dba bandwidth-assignment-mode slot slot-number min-delay

undo dba bandwidth-assignment-mode slot slot-number

In IRF mode:

dba bandwidth-assignment-mode chassis chassis-number slot slot-number min-delay

undo dba bandwidth-assignment-mode chassis chassis-number slot slot-number

Default

The DBA mode is set to minimum delay.

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

min-delay: Specifies the minimum delay mode.

Usage guidelines

Operating mechanism

The DBA calculation period refers to the interval at which the OLT assigns bandwidth to an ONU. In a PON network, bandwidth is shared among OLTs and ONUs, so the DBA calculation period is used to dynamically assign bandwidth to meet diverse user requirements. A shorter DBA calculation period can enhance the precision and efficiency of bandwidth assignment but also increase network overhead.

Examples

# Configure the DBA mode as minimum delay for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] dba bandwidth-assignment-mode slot 1 min-delay

display dhcp-client

Use display dhcp-client to display IP address assignment information for an ONU that acts as a DHCPv4 client.

Syntax

display dhcp-client

Views

ONU interface view

Predefined user roles

network-admin

network-operator

Parameters

Examples

# Display IP address assignment information for the ONU bound to ONU 1/0/1:1 that acts as a DHCPv4 client. (The output from this command varies by device model.)

<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

Table 1 Command output

Field

Description

DHCP client statistic information

DHCP client statistics.

Current machine state

State of the DHCP client state machine.

 

display interface

Use display interface to display information of an OLT interface or ONU 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 or Onu. If you do not specify an interface type, this command displays information about all interfaces supported by the device.

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, this 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.

Examples

# Display detailed 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%

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

  XGSPON input (normal): 100000 packets, 12893588 bytes

           - unicasts, - broadcasts, - multicasts, 0 pauses

  XGSPON input: 0 input errors, 0 runts, 0 giants, 0 CRC

  XGSPON output (normal): 100000 packets, 12845974 bytes

           - unicasts, - broadcasts, - multicasts, 0 pauses

  XGSPON output: 0 output errors

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

Known-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 2 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.

Description

Description of the interface.

Maximum frame length

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

Port hardware type is

Interface hardware type.

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.

Known-unicast max-ratio

Known 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

Last 300 seconds output

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.

In the current software version, an ONU interface does not support collecting the average rate statistics.

 Input (total)

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)

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.

Input

Statistics of abnormal packets received by the interface, including:

·     input errors—Number of inbound error packets.

·     runts—Number of runt frames.

·     giants—Number of giant frames.

·     throttles—Number of frames that had a non-integer number of bytes.

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

·     frame—Number of frames that contained CRC errors and a non-integer number of bytes.

·     overruns—Number of packets dropped because the input rate of the port 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 port ran low.

·     parity errors—Number of frames with parity errors.

Output (total)

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)

 

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.

Output

Statistics of abnormal packets sent by the interface, including:

·     output errors—Statistics of outbound error packets.

·     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 Ethernet 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 port failed to detect the carrier when attempting to send frames. This counter increases by one when a port failed to detect the carrier, and applies to serial WAN interfaces.

XGSPON input (normal)

The two fields on the first line represent the outbound normal traffic and pause frame statistics (in packets and bytes) for the XGSPON 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.

XGSPON input

Statistics of abnormal packets received by the XGSPON interface, including:

·     input errors—Number of inbound error packets.

·     runts—Number of runt frames.

·     giants—Number of giant frames.

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

XGSPON output (normal)

The two fields on the first line represent the outbound normal traffic and pause frame statistics (in packets and bytes) for the XGSPON 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.

XGSPON output

Number of error packets sent by the XGSPON interface

Brief information on interfaces in bridge mode

Summary information of the Layer 2 interface.

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 (PVID) of the interface.

Description

Description of the interface.

 

display onu

Use display onu to display ONU information.

Syntax

In standalone mode:

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

In IRF mode:

display onu [ silent [ sn ] | 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 ONUs in silent (unregistered) state. If you specify this keyword without specifying the [ mac | loid ] parameter, the displayed ONUs are all bound by MAC address.

sn: Specifies ONUs bound by SN.

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 keep-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 and number. The interface-type argument specifies an interface type, which can be olt or onu. The interface-number argument specifies an interface 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 information about the ONUs in slot 1.

<Sysname> display onu status slot 1

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

SN             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      N/A            Offline  239        Onu1/0/1:3 Interface

...

 

ONUs found: 128

  Up ONUs: 109

  Down ONUs: 8

  Offline ONUs: 11

Table 3 Command output

Field

Description

SN

ONU serial number. This field is displayed only for ONUs bound to ONU interfaces.

Port

Bound ONU interface.

Model

ONU model. If the ONU is offline, this field displays N/A.

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

Description of the ONU interface.

If no description is configured for the ONU interface by using the description command, this field displays Interface name Interface, for example, Onu1/0/1:1 Interface.

ONUs found

Total number of ONU 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 the specified slot.

<Sysname> display onu slot 1

---------------------------------- Olt1/0/24 --------------------------------

 

SN           Distance      Port             Model          Sft/Epm    State     Aging

Version/LineProfile/Loid/Password

H3CT904094C9 <1000         Onu1/0/24:1      ET904-H        107/       Up        N/A

A/ys2//

H3CT000006F6 <1000         Onu1/0/24:2      EGT904-H-TW    111/       Up        N/A

V1.0.1/ys2//

...

Table 4 Command output

Field

Description

SN

SN of the ONU.

Distance

Length of the optical fiber between the OLT and the ONU, in meters. If the optical fiber is significantly shorter than 1 km, this field displays <1000. If the ONU is not registered successfully, this field displays N/A.

Port

Bound ONU interface. If the ONU is not bound, this field displays N/A.

Model

ONU model. This field displays N/A if the ONU is not registered successfully.

Sft/Epm

Software version number and electrically erasable programmable read-only memory (EEPROM) version number of the ONU.

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

State

ONU state:

·     Silent—The ONU is powered on, and it is not bound to an ONU interface.

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

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

·     Down—The ONU is bound to an ONU interface, but the ONU interface is manually shut down.

Aging

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

The port is down.

The OLT interface is down.

 

display onu sn

Use display onu sn to display information about the legal ONU with the specified SN.

Syntax

display onu sn serial-number

Views

Any view

Predefined user roles

network-admin

Parameters

serial-number: Specifies the SN of an ONU, which is a case-sensitive string of 12 characters. The SN cannot contain question marks (?) or hexadecimal digits in the range of 0x0 to 0x20, and cannot start or end with any of the following characters DEL, @, ., ,, !, ;, :, `, and ".

Examples

# Display information about the legal ONU with the specified SN.

<Sysname> display onu sn h3c-12345678

SN           Distance       Port           Model/Version  Sft/Epm    State Aging        Password       ONU Line Profile

h3c-12345678 1200m          Onu1/0/1       BT/BV          S/E        Up   N/A          test           VOIP

For the descriptions on the fields, see the command output in "display onu."

display packet-drop

Use display packet-drop to display information about packets dropped by 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

mdc-admin

mdc-operator

Parameters

interface-type: Specifies an interface type.

interface-number: Specifies an interface number.

summary: Displays the accumulative statistics of dropped packets on all interfaces that support this command.

slot [ slot-number ]: Specifies a card by its slot number. If you do not specify a card, this command displays entries 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 the chassis-number argument, this command displays entries on all cards on all member devices. If you do not specify the slot keyword, this command displays entries on all member devices. (In IRF mode.)

Usage guidelines

If you do not specify an interface type or interface number, this command displays dropped packet information for all interfaces that support this command.

If you specify an interface type but do not specify an interface number, this command displays dropped packet information for all interfaces of the specified type.

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 dropped packet statistics for all slots.In standalone mode:

<Sysname> display packet-drop slot

Slot            Total

0               210

1               210

2               210

# (In IRF mode.) Display dropped packet statistics for all slots of all chassis.In IRF mode:

<Sysname> display packet-drop chassis

Chassis         Slot            Total

1               0               210

2               0               210

                1               210

                2               210

Table 5 Command output

Field

Description

Packets dropped due to full GBP or insufficient bandwidth

Number of packets that are dropped because the buffer is used up or the bandwidth is insufficient.

Packets dropped due to Fast Filter Processor (FFP)

Number of packets that are filtered out.

Packets dropped due to STP non-forwarding state

Number of packets dropped because STP is in the non-forwarding state.

Packets of ECN marked

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

Slot

Slot number.

Chassis

Chassis number.

Total

Dropped packet statistics.

 

display pon authentication-mode

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

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

interface-type: Specifies an interface type, which can be Olt.

interface-number: Specifies an interface number.

Examples

# Display all ONU authentication mode settings.

<Sysname> display pon authentication-mode

Ftth authentication mode:-

Interface              Authentication-mode

Olt1/0/1               sn

Table 6 Command output

Field

Description

Ftth authentication mode

ONU authentication mode configured in FTTH view:

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

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

¡     mac—Authenticates ONUs based on the MAC address.

¡     loid—Authenticates ONUs based on the LOID.

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

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

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

¡     sn—Authenticates ONUs based on the SN.

¡     sn and password—Authenticates ONUs based on the SN and password.

¡     password—Authenticates ONUs based on the password.

Interface

Interface name.

Authentication mode

Interface-specific ONU authentication mode:

·     If the ONU authentication mode is not configured for an OLT interface, the OLT interface is not displayed. In this case, the OLT interface uses the authentication mode settings configured in FTTH view.

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

¡     mac—Authenticates ONUs based on the MAC address.

¡     loid—Authenticates ONUs based on the LOID.

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

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

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

¡     sn—Authenticates ONUs based on the SN.

¡     sn and password—Authenticates ONUs based on the SN and password.

¡     password—Authenticates ONUs based on the password.

 

display pon diagnostic dba

Use display pon diagnostic dba to display GPON DBA diagnostic information.

Syntax

In standalone mode:

display pon diagnostic dba slot slot-number

In IRF mode:

display pon diagnostic dba chassis chassis-number slot slot-number

Views

Any 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

In the current software version, DBA diagnostic information only includes the real-time obtained bandwidth allocation information of ONUs.

Examples

# Display GPON DBA diagnostic information on the specified slot.

<Sysname> display pon diagnostic dba slot 7

                 Total   Free    Fix     Assure

Olt7/0/1        8500000 8369312 129216  1472

                 AllocId Fix     Assure  Max

Onu7/0/1:1      1024    1216    1472    2688

Onu7/0/1:1      1025    0       0       10000000

Table 7 Command output

Field

Description

Total

Total bandwidth in kbps.

Free

Unassigned bandwidth in kbps.

Fix

Fixed bandwidth in kbps.

Assure

Assured bandwidth in kbps.

AllocId

Allocation ID, which distinguishes different T-CONTs on the same ONU subinterface.

Max

Maximum bandwidth in kbps.

 

display pon diagnostic config

Use display pon diagnostic config to display the profile state information of an ONU subinterface.

Syntax

display pon diagnostic config interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type, which can be Onu.

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

Examples

# Display the profile state information of the specified ONU subinterface.

<Sysname> display pon diagnostic config interface onu 1/0/1:1.2

Line Profile: line_profile_default

 Cfg  Profile: config_profile_default

 Mapping Mode: uni

 Upstream Fec: Default

 Encrypt: Enable

 SubInterface Number: 1

  SubInterface 1:

        Service Profile Name: service_profile_default

        Tcont Name: tcont_default

        Mapping info:

                Priority:

                Uni:all

                Vlan:

 Tcont Number: 1

  Tcont 1:

        Tcont Name: tcont_default

        Dba Name: dba_profile_default

Table 8 Command output

Field

Description

Line Profile

ONU line profile name.

Cfg  Profile

ONU configuration profile name.

Mapping Mod

ONU traffic mapping mode of an ONU subinterface.

Upstream Fec

FEC enabling state on the ONU subinterface.

·     Default—FEC is enabled.

·     Disable—FEC is disabled.

Encrypt

Downstream traffic encryption for ONUs.

·     Enable—Downstream traffic encryption is enabled.

·     Disable—Downstream traffic encryption is disabled.

SubInterface Number

Number of ONU subinterfaces.

Service Profile Name

ONU subinterface service profile name.

Tcont Name

T-CONT name.

Mapping info

Traffic mapping information for ONU subinterfaces.

Tcont Number

Number of T-CONTs.

Tcont Name

T-CONT name.

Dba Name

ONU DBA profile name.

 

display pon diagnostic config-error

Use display pon diagnostic config-error to display GPON configuration deployment failure information.

Syntax

In standalone mode:

display pon diagnostic config-error { slot slot-number | interface interface-type interface-number }

In IRF mode:

display pon diagnostic config-error { chassis chassis-number slot slot-number | interface interface-type interface-number }

Views

Any 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.)

interface-type: Specifies an interface type, which can be Onu.

interface-number: Specifies an interface number.

Examples

# Display profile configuration deployment failure information for the specified slot.

<Sysname> display pon diagnostic config-error slot 1

Onu1/0/1:1

 Line Profile Name: line_profile_default  Cfg  Profile Name: config_profile_default

Onu1/0/1:2

 Line Profile Name: l1    Cfg  Profile Name: 1

Onu1/0/1:3

 Line Profile Name: line_profile_default  Cfg  Profile Name: config_profile_default

Onu1/0/4:1

 Line Profile Name: l2    Cfg  Profile Name: 1

Table 9 Command output

Field

Description

Line Profile Name

ONU line profile name.

Cfg  Profile Name

ONU configuration profile name.

 

display pon diagnostic status

Use display pon diagnostic status to display the link state of an ONU subinterface.

Syntax

display pon diagnostic status interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type, which can be Onu.

interface-number: Specifies an interface number.

Examples

# Display the link state of the specified ONU subinterface.

<Sysname> display pon diagnostic status interface onu 1/0/1:1

 UpTime                : 2024-12-09 11:29:13

 DownTime              : 2024-12-09 11:29:11

 DownCause             : Change ONU distance triggers offline

Table 10 Command output

Field

Description

UpTime

Time when an ONU interface came online.

DownTime

Most recent time when an ONU interface went offline.

DownCause

Most recent reason for which an ONU interface went offline.

 

display pon onu-event

Use display pon onu-event to display the registration and deregistration records of 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, which can be Onu.

interface-number: Specifies an interface number.

Examples

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

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

Date         Time       ONU Status    ONU Event

2015/06/24   14:41:18   Up            Registration

2015/06/24   14:41:59   Down          Deregistration

2015/06/24   14:42:02   Up            Registration

2015/06/24   14:42:49   Down          Deregistration

Table 11 Command output

Field

Description

Date

Date when the ONU event occurred.

Time

Time when the ONU event occurred.

ONU Event

ONU event:

·     Registration.

·     Deregistration.

·     Lob—Packet loss.

·     Onu change Distance—The distance between the ONU and the OLT changed.

ONU Status

State of the ONU when the ONU event occurred:

·     Up.

·     Down.

 

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.

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

Use display pon onu-update to display 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 all OLT interfaces on a card specified by its slot number. (In standalone mode.)

chassis chassis-number slot slot-number: Specifies all OLT interfaces on 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 13 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 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 pon optics-parameters

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

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, which can be Olt.

interface-number: Specifies an OLT interface number.

Examples

# Display optical parameters for interface 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

 Receiving power   :-15.00 dBm

Table 14 Command output

Field

Description

Optical parameters

Optical parameters.

Temperature

Temperature.

Voltage

Voltage

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.

Receiving power

Receive power.

For OLT interfaces on 10G-PON cards, this field becomes Receiving power(1G/10G) and displays the receive powers for both 1G-PON interfaces and 10G-PON interfaces, for example, -15.00 dBm/-5.00 dBm.

 

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, which can be Olt or Onu.

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 about an OLT.

<Sysname> display pon version interface olt 1/0/1

Chip     : V1R1B1D008SP11, 20240716

Dba      : SoftWare, 20240815

Software : Mon Aug 19 07:45:13 UTC 2024

# Display version information about an ONU.

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

 Model       : 9046

 HardWare    : A

 Software    : 106

 Extend Model: ET904-H

Table 15 Command output

Field

Description

Olt

Chip

FPGA version of the OLT.

Dba

Software DBA version. Software indicates DBA is implemented by software.

Software

Time when the software DBA version was compiled.

Onu

Model

ONU model.

Hardware

Hardware version number of the ONU.

Software

Software version number of the ONU.

Extend Model

Complete ONU model.

 

display uni

Use display uni to display information about a UNI on an ONU.

Syntax

display uni uni-number

Views

ONU interface view

Predefined user roles

network-admin

network-operator

Parameters

uni-number : Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on the ONU. An ONU supports up to 32 UNIs.

Examples

# Display information about UNI 1 of the ONU.

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

  VLAN ID:100

  Multicast MAC address:0100-5e00-0002

 Link state : DOWN

 Local autonegotiation ability :

   Full duplex 10M

   Full duplex 100M

   Full duplex 1000M

   Half duplex 10M

   Half duplex 100M

   Half duplex 1000M

 Autonegotiation advertisement ability :

   Full duplex 10M

 

   Full duplex 100M

   Full duplex 1000M

   Half duplex 10M

   Half duplex 100M

   Half duplex 1000M

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

 Input: 0 input errors, 0 runts, 0 giants,0 CRC,

         0 drop_events

 Packets of length(in octets):

         64: 0, 65-127: 0, 128-255: 0,

         256-511: 0, 512-1023: 0, 1024-1518: 0

 Output(total): 0 packets, 0 bytes

         0 broadcasts, 0 multicasts, 0 unicasts

 Output: 0 output errors, 0 runts, 0 giants, 0 CRC,

         0 drop_events

 Packets of length(in octets):

         64: 0, 65-127: 0, 128-255: 0,

         256-511: 0, 512-1023: 0, 1024-1518: 0

 Status change: 0 times

Table 16 Command output

Field

Description

UNI

UNI number.

Description

UNI description. This field is empty when the UNI is not configured with a description.

Port status

Administrative interface status:

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

·     Undo shutdown—The interface is administratively up.

Flow control

Flow control state:

·     Open—Flow control is enabled.

·     Closed—Flow control is disabled.

Autonegotiation state

Autonegotiation state:

·     Enable—Autonegotiation is enabled.

·     Disable— Autonegotiation is disabled.

Port isolation

Whether the interface is assigned to a port isolation group:

·     Enable—The interface has been assigned to a port isolation group.

·     Disable—The interface is not assigned to a port isolation group.

MDI type

MDIX mode. Options include Automdix, Mdi, and Mdix. The value for this field depends on the user configuration.

Port policy

Upstream/downstream traffic policing parameters of the UNI:

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

·     Outbound—Downstream 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.

Classification & marking

Traffic class configuration.

Multicast VLAN

Multicast VLAN to which the UNI is assigned.

Multicast groups

Number of multicast channels supported by the UNI.

Multicast VLAN untagging

Whether the feature of removing the VLAN tags of the downstream multicast packets is enabled on the UNI.

Multicast VLAN forwarding info

Unknown multicast packet transparent transmission configuration information of the UNI.

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 state of the interface:

·     UP.

·     DOWN.

100Mbps-speed mode, Full-duplex mode

The port operates at 100 Mbps in full duplex mode.

Link speed type is autonegotiation, Link duplex type is autonegotiation

Both the speed and duplex mode of the port are autonegotiated.

Input(total)

Statistics of packets received by the interface, including:

·     Packet count and byte count.

·     Number of broadcast packets, number of multicast packets, and number of unicast packets received on the interface.

Input

Counts for the following frames received on the interface:

·     Error frames.

·     Runt frames.

·     Giant frames.

·     Frames having the CRC errors.

·     Fragment frames.

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

·     Discards—Discarded packets.

·     drop_events—Drop events.

·     errors—Error packets.

Packets of length(in octets)

Number of packets with different byte lengths received by the interface.

Output(total)

Statistics of packets sent by the interface, including:

·     Packet count and byte count.

·     Number of broadcast packets, number of multicast packets, and number of unicast packets sent on the interface.

Output

Counts for the following frames sent on the interface:

·     Error frames.

·     Runt frames.

·     Giant frames.

·     Frames having the CRC errors.

·     Fragment frames.

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

·     Discards—Discarded packets.

·     drop_events—Drop events.

·     errors—Error packets.

Packets of length(in octets)

Number of packets with different byte lengths sent by the interface.

Status change

Administrative status change count of the interface.

 

display vendor-specific information

Use display vendor-specific information to display detailed ONU information.

Syntax

display vendor-specific information

Views

ONU interface view

Predefined user roles

network-admin

Examples

# Display detailed information about the ONU attached to interface 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 : H3CT

     ONU MAC address : 0000-0000-0000

     ONU model : EGT904-H-TW

     ONU hardware version : V1.0.1

     ONU software version : 212

     ONU extend model : EGT904-H-TW

 ONU capability :

     Gigabit ethernet interface :  Support

     Fast ethernet interface :  Not support

     VoIP service :  Support

     TDM ces service :  Not support

     Gigabit ethernet ports number :  4

     Fast ethernet ports number :  0

     POTS ports number :  1

     E1 ports number :  0

     Upstream queues number :  120

     Maximum queues per port upstream :  0

     Downstream queues number :  32

     Maximum queues per port downstream :  0

     Battery backup :  Not support

 ONU capability2 :

     ONU type :  SFU

     LLID number :  0

     Protection type :  Not support

     Slot number :  0

     PON number :  1

     Interface type number :  3

     VoIP ports number :  1

     GE ports number :  4

     FE ports number :  0

     WLAN ports number :  2

     CATV RF ports number :  0

 Onu-Type : 10G/10G

Table 17 Command output

Field

Description

Serial number

Serial number.

Vendor ID

ONU vendor ID.

ONU MAC address

MAC address of the ONU.

ONU model

ONU type.

ONU hardware version

ONU hardware version.

ONU software version

ONU software version.

ONU extend model

Complete ONU model. This field is required for the CTC 3.0 standard.

Firmware version

Firmware version.

Chipset information

Chip information.

·     Vendor ID.

·     Chip model.

·     Revision version.

·     Design date.

ONU capability

ONU capability information.

·     Gigabit Ethernet interface—Whether GE interfaces are supported..

·     Fast Ethernet interface—Whether 100-Mbps Ethernet interfaces are supported..

·     VoIP service—Whether the voice over IP (VoIP) service is supported.

·     TDM ces service—Whether the time division multiplexing (TDM) circuit emulation service (CES) service is supported.

·     Gigabit ethernet ports number—Number of GE interfaces.

·     Fast ethernet ports number—Number of 100-Mbps Ethernet interfaces.

·     POTS ports number—Number of Plain Old Telephone Service (POTS) interfaces.

·     E1 ports number—Number of E1 interfaces.

·     Upstream queues number—Number of upstream queues.

·     Maximum queues per port upstream—Maximum number of upstream queues supported on each interface.

·     Downstream queues number—Number of downstream queues.

·     Maximum queues per port downstream—Maximum number of downstream queues supported on each interface.

·     Battery backup—Whether battery backup is supported.

ONU capability(CTC2.1)

ONU capability information (CTC2.1 standard).

·     ONU type—ONU form factor, including:

¡     Single Family Unit (SFU). 

¡     Home Gateway Unit (HGU). 

¡     Single Business Unit (SBU). 

¡     Fixed-port Multi-Dwelling Unit (MDU). 

¡     Modular MDU. 

¡     Multi-Tenant Unit (MTU).

·     LLID number—Number of LLIDs supported by the ONU.

·     Protection type—Optical link protection types supported by the ONU, including type C and type D.

·     Slot number—Number of service slots of a modular ONU.

·     PON number—Number of upstream PON interfaces supported by the ONU.

·     Interface type number—Number of interface types on the ONU.

·     VoIP port number—Number of VoIP interfaces on the ONU.

·     GE ports number—Number of GE interfaces on the ONU.

·     FE ports number—Number of 100-Mbps Ethernet interfaces on the ONU.

·     WLAN ports number—Number of WLAN interfaces on the ONU.

·     CATV RF ports number—Number of CATV RF interfaces on the ONU.

ONU capability(CTC3.0)

ONU capability information (CTC3.0 standard).

·     IPv6 supported—Whether IPv6 awareness is supported.

·     Power supply control—Whether ONU power control is supported, including ONU Tx power control and ONU Rx power control.

·     Service SLA—Whether the Service Level Agreement (SLA) feature is supported.

Forward error correction ability

Whether the FEC feature is supported.

IGMP-snooping fast-leave

Whether the fast leave feature for the specified UNIs is supported.

Multicast control fast-leave

Whether the fast leave feature for all UNIs is supported.

Forward error correction mode

Whether the FEC feature is enabled.

DBA-Report parameters

DBA report message parameters.

·     Queue set number—Number of queue sets supported.

·     Queue set—Queue set number.

·     Queue x: State: x, Value: x—State (state) and threshold (value) of queue x. State 0 means the queue is disabled. State 1 means the queue is enabled.

Multicast-fast-leave

Whether the fast leave feature is enabled on all UNIs of the ONU.

ONU-Isolate state

Whether the isolation feature is enabled for all UNIs of the ONU.

Multicast-mode

Multicast mode: IGMP snooping (IGSP) or multicast control.

 

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

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

For the IPv4 address configured for the management VLAN interface of an ONU to take effect, first bind the ONU to a line profile.

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

When you configure an IP address for the management VLAN interface of an ONU 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 takes 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

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

For the IPv6 address configured for the management VLAN interface of an ONU to take effect, first bind the ONU to a line profile.

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

When you configure an IP address for the management VLAN interface of an ONU 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 takes effect.

Examples

# Assign the IPv6 address 2001::1 to the management VLAN interface of the ONU bound to ONU 1/0/1:1, and specify the gateway IPv6 address as 2001::99.

<Sysname> system-view

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

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

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

Related commands

management-vlan

management 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 a case-sensitive 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

ONU configuration profile 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

olt-mode

Use olt-mode to configure 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 | 256-onu }

undo olt-mode slot slot-number

In IRF mode:

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

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

Default

An OLT operates in 64-ONU mode.

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.

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

Usage guidelines

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.

·     When the OLT operating mode is changed from 128-ONU or 256-ONU to 64-ONU, ONU interfaces numbered more than 64 are deleted. When the OLT operating mode is changed from 256-ONU to 128-ONU, ONU interfaces numbered more than 128 are deleted.

Examples

# Configure the OLT operating mode as 128-ONU for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] olt-mode slot 1 128-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 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 | sn }* ]

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

In IRF mode:

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

undo onu bind auto [ chassis chassis-number slot slot-number ] [ bind-type { mac | 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.

sn: Specifies SN binding.

Usage guidelines

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

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 bulk ONU binding.

Syntax

In standalone mode:

onu bind batch [ slot slot-number ] [ bind-type sn ]

In IRF mode:

onu bind batch [ chassis chassis-number slot slot-number ] [ bind-type sn ]

Default

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

sn: Specifies SN binding.

Usage guidelines

Bulk ONU binding automatically binds existing unregistered ONUs to ONU interfaces at a time. The ONUs that join the system after bulk ONU binding is performed will not be bound.

Bulk ONU binding applies to a newly established EPON system that contains only legal ONUs. To manually bind new ONUs after bulk ONU binding is performed, use the bind onu-id command.

Examples

# Perform bulk ONU binding on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind batch slot 1

onu bind type

Use onu bind type to bulk apply an ONU line profile based on ONU type.

Use undo onu bind type to restore the default.

Syntax

onu bind type onu-type [ onu-line-profile profile-name ]

undo onu bind type onu-type

Default

ONU line profile line_profile_default is bulk applied.

Views

FTTH view

Predefined user roles

network-admin

Parameters

onu-type: Specifies an ONU type (such as ET704-A), a case-sensitive string of 1 to 31 characters.

Onu-line-profile profile-name: Specifies an ONU line profile by its name. It is a case-sensitive string of 1 to 31 characters and supports only digits, letters, and underscores (_). If you do not specify this parameter, ONU line profile line_profile_default is bulk applied.

Usage guidelines

Application scenarios

After the onu bind auto command is used to enable automatic ONU binding or the onu bind batch command is used to perform bulk ONU binding, the device will automatically bind unregistered ONUs to the ONU interfaces on the device as follows:

·     For ONUs of the type specified by using this command, the specified ONU line profile will be applied to their ONU interfaces.

·     For ONUs that are not of the specified type, the default ONU line profile named line_profile_default will be applied to their ONU interfaces.

Restrictions and guidelines

The system supports bulk applying ONU line profiles to up to 32 ONU types.

Examples

# Bulk apply the ONU line profile named line_profile_voip to all ONUs of type ET704-A-L. Then, enable automatic ONU binding for the ONUs on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind type et704-a-l onu-line-profile line_profile_voip

[Sysname-ftth] onu bind auto slot 1

onu-distance

Use onu-distance to set the maximum and minimum logical distances between OLT and ONU in OLT ranging.

Use undo onu-distance to restore the default.

Syntax

onu-distance { max distance |  min distance } *

undo onu-distance

Default

The maximum logical distance between OLT and ONU is 20 kilometers, and the minimum logical distance is 0 kilometers.

Views

OLT interface view

Predefined user roles

network-admin

mdc-admin

Parameters

max distance: Sets the maximum distance between OLT and ONU, in the range of 0 to 60 kilometers.

min distance: Sets the minimum distance between OLT and ONU, in the range of 0 to 60 kilometers.

Usage guidelines

Application scenarios

During the registration process of an ONU, the OLT measures the physical distance of the optical fiber between the ONU and the OLT. Then, the OLT allocates timing to the ONU based on the physical distance to prevent upstream data collisions. To quickly obtain the ranging results, you can pre-set the logical distances between OLT and ONU.

Operating mechanism

The maximum logical distance defines the greatest acceptable distance between the OLT and ONU. It also determines the longest time the OLT will wait to transmit a signal and receive a reply from the ONU. If the actual physical distance exceeds this distance, the OLT will consider the ONU unreachable and cannot establish a connection.

The minimum logical distance defines the shortest acceptable distance between the OLT and ONU. It also determines the shortest time the OLT will wait to transmit a signal and receive a reply from the ONU. If the actual physical distance is less than this distance, the OLT will consider the ONU too close, which might cause signal interference. As a result, the OLT cannot establish a connection.

The smaller the minimum logical distance, the faster the OLT can receive replies from the ONU. The larger the maximum logical distance, the farther the OLT can connect to an ONU. Adjusting these parameters enables fast, precise measurement of the distance between the OLT and ONU.

Restrictions and guidelines

Use this command to modify the logical distances for ranging only if you have a certain level of PON deployment knowledge. If you do not, use the default configuration to avoid longer ranging time due to incorrect parameter values.

The minimum logical distance must be less than the maximum logical distance.

Examples

# Set the maximum and minimum logical distances between the OLT and ONU to 30 kilometers and 15 kilometers, respectively, during the ranging process on interface OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] onu-distance max 30 min 15

shutdown management-vlan-interface

Use shutdown management-vlan-interface to shut down the management VLAN interface on an ONU.

Use undo shutdown management-vlan-interface to bring up the management VLAN interface on an ONU.

Syntax

shutdown management-vlan-interface

undo shutdown management-vlan-interface

Default

The management VLAN interface on an ONU is shut down.

Views

ONU interface view

Predefined user roles

network-admin

Usage guidelines

After you bring up the management VLAN interface on an ONU, you must assign an IP address to the interface.

After you execute the undo shutdown management-vlan-interface command, the management VLAN interface status depends on the status of Ethernet interfaces (UNIs) in the VLAN:

·     When all Ethernet interfaces in the VLAN for the management VLAN interface on the ONU are down, the management VLAN interface is down.

·     When one or more Ethernet interfaces in the VLAN for the management VLAN interface on the ONU are up, the management VLAN interface is up.

Examples

# Bring up the management VLAN interface on the ONU.

<Sysname> system-view

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

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

using onu

Use using onu to create ONU interfaces.

Use undo using onu to delete ONU interfaces.

Syntax

using onu onu-number-list

undo using onu onu-number-list

Default

No ONU interfaces exist.

Views

OLT interface view

Predefined user roles

network-admin

Parameters

onu-number-list: Specifies a space-separated list of up to 10 ONU interface items. Each item specifies an ONU interface number or an ONU interface number range in the form of { onu-number1 [ to onu-number2 ] }. The value for the onu-number2 argument must be larger than or equal to the value for the onu-number1 argument. The value range for the onu-number1 and onu-number2 arguments varies by OLT operating mode as follows: In 64-ONU mode, the value range is 1 to 64. In 128-ONU mode, the value range is 1 to 128. In 256-ONU mode, the value range 1 to 256. 

Usage guidelines

On an OLT interface, the ONU interface created by using this command is named in the format of onu interface-number.

Examples

# Create ONU interface 1 on OLT 1/0/2.

<Sysname> system-view

[Sysname] interface Olt 1/0/2

[Sysname-Olt1/0/2] using onu 1

GPON configuration profile commands

This section primarily provides the GPON basics commands related to ONU configuration profiles, ONU DBA profiles, ONU line profiles, and ONU subinterface service profiles.

apply onu-config-profile

Use apply onu-config-profile to apply an ONU configuration profile to an ONU line profile.

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

Syntax

apply onu-config-profile profile-name

undo apply onu-config-profile

Default

ONU configuration profile config_profile_default is applied to an ONU line profile.

Views

ONU line profile view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

For more information about ONU configuration profiles, see the onu config-profile command.

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

Examples

# Apply the specified ONU configuration profile to ONU line profile ET354.

<Sysname> system-view

[Sysname] onu line-profile ET354

[Sysname-onu-lineprofile-ET354] apply onu-config-profile config-ET354

Related commands

onu config-profile

apply onu-service-profile

Use apply onu-service-profile to apply an ONU subinterface service profile to an ONU line profile subinterface.

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

Syntax

apply onu-service-profile profile-name

undo apply onu-service-profile

Default

The default ONU subinterface service profile named service_profile_default is applied to an ONU line profile subinterface.

Views

ONU line profile subinterface view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

For more information about ONU subinterface service profiles, see the onu service-profile command.

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

Examples

# Apply the specified ONU subinterface service profile to subinterface 2 of ONU line profile 30.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] subinterface 2

[Sysname-onu-lineprofile-30-subinterface-2] apply onu-service-profile YY

Related commands

onu service-profile

apply tcont

Use apply tcont to apply a transmission container (T-CONT) to an ONU line profile subinterface.

Use undo apply tcont to restore the default.

Syntax

apply tcont tcont-name

undo apply tcont

Default

The default T-CONT named tcont_default is applied to an ONU line profile subinterface, and the T-CONT uses the ONU DBA profile named dba_profile_default.

Views

ONU line profile subinterface view

Predefined user roles

network-admin

Parameters

tcont-name: Specifies the name of a T-CONT, which must already exist in an ONU line profile.

Usage guidelines

For more information about T-CONTs, see the tcont command.

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

Examples

# Configure a T-CONT named voip in ONU line profile 30, and apply the ONU DBA profile named dba-voip to the T-CONT. Enter the view of subinterface 2 of the ONU line profile and apply the T-CONT named voip to the subinterface.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] tcont voip onu-dba-profile dba-voip

[Sysname-onu-lineprofile-30] subinterface 2

[Sysname-onu-lineprofile-30-subinterface-2] apply tcont voip

Related commands

tcont

bind onu-line-profile

Use bind onu-line-profile to apply an ONU line profile to an ONU interface.

Use undo bind onu-line-profile to remove an ONU line profile from an ONU interface.

Syntax

bind onu-line-profile profile-name

undo bind onu-line-profile

Default

No ONU line profile is applied to an ONU interface.

Views

ONU interface view

Predefined user roles

network-admin

mdc-admin

Parameters

onu-line-profile profile-name: Specifies an ONU line profile by its name, a case-insensitive string of 1 to 31 characters. Make sure the specified profile already exists.

Usage guidelines

You can apply the same ONU line profile to multiple ONU interfaces. After you apply an ONU line profile to an ONU interface, the commands stored in the profile are issued to the interface. This saves configuration effort and enables automated bulk configuration.

Examples

# Apply the ONU line profile named VOIP to  ONU interface ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] bind onu-line-profile VOIP

Related commands

onu line-profile

dba type1

Use dba type1 to configure type 1 DBA, which is fixed bandwidth.

Use undo dba type to restore the default.

Syntax

dba type1 [ ratio ] fix fix-bandwidth

undo dba type

Default

A newly created ONU DBA profile does not have bandwidth configuration.

Views

ONU DBA profile view

Predefined user roles

network-admin

Parameters

ratio: Specifies bandwidth in permillage. If you do not specify this keyword, this command sets the absolute bandwidth value.

fix fix-bandwidth: Specifies the fixed bandwidth reserved for ONUs, in the range of 128 to 10000000 kbps. After configuration, the value is automatically rounded down to the nearest multiple of 64. If the ratio keyword is also specified, the value range is 1 to 1000, with each unit representing one-thousandth of the maximum ONU bandwidth.

Usage guidelines

Application scenarios

The fixed bandwidth is fully reserved for the specific ONUs. Even if those ONU have no upstream traffic, this portion of bandwidth remains unavailable for the other ONUs. Use fixed bandwidth mainly for services with high QoS requirements, such as VoIP.

Recommended configuration

As a best practice, configure bandwidth in permillage, because the maximum bandwidth might vary by ONU.

Restrictions and guidelines

If you execute the dba type1, dba type2, dba type3, dba type4, and dba type5 commands multiple times in the same DBA profile, the most recent configuration takes effect.

Examples

# Configure type 1 DBA, and set the fixed bandwidth to 15 Mbps.

<Sysname> system-view

[Sysname] onu dba-profile dba_15M

[Sysname-onu-dbaprofile-dba_15M] dba type1 fix 15000

dba type2

Use dba type2 to configure type 2 DBA, which is assured bandwidth.

Use undo dba type to restore the default.

Syntax

dba type2 [ ratio ] assure assure-bandwidth

undo dba type

Default

A newly created ONU DBA profile does not have bandwidth configuration.

Views

ONU DBA profile view

Predefined user roles

network-admin

Parameters

ratio: Specifies bandwidth in permillage. If you do not specify this keyword, this command sets the absolute bandwidth value.

assure assure-bandwidth: Specifies the assured bandwidth that can be allocated to ONUs, in the range of 128 to 10000000 kbps. After configuration, the value is automatically rounded down to the nearest multiple of 64. If the ratio keyword is also specified, the value range is 1 to 1000, with each unit representing one-thousandth of the maximum ONU bandwidth.

Usage guidelines

Application scenarios

Assured bandwidth is the bandwidth allocated by the OLT to ONUs. If the actual traffic of these ONUs does not consume the assured bandwidth, the DBA mechanism reallocates the unused bandwidth to the other ONUs.

Recommended configuration

As a best practice, configure bandwidth in permillage, because the maximum bandwidth might vary by ONU.

Restrictions and guidelines

If you execute the dba type1, dba type2, dba type3, dba type4, and dba type5 commands in the same DBA profile, the most recent configuration takes effect.

Examples

# Configure type 2 DBA, and set the assured bandwidth to 15 Mbps.

<Sysname> system-view

[Sysname] onu dba-profile dba_15M

[Sysname-onu-dbaprofile-dba_15M] dba type3 assure 15000

dba type3

Use dba type3 to configure type 3 DBA, which is assured bandwidth+maximum bandwidth.

Use undo dba type to restore the default.

Syntax

dba type3 [ ratio ] assure assure-bandwidth max max-bandwidth

undo dba type

Default

A newly created ONU DBA profile does not have bandwidth configuration.

Views

ONU DBA profile view

Predefined user roles

network-admin

Parameters

ratio: Specifies bandwidth in permillage. If you do not specify this keyword, this command sets the absolute bandwidth value.

assure assure-bandwidth: Specifies the assured bandwidth that can be allocated to ONUs, in the range of 128 to 9999999 kbps. If the specified value is not a multiple of 64, the effective value is nearest lower multiple of 64. If the ratio keyword is also specified, the value range is 1 to 999, with each unit representing one-thousandth of the maximum ONU bandwidth.

max max-bandwidth: Specifies the maximum bandwidth that can be used by ONUs. The value range is dynamic. The maximum value is 10000000 kbps, and the minimum value is 64 plus the effective assured bandwidth (in kbps). If the configured value is not a multiple of 64, the effective value is nearest lower multiple of 64. If the ratio keyword is also specified, the value range is dynamic. The maximum value is 1000, and the minimum value is 1 plus the assured bandwidth value. Each unit represents one-thousandth of the maximum ONU bandwidth.

Usage guidelines

Application scenarios

ONUs that use type 3 DBA can preempt a certain amount of bandwidth in addition to the assured bandwidth that has been allocated. However, the total bandwidth cannot exceed the maximum bandwidth.

Type 3 DBA is primarily used for VoIP and IPTV services.

Recommended configuration

As a best practice, configure bandwidth in permillage, because the maximum bandwidth might vary by ONU.

Restrictions and guidelines

The actual effective value of the maximum bandwidth must be greater than the actual effective value of the assured bandwidth.

If you execute the dba type1, dba type2, dba type3, dba type4, and dba type5 commands multiple times in the same DBA profile, the most recent configuration takes effect.

Examples

# Configure type 3 DBA, set the assured bandwidth to 15 Mbps, and set the maximum bandwidth to 30 Mbps.

<Sysname> system-view

[Sysname] onu dba-profile dba_15M

[Sysname-onu-dbaprofile-dba_15M] dba type3 assure 15000 max 30000

dba type4

Use dba type4 to configure type 4 DBA, which is the maximum bandwidth.

Use undo dba type to restore the default.

Syntax

dba type4 [ ratio ] max max-bandwidth [ priority priority | weight weight ] *

undo dba type

Default

A newly created ONU DBA profile does not have bandwidth configuration.

Views

ONU DBA profile view

Predefined user roles

network-admin

Parameters

ratio: Specifies bandwidth in permillage. If you do not specify this keyword, this command sets the absolute bandwidth value.

max max-bandwidth: Specifies the maximum bandwidth that can be used by ONUs, in the range of 128 to 10000000 kbps. After configuration, the value is automatically rounded down to the nearest multiple of 64. If the ratio keyword is also specified, the value range is 1 to 1000, with each unit representing one-thousandth of the maximum ONU bandwidth.

priority priority: Specifies a bandwidth allocation priority in the range of 0 to 7.

weight weight: Specifies a bandwidth allocation weight in the range of 1 to 10000.

Usage guidelines

Application scenarios

Type 4 DBA is primarily used for general network access services.

Recommended configuration

As a best practice, configure bandwidth in permillage, because the maximum bandwidth might vary by ONU.

Restrictions and guidelines

If you execute the dba type1, dba type2, dba type3, dba type4, and dba type5 commands multiple times in the same DBA profile, the most recent configuration takes effect.

Examples

# Configure type 4 DBA, and set the maximum bandwidth to 15 Mbps.

<Sysname> system-view

[Sysname] onu dba-profile dba_15M

[Sysname-onu-dbaprofile-dba_15M] dba type4 max 30000

dba type5

Use dba type5 to configure type 5 DBA, which is fixed bandwidth+assured bandwidth+maximum bandwidth.

Use undo dba type to restore the default.

Syntax

dba type5 [ ratio ] fix fix-bandwidth assure assure-bandwidth max max-bandwidth [ additional-bandwidth { non-assure | best-effort [ priority priority | weight weight ] * } ]

undo dba type

Default

A newly created ONU DBA profile does not have bandwidth configuration.

Views

ONU DBA profile view

Predefined user roles

network-admin

Parameters

ratio: Specifies bandwidth in permillage. If you do not specify this keyword, this command sets the absolute bandwidth value.

fix fix-bandwidth: Specifies the fixed bandwidth reserved for ONUs, in the range of 128 to 9999872 kbps. If the specified value is not a multiple of 64, the effective value is nearest lower multiple of 64. If the ratio keyword is also specified, the value range is 1 to 999, with each unit representing one-thousandth of the maximum ONU bandwidth.

assure assure-bandwidth: Specifies the assured bandwidth that can be allocated to ONUs. The value range is dynamic. The minimum value is 128 kbps, and the maximum value is 10000000 kbps minus the effective fixed bandwidth value in kbps. If the specified value is not a multiple of 64, the actual effective value is the nearest lower multiple of 64. If the ratio keyword is also specified, the value range is dynamic. The minimum value is 1, and the maximum value is 1000 minus the fixed bandwidth value. Each unit represents one-thousandth of the maximum ONU bandwidth.

max max-bandwidth: Specifies the maximum bandwidth that can be used by ONUs. The value range is dynamic. The maximum value is 10000000 kbps, and the minimum value is 64 plus the effective fixed bandwidth value and assured bandwidth value (in kbps). If the configured value is not a multiple of 64, the effective value is the nearest lower multiple of 64. If the ratio keyword is also specified, the value range is dynamic. The maximum value is 1000, and the minimum value is the fixed bandwidth value plus the assured bandwidth value. Each unit represents one-thousandth of the maximum ONU bandwidth.

additional-bandwidth: Specifies the type of additional bandwidth for the maximum bandwidth. If you do not specify this keyword, the default value is best-effort.

non-assure: Allocates the maximum bandwidth in non-assured form. As a best practice, specify this type when the OLT allocates bandwidth in proportion to the sum of the fixed and assured bandwidths.

best-effort: Allocates the maximum bandwidth in best-effort form. As a best practice, specify this type when the OLT allocates bandwidth in proportion to the maximum bandwidth.

priority priority: Specifies a bandwidth allocation priority in the range of 0 to 7.

weight weight: Specifies a bandwidth allocation weight in the range of 1 to 10000.

Usage guidelines

Application scenarios

ONUs that use type 5 DBA have a fixed bandwidth reserved by the OLT and can dynamically obtain additional assured bandwidth when required. These ONUs can also preempt extra bandwidth only if the total bandwidth does not exceed the maximum bandwidth.

Recommended configuration

As a best practice, configure bandwidth in permillage, because the maximum bandwidth might vary by ONU.

Restrictions and guidelines

The actual effective value of the maximum bandwidth must be greater than the actual effective value of the fixed bandwidth plus that of the assured bandwidth.

If you execute the dba type1, dba type2, dba type3, dba type4, and dba type5 commands multiple times in the same DBA profile, the most recent configuration takes effect.

Examples

# Configure type 5 DBA, and set the fixed bandwidth to 128 Mbps, assured bandwidth to 128 Mbps, and maximum bandwidth to 500 Mbps.

<Sysname> system-view

[Sysname] onu dba-profile dba_profile_1

[Sysname-onu-dbaprofile-dba_profile_1] dba type5 fix 128000 assure 128000 max 500000

display onu-config-profile

Use display onu-config-profile to display information about an ONU configuration profile.

Syntax

display onu-config-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

Parameters

profile-name profile-name: Displays details of the specified 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 about all profiles.

Examples

# Display summary information about all ONU configuration profiles.

<Sysname> display onu-config-profile

Profile name

  config_profile_default

  cfg-profile_1

# Display detailed information about the ONU configuration profile named cfg_profile_1.

<Sysname> display onu-config-profile profile-name cfg_profile_1

Profile-name : cfg_profile_1

  ONU port-isolate : Disabled

  ONU multicast fast-leave : Disabled

  ONU protocol :

    DHCP-snooping : Disabled

    DHCP-snooping information : Disabled

    IGMP-snooping suppression leave : Enabled

    IGMP-snooping suppression report : Disabled

    IGMP-snooping timer host-aging-time : 260

    IGMP-snooping timer max-response-time : 1

    IGMP-snooping timer router-aging-time : 105

    PPPoE : Disabled

    STP : Disabled

  ONU statistics : Enabled

  Multicast mode IGMP-snooping :

    Multicast-control host-aging-time 260

  Service-sla mode : sp-wrr high-priority-boundary 3

  Service-sla queue :

    queue 1 sp fixed-bandwidth 0 guaranteed-bandwidth 0 best-effort-bandwidth 0

    queue 2 sp fixed-bandwidth 0 guaranteed-bandwidth 0 best-effort-bandwidth 0

    queue 3 sp fixed-bandwidth 256 guaranteed-bandwidth 256 best-effort-bandwidth 256

  UNI 1 config :

    Auto-negotiation : Enabled

    Classification-marking :

      index 2 queue 2 priority 3 vlan-id equal 100

      index 3 queue 5 priority 3 vlan-id equal 100

    Duplex : full

    Flow-control : Disabled

    Igmp-snooping fast-leave : Disabled

    MDIX-mode : automdix

    Multicast-group-number : 64

    Multicast-strip-tag : Disabled

    Port-isolation : Disabled

    Port-policy inbound : cir 64

    Shutdown : false

    Speed : auto

    Statistics : Enabled

    VLAN-mode : transparent  pvid 1

Table 18 Command output

Field

Description

Profile name

Name of a configuration profile.

ONU port-isolate

Whether a UNI is assigned to an isolation group.

ONU multicast fast-leave

Fast leave feature of all UNIs.

ONU protocol

ONU protocol-related configuration:

·     DHCP-snooping—DHCP-snooping protocol.

·     DHCP-snooping information—DHCP snooping option 82 protocol.

·     IGMP-snooping suppression leave—IGMP leave packets.

·     IGMP-snooping suppression report—IGMP group membership report packets.

·     IGMP-snooping timer host-aging-time—Aging time for dynamic member ports.

·     IGMP-snooping timer max-response-time—Maximum response time for IGMP general queries.

·     IGMP-snooping timer router-aging-time—Dynamic router port aging time.

·     PPPoE—PPPoE+ protocol.

·     STP—Rapid Spanning Tree Protocol (RSTP).

ONU statistics

Packet statistics feature.

Multicast mode

Multicast mode-related settings, IGMP snooping or multicast control.

The Multicast-control host-aging-time field indicates the aging time for member ports in a multicast group.

Service-sla mode

Queue scheduling mode for upstream traffic.

Service-sla queue

Upstream traffic queues.

UNI 1 config

Configuration of the specified UNI in the configuration profile.

Auto-negotiation

Auto-negotiation feature of a UNI.

Description

Description of a UNI.

Duplex

Duplex mode of a UNI:

·     auto—The port is in auto-negotiation mode.

·     full—The port is in full duplex mode.

·     half—The port is in half duplex mode.

Flow-control

Flow control feature of a UNI.

MDIX-mode

Medium-Dependent Interface Crossover (MDIX) mode of a UNI:

·     automdix—Devices at both ends negotiate to determine whether pins 1 and 2 transmit or receive signals, and whether pins 3 and 6 receive or transmit signals.

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

Port-isolate

Whether a UNI is assigned to an isolation group.

QinQ

QinQ information of a UNI:

·     svlan—Outer VLAN.

·     cvlan—Inner VLAN.

·     transparent-vlan—Transparent transmission VLAN.

Shutdown

Shutdown state of a UNI:

·     true.

·     false.

Speed

Speed of a UNI:

·     10—The speed of the port is 10 Mbps.

·     100—The speed of the port is 100 Mbps.

·     1000—The speed of the port is 1000 Mbps.

·     auto—The speed of the port is autonegotiated by both parties.

Statistics

Statistics state of a UNI.

VLAN-mode

VLAN operation mode of a UNI:

·     transparent—Transparent mode.

·     tag—Tag mode.

·     translation—Translation mode.

·     qinq—QinQ mode.

·     trunk—Trunk mode.

·     aggregation—N:1 aggregation mode.

 

display onu-dba-profile

Use display onu-dba-profile to display information about ONU DBA profiles.

Syntax

display onu-dba-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

Parameters

profile-name profile-name: Displays details of the specified 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 about all profiles.

Examples

# Display summary information about all ONU DBA profiles.

<Sysname> display onu-dba-profile

Profile name                     Type Assured  Max      Fix

dba_profile_default              3    8192     20480    6400

dba2                             1    8192     20480    6400

dba3                             5    8192     20480    6400

# Display detailed information about the ONU DBA profile named 111.

<Sysname> display onu-dba-profile profile-name 111

Profile name :            111

  Type:                   5

  Fixed (kbps):           2048

  Assured (kbps):         2048

  Max (kbps):             10240

  Additional-bandwidth:   best-effort

  Best-effort-priority:   0

  Best-effort-weight:     10

Table 19 Command output

Field

Description

Profile name

ONU DBA profile name.

type

ONU DBA profile type:

·     1—Fixed bandwidth.

·     2—Assured bandwidth.

·     3—Assured bandwidth + maximum bandwidth.

·     4—Maximum bandwidth.

·     5—Fixed bandwidth + assured bandwidth + maximum bandwidth.

Assured

Assured bandwidth in kbps.

Max

Maximum bandwidth in kbps.

Fix

Fixed bandwidth in kbps.

Fixed

Fixed bandwidth in kbps.

Additional-bandwidth

Additional bandwidth type:

·     non-assure—Non-assured bandwidth assignment.

·     best-effort—Best-effort bandwidth assignment.

Best-effort-priority

Best-effort bandwidth assignment priority.

Best-effort-weight

Best-effort bandwidth assignment weight.

 

display onu-line-profile

Use display onu-line-profile to display information about ONU line profiles.

Syntax

display onu-line-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

Parameters

profile-name profile-name: Displays details of the specified 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 about all profiles.

Examples

# Display summary information about all ONU line profiles.

<Sysname> display onu-line-profile

Profile name

  line_profile_default

  line-profile_1

# Display detailed information about the ONU line profile named line_profile_2.

<Sysname> display onu-line-profile line_profile_2

Profile name : line_profile_2

  TCONT list :

    TCONT name                                                     DBA profile

    TCONT_1                                                        dba_1

    TCONT_voip                                                     dba_viop

  Config profile : config_voip

  Mapping mode : vlan

  ONU subinterface list :

    SubNo  TCONT name                                              Service profile

    1      TCONT_1                                                 bridge_1_voip

    3      TCONT_1                                                 bridge_1_voip

  Interface list :

    ONU3/1/0:1

    ONU3/1/0:2

Table 20 Command output

Field

Description

Profile name

ONU line profile name.

TCONT list

T-CONT list.

TCONT name

T-CONT name.

DBA profile

ONU DBA profile name.

Config profile

ONU configuration profile name.

Mapping mode

ONU traffic mapping mode of an ONU subinterface.

ONU subinterface list

ONU subinterface list.

SubNo

ONU subinterface number.

Service profile

ONU subinterface service profile name.

Interface list

List of ONU interfaces bound to the line profile.

 

display onu-service-profile

Use display onu-service-profile to display information about ONU subinterface service profiles.

Syntax

display onu-service-profile [ profile-name profile-name ]

Views

Any view

Predefined user roles

network-admin

Parameters

profile-name profile-name: Displays details of the specified 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 about all profiles.

Examples

# Display summary information about all ONU subinterface service profiles.

<Sysname> display onu-service-profile

Profile name

  service_profile_default

  bridge_service_1

# Display detailed information about the ONU subinterface service profile named bridge_service_profile_2.

<Sysname> display onu-service-profile profile-name bridge_service_profile_2

Profile name : bridge_service_profile_2

  VLAN mapping

    Outer VLAN    Inner VLAN    Translated Outer VLAN    Translated Inner VLAN

    10            N/A           120                      N/A

    Outer VLAN    Inner VLAN

    200           100

  Port VLAN (hybrid)

    PVID  VLAN Passing

    100   Tagged:  1000, 1002, 1500, 1600-1611, 2000,

                   2555-2558, 3000, 4000

          Untagged:1, 10, 15, 18, 20-30, 44, 55, 67, 100,

                   150-160, 200, 255, 286, 300-302

Table 21 Command output

Field

Description

Profile-name

Service profile name.

Outer VLAN

Original outer VLAN:

·     For one-to-one VLAN mapping, many-to-one VLAN mapping, and one-to-two VLAN mapping, the outer VLAN field displays the original VLAN.

·     For zero-to-two VLAN mapping, the outer VLAN field displays N/A.

Inner VLAN

Original inner VLAN:

·     For one-to-one VLAN mapping, many-to-one VLAN mapping, and one-to-two VLAN mapping, the inner VLAN field displays N/A.

·     For zero-to-two VLAN mapping, the inner VLAN field displays N/A.

Translated Outer VLAN

Outer VLAN after translation:

·     For one-to-one VLAN mapping, two-to-one VLAN mapping, and many-to-two VLAN mapping, the translated outer VLAN field displays the VLAN after translation.

·     For zero-to-two VLAN mapping, the translated outer VLAN field displays the added outer VLAN.

Translated Inner VLAN

Inner VLAN after translation:

·     For one-to-one VLAN mapping, two-to-one VLAN mapping, and many-to-two VLAN mapping, the translated inner VLAN field displays N/A.

·     For zero-to-two VLAN mapping, the translated inner VLAN field displays the added inner VLAN.

Nested VLAN

Added outermost VLAN in two-to-three VLAN mapping.

PVID

PVID of the port using this service profile.

VLAN Passing

Existing VLANs actually permitted on the port using the service profile.

Tagged

VLANs for which the port using this service profile sends packets without removing VLAN tags.

Untagged

VLANs for which the port using this service profile sends packets after removing VLAN tags.

 

encryption enable

Use encryption enable to enable downstream traffic encryption for ONUs.

Use undo encryption enable to disable downstream traffic encryption for ONUs.

Syntax

encryption enable

undo encryption enable

Default

Downstream traffic encryption is enabled for ONUs.

Views

ONU line profile view

Predefined user roles

network-admin

Usage guidelines

In an optical network, the downstream traffic encryption feature of an ONU protects the traffic from the OLT to the ONU by using encryption technology to ensure data security for users.

Examples

# In ONU line profile 1, enable downstream traffic encryption for ONUs.

<Sysname> system-view

[Sysname] onu line-profile 1

[Sysname-onu-lineprofile-1] encryption enable

forward-error-correction

Use forward-error-correction enable to enable Forward Error Correction (FEC) for ONUs.

Use undo forward-error-correction enable to disable FEC for ONUs.

Syntax

forward-error-correction enable

undo forward-error-correction enable

Default

FEC is enabled for ONUs.

Views

ONU line profile view

Predefined user roles

network-admin

Usage guidelines

FEC improves the data transmission reliability and reduces the time and cost of data retransmission by adding redundancy to data flows, enabling the receivers to detect and correct errors. Additionally, FEC requires relatively low computing power and storage space, imposing minimal performance requirements on the ONUs.

For XGSPON or XGPON ONUs:

·     The downstream FEC feature is forcibly enabled and cannot be disabled.

·     The upstream FEC feature is enabled by default but can be disabled.

For GPON ONUs, the FEC feature is disabled by default and can be enabled or disabled as needed.

Examples

# Enable FEC in ONU line profile 1.

<Sysname> system-view

[Sysname] onu line-profile 1

[Sysname-onu-lineprofile-1] forward-error-correction enable

gpon compare-profile

Use gpon compare-profile to display the configuration differences between the specified profiles.

Syntax

gpon compare-profile { onu-config-profile | onu-dba-profile | onu-line-profile | onu-service-profile } source-profile-name profile-name destination-profile-name profile-name

Views

System view

Predefined user roles

network-admin

Parameters

onu-config-profile: Specifies an ONU configuration profile.

onu-dba-profile: Specifies an ONU DBA profile.

onu-line-profile: Specifies an ONU line profile.

onu-service-profile: Specifies an ONU subinterface service profile.

source-profile-name profile-name: Specifies the name of the source profile for comparison. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. The name supports only digits, letters, and underscores (_).

destination-profile-name profile-name: Specifies the name of the destination profile for comparison. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. The name supports only digits, letters, and underscores (_).

Examples

# Display the configuration differences between the specified two line profiles.

<Sysname> system-view

[Sysname] gpon compare-profile onu-line-profile source-profile-name l1 destination-profile-name l3

Differences:

--- Source profile

+++ Destination profile

@@ -1,12 +1,13 @@

 #

-onu line-profile l1

+onu line-profile l3

  apply onu-config-profile config_profile_default

+ tcont t1 onu-dba-profile dba_profile_default

  tcont tcont_default onu-dba-profile dba_profile_default

  subinterface 1

   apply tcont tcont_default

   apply onu-service-profile service_profile_default

- subinterface 2

-  apply tcont tcont_default

+ subinterface 3

+  apply tcont t1

   apply onu-service-profile service_profile_default

 #

gpon copy-profile

Use gpon copy-profile to quickly add GPON configuration profiles and copy settings from a source profile to these profiles.

Syntax

gpon copy-profile { onu-config-profile | onu-dba-profile | onu-line-profile | onu-service-profile } source-profile-name profile-name { destination-profile-name profile-name } &<1-15>

Views

System view

Predefined user roles

network-admin

Parameters

onu-config-profile: Specifies an ONU configuration profile.

onu-dba-profile: Specifies an ONU DBA profile.

onu-line-profile: Specifies an ONU line profile.

onu-service-profile: Specifies an ONU subinterface service profile.

source-profile-name profile-name: Specifies the name of the source profile for configuration copying. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. The name supports only digits, letters, and underscores (_).

destination-profile-name profile-name: Specifies the name of the destination profile for configuration copying. The profile-name argument represents a profile name, a case-sensitive string of 1 to 31 characters. The name supports only digits, letters, and underscores (_).

&<1-15>: Indicates that you can specify up to 15 destination profiles.

Usage guidelines

The source profile type must be the same as the destination profile type. The source profile must already exist. A destination profile cannot have the same name as an existing profile.

Examples

# Quickly add ONU DBA profiles a and b by copying configurations from the default ONU DBA profile named dba_profile_default to these profiles.

<Sysname> system-view

[Sysname] gpon copy-profile onu-dba-profile source-profile-name dba_profile_default destination-profile-name a destination-profile-name b

Create new profile successfully

---------------------------------

Dba profile name:

  a

  b

Total:2

mapping-mode

Use mapping-mode to configure the ONU traffic mapping mode.

Use undo mapping-mode to restore the default.

Syntax

mapping-mode { priority | uni | vlan }

undo mapping-mode

Default

An ONU maps traffic by UNI number.

Views

ONU line profile view

Predefined user roles

network-admin

Parameters

priority: Maps traffic by 802.1p priority.

vlan: Maps traffic by VLAN.

uni: Maps traffic by UNI number.

Usage guidelines

Application scenarios

Traffic from the customer side to an ONU must be mapped to an ONU subinterface according to the specific rules before the traffic can go upstream to the OLT.

Restrictions and guidelines

The mapping-mode command only defines the traffic mapping modes available for subinterfaces in an ONU line profile. To configure specific mappings, use the onu-mapping command on subinterfaces in the ONU line profile.

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

Examples

# Configure ONU line profile 30 to map traffic by VLAN.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] mapping-mode vlan

Related commands

onu-mapping

onu config-profile

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

Use undo onu config-profile to delete an ONU configuration profile.

Syntax

onu config-profile profile-name

undo onu config-profile profile-name

Default

The default ONU configuration profile named config_profile_default 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

An ONU configuration profile primarily stores the UNI configuration commands for ONUs. You can use the apply onu-config-profile command to apply these commands to an ONU line profile.

Operating mechanism

An ONU configuration profile includes the following commands. For the default profile named config_profile_default, all these commands use the default settings.

·     GPON multicast commands

·     service-sla mode (GPON Command Reference)

·     service-sla queue (GPON Command Reference)

·     uni auto-negotiation

·     uni classification-marking (GPON Command Reference)

·     uni description

·     uni duplex

·     uni flow-control

·     uni port-isolate

·     uni port-policy inbound (GPON Command Reference)

·     uni port-policy outbound (GPON Command Reference)

·     uni speed

·     uni statistics enable

·     uni vlan-mode

Restrictions and guidelines

To delete an ONU configuration profile that has been applied to an ONU line profile,  first use the undo apply onu-config-profile command in ONU line profile view to restore the default.

A maximum of 1024 configuration profiles are supported.

Examples

# Create ONU configuration profile 1 and enter its view.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1]

Related commands

apply onu-config-profile

onu dba-profile

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

Use undo onu dba-profile to delete an ONU DBA profile.

Syntax

onu dba-profile profile-name

undo onu dba-profile profile-name

Default

The default ONU DBA profile named dba_profile_default 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

An ONU DBA profile centrally stores the dba type series commands for ONU subinterfaces. You can use the apply tcont command to apply the commands in the ONU DBA profile of a T-CONT to ONU line profile subinterfaces.

Operating mechanism

An ONU DBA profile supports the following commands.

·     dba type1

·     dba type2

·     dba type3

·     dba type4

·     dba type5

The default ONU DBA profile named dba_profile_default is predefined with the dba type4 ratio max 1000 command. A newly created ONU DBA profile does not have configuration.

Restrictions and guidelines

To delete an ONU DBA profile that has been used by a T-CONT, first use the undo tcont command in ONU line profile view to delete the T-CONT.

A maximum of 512 DBA profiles are supported.

Examples

# Create an ONU DBA profile named dba_15M and enter its view.

<Sysname> system-view

[Sysname] onu dba-profile dba_15M

[Sysname-onu-dba-profile-dba_15M]

Related commands

apply tcont

tcont

onu line-profile

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

Use undo onu line-profile to delete an ONU line profile.

Syntax

onu line-profile profile-name

undo onu line-profile profile-name

Default

The default ONU line profile named line_profile_default 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

An ONU line profile centrally stores GPON ONU configuration commands. When you use the bind onu-id command to bind an ONU to an ONU interface, you can apply an ONU line profile. Then, the commands stored in the ONU line profile are deployed to the ONU interface.

A single ONU line profile can be applied to multiple ONU interfaces, which reduces the configuration efforts.

Operating mechanism

An ONU line profile includes the following commands. In the default ONU line profile named line_profile_default, all these commands use default settings.

·     apply onu-config-profile

·     encryption enable

·     forward-error-correction enable

·     mapping-mode

·     subinterface

·     tcont

Restrictions and guidelines

To delete an ONU line profile that has been applied to an ONU interface, first use the undo bind onu-id command to unbind the ONU interface from its ONU.

A maximum of 1024 line profiles are supported.

Examples

# Create an ONU line profile named ET354 and enter its view.

<Sysname> system-view

[Sysname] onu line-profile ET354

[Sysname-onu-lineprofile-ET354]

Related commands

bind onu-id

onu port-isolate enable

Use onu port-isolate enable to assign all UNIs on ONUs to the isolation group.

Use undo onu port-isolate enable to remove all UNIs on ONUs from the isolation group.

Syntax

onu port-isolate enable

undo onu port-isolate enable

Default

UNIs on ONUs are not assigned to the isolation group.

Views

ONU configuration profile view

Predefined user roles

network-admin

Usage guidelines

An ONU supports only one isolation group. The number of ports in the isolation group is unlimited.

This command and the uni port-isolate command are mutually exclusive.

Examples

# In ONU configuration profile 1, assign all UNIs on ONUs to the isolation group.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] onu port-isolate enable

Related commands

uni port-isolate

onu service-profile

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

Use undo onu service-profile to delete an ONU subinterface service profile.

Syntax

onu service-profile profile-name [ realtime ]

undo onu service-profile profile-name

Default

The ONU subinterface service profile named service_profile_default 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.

realtime: Creates a service profile that deploys configuration in real time. The configuration executed in this type of service profile will be deployed in real time to all ONU subinterfaces to which the service profile is applied. If a service profile without this keyword specified is already applied, you cannot modify the deployed configurations in the service profile. To modify the deployed configurations, first remove the application and then re-apply the line profile.

Usage guidelines

Application scenarios

An ONU subinterface service profile centrally stores Layer 2 technology (such as VLAN) configuration commands for ONU subinterfaces. You can use the apply onu-service-profile command to apply these commands to an ONU line profile subinterface.

Operating mechanism

An ONU subinterface service profile supports the following commands. In the default ONU subinterface service profile named service_profile_default, all these commands use the default settings. (The link type of an ONU subinterface is Access, and the subinterface belongs to VLAN 1.)

·     port access vlan (Layer 2—LAN Switching Command Reference)

·     port hybrid pvid (Layer 2—LAN Switching Command Reference)

·     port hybrid vlan (Layer 2—LAN Switching Command Reference)

·     port link-type (Layer 2—LAN Switching Command Reference)

·     port trunk permit vlan (Layer 2—LAN Switching Command Reference)

·     port trunk pvid (Layer 2—LAN Switching Command Reference)

·     vlan mapping (Layer 2—LAN Switching Command Reference)

Restrictions and guidelines

To delete an ONU subinterface service profile that has been applied to an ONU line profile subinterface, first use the undo apply onu-service-profile command in ONU line profile subinterface view to restore the default.

A maximum of 1024 service profiles are supported.

If you specify the realtime keyword for a service profile, the following rules apply:

·     After you modify the configuration in the service profile, the system deploys the changes in real time to all ONU subinterfaces to which the service profile is applied. If the service profile is applied to many subinterfaces, this synchronous deployment operation might take a long time. During this process, do not perform the following operations:

¡     Create or delete a line profile subinterface.

¡     Delete the service profile that is deploying configurations.

¡     Delete the line profiles and ONU interfaces to which the service profile that is deploying configurations is applied.

¡     Modify the configurations of other service profiles that deploy configurations in real time.

·     After you modify the configuration in a service profile, if the system fails to deploy the configuration to an ONU subinterface in real time, the system prints a list of failed ONU subinterfaces (up to 100 interface names) after deploying the configuration to all subinterfaces to which the service profile is applied.

Examples

# Create an ONU subinterface service profile named YY and enter its view.

<Sysname> system-view

[Sysname] onu service-profile YY

[Sysname-onu-srvprofile-YY]

# Enter the view of the service profile that deploys configuration in real time and modify its configurations.

<Sysname> system-view

[Sysname] onu service-profile YY realtime

Configuration under this view may take a long time. Continue?[Y/N]:Y

[Sysname-onu-srvprofile-YY+] vlan mapping 1 translated-vlan 101

Related commands

apply onu-service-profile

onu statistics enable

Use onu statistics enable to enable packet statistics for ONUs.

Use undo onu statistics enable to disable packet statistics for ONUs.

Syntax

onu statistics enable

undo onu statistics enable

Default

The packet statistics feature is enabled for ONUs.

Views

ONU configuration profile view

Predefined user roles

network-admin

Examples

# Enable packet statistics for ONUs in ONU configuration profile 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] onu statistics enable

onu-mapping

Use onu-mapping to configure traffic mapping for an ONU subinterface.

Use undo onu-mapping to restore the default.

Syntax

onu-mapping { [ uni [ all | { uni-number [ to uni-number ] }&<1-32> ] ] [vlan [ untag | { vlan-id [ to vlan-id ] }&<1-12> ] ] [ priority [ all | { priority [ to priority ] }&<1-8> ] ] }

undo onu-mapping

Default

Traffic from all UNIs is mapped to a subinterface.

Views

ONU line profile subinterface view

Predefined user roles

network-admin

Parameters

uni all: Maps traffic from all UNIs to a subinterface.

uni { uni-number [ to uni-number ] }&<1-32>: Maps traffic from the specified UNIs to a subinterface. The uni-number argument specifies a UNI number in the range of 1 to 32. The uni-number to uni-number option specifies a range of UNI numbers. &<1-32> indicates that you can specify the preceding parameter for up to 32 times.

priority all: Maps traffic with any priority to a subinterface.

priority priority [ to priority ] }&<1-8>: Maps traffic with the specified priorities to a subinterface. The priority argument specifies a packet priority in the range of 0 to 7. A greater value indicates a higher priority. The priority to priority option specifies a priority range. &<1-8> indicates that you can specify the preceding parameter for up to eight times.

vlan untag: Maps traffic without a VLAN tag to a subinterface.

vlan vlan-id [ to vlan-id ] }&<1-12>: Maps traffic with the specified VLAN tags to a subinterface. The vlan-id argument is a VLAN ID in the range of 1 to 4094. The vlan-id to vlan-id option specifies a VLAN ID range. &<1-12> indicates that you can specify the preceding parameter for up to 12 times. Additionally, a subinterface supports up to 12 VLAN IDs.

Usage guidelines

Application scenarios

Traffic from the customer side to an ONU must be mapped to an ONU subinterface according to the specific rules before the traffic can go upstream to the OLT.

Restrictions and guidelines

The traffic mapping mode configured by using the onu-mapping command on an ONU line profile subinterface must match the configuration of the mapping-mode command in the ONU line profile.

When you execute the onu-mapping command, follow these restrictions and guidelines:

·     If you execute this command multiple times, the most recent configuration takes effect.

·     Subinterfaces cannot have overlapping configurations.

·     With the mapping-mode uni command executed, the onu-mapping uni all command is the default configuration for subinterface 1, and the other subinterfaces do not have the default configuration. In this case, you cannot execute the onu-mapping uni command on the other subinterfaces. In any other traffic mapping mode, the onu-mapping command does not have the default configuration on any subinterfaces.

Examples

# Configure ONU line profile 30 to map traffic by VLAN. Then, map packets from VLAN 1 to subinterface 1.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] mapping-mode vlan

[Sysname-onu-lineprofile-30] subinterface 1

[Sysname-onu-lineprofile-30-subinterface-1] onu-mapping vlan 1

Related commands

mapping-mode

subinterface

Use subinterface to create an ONU line profile subinterface and enter its view, or enter the view of an existing ONU line profile subinterface.

Use undo subinterface to delete an ONU line profile subinterface.

Syntax

subinterface subnumber

undo subinterface subnumber

Default

The default subinterface 1 exists in an ONU line profile.

Views

ONU line profile view

Predefined user roles

network-admin

Parameters

subnumber: Specifies a subinterface number in the range of 1 to 8. A single ONU line profile supports up to 8 subinterfaces.

Usage guidelines

Application scenarios

Use subinterfaces in an ONU line profile to plan the configuration of ONU subinterfaces. When an ONU line profile is applied to an ONU interface, the system will create ONU subinterfaces with the specified subinterface numbers and related configurations.

An ONU subinterface is a virtual interface that identifies a service flow between OLT and ONU. Use different ONU subinterfaces to configure various services for the same ONU.

Operating mechanism

An ONU line profile subinterface includes the following commands. On the default subinterface 1, all these commands use the default settings.

·     apply onu-service-profile

·     apply tcont

·     onu-mapping

Examples

# Create subinterface 2 in ONU line profile 30 and enter its view.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] subinterface 2

[Sysname-onu-lineprofile-30-subinterface-2]

After you complete the preceding configuration, bind an ONU to interface ONU 1/0/1:1 and apply the ONU line profile to the ONU interface. Then, the system will create ONU subinterface ONU 1/0/1:1.2 with subinterface number 2.

[Sysname-onu-lineprofile-30-subinterface-2] quit

[Sysname-onu-lineprofile-30] quit

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

[Sysname-Onu1/0/1:1] bind onu-id sn h3c-12345678

[Sysname-Onu1/0/1:1] bind onu-line-profile 30

[Sysname-Onu1/0/1:1] quit

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

[Sysname-Onu1/0/1:1.2]

Related commands

apply onu-service-profile

apply tcont

onu-mapping

tcont

Use tcont to create a T-CONT and specify an ONU DBA profile for it.

Use undo tcont to delete a T-CONT.

Syntax

tcont tcont-name [ onu-dba-profile profile-name ]

undo tcont tcont-name

Default

An ONU line profile has created the default T-CONT named tcont_default, which uses the ONU DBA profile named dba_profile_default.

Views

ONU line profile view

Predefined user roles

network-admin

Parameters

tcont-name: Specifies a T-CONT name, a case-sensitive string of 1 to 31 characters.

onu-dba-profile profile-name: Specifies an existing ONU DBA profile by its name for a T-CONT. If you do not specify this option, a T-CONT uses the default ONU DBA profile named dba_profile_default.

Usage guidelines

Application scenarios

A transmission container (T-CONT) acts as a traffic-bearing object in the upstream direction of a GPON network. Traffic of all ONU subinterfaces must be mapped to T-CONTs. Then, the OLT schedules the upstream traffic through DBA.

After you create a T-CONT, use the apply tcont command to apply the T-CONT to an ONU line profile subinterface. Then, the subinterface's traffic is mapped to the T-CONT.

Restrictions and guidelines

To delete a T-CONT that has been applied to an ONU line profile subinterface, first use the undo apply tcont command in ONU line profile subinterface view to restore the default.

You can configure a maximum of eight T-CONTs in an ONU line profile.

Examples

# Configure a T-CONT named voip in ONU line profile 30 and specify the T-CONT to use the ONU DBA profile named dba-voip.

<Sysname> system-view

[Sysname] onu line-profile 30

[Sysname-onu-lineprofile-30] tcont voip onu-dba-profile dba-voip

Related commands

apply tcont

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 configuration profile view

Predefined user roles

network-admin

Parameters

uni-number : Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

Usage guidelines

This command is mutually exclusive with the uni duplex, uni mdix-mode, and uni speed commands.

Examples

# In ONU configuration profile 1, enable autonegotiation on UNI 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-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 configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

text: Specifies a description, a string of 1 to 40 characters.

Examples

# In ONU configuration profile 1,  configure the description as Test for UNI 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-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 configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

auto: Specifies the auto mode.

full: Specifies the full duplex mode.

half: Specifies the half duplex mode.

Usage guidelines

Before you execute this command, first execute the undo uni uni-number auto-negotiation command.

Examples

# In ONU configuration profile 1, set the duplex mode to auto for UNI 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 duplex auto

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 configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

Examples

# In ONU configuration profile 1, enable flow control on UNI 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 flow-control

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

UNIs on ONUs are not assigned to the isolation group.

Views

ONU configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

Usage guidelines

An ONU supports only one isolation group. The number of ports in the isolation group is unlimited.

This command is mutually exclusive with the onu port-isolate enable command.

Examples

# In ONU configuration profile 1, assign UNI 1 and UNI 2 on ONUs to the isolation group.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 port-isolate

[Sysname-onu-cfgprofile-1] uni 2 port-isolate

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

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

Examples

# Shut down UNI 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 configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

10: Sets the UNI rate to 10 Mbps.

100: Sets the UNI rate to 100 Mbps.

1000: Sets the UNI rate to 100 Mbps.

auto: Enable auto rate negotiation.

Usage guidelines

Before you execute this command, first execute the undo uni uni-number auto-negotiation command.

Examples

# In ONU configuration profile 1, set the rate to 10 Mbps for UNI 1 on ONUs.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 speed 10

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

undo uni uni-number statistics enable

Default

The packet statistics feature is enabled for a UNI.

Views

ONU configuration profile view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

Examples

# Enable packet statistics for UNI 1 in ONU configuration profile 1.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 statistics enable

uni vlan-mode

Use uni vlan-mode to set the VLAN operation mode of a UNI.

Use undo uni vlan-mode to restore the default.

Syntax

undo uni uni-number vlan-mode

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>

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>

Default

The VLAN operation mode for a UNI is transparent.

Views

ONU configuration profile view

ONU interface view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the maximum number of UNIs supported on an ONU. An ONU supports up to 32 UNIs.

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 untagged incoming frames with its PVID.

priority priority: Specifies an 802.1p priority value for packets, in the range of 0 to 7. In tag mode, translation mode, trunk mode, or N:1 aggregation mode, a UNI sets the 802.1p priority only in the PVID tag that it adds to untagged incoming frames.

{ original-vlan-id to translated-vlan-id } &<1-15>: Specifies a maximum of 15 original VLAN ID and translated VLAN ID pairs. The value range for VLAN IDs is 1 to 4094.

trunk-vlan-list: Specifies the permitted VLANs in the format of { vlan-id1 to vlan-id2 }&<1-15>. You can specify a maximum of 15 VLAN ID ranges. In a VLAN ID range, the start VLAN ID cannot be greater than the end VLAN ID. Different VLAN ID ranges cannot overlap. The value range for VLAN IDs is 1 to 4094.

{ vlan-id1 to vlan-id2 aggregated-vlan aggregated-vlan }&<1-15>: Translates a range of VLANs to an aggregate VLAN. The vlan-id1 to vlan-id2 option specifies the original VLAN range. In the VLAN range, the start VLAN ID cannot be greater than the end VLAN ID. The aggregated-vlan argument specifies the translated aggregate VLAN. You can specify a maximum of 15 original VLAN ID range and aggregate VLAN pairs. Different VLAN ID ranges cannot overlap. The value range for VLAN IDs is 1 to 4094.

Usage guidelines

If the link type of all ONU 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 users receive only untagged packets.

Examples

# In ONU configuration profile 1, set the VLAN operation mode of UNI 1 to transparent.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 vlan-mode transparent

# Configure the VLAN operation mode of UNI 1 as the tag mode. Add VLAN tag 100 to the untagged packets received on the UNI, and set the 802.1p priority to 3 for the packets.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 vlan-mode tag pvid 100 priority 3

# Configure the VLAN operation mode of UNI 1 as the translation mode. Set the PVID to 100. Add the PVID tag to untagged incoming packets and set the 802.1p priority to 3 for packets. Replace VLAN ID 2 of incoming packets with VLAN ID 5.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 vlan-mode translation pvid 100 priority 3 2 to 5

# Configure the VLAN operation mode of UNI 1 as the trunk mode. Set the PVID to 1, set the 802.1p priority to 3 for the packets, and allow packets from VLANs 2 through 5 to pass through.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 vlan-mode trunk pvid 1 priority 3 2 to 5

# Configure the VLAN operation mode of UNI 1 as the N:1 aggregation mode. Set the PVID to 1, and set the 802.1p priority to 3 for packets. Replace the VLAN ID of incoming packets from VLANs 2 through 5 with VLAN ID 100.

<Sysname> system-view

[Sysname] onu config-profile 1

[Sysname-onu-cfgprofile-1] uni 1 vlan-mode aggregation pvid 1 priority 3 2 to 5 aggregate 100

 

 

Contents

GPON basics· i

GPON basics commands· i

activate onu· i

authentication-mode· i

bind onu-id· ii

blacklist onu-id· iii

dba bandwidth-assignment-mode· iii

display dhcp-client iv

display interface· v

display onu· xi

display onu sn· xiii

display packet-drop· xiv

display pon authentication-mode· xvi

display pon diagnostic dba· xvii

display pon diagnostic config· xviii

display pon diagnostic config-error xix

display pon diagnostic status· xx

display pon onu-event xxi

display pon onu-loop-status· xxii

display pon onu-update· xxiii

display pon optics-parameters· xxiv

display pon version· xxv

display uni xxvi

display vendor-specific information· xxx

ip address· xxxiii

ipv6 address· xxxiii

management server xxxiv

management-vlan· xxxv

olt-mode· xxxvi

onu flow· xxxvii

onu bind auto· xxxviii

onu bind batch· xxxix

onu bind type· xl

onu-distance· xli

shutdown management-vlan-interface· xlii

using onu· xliii

GPON configuration profile commands· xliv

apply onu-config-profile· xliv

apply onu-service-profile· xliv

apply tcont xlv

bind onu-line-profile· xlvi

dba type1· xlvii

dba type2· xlvii

dba type3· xlviii

dba type4· xlix

dba type5· l

display onu-config-profile· lii

display onu-dba-profile· liv

display onu-line-profile· lv

display onu-service-profile· lvii

encryption enable· lviii

forward-error-correction· lix

gpon compare-profile· lix

gpon copy-profile· lxi

mapping-mode· lxi

onu config-profile· lxii

onu dba-profile· lxiv

onu line-profile· lxv

onu port-isolate enable· lxvi

onu service-profile· lxvi

onu statistics enable· lxviii

onu-mapping· lxviii

subinterface· lxx

tcont lxxi

uni auto-negotiation· lxxii

uni description· lxxii

uni duplex· lxxiii

uni flow-control lxxiv

uni port-isolate· lxxiv

uni shutdown· lxxv

uni speed· lxxv

uni statistics enable· lxxvi

uni vlan-mode· lxxvii


 

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