19-EPON Command Reference

HomeSupportSwitchesS7500E SeriesReference GuidesCommand ReferencesH3C S7500E Switch Series Command References-Release758X-6W10019-EPON Command Reference
Table of Contents
Related Documents
01-EPON commands
Title Size Download
01-EPON commands 593.08 KB

Contents

EPON commands· 1

OLT commands· 1

alarm device-fatal-error enable· 1

alarm oam critical-event enable· 1

alarm oam dying-gasp enable· 2

alarm oam local-link-fault enable· 3

alarm onu-laser always-on enable· 3

alarm onu-over-limit enable· 4

alarm registration-error enable· 5

authentication-mode· 5

dba-parameters· 6

dba-report queue-set-id queue-id threshold· 7

dba-report queue-set-number 8

display epon alarm history· 8

display epon alarm statistics· 9

display epon authentication-mode· 10

display epon fiber-backup group· 11

display epon oam·· 12

display epon onu-event 13

display epon optics-parameters· 13

display epon parameter 14

display epon statistics· 15

display epon version· 15

display epon workmode· 16

display interface· 17

encryption update-time· 24

fiber-backup group· 24

ftth· 25

grant-filtering enable· 25

interface· 26

max-rtt 26

member 27

monitor enable· 28

multicast call-detail-record cache-limit 28

multicast call-detail-record enable· 29

multicast call-detail-record record-delay· 29

multicast call-detail-record report-interval 30

multicast call-detail-record send· 31

oam-discovery-timeout 31

olt-mode· 32

onu invalid-address mode· 33

onu snmp port-limit 34

port fiber-backup group· 35

port switch-over 35

port-type· 36

timer monitor 37

vendor-compatible· 37

ONU remote management commands· 38

alarm enable· 38

bandwidth-downstream·· 45

bandwidth-downstream policy enable· 45

bind onu-id· 46

deregister onu· 47

display dhcp-client 47

display epon multicast 48

display onu· 49

display onu loid· 50

display onu mac-address· 51

display onu protocol 52

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

display onu protocol transparent-multicast 54

display serial-information· 54

display uni 55

display uni poe· 58

display vendor-specific information· 60

encryption enable· 62

forward-error-correction· 63

ip address· 64

management-vlan· 64

multicast mode· 65

multicast vlan-id ip· 66

multicast-control host-aging-time· 66

onu authentication-domain· 67

onu bind auto· 68

onu bind batch· 69

onu bind one-to-one· 70

onu event 71

onu mac-address timer 72

onu multicast fast-leave enable· 73

onu poe enable· 73

onu poe legacy enable· 74

onu poe max-power 75

onu poe mode· 76

onu port-isolate enable· 76

onu protocol enable· 77

onu protocol igmp-snooping timer 78

onu protocol igmp-snooping suppression· 79

onu protocol loopback-detection action· 79

onu protocol smart-link flush enable· 80

onu protocol smart-link uni-bind enable· 80

onu protocol transparent-multicast 81

onu statistics enable· 82

qos cos-local-precedence-map· 83

reboot onu· 84

reset counters serial 84

reset counters uni 85

serial databit 85

serial parity· 86

serial session protocol-type· 86

serial speed· 88

serial stopbit 89

service-sla apply· 89

service-sla mode· 90

service-sla queue· 91

shutdown management-vlan-interface· 92

transceiver-txpower 93

uni auto-negotiation· 94

uni classification-marking· 94

uni description· 96

uni duplex· 97

uni flow-control 97

uni igmp-snooping fast-leave· 98

uni mac-address max-mac-count 98

uni mdix-mode· 99

uni mirroring-port 100

uni monitor-port 101

uni multicast vlan· 101

uni multicast-control multicast-address· 102

uni multicast-group-number 103

uni multicast-strip-tag enable· 104

uni poe enable· 105

uni poe legacy enable· 105

uni poe max-power 106

uni poe mode· 107

uni poe priority· 108

uni port-isolate· 109

uni port-policy inbound· 109

uni port-policy outbound· 110

uni qinq· 111

uni restart auto-negotiation· 112

uni shutdown· 112

uni speed· 113

uni statistics enable· 113

uni transparent-multicast 114

uni virtual-cable-test 115

uni vlan-mode· 116

update onu filename· 118

update onu type· 120

upstream-sla· 121

using onu· 122

voip-port shutdown· 122

BCMP proxy commands· 123

bcmp-proxy enable· 123

bcmp-proxy server address· 123

bcmp-proxy server port 124

bcmp-proxy vlan· 125

 


EPON commands

The device supports the following EPON cards:

·     10G-EPON cards: LSQM1XPT12TSFD0 interface cards.

·     1G-EPON cards: LSQM1PT8TSSC0 and LSQM1PT24TSSC0 interface cards.

Unless otherwise specified, interfaces on 1G-EPON cards are used in this document.

OLT commands

alarm device-fatal-error enable

Use alarm device-fatal-error enable to enable the device fatal error alarm.

Use undo alarm device-fatal-error enable to disable the device fatal error alarm.

Syntax

alarm device-fatal-error enable

undo alarm device-fatal-error enable

Default

The device fatal error alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if an error that causes system unavailability occurs, such as memory leak and high memory usage.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm device-fatal-error enable

alarm oam critical-event enable

Use alarm oam critical-event enable to enable the critical event alarm.

Use undo alarm oam critical-event enable to disable the critical event alarm.

Syntax

alarm oam critical-event enable

undo alarm oam critical-event enable

Default

The critical event alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if the local link fault or dying gasp alarm is sent.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm oam critical-event enable

alarm oam dying-gasp enable

Use alarm oam dying-gasp enable to enable the dying gasp alarm.

Use undo alarm oam dying-gasp enable to disable the dying gasp alarm.

Syntax

alarm oam dying-gasp enable

undo alarm oam dying-gasp enable

Default

The dying gasp alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if an irrecoverable error occurs, such as a system error and a data loading error.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm oam dying-gasp enable

alarm oam local-link-fault enable

Use alarm oam local-link-fault enable to enable the local link fault alarm.

Use undo alarm oam local-link-fault enable to disable the local link fault alarm.

Syntax

alarm oam local-link-fault enable

undo alarm oam local-link-fault enable

Default

The local link fault alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if a fault occurs in the inbound direction on the OLT.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm oam local-link-fault enable

alarm onu-laser always-on enable

Use alarm onu-laser always-on enable to enable the ONU laser-always-on alarm.

Use undo alarm onu-laser always-on enable to disable the ONU laser-always-on alarm.

Syntax

alarm onu-laser always-on enable [ action power-off ]

undo alarm onu-laser always-on enable

Default

The ONU laser-always-on alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

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

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm onu-laser always-on enable

alarm onu-over-limit enable

Use alarm onu-over-limit enable to enable the ONU over limit alarm.

Use undo alarm onu-over-limit enable to disable the ONU over limit alarm.

Syntax

alarm onu-over-limit enable

undo alarm onu-over-limit enable

Default

The ONU over limit alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if the number of ONUs connected to the OLT reaches the upper limit.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] alarm onu-over-limit enable

alarm registration-error enable

Use alarm registration-error enable to enable the registration error alarm.

Use undo alarm registration-error enable to disable the registration error alarm.

Syntax

alarm registration-error enable

undo alarm registration-error enable

Default

The registration error alarm is enabled.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

This alarm is sent if an error occurs during ONU registration.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

authentication-mode

Use authentication-mode to set the ONU authentication mode.

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

Syntax

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

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

Default

An OLT port uses the MAC mode for ONU authentication.

Views

OLT port view

FTTH view

Predefined user roles

network-admin

Parameters

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

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

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

Usage guidelines

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

If you execute this command in OLT port view, the configuration takes effect only on the OLT port. If you execute this command in FTTH view, the configuration takes effect on all OLT ports. An OLT port preferentially uses the port-specific ONU authentication mode. If no port-specific ONU authentication mode is available, the OLT port uses the ONU authentication mode configured in FTTH view.

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

To restore the default, do not specify any keyword when you execute the undo authentication-mode command. To delete an ONU authentication mode setting, specify the corresponding keyword when you execute the undo authentication-mode command. If no ONU authentication mode setting is available in the view of an OLT port and in FTTH view, the OLT port uses the default setting.

Examples

# Set the ONU authentication mode to MAC and LOID in FTTH view.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] authentication-mode mac loid

dba-parameters

Use dba-parameters to set ONU discovery parameters.

Use undo dba-parameters to restore the default.

Syntax

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

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

Default

An OLT port initiates ONU discovery at an interval of 500 milliseconds, and each ONU discovery process lasts for 3076 TQ.

Views

OLT port view

Predefined user roles

network-admin

Parameters

discovery-frequency frequency: Specifies the ONU discovery interval at which the OLT port broadcasts discovery GATE messages, in the range of 100 to 60000. The unit of the frequency argument is 0.1 millisecond.

discovery-length length: Specifies the duration of each ONU discovery, in the range of 200 to 10240. The unit of the length argument is time quantum (TQ). 1 TQ is equal to 16 ns.

Usage guidelines

Incorrect DBA settings might interrupt services. Make sure you are fully aware of the impact of this command when you use it on a live network.

Examples

# Set the ONU discovery interval to 300 milliseconds on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

dba-report queue-set-id queue-id threshold

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

Use undo dba-report queue-set-id to restore the default.

Syntax

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

undo dba-report queue-set-id queue-set-id

Default

The default thresholds are as follows:

·     0 for queues 1 through 3, and the threshold is activated.

·     65535 for queues 4 and 5, and the threshold is activated.

·     0 for queues 6 through 8, and the threshold is not activated.

Views

ONU port view

Predefined user roles

network-admin

Parameters

queue-set-id: Specifies a queue set ID in the range of 1 to 3.

queue-id: Specifies a queue ID in the range of 1 to 8.

threshold-value: Specifies a threshold in the range of 0 to 65535.

active: Activates the threshold.

inactive: Does not activate the threshold.

Examples

# Set the threshold to 200 for queue 1 in queue set 1 and activate the threshold on ONU 1/0/1:1.

<Sysname> system-view

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

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

dba-report queue-set-number

Use dba-report queue-set-number to set the number of queue sets that ONU REPORT messages support.

Use undo dba-report queue-set-number to restore the default.

Syntax

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

undo dba-report queue-set-number

Default

ONU REPORT messages support two queue sets.

Views

ONU port view

Predefined user roles

network-admin

Parameters

queue-set-number: Specifies the number of queue sets, in the range of 2 to 4.

Examples

# Set the number of queue sets to 2 for ONU REPORT messages on ONU 1/0/1:1.

<Sysname> system-view

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

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

display epon alarm history

Use display epon alarm history to display EPON alarm information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

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

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

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

Usage guidelines

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

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

Examples

# Display all EPON alarms.

<Sysname> disp epon alarm history

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

...

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

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

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

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

display epon alarm statistics

Use display epon alarm statistics to display EPON alarm statistics.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

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

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

Usage guidelines

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

Examples

# Display all EPON alarm statistics.

<Sysname> display epon alarm statistics

Type                     Count

PortAlarmBer             0

PortAlarmFer             0

...

Table 1 Command output

Field

Description

Type

Alarm type.

Count

Alarm count.

 

display epon authentication-mode

Use display epon authentication-mode to display ONU authentication mode settings.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

interface-type: Specifies an interface type. The value of this argument must be olt.

interface-number: Specifies an interface number.

Examples

# Display all ONU authentication mode settings.

<Sysname> display epon authentication-mode

Ftth authentication mode:-

Interface              Authentication-mode

Olt1/0/1               mac and loid

Table 2 Command output

Field

Description

Ftth authentication mode

ONU authentication mode configured in FTTH view:

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

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

?     mac—Authenticates ONUs based on the MAC address.

?     loid—Authenticates ONUs based on the LOID.

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

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

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

Authentication-mode

Port-specific ONU authentication mode:

·     If the ONU authentication mode is not configured for an OLT port, the OLT port is not displayed.

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

?     mac—Authenticates ONUs based on the MAC address.

?     loid—Authenticates ONUs based on the LOID.

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

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

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

 

display epon fiber-backup group

Use display epon fiber-backup group to display information about fiber backup groups.

Syntax

display epon fiber-backup group { group-number | all }

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

group-number: Specifies a fiber backup group number in the range of 1 to 80.

all: Specifies all fiber backup groups.

Examples

# Display information about fiber backup group 1.

<Sysname> display epon fiber-backup group 1

Fiber backup group 1 information:

 Member         Role        State

 OLT1/0/1       Master      Active

 OLT1/0/2       Standby     Ready

Table 3 Command output

Field

Description

Role

OLT port role:

·     Master—Master port.

·     Standby—Subordinate port.

State

OLT port status:

·     Active—The master port is active. (The chip is active and the EPON transceiver module is plugged in.)

·     Ready—The subordinate port is ready, and a master/subordinate switchover can be performed.

·     Other—Any other condition.

 

display epon oam

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

Syntax

display epon oam interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be onu.

interface-number: Specifies an interface number.

Examples

# Display OAM information for ONU 1/0/1:1.

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

OAM information:

 OAM version: 1

 Multiplexer action: Discard non-OAM PDUs

 Parser action     : Forward non-OAM PDUs to higher layer

 Sending variable-length OAM response PDUs: Not supported

 Interpreting link events                 : Not supported

 OAM mode              : Active

 Unidirectional support: Disabled

 Loopback support      : Disabled

 Maximal PDU size      : 494 bytes

 Identifier            : 433348

display epon onu-event

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

Syntax

display epon onu-event interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be onu.

interface-number: Specifies an interface number.

Examples

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

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

Date         Time       ONU Event          ONU Status

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

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

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

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

display epon optics-parameters

Use display epon optics-parameters to display optical parameters for an OLT port.

Syntax

display epon optics-parameters interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be olt.

interface-number: Specifies an interface number.

Examples

# Display optical parameters for OLT 1/0/1.

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

Optical parameters:

 Temperature       :37.50 °C

 Voltage           :3.27 V

 Bias              :1.74 mA

 Transmitter power :4.36 dBm

Table 4 Output description

Field

Description

Bias

Bias current.

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

Transmitter power

Transmit power.

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

 

display epon parameter

Use display epon parameter to display EPON system parameters.

Syntax

In standalone mode:

display epon parameter slot slot-number

In IRF mode:

display epon parameter chassis chassis-number slot slot-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

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

Examples

# Display EPON system parameters for the specified slot.

<Sysname> display epon parameter slot 1

Parameters:

     OUI: 111111     OAM version:3.0

     OUI: 111111     OAM version:2.1

     OUI: 111111     OAM version:2.0

     OUI: 111111     OAM version:1.3

     OUI: 111111     OAM version:1(default)

     Key update timer            : 10 seconds

     OAM discovery timeout timer : 3.0 seconds

display epon statistics

Use display epon statistics to display packet error rates on an ONU port.

Syntax

display epon statistics interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be onu.

interface-number: Specifies an interface number.

Usage guidelines

You can view packet error rates of an ONU port only when the port is up.

This command displays the average error rates for the last sampling interval. An error rate value less than 1e-9 is displayed as 0.

Examples

# Display packet error rates on ONU 1/0/1:1.

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

ONU statistics:

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

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

display epon version

Use display epon version to display version information for an OLT or ONU port.

Syntax

display epon version interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be olt or onu.

interface-number: Specifies an interface number.

Usage guidelines

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

Examples

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

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

OLT version information:

 Firmware major version: 0

 Firmware minor version: 3

 Hardware major version: 1

 Hardware minor version: 1

 Supported LLIDs       : 63

# Display version information for ONU 1/0/1:1.

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

ONU version information:

 Hardware major version: A

 Hardware minor version: 0

 Supported LLIDs       : 1

 MAC type of UNI port  : MII

 CTC version           : 2.1

display epon workmode

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

Syntax

display epon workmode interface interface-type interface-number

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

interface-type: Specifies an interface type. The value of this argument must be olt or onu.

interface-number: Specifies an interface number.

Usage guidelines

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

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

Examples

# Display the operation mode of OLT 1/0/1.

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

Port status: Open

MAC address: 000f-e2a1-1027

DBA mode   : Internal

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

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

Port status: Open

FEC mode   : Disabled

Table 5 Command output

Field

Description

Port status

Port status:

·     Open.

·     Closed.

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

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

·     Unknown.

MAC address

MAC address of the OLT port.

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

DBA mode

DBA algorithm of the OLT port:

·     Internal—Internal DBA algorithm.

·     External—External DBA algorithm.

 

display interface

Use display interface to display OLT or ONU port information.

Syntax

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

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

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

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

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

Usage guidelines

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

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

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

Examples

# Display information about OLT 1/0/1.

<Sysname> display interface Olt 1/0/1

Olt1/0/1

Current state: UP

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

Description: Olt1/0/1 Interface

Maximum frame length: 1500

Port hardware type is 1000_BASE_PX_SFP

Flow-control is not enabled

Broadcast max-ratio: 100%

Multicast max-ratio: 100%

Unicast max-ratio: 100%

PVID: 1

Port link-type: Hybrid

 Tagged VLANs:   None

 Untagged VLANs: 1(default vlan)

Last clearing of counters: Never

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

Last time when physical state changed to up:-

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

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

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

 Input (total):  0 packets, 0 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Input (normal):  0 packets, 0 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

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

          0 CRC, - frame, - overruns, - aborts

          - ignored, - parity errors

 Output (total): 100000 packets, 12800000 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

 Output (normal): 100000 packets, 12800000 bytes

          - unicasts, - broadcasts, - multicasts, 0 pauses

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

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

          - lost carrier, - no carrier

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

          - unicasts, - broadcasts, - multicasts, 0 pauses

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

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

          - unicasts, - broadcasts, - multicasts, 0 pauses

 10G-EPON output: 0 output errors

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

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

Onu1/0/1:1

Current state: DOWN

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

Description: Onu1/0/1:1 Interface

Maximum frame length: 1500

Loopback is not set

Port hardware type is 1000M_SFF_NO_CONNECTOR

Broadcast max-ratio: 100%

Multicast max-ratio: 100%

Unicast max-ratio: 100%

PVID: 1

Port link-type: Access

 Tagged VLANs:   None

 Untagged VLANs: 1

Last clearing of counters: Never

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

 Last 300 second 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 ports.

<Sysname> display interface Olt brief

Brief information on interfaces in bridge mode:

Link: ADM - administratively down; Stby - standby

Speed: (a) - auto

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

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

Interface            Link Speed   Duplex Type PVID Description

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

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

...

Table 6 Command output

Field

Description

Current state

Physical link state of the interface:

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

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

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

IP packet frame type

IPv4 packet framing format.

hardware address

MAC address of the interface.

Maximum frame length

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

Flow-control is not enabled

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

Broadcast max-

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

Multicast max-

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

Unicast max-

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

PVID

Port VLAN ID (PVID) of the interface.

Port link-type

Link type of the interface:

·     access.

·     trunk.

·     hybrid.

Tagged VLANs

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

Untagged VLANs

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

Last clearing of counters

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

Current system time

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

Last time when physical state changed to up

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

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

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

Last time when physical state changed to down

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

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

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

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

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

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

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

Input (total):  0 packets, 0 bytes

          - unicasts, 0 broadcasts, - multicasts, - pauses

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

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

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

Input (normal):  0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

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

The four fields on the second line represent:

·     Number of inbound normal unicast packets.

·     Number of inbound normal broadcasts.

·     Number of inbound normal multicasts.

·     Number of inbound normal pause frames.

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

Input

Statistics of inbound abnormal packets.

input errors

Number of inbound errors packets.

Runts

Number of inbound runts.

Giants

Number of inbound giants.

throttles

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

CRC

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

frame

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

overruns

Number of packets dropped because the input rate of the 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): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

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

The four fields on the second line represent:

·     Number of outbound unicast packets.

·     Number of outbound broadcasts.

·     Number of outbound multicasts.

·     Number of outbound pause frames.

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

Output(normal): 0 packets, 0 bytes

          0 unicasts, 0 broadcasts, 0 multicasts, 0 pauses

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

The four fields on the second line represent:

·     Number of outbound normal unicast packets.

·     Number of outbound normal broadcasts.

·     Number of outbound normal multicasts.

·     Number of outbound normal pause frames.

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

Output

Statistics of outbound abnormal packets.

output errors

Number of outbound packets with errors.

underruns

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

buffer failures

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

aborts

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

deferred

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

collisions

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

late collisions

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

lost carrier

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

no carrier

Number of times that the 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.

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

          - unicasts, - broadcasts, - multicasts, 0 pauses

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

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

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

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

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

·     input errors—Number of inbound errors packets.

·     runts—Number of inbound runts.

·     giants—Number of inbound giants.

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

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

          - unicasts, - broadcasts, - multicasts, 0 pauses

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

The four fields on the second line represent:

·     Number of inbound unicast packets.

·     Number of inbound broadcasts.

·     Number of inbound multicasts.

·     Number of inbound pause frames.

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

10G-EPON output: 0 output errors

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

Brief information on interfaces in bridge mode:

Brief information about Layer 2 interfaces.

Interface

Interface name.

Link

Physical link state of the interface:

·     UP—The interface is physically up.

·     DOWN—The interface is physically down.

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

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

Speed

Speed of the interface, in bps.

Duplex

Duplex mode of the interface.

Type

Link type of the interface:

·     A—Access.

·     H—Hybrid.

·     T—Trunk.

PVID

Port VLAN ID.

encryption update-time

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

Use undo encryption update-time to restore the default.

Syntax

In standalone mode:

encryption slot slot-number update-time update-time

undo encryption slot slot-number update-time

In IRF mode:

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

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

Default

The LLID key update interval is 10 seconds.

Views

FTTH view

Predefined user roles

network-admin

Parameters

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

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

update-time update-time: Specifies the LLID key update interval in the range of 1 to 255 seconds.

Examples

# Set the LLID key update interval to 100 seconds for the specified slot.

<Sysname> system-view

[Sysname] ftth

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

fiber-backup group

Use fiber-backup group to create a fiber backup group, or enter the view of an existing fiber backup group.

Use undo fiber-backup group to delete a fiber backup group.

Syntax

fiber-backup group group-number

undo fiber-backup group group-number

Default

No fiber backup groups exist.

Views

FTTH view

Predefined user roles

network-admin

Parameters

group-number: Specifies a fiber backup group number in the range of 1 to 80.

Examples

# Create fiber backup group 1 and enter its view.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

Related commands

member

port fiber-backup group

ftth

Use ftth to enter FTTH view.

Syntax

ftth

Views

System view

Predefined user roles

network-admin

Examples

# Enter FTTH view.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth]

grant-filtering enable

Use grant-filtering enable to enable grant filtering on an OLT port.

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

Syntax

grant-filtering enable

undo grant-filtering enable

Default

Grant filtering is enabled on an OLT port.

Views

OLT port view

Predefined user roles

network-admin

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

interface

Use interface to enter OLT port or ONU port view.

Syntax

interface interface-type interface-number

Views

System view

Predefined user roles

network-admin

Parameters

interface-type: Specifies an interface type. The value of this argument must be olt or onu.

interface-number: Specifies an interface number.

Examples

# Enter the view of OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1]

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

<Sysname> system-view

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

[Sysname-Onu1/0/1:1]

max-rtt

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

Use undo max-rtt to restore the default.

Syntax

max-rtt max-rtt-value

undo max-rtt

Default

The maximum ONU-OLT RTT is 15000 TQ.

Views

OLT port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

Make sure you are fully aware of the impact of this command when you use it on a live network.

Examples

# Set the maximum ONU-OLT RTT to 25000 TQ on OLT 1/0/1.

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

member

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

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

Syntax

member olt interface-number

undo member olt interface-number

Default

A fiber backup group does not contain any OLT ports.

Views

Fiber backup group view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

A fiber backup group contains a maximum of two OLT ports. An OLT port can be assigned to only one fiber backup group. The OLT port assigned first acts as the master port, and the other OLT port acts as the subordinate port. Only the master OLT port forwards traffic.

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

Examples

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

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

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

Related commands

fiber-backup group

port fiber-backup group

monitor enable

Use monitor enable to enable alarm monitoring.

Use undo monitor enable to disable alarm monitoring.

Syntax

monitor enable

undo monitor enable

Default

Alarm monitoring is enabled.

Views

FTTH view

Predefined user roles

network-admin

Examples

# Enable alarm monitoring.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] monitor enable

Related commands

timer monitor

multicast call-detail-record cache-limit

Use multicast call-detail-record cache-limit to set the upper limit for the Call Detail Record (CDR) buffer.

Use undo multicast call-detail-record cache-limit to restore the default.

Syntax

multicast call-detail-record cache-limit number

undo multicast call-detail-record cache-limit

Default

The CDR buffer can save a maximum of 32 records.

Views

FTTH view

Predefined user roles

network-admin

Parameters

number: Specifies an upper limit in the range of 16 to 1024.

Usage guidelines

If the CDR buffer upper limit is reached, the OLT automatically sends the CDR records to the information center module and clears the CDR buffer.

Examples

# Set the upper limit of the CDR buffer to 16.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast call-detail-record cache-limit 16

multicast call-detail-record enable

Use multicast call-detail-record enable to enable CDR.

Use undo multicast call-detail-record enable to disable CDR.

Syntax

multicast call-detail-record enable

undo multicast call-detail-record enable

Default

CDR is disabled.

Views

FTTH view

Predefined user roles

network-admin

Usage guidelines

CDR takes effect only on ONUs in multicast control mode.

Examples

# Enable CDR.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast call-detail-record enable

Related commands

multicast mode

multicast call-detail-record record-delay

Use multicast call-detail-record record-delay to set the CDR generation delay.

Use undo multicast call-detail-record record-delay to restore the default.

Syntax

multicast call-detail-record record-delay delay-time

undo multicast call-detail-record record-delay

Default

The CDR generation delay is 30 seconds.

Views

FTTH view

Predefined user roles

network-admin

Parameters

delay-time: Specifies a delay time in the range of 10 to 600 seconds.

Usage guidelines

After CDR is enabled, the OLT periodically checks the online duration of users. If the online duration of a user is longer than the CDR generation delay, the OLT generates a CDR record and saves it to the CDR buffer.

Examples

# Set the CDR generation delay to 20 seconds.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast call-detail-record record-delay 20

multicast call-detail-record report-interval

Use multicast call-detail-record report-interval to set the CDR sending interval.

Use undo multicast call-detail-record report-interval to restore the default.

Syntax

multicast call-detail-record report-interval interval

undo multicast call-detail-record report-interval

Default

The CDR sending interval is 30 seconds.

Views

FTTH view

Predefined user roles

network-admin

Parameters

interval: Specifies an interval in the range of 30 to 600 seconds.

Usage guidelines

The OLT sends CDR records to the information center module and clears the CDR buffer at the CDR sending interval.

Examples

# Set the CDR sending interval to 40 seconds.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast call-detail-record report-interval 40

multicast call-detail-record send

Use multicast call-detail-record send to manually send CDR records.

Syntax

multicast call-detail-record send

Views

FTTH view

Predefined user roles

network-admin

network-operator

Usage guidelines

This command allows you to manually send CDR records to the information center module and clears the CDR buffer. You can set CDR record output rules, including output destinations. For more information about using the information center, see Network Management and Monitoring Configuration Guide.

Examples

# Manually send CDR records.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast call-detail-record send

oam-discovery-timeout

Use oam-discovery-timeout to set the timeout timer for extended OAM discovery.

Use undo oam-discovery-timeout to restore the default.

Syntax

In standalone mode:

oam-discovery-timeout slot slot-number value value

undo oam-discovery-timeout slot slot-number value

In IRF mode:

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

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

Default

The timeout timer for extended OAM discovery is 3 seconds.

Views

FTTH view

Predefined user roles

network-admin

Parameters

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

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

value value: Specifies a timeout period in the range of 30 to 2550. The unit of the value argument is 100 milliseconds.

Usage guidelines

The timeout timer for extended OAM discovery determines the timeout period for extended OAM messages during extended OAM discovery.

As a best practice, use the default setting for this timer. Increase this timer on the slot that hosts an OLT port if an ONU connected to the OLT and bound to an ONU port remains down.

Examples

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

<Sysname> system-view

[Sysname] ftth

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

olt-mode

Use olt-mode to set the OLT operating mode.

Use undo olt-mode to restore the default.

Syntax

In standalone mode:

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

undo olt-mode slot slot-number

In IRF mode:

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

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

Default

The OLT operating mode is 64-ONU.

Views

FTTH view

Predefined user roles

network-admin

Parameters

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

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

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

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

Usage guidelines

Only 10G-EPON cards support this command.

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

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

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

Examples

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

<Sysname> system-view

[Sysname] ftth

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

Related commands

using onu

onu invalid-address mode

Use onu invalid-address mode to set the processing mode for frames with an invalid source MAC address.

Use undo onu invalid-address mode to restore the default.

Syntax

onu invalid-address mode { abandon | broadcast | unicast }

undo onu invalid-address mode

Default

The abandon mode is enabled for frames with an invalid source MAC address.

Views

FTTH view

Predefined user roles

network-admin

Parameters

abandon: Specifies the abandon mode. In this mode, the OLT drops frames with an invalid source MAC address.

broadcast: Specifies the broadcast mode. In this mode, the OLT forwards frames sourced from an invalid MAC address without learning the source MAC address. When the OLT receives a frame with an invalid destination MAC address, it floods the frame to all interfaces in the frame's VLAN except for the incoming interface.

unicast: Specifies the unicast mode. In this mode, the OLT forwards frames sourced from an invalid MAC address and generates a unicast MAC address entry for the invalid MAC address. The OLT uses the entry for forwarding frames destined for the invalid MAC address.

Usage guidelines

An invalid MAC address is a MAC address whose seventh bit of the first byte is 1, for example, 02-10-94-00-00-02 (the first byte is 00000010).

The processing mode for frames with an invalid source MAC address does not take effect on the following interfaces:

·     OLT ports on 10G-EPON cards.

·     GE interfaces that are changed from EPON fiber interfaces.

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

Examples

# Set the processing mode to broadcast for frames with an invalid source MAC address.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu invalid-address mode broadcast

onu snmp port-limit

Use onu snmp port-limit to set the maximum number of ONU E1/UNI/VoIP ports that can be queried by SNMP.

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

Syntax

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

undo onu snmp port-limit

Default

The maximum number of UNI ports that can be queried by SNMP is 4.

The maximum number of E1/VoIP ports that can be queried by SNMP is 0.

Views

FTTH view

Predefined user roles

network-admin

Parameters

e1 e1-count: Specifies the maximum number of ONU E1 ports in the range of 0 to 16.

uni uni-count: Specifies the maximum number of ONU UNI ports in the range of 1 to 79.

voip voip-count: Specifies the maximum number of ONU VoIP ports in the range of 0 to 64.

Usage guidelines

By decreasing the maximum number of ONU E1/UNI/VoIP ports that can be queried by SNMP, you can reduce the resource consumption of the device.

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

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

Examples

# Set the maximum number of ONU UNI ports that can be queried by SNMP to 63.

<Sysname> system-view

[Sysname] ftth

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

port fiber-backup group

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

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

Syntax

port fiber-backup group group-number

undo port fiber-backup group

Default

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

Views

OLT port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

A fiber backup group contains a maximum of two OLT ports. An OLT port can be assigned to only one fiber backup group. The OLT port assigned first acts as the master port, and the other OLT port acts as the subordinate port. Only the master OLT port forwards traffic.

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

Examples

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

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

[Sysname-fiber-group1] quit

[Sysname] interface olt 1/0/1

[Sysname-Olt1/0/1] port fiber-backup group 1

Related commands

fiber-backup group

member

port switch-over

Use port switch-over to perform a master/subordinate switchover for a fiber backup group.

Syntax

port switch-over

Views

Fiber backup group view

Predefined user roles

network-admin

Usage guidelines

For successful command execution, use this command when the subordinate OLT port is in Ready state.

Examples

# Perform a master/subordinate switchover for fiber backup group 1.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] fiber-backup group 1

[Sysname-fiber-group1] port switch-over

port-type

Use port-type to change the type of a fiber interface.

Use undo port-type to cancel the type change of a fiber interface.

Syntax

In OLT port view:

port-type gigabitethernet

undo port-type gigabitethernet

In Layer 2 or Layer 3 GigabitEthernet interface view:

port-type olt

undo port-type olt

Default

The type of a fiber interface is OLT.

Views

Layer 2/Layer 3 GigabitEthernet interface view

OLT port view

Predefined user roles

network-admin

Parameters

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

olt: Changes the GigabitEthernet interface to an OLT port.

Usage guidelines

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

The fiber interfaces are grouped by port number in order, starting from 1. Each group contains four interfaces. To change the type of an interface in a group, you must change the type of all the four interfaces in the group. For the interface type change to take effect, reboot the interface card.

If you change the type of an interface, the system automatically removes the original interface and then creates the target interface with the same number as the original interface.

Examples

# Change GigabitEthernet 1/0/1 through GigabitEthernet 1/0/4 to OLT ports.

<Sysname> system-view

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

[Sysname-if-range] port-type olt

timer monitor

Use timer monitor to set the alarm monitoring interval.

Use undo timer monitor to restore the default.

Syntax

timer monitor seconds

undo timer monitor

Default

The alarm monitoring interval is 80 seconds.

Views

FTTH view

Predefined user roles

network-admin

Parameters

seconds: Specifies an interval in the range of 1 to 3600 seconds.

Examples

# Set the alarm monitoring interval to 100 seconds.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] timer monitor 100

Related commands

monitor enable

vendor-compatible

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

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

Syntax

In standalone mode:

vendor-compatible slot slot-number

undo vendor-compatible slot slot-number

In IRF mode:

vendor-compatible chassis chassis-number slot slot-number

undo vendor-compatible chassis chassis-number slot slot-number

Default

Compatibility with third-party ONUs is enabled.

Views

FTTH view

Predefined user roles

network-admin

Parameters

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

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

Usage guidelines

To allow non-H3C ONUs to register with an OLT, enable compatibility with third-party ONUs. If this feature is disabled, only H3C ONUs can register with the OLT.

If you bind a non-H3C ONU to an ONU port before this feature is enabled, the non-H3C ONU cannot register with the OLT even if you enable this feature. For successful registration, you must perform one of the following tasks:

·     Use the deregister onu command to deregister the ONU.

·     Use the shutdown command to shut down the ONU port and then use the undo shutdown command to bring it up.

Examples

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

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] undo vendor-compatible slot 1

ONU remote management commands

 

NOTE:

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

 

alarm enable

Use alarm enable to enable ONU alarms.

Use undo alarm enable to disable ONU alarms.

Syntax

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

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

Default

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

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

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

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

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

auto: Automatically negotiates the CTC protocol version.

ctc2.1: Uses CTC v2.1.

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

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

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

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

Usage guidelines

You can specify only one CTC protocol version on an ONU port.

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

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

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

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

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

Figure 1 Relationships between the triggering thresholds and clearing thresholds

 

Table 7, Table 8, and Table 9 list the alarms supported by the device.

Table 7 ONU device alarms

Alarm

Explanation

Threshold value range

battery-failure

The battery cannot be charged.

N/A

battery-missing

The battery is absent.

N/A

battery-volt-low

The battery voltage is low.

0 to 6.55 V

equipment-alarm

An internal interface failure occurs.

N/A

iad-connection-failure

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

N/A

onu-self-test-failure

The ONU fails the self-test.

N/A

onu-temp-high-alarm

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

-127 to 127°C

onu-temp-low-alarm

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

-127 to 127°C

physical-intrusion-alarm

The ONU is intruded.

N/A

ponif-switch

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

N/A

power-alarm

The power supply is abnormal.

N/A

sleep-status-update

The ONU exits sleep mode and starts operating.

N/A

 

Table 8 PON port alarms

Alarm

Explanation

Threshold value range

downstream-crc-error-frames-alarm

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

0 to 4294967295

downstream-crc-error-frames-warning

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

0 to 4294967295

downstream-discards-alarm

The number of discarded downstream frames exceeds the alarm threshold.

0 to 4294967295

downstream-discards-warning

The number of discarded downstream frames exceeds the warning threshold.

0 to 4294967295

downstream-drop-events-alarm

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

0 to 4294967295

downstream-drop-events-warning

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

0 to 4294967295

downstream-errors-alarm

The number of downstream error frames exceeds the alarm threshold.

0 to 4294967295

downstream-errors-warning

The number of downstream error frames exceeds the warning threshold.

0 to 4294967295

downstream-fragments-alarm

The number of downstream fragments exceeds the alarm threshold.

0 to 4294967295

downstream-fragments-warning

The number of downstream fragments exceeds the warning threshold.

0 to 4294967295

downstream-jabbers-alarm

The number of downstream jabber frames exceeds the alarm threshold.

0 to 4294967295

downstream-jabbers-warning

The number of downstream jabber frames exceeds the warning threshold.

0 to 4294967295

downstream-oversize-frames-alarm

The number of downstream oversized frames exceeds the alarm threshold.

0 to 4294967295

downstream-oversize-frames-warning

The number of downstream oversized frames exceeds the warning threshold.

0 to 4294967295

downstream-undersize-frames-alarm

The number of downstream undersized frames exceeds the alarm threshold.

0 to 4294967295

downstream-undersize-frames-warning

The number of downstream undersized frames exceeds the warning threshold.

0 to 4294967295

rx-power-high-alarm

The receive power exceeds the high-power alarm threshold.

-40.00 to 8.10 dBm

rx-power-high-warning

The receive power exceeds the high-power warning threshold.

-40.00 to 8.10 dBm

rx-power-low-alarm

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

-40.00 to 8.10 dBm

rx-power-low-warning

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

-40.00 to 8.10 dBm

temp-high-alarm

The internal temperature exceeds the high-temperature alarm threshold.

-127 to 127°C

temp-high-warning

The internal temperature exceeds the high-temperature warning threshold.

-127 to 127°C

temp-low-alarm

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

-127 to 127°C

temp-low-warning

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

-127 to 127°C

tx-bias-high-alarm

The bias current exceeds the high-current alarm threshold.

0 to 131 mA

tx-bias-high-warning

The bias current exceeds the high-current warning threshold.

0 to 131 mA

tx-bias-low-alarm

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

0 to 131 mA

tx-bias-low-warning

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

0 to 131 mA

tx-power-high-alarm

The transmit power exceeds the high-power alarm threshold.

-40.00 to 8.10 dBm

tx-power-high-warning

The transmit power exceeds the high-power warning threshold.

-40.00 to 8.10 dBm

tx-power-low-alarm

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

-40.00 to 8.10 dBm

tx-power-low-warning

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

-40.00 to 8.10 dBm

upstream-crc-error-frames-alarm

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

0 to 4294967295

upstream-crc-error-frames-warning

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

0 to 4294967295

upstream-discards-alarm

The number of discarded upstream frames exceeds the alarm threshold.

0 to 4294967295

upstream-discards-warning

The number of discarded upstream frames exceeds the warning threshold.

0 to 4294967295

upstream-drop-events-alarm

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

0 to 4294967295

upstream-drop-events-warning

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

0 to 4294967295

upstream-errors-alarm

The number of upstream error frames exceeds the alarm threshold.

0 to 4294967295

upstream-errors-warning

The number of upstream error frames exceeds the warning threshold.

0 to 4294967295

upstream-fragments-alarm

The number of upstream fragments exceeds the alarm threshold.

0 to 4294967295

upstream-fragments-warning

The number of upstream fragments exceeds the warning threshold.

0 to 4294967295

upstream-jabbers-alarm

The number of upstream jabber frames exceeds the alarm threshold.

0 to 4294967295

upstream-jabbers-warning

The number of upstream jabber frames exceeds the warning threshold.

0 to 4294967295

upstream-oversize-frames-alarm

The number of upstream oversized frames exceeds the alarm threshold.

0 to 4294967295

upstream-oversize-frames-warning

The number of upstream oversized frames exceeds the warning threshold.

0 to 4294967295

upstream-undersize-frames-alarm

The number of upstream undersized frames exceeds the alarm threshold.

0 to 4294967295

upstream-undersize-frames-warning

The number of upstream undersized frames exceeds the warning threshold.

0 to 4294967295

vcc-high-alarm

The internal voltage exceeds the high-voltage alarm threshold.

0 to 6.55 V

vcc-high-warning

The internal voltage exceeds the high-voltage warning threshold.

0 to 6.55 V

vcc-low-alarm

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

0 to 6.55 V

vcc-low-warning

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

0 to 6.55 V

 

Table 9 UNI alarms

Alarm

Explanation

Threshold value range

downstream-crc-error-frames-alarm

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

0 to 4294967295

downstream-crc-error-frames-warning

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

0 to 4294967295

downstream-discards-alarm

The number of discarded downstream frames exceeds the alarm threshold.

0 to 4294967295

downstream-discards-warning

The number of discarded downstream frames exceeds the warning threshold.

0 to 4294967295

downstream-drop-events-alarm

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

0 to 4294967295

downstream-drop-events-warning

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

0 to 4294967295

downstream-errors-alarm

The number of downstream error frames exceeds the alarm threshold.

0 to 4294967295

downstream-errors-warning

The number of downstream error frames exceeds the warning threshold.

0 to 4294967295

downstream-fragments-alarm

The number of downstream fragments exceeds the alarm threshold.

0 to 4294967295

downstream-fragments-warning

The number of downstream fragments exceeds the warning threshold.

0 to 4294967295

downstream-jabbers-alarm

The number of downstream jabber frames exceeds the alarm threshold.

0 to 4294967295

downstream-jabbers-warning

The number of downstream jabber frames exceeds the warning threshold.

0 to 4294967295

downstream-oversize-frames-alarm

The number of downstream oversized frames exceeds the alarm threshold.

0 to 4294967295

downstream-oversize-frames-warning

The number of downstream oversized frames exceeds the warning threshold.

0 to 4294967295

downstream-undersize-frames-alarm

The number of downstream undersized frames exceeds the alarm threshold.

0 to 4294967295

downstream-undersize-frames-warning

The number of downstream undersized frames exceeds the warning threshold.

0 to 4294967295

e1-los

A loss of signal event occurs on an E1 interface.

N/A

e1-port-failure

E1 interface failure occurs.

N/A

e1-timing-unlock

N/A

N/A

eth-port-auto-neg-failure

Autonegotiation fails on an Ethernet port.

N/A

eth-port-congestion

Congestion is detected on an Ethernet port.

N/A

eth-port-failure

An Ethernet port fails.

N/A

eth-port-loopback

A loop is detected on an Ethernet port.

N/A

eth-port-los

A loss of signal event occurs on an Ethernet port.

N/A

pots-port-failure

A POTS port fails.

N/A

status-change-times-alarm

The number of port status changes exceeds the alarm threshold.

0 to 4294967295

status-change-times-warning

The number of port status changes exceeds the warning threshold.

0 to 4294967295

upstream-crc-error-frames-alarm

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

0 to 4294967295

upstream-crc-error-frames-warning

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

0 to 4294967295

upstream-discards-alarm

The number of discarded upstream frames exceeds the alarm threshold.

0 to 4294967295

upstream-discards-warning

The number of discarded upstream frames exceeds the warning threshold.

0 to 4294967295

upstream-drop-events-alarm

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

0 to 4294967295

upstream-drop-events-warning

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

0 to 4294967295

upstream-errors-alarm

The number of upstream error frames exceeds the alarm threshold.

0 to 4294967295

upstream-errors-warning

The number of upstream error frames exceeds the warning threshold.

0 to 4294967295

upstream-fragments-alarm

The number of upstream fragments exceeds the alarm threshold.

0 to 4294967295

upstream-fragments-warning

The number of upstream fragments exceeds the warning threshold.

0 to 4294967295

upstream-jabbers-alarm

The number of upstream jabber frames exceeds the alarm threshold.

0 to 4294967295

upstream-jabbers-warning

The number of upstream jabber frames exceeds the warning threshold.

0 to 4294967295

upstream-oversize-frames-alarm

The number of upstream oversized frames exceeds the alarm threshold.

0 to 4294967295

upstream-oversize-frames-warning

The number of upstream oversized frames exceeds the warning threshold.

0 to 4294967295

upstream-undersize-frames-alarm

The number of upstream undersized frames exceeds the alarm threshold.

0 to 4294967295

upstream-undersize-frames-warning

The number of upstream undersized frames exceeds the warning threshold.

0 to 4294967295

 

Examples

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

<Sysname> system-view

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

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

bandwidth-downstream

Use bandwidth-downstream to configure the downlink bandwidth limits on an ONU port.

Use undo bandwidth-downstream to restore the default maximum downlink bandwidth or default maximum downlink burst buffer on an ONU port.

Syntax

bandwidth-downstream { max-bandwidth bandwidth | max-burstsize burstsize } *

undo bandwidth-downstream { max-bandwidth | max-burstsize } *

Default

The maximum downlink bandwidth is 999994 Kbps (9999940 Kbps for 10G-EPON cards), and the maximum downlink burst buffer is 4194240 bytes on an ONU port.

Views

ONU port view

Predefined user roles

network-admin

Parameters

max-bandwidth bandwidth: Specifies the maximum downlink bandwidth in the range of 0 to 999994 Kbps. For 10G-EPON cards, the value range is 0 to 9999940.

max-burstsize burstsize: Specifies the maximum downlink burst buffer in the range of 0 to 4194240 bytes.

Usage guidelines

For the downlink bandwidth limits to take effect, you must enable the downlink bandwidth allocation policy. The downlink bandwidth limits take effect only on known unicast packets.

Examples

# Set the maximum downlink bandwidth to 888 Kbps and the maximum downlink burst buffer to 999 bytes on ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] bandwidth-downstream max-bandwidth 888 max-burstsize 999

Related commands

bandwidth-downstream policy enable

bandwidth-downstream policy enable

Use bandwidth-downstream policy enable to enable the downlink bandwidth allocation policy on an ONU port.

Use undo bandwidth-downstream policy enable to disable the downlink bandwidth allocation policy on an ONU port.

Syntax

bandwidth-downstream policy enable

undo bandwidth-downstream policy enable

Default

The downlink bandwidth allocation policy is disabled on an ONU port.

Views

ONU port view

Predefined user roles

network-admin

Examples

# Enable the downlink bandwidth allocation policy on ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] bandwidth-downstream policy enable

bind onu-id

Use bind onu-id to bind an ONU to an ONU port.

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

Syntax

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

undo bind onu-id

Default

No ONU is bound to an ONU port.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

loid: Specifies an ONU by its LOID.

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

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

·     Character string DEL.

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

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

cipher: Specifies a password in encrypted form.

simple: Specifies a password in plaintext form.

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

·     Character string DEL.

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

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

Usage guidelines

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

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

If fiber backup is not configured, you can create only one-to-one bindings between ONUs and ONU ports. For a fiber backup group, you can bind an ONU to two ONU ports that are on different member OLT ports.

Examples

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

<Sysname> system-view

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

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

deregister onu

Use deregister onu to deregister an ONU.

Syntax

deregister onu

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

After you deregister an ONU, the ONU will be re-registered.

Examples

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

<Sysname> system-view

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

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

display dhcp-client

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

Syntax

display dhcp-client

Views

ONU port view

Predefined user roles

network-admin

network-operator

Examples

# Display IP address assignment information for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

DHCP client statistic information :

  Current machine state : HALT

 

 

NOTE:

Output of this command varies by ONU model.

 

display epon multicast

Use display epon multicast to display multicast information for an ONU port in multicast control mode.

Syntax

display epon multicast

Views

ONU port view

Predefined user roles

network-admin

network-operator

Usage guidelines

You can view multicast information for an ONU port only when the ONU port is up and in multicast control mode.

Examples

# Display multicast information for ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display epon multicast

Multicast control information:

UNI number 1:

 Multicast vlan 10

 Current channel list:

 Multicast IP: 225.0.0.2

 Status: Permit

 

 Multicast vlan 10

 Current channel list:

 Multicast IP: 225.0.0.3

 Status: Preview

 Preview times: 16

 Preview remaining time: 144s

Table 10 Command output

Field

Description

Multicast-control information: None.

No multicast control entries are generated. The causes are as follows:

·     Multicast control is not configured.

·     Multicast clients do not send multicast membership reports.

Status

Multicast control policy:

·     Permit—Users are permitted to access the channel.

·     Preview—Users can only preview the channel.

 

display onu

Use display onu to display ONU information.

Syntax

In standalone mode:

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

In IRF mode:

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

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

silent: Specifies silent ONUs.

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

loid: Specifies silent ONUs of the LOID binding type.

interface interface-type interface-number: Specifies an OLT port or ONU port by its number. The value of the interface-type argument must be olt or onu.

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

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

Usage guidelines

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

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

Examples

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

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

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

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

            N/A        Offline   N/A

...

# Display information about all ONUs on the specified slot.

<Sysname> display onu slot 1

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

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

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

            N/A        Offline   N/A

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

The port is down.

...

Table 11 Command output

Field

Description

MAC

ONU MAC address.

LOID

ONU LOID.

LLID

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

Dist(M)

Actual length (in metres) of the optical fiber between the OLT and the ONU. If the optical fiber is shorter than 1 km, this field displays <1000. If the ONU is not registered, this field displays N/A.

Port

Bound ONU port number. This field displays N/A if the ONU is not bound to an ONU port.

Model/Version

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

Sft/Epm

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

State

ONU state:

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

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

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

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

Aging

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

 

display onu loid

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

Syntax

display onu loid loid

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

·     Character string DEL.

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

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

Examples

# Display information about the legal ONU with LOID test.

<Sysname> display onu loid test

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

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

            S/E        Up        N/A

...

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

display onu mac-address

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

Syntax

display onu mac-address mac-address

Views

Any view

Predefined user roles

network-admin

network-operator

Parameters

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

Examples

# Display information about the legal ONU with MAC address 000f-e200-0031.

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

MAC             LOID                      LLID    Dist(M)  Port             Mode

l/Version   Sft/Epm    State     Aging

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

            N/A        Offline   N/A

 ---  1 entry found  ---

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

display onu protocol

Use display onu protocol to display information about protocols supported by an ONU.

Syntax

display onu protocol { dhcp-snooping information | igmp-snooping | loopback-detection | pppoe | smart-link | stp }

Views

ONU port view

Predefined user roles

network-admin

network-operator

Parameters

dhcp-snooping information: Specifies DHCP snooping Option 82.

igmp-snooping: Specifies IGMP snooping.

loopback-detection: Specifies loop detection.

pppoe: Specifies PPPoE+.

smart-link: Specifies Smart Link.

stp: Specifies RSTP.

Examples

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

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display onu protocol igmp-snooping

 Protocol name: IGMP snooping

 Protocol status: Enabled

 Total 4 Multicast groups.

 Group: 0100-5e01-0140

 Port : 9

 Group: 0100-5e01-013f

 Port : 9

 Group: 0100-5e01-013e

 Port : 9

 Group: 0100-5e01-013d

 Port : 9

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

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display onu protocol loopback-detection

 Protocol name: Loopback detection

 Protocol status: Enabled

 Loopback action: Semi-block

 Loopback is detected on following interfaces:UNI 1  UNI 4

Table 12 Command output

Field

Description

Protocol status

Protocol status:

·     Enabled.

·     Disabled.

·     Failed to get.

Group

Multicast MAC address.

Port

UNI number.

Loopback action

Loop protection action:

·     Semi-block—If a loop is detected on a UNI, the system disables MAC learning on the UNI and blocks the inbound direction of the UNI.

·     No-learning—If a loop is detected on a UNI, the system disables MAC learning on the UNI.

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

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

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

Loopback is detected on following interfaces

UNIs where loops were detected.

 

display onu protocol smart-link uni-bind information

Use display onu protocol smart-link uni-bind information to display information about UNI count-based PON port activation for an ONU.

Syntax

display onu protocol smart-link uni-bind information

Views

ONU port view

Predefined user roles

network-admin

Examples

# Display information about UNI count-based PON port activation for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display onu protocol smart-link uni-bind information

 Protocol name: smart-link uni-bind

 Protocol status: Enabled

Related commands

onu protocol smart-link uni-bind enable

display onu protocol transparent-multicast

Use display onu protocol transparent-multicast to display unknown multicast packet transparent transmission configuration.

Syntax

display onu protocol transparent-multicast

Views

ONU port view

Predefined user roles

network-admin

Examples

# Display unknown multicast packet transparent transmission configuration.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display onu protocol transparent-multicast

Multicast Mac Address        VLAN ID

0100-5e00-0001               1000

Table 13 Command output

Field

Description

Multicast Mac Address

Multicast MAC address enabled with unknown multicast packet transparent transmission.

VLAN ID

VLAN ID corresponding to the multicast MAC address.

 

Related commands

onu protocol transparent-multicast

display serial-information

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

Syntax

display serial-information interface-number

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Examples

# Display information about serial interface 1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] display serial-information 1

Description: Serial 1 interface

Parameters:

  Baud:9600

  Databits:8

  Parity:none

  Stopbits:1

Statistics:

  Input total: 0 bytes, Error 0 bytes

  Output total: 0 bytes, Error 0 bytes

display uni

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

Syntax

display uni uni-number

Views

ONU port view

Predefined user roles

network-admin

network-operator

Parameters

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

Examples

# Display information about UNI 1.

<Sysname> system-view

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

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

 UNI 1

 Configuration        :

 Port status          : Undo shutdown

 Flow control         : Closed

 Autonegotiation state: Enable

 Port isolation       : Disable

 MDI type             : Automdix

 Port policy :

   Inbound :

     CIR : 0

     Bucket depth : 0

     Extra burst size : 0

   Outbound :

     CIR : 0

     PIR : 0

 Vlan configuration :

   VLAN mode : Transparent

 Classification & marking :

 Multicast VLAN : None

 Multicast groups : 64

 Multicast VLAN untagging : Disable

Multicast VLAN forwarding info:

  Multicast VLAN forwarding index:0

  VLAN ID:100

  Multicast MAC address:0100-5e00-0002

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

 Current Status :

 Link state : DOWN

 Local autonegotiation ability :

     1000BASE-T UTP PHY

     Full duplex 1000BASE-T UTP PHY

     100BASE-TX

     Full duplex 100BASE-TX

     Full duplex 10BASE-T

     10BASE-T

     Symmetric PAUSE operation for full duplex links

     Asymmetric PAUSE operation for full duplex links

 Autonegotiation advertisement ability :

     1000BASE-T UTP PHY

     Full duplex 1000BASE-T UTP PHY

     100BASE-TX

     Full duplex 100BASE-TX

     Full duplex 10BASE-T

     10BASE-T

     Symmetric PAUSE operation for full duplex links

     Asymmetric PAUSE operation for full duplex links

 100Mbps-speed mode, Full-duplex mode

 Link speed type is autonegotiation, Link duplex type is autonegotiation

 Input(total):  0 packets, 0 bytes

          0 broadcasts, 0 multicasts, 0 unicasts, 0 pauses

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

         0 buffer failures

 Output(total): 0 packets, 0 bytes

          0 broadcasts, 0 multicasts, 0 unicasts, 0 pauses

 Output: 0 output errors, 0 deferred, 0 collisions, 0 InTxErr

Table 14 Command output

Field

Description

Port status

Port status:

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

·     Undo shutdown—The port is administratively up.

MDI type

MDIX mode:

·     Automdix.

·     Mdi.

·     Mdix.

Port policy

Traffic policing parameters:

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

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

Vlan configuration

VLAN operation mode of the UNI:

·     Transparent—Transparent mode.

·     Add-vlan-tag—Tag mode.

·     Translation—Translation mode.

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

·     Trunk—Trunk mode.

·     Aggregation—N:1 aggregation mode.

Possible fields of the VLAN operation mode are as follows:

·     PVID—PVID of the port.

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

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

Multicast VLAN forwarding info

Unknown multicast packet transparent transmission configuration information of the UNI.

Multicast VLAN forwarding index

Index of the unknown multicast packet transparent transmission configuration.

VLAN ID

VLAN ID corresponding to the multicast MAC address.

Multicast MAC address

Multicast MAC address with unknown multicast packet transparent transmission enabled.

Link state

Link layer status:

·     UP.

·     DOWN.

Input(total)

Total input packet statistics (in packets and bytes), and the packet counts for input broadcast packets, multicast packets, unicast packets, and pause frames.

Input

Counts for the following frames:

·     Error frames.

·     Runt frames.

·     Giant frames.

·     Frames having the InRxErr error.

·     Frames having the CRC error.

·     Frames dropped because of insufficient buffer.

Output(total)

Total output packet statistics (in packets and bytes), and the packet counts for output broadcast packets, multicast packets, unicast packets, and pause frames.

Output

Counts for the following frames:

·     Error frames.

·     Deferred frames.

·     Collision frames.

·     Frames having the InTxErr error.

 

Related commands

uni auto-negotiation

uni classification-marking

uni flow-control

uni mdix-mode

uni multicast vlan

uni multicast-group-number

uni multicast-strip-tag enable

uni port-isolate

uni port-policy inbound

uni port-policy outbound

uni shutdown

uni transparent-multicast

uni vlan-mode

display uni poe

Use display uni poe to display PoE information of a UNI.

Syntax

display uni uni-number poe

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

Examples

# Display PoE information of UNI 1.

<Sysname> system-view

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

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

Capability                       : Capable

PoE                              : Enabled

Legacy PD detection              : Disabled

Mode                             : Signal

Priority                         : High

Max power class                  : Default

Max power value(mW)              : -

Powered device class             : Class4

Power supply status              : Delivering power

Signal error count               : 0

Power denied count               : 0

Power overload count             : -

Current overload count           : 0

Powered device undetected count  : -

Max power(mW)                    : 30000

Current output power(mW)         : 26624

Average output power(mW)         : -

Peak output power(mW)            : -

Table 15 Command output

Field

Description

Capability

PoE capability of the UNI:

·     Capable.

·     Incapable.

PoE

PoE status of the UNI:

·     Disabled.

·     Enabled.

Legacy PD detection

Nonstandard PD detection status of the UNI:

·     Disabled.

·     Enabled.

Mode

Power transmission mode of the UNI:

·     Signal—Power is being supplied over signal cables.

·     Spare—Power is being supplied over spare cables.

Priority

Power supply priority of the UNI:

·     Critical (highest).

·     High.

·     Low.

Max power class

Maximum power class of the UNI. Options are Class 0 through 4 and Default.

When this field displays Default, the maximum power of the UNI depends on the maximum power class of the PD attached to the UNI.

Max power value(mW)

Maximum power that can be supplied by the UNI, in microwatts.

The maximum power value and maximum power class cannot be both configured for a UNI. When one parameter is configured for the UNI, the other parameter displays a hyphen (-) in the command output.

Powered device class

Power class needed by the PD attached to the UNI. Options are Class 0 through 4 and Undefined.

Power supply status

Power supply status of the UNI:

·     No need to supply power.

·     Searching.

·     Delivering power.

·     Forced power.

·     Forced power failed.

·     Power failed.

Signal error count

Number of PoE signal errors.

Power denied count

Times for which the UNI denies supplying power to the PDs.

Power overload count

Number of power overload events.

Current overload count

Number of current overload events.

Powered device undetected count

Times for which PDs are absent.

Max power(mW)

Maximum power that takes effect on the UNI, in microwatts.

Current output power(mW)

Current supplied power, in microwatts.

Average output power(mW)

Average supplied power, in microwatts.

Peak output power(mW)

Peak supplied power, in microwatts.

display vendor-specific information

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

Syntax

display vendor-specific information

Views

ONU port view

Predefined user roles

network-admin

Examples

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

<Sysname> system-view

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

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

 Serial number

     Vendor ID : H3C

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

     ONU model : 254

     ONU hardware version : A0

     ONU software version : 110

     ONU extend model :

 Firmware version : 0x1

 Chipset information :

     Vendor ID : 0x4530

     Chip model : 6750

     Revision version : 0xa0

     Design date : 08/03/27

 ONU capability :

     Gigabit ethernet interface :  Support

     Fast ethernet interface :  Not support

     VoIP service :  Not support

     TDM ces service :  Not support

     Gigabit ethernet ports number :  4

     Gigabit ethernet ports :

       0x1

       0x2

       0x3

       0x4

     Fast ethernet ports number :  0

     POTS ports number :  0

     E1 ports number :  0

     Upstream queues number :  8

     Maximum queues per port upstream :  8

     Downstream queues number :  8

     Maximum queues per port downstream :  8

     Battery backup :  Not support

 ONU capability(CTC2.1) :

     ONU type :  SFU

     LLID number :  1

     Protection type :  Not support

     Slot number :  0

     PON number :  1

     Interface type number :  1

     VoIP ports number :  0

     GE ports number :  4

     FE ports number :  0

     WLAN ports number :  0

     CATV RF ports number :  0

     USB ports number :  0

 Forward error correction ability : Support

 IGMP-snooping fast-leave : Support

 Multicast control fast-leave : Support

 Forward error correction mode : Disable

 DBA-Report parameters :

   Queue sets number : 2

     Queue set : 1

       Queue 1 : State:1 , Value:0

       Queue 2 : State:1 , Value:0

       Queue 3 : State:1 , Value:0

       Queue 4 : State:1 , Value:65535

       Queue 5 : State:1 , Value:65535

       Queue 6 : State:0 , Value:0

       Queue 7 : State:0 , Value:0

       Queue 8 : State:0 , Value:0

     Queue set : 2

       Queue 1 : State:1 , Value:0

       Queue 2 : State:1 , Value:0

       Queue 3 : State:1 , Value:0

       Queue 4 : State:1 , Value:65535

       Queue 5 : State:1 , Value:65535

       Queue 6 : State:0 , Value:0

       Queue 7 : State:0 , Value:0

       Queue 8 : State:0 , Value:0

 Multicast-fast-leave : Disable

 ONU-Isolate state : Disable

 Multicast-mode : IGSP

Table 16 Command output

Field

Description

ONU capability(CTC2.1)

ONU capability (CTC v2.1):

·     ONU type—ONU type, including:

?     SFU—Single family unit.

?     HGU—Home gateway unit.

?     SBU—Single business unit.

?     MDU—Multi-dwelling unit.

?     MTU—Multi-tenant unit.

·     LLID number—Supported number of LLIDs.

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

·     Slot number—Number of slots.

·     PON number—Supported number of PON ports.

·     Interface type number—Number of port types.

·     VoIP ports number—Number of VoIP ports.

·     GE ports number—Number of GE ports.

·     FE ports number—Number of FE ports.

·     WLAN ports number—Number of WLAN ports.

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

·     USB ports number—Number of USB ports.

ONU capability(CTC3.0)

ONU capability (CTC v3.0):

·     IPV6 supported—IPv6 awareness capability.

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

·     Service SLA—Service Level Agreement.

ONU extend model

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

DBA-Report parameters

DBA report message parameters:

·     Queue sets number—Number of queue sets.

·     Queue set—Queue set ID.

·     Queue x: State:x , Value:x—State and threshold (Value) of a queue. The State field displays 0 for a disabled queue and 1 for an enabled queue.

Multicast-fast-leave

Whether fast-leave processing is enabled for all UNIs on the ONU.

ONU-Isolate state

Whether port isolation is enabled for all UNIs on the ONU.

 

encryption enable

Use encryption enable to enable downlink traffic encryption for an ONU.

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

Syntax

encryption enable

undo encryption enable

Default

Downlink traffic encryption is enabled for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Examples

# Disable downlink traffic encryption for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] undo encryption enable

forward-error-correction

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

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

Syntax

forward-error-correction enable

undo forward-error-correction enable

Default

FEC is disabled on an ONU port.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

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

Examples

# Enable FEC for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

ip address

Use ip address to assign an IP address to the management VLAN interface of an ONU.

Use undo ip address to restore the default.

Syntax

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

undo ip address

Default

The management VLAN interface of an H3C ONU uses the IP address 192.168.0.240 and subnet mask 255.255.255.0.

Views

ONU port view

Predefined user roles

network-admin

Parameters

dhcp-alloc: Specifies DHCP IP address allocation.

ip-address: Specifies an IP address in dotted decimal format.

mask-length: Specifies the length of the subnet mask, in the range of 1 to 31. The subnet mask length is the number of consecutive 1s in the subnet mask.

mask: Specifies a subnet mask in dotted decimal format.

gateway: Specifies the gateway IP address.

Usage guidelines

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

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

Examples

# Assign the IP 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

management-vlan

Use management-vlan to specify the management VLAN of an ONU.

Use undo management-vlan to restore the default.

Syntax

management-vlan vlan-id

undo management-vlan

Default

The management VLAN of an ONU is VLAN 1.

Views

ONU port view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

If the management VLAN of an ONU is changed, the IP address of the original management VLAN interface is deleted. You must assign an IP address to the new management VLAN interface.

Examples

# Specifies the management VLAN as VLAN 10 for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

Related commands

ip address

shutdown management-vlan-interface

multicast mode

Use multicast mode to set the multicast mode of an ONU.

Use undo multicast mode to restore the default.

Syntax

multicast mode { igmp-snooping | multicast-control }

undo multicast mode

Default

The multicast mode of an ONU is IGMP snooping.

Views

ONU port view

Predefined user roles

network-admin

Parameters

igmp-snooping: Specifies the IGMP snooping mode.

multicast-control: Specifies the multicast control mode.

Examples

# Set the multicast mode to multicast control for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] multicast mode multicast-control

multicast vlan-id ip

Use multicast vlan-id ip to map multicast IP addresses to a multicast VLAN.

Use undo multicast vlan-id ip to restore the default.

Syntax

multicast vlan-id vlan-id ip ip-address-list

undo multicast vlan-id vlan-id

Default

No multicast IP addresses are mapped to a multicast VLAN.

Views

FTTH view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a multicast VLAN ID in the range of 1 to 4094.

ip-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP addresses in the format of ip-address1 to ip-address2.

Usage guidelines

When receiving an IGMP report message, the OLT verifies whether the multicast IP address in the message belongs to a multicast VLAN.

·     If the address belongs to a multicast VLAN, the OLT generates a multicast forwarding entry for the multicast VLAN.

·     If the address does not belong to a multicast VLAN, the OLT drops the message.

A multicast IP address can be mapped to only one multicast VLAN.

Examples

# Map the multicast IP address 225.1.2.1 to multicast VLAN 1002.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] multicast vlan-id 1002 ip 225.1.2.1

multicast-control host-aging-time

Use multicast-control host-aging-time to set the multicast group member port aging timer for an ONU.

Use undo multicast-control host-aging-time to restore the default.

Syntax

multicast-control host-aging-time host-aging-time

undo multicast-control host-aging-time

Default

The multicast group member port aging timer is 260 seconds.

Views

ONU port view

Predefined user roles

network-admin

Parameters

host-aging-time: Set the aging timer in the range of 200 to 1000 seconds.

Usage guidelines

This command is available only on an ONU in multicast control mode.

Examples

# Set the multicast mode to multicast control for the ONU bound to ONU 1/0/1:1. Set the multicast group member port aging timer to 500 seconds for the ONU.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] multicast mode multicast-control

[Sysname-Onu1/0/1:1] multicast-control host-aging-time 500

Related commands

multicast mode

onu authentication-domain

Use onu authentication-domain command to enable ONU authentication for an OLT port and specify the authentication domain for ONU users on the port. Then, users that access through the OLT port are authenticated by using the specified domain.

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

Syntax

onu authentication-domain domain-name

undo onu authentication-domain

Default

ONU authentication is disabled for an OLT port.

Views

OLT port view

Predefined user roles

network-admin

Parameters

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

 /\|”:*?<>@

Usage guidelines

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

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

Examples

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

<Sysname> system-view

[Sysname] interface Olt 1/0/1

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

[Sysname-Olt1/0/1] quit

# Enable automatic ONU binding for the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind auto slot 1

[Sysname-ftth] quit

Related commands

authentication onu (Security Command Reference)

onu bind auto

onu bind auto

Use onu bind auto to enable automatic ONU binding.

Use undo onu bind auto to disable automatic ONU binding.

Syntax

In standalone mode:

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

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

In IRF mode:

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

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

Default

Automatic ONU binding is disabled.

Views

FTTH view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command enables automatic ONU binding for all cards. (In standalone mode.)  

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

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

mac: Specifies MAC address binding.

loid: Specifies LOID binding.

loid-password: Specifies LOID-password binding.

Usage guidelines

If an ONU is not bound to any ONU port, the ONU cannot be registered. Such an ONU is called a silent ONU. Automatic ONU binding automatically binds ONU ports to existing silent ONUs and ONUs that join the system after this feature is enabled.

Automatic ONU binding applies to an EPON system where ONUs attached to the OLT are completely trustworthy. To unbind an ONU, first use the undo onu bind auto command to disable automatic ONU binding.

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

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

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

Examples

# Enable automatic ONU binding on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind auto slot 1

onu bind batch

Use onu bind batch to perform batch ONU binding.

Syntax

In standalone mode:

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

In IRF mode:

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

Default

Batch ONU binding is not performed.

Views

FTTH view

Predefined user roles

network-admin

Parameters

slot slot-number: Specifies a card by its slot number. If you do not specify this option, the command enables batch ONU binding for all cards. (In standalone mode.)  

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

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

mac: Specifies MAC address binding.

loid: Specifies LOID binding.

loid-password: Specifies LOID-password binding.

Usage guidelines

Batch ONU binding automatically binds existing silent ONUs to ONU ports at a time. The ONUs that join the system after batch ONU binding is performed will not be bound.

Batch ONU binding applies to a newly established EPON system that contains only legal ONUs. You can use the bind onu-id command to manually bind new ONUs after batch ONU binding is performed.

Examples

# Perform batch ONU binding on the specified slot.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] onu bind batch slot 1

Related commands

bind onu-id

onu bind one-to-one

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

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

Syntax

onu bind one-to-one

undo onu bind one-to-one

Default

ONU binding control is disabled on an OLT port.

Views

FTTH view

OLT port view

Predefined user roles

network-admin

Usage guidelines

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

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

Enabling this feature does not affect ONUs registered with different OLT ports.

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

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

onu event

Use onu event to enable event reporting for an ONU.

Use undo onu event to disable event reporting for an ONU.

Syntax

onu event { debug | log | trap } enable level severity

undo onu event { debug | log | trap } enable

Default

Event reporting is disabled for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Parameters

debug: Specifies debugging information.

log: Specifies log information.

trap: Specifies trap information.

level severity: Specifies the severity level threshold. The ONU reports an event to the OLT if the severity level of the event reaches or exceeds this threshold. The following are the severity levels in descending order of priority:

·     Emergencies (severity=0).

·     Alerts (severity=1).

·     Critical (severity=2).

·     Errors (severity=3).

·     Warnings (severity=4).

·     Notifications (severity=5).

·     Information (severity=6).

·     Debugging (severity=7).

Examples

# Enable the ONU bound to ONU 1/0/2:1 to report debugging events with a severity level of alerts or a higher severity level.

<Sysname> system-view

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

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

onu mac-address timer

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

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

Syntax

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

undo onu mac-address timer

Default

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

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

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

Examples

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

<Sysname> system-view

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

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

onu multicast fast-leave enable

Use onu multicast fast-leave enable to enable fast-leave processing for all UNIs on an ONU.

Use undo onu multicast fast-leave enable to disable fast-leave processing for all UNIs on an ONU.

Syntax

onu multicast fast-leave enable

undo onu multicast fast-leave enable

Default

Fast-leave processing is disabled for all UNIs on an ONU.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.

You cannot use this command together with the uni igmp-snooping fast-leave command.

Examples

# Enable fast-leave processing for all UNIs on the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu multicast fast-leave enable

Related commands

multicast mode

uni igmp-snooping fast-leave

onu poe enable

Use onu poe enable to enable PoE for all UNIs of an ONU.

Use undo onu poe enable to disable PoE for all UNIs of an ONU.

Syntax

onu poe enable

undo onu poe enable

Default

PoE is enabled for UNIs.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

On an ONU port, the onu poe enable and uni poe enable commands are mutually exclusive.

Examples

# Enable PoE for all UNIs of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu poe enable

Related commands

uni poe enable

onu poe legacy enable

Use onu poe legacy enable to enable nonstandard PD detection for all UNIs of an ONU.

Use undo onu legacy enable to disable nonstandard PD detection for all UNIs of an ONU.

Syntax

onu poe legacy enable

undo onu poe legacy enable

Default

Nonstandard PD detection is disabled for UNIs.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

PDs include standard PDs (which comply with IEEE 802.3af and IEEE 802.3at ) and nonstandard PDs. By default, a PSE supplies power to only standard PDs. For a PSE to supply power to nonstandard PDs, enable nonstandard PD detection.

Nonstandard PDs do not support autonegotiating the maximum power with an ONU. Make sure the maximum power configured for a nonstandard PD does not exceed the maximum power supported by the PD.

On an ONU port, the onu poe legacy enable and uni poe legacy enable commands are mutually exclusive.

Examples

# Enable nonstandard PD detection for all UNIs of the ONU attached to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu poe legacy enable

Related commands

uni poe legacy enable

uni poe max-power

onu poe max-power

Use onu poe max-power to configure the maximum power for each UNI of an ONU.

Use undo onu poe max-power to restore the default.

Syntax

onu poe max-power { class { class0 | class1 | class2 | class3 | class4 | default } | value max-power-value }

undo onu poe max-power

Default

The maximum power of a UNI depends on the maximum power class of the PD attached to the UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

class0: Specifies the maximum power of the UNI as class 0.

class1: Specifies the maximum power of the UNI as class 1.

class2: Specifies the maximum power of the UNI as class 2.

class3: Specifies the maximum power of the UNI as class 3.

class4: Specifies the maximum power of the UNI as class 4.

default: Specifies the maximum power of the UNI as the maximum power class of the PD attached to the UNI.

max-power-value: Specifies the maximum power of the UNI, in the range of 1000 to 655350 microwatts.

Usage guidelines

Classes 1 through 4 are in ascending order of supplied power. Class 0 indicates the highest power class.

When the maximum power that the ONU and PD autonegotiate is smaller than the maximum power configured by using this command, the autonegotiated one takes effect.

When the maximum power that the ONU and PD autonegotiate is greater than the maximum power configured by using this command, the ONU denies supplying power to the PD.

On an ONU port, the onu poe max-power and uni poe max-power commands are mutually exclusive.

Examples

# Specify the maximum power as class 2 for each UNI on the ONU attached to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu poe max-power class class2

Related commands

uni poe max-power

onu poe mode

Use onu poe mode to configure a PoE power transmission mode for all UNIs of an ONU.

Use undo onu poe mode to restore the default.

Syntax

onu poe mode { signal | spare }

undo onu poe mode

Default

The PoE power transmission mode is signal (power over signal cables).

Views

ONU port view

Predefined user roles

network-admin

Parameters

signal: Specifies the PoE power transmission mode as power over signal cables. The system uses pairs 1, 2, 3, and 6 in the Category 3 or Category 5 twisted pair cable to supply DC power.

spare: Specifies the PoE power transmission mode as power over spare cables. The system uses pairs 4, 5, 7, and 8 in the Category 3 or Category 5 twisted pair cable to supply DC power.

Usage guidelines

On an ONU port, the onu poe mode and uni poe mode commands are mutually exclusive.

Examples

# Set the PoE power transmission mode to power over spare cables for all UNIs of the ONU attached to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu poe mode spare

Related commands

uni poe mode

onu port-isolate enable

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

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

Syntax

onu port-isolate enable

undo onu port-isolate enable

Default

A UNI is not in the isolation group.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

You cannot use this command together with the uni port-isolate command.

Examples

# Assign all UNIs on the ONU bound to ONU 1/0/1:1 to the isolation group.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu port-isolate enable

Related commands

uni port-isolate

onu protocol enable

Use onu protocol enable to enable a user network management feature on an ONU.

Use undo onu protocol enable to disable a user network management feature on an ONU.

Syntax

onu protocol { dhcp-snooping | dhcp-snooping information | loopback-detection | pppoe | stp } enable

undo onu protocol { dhcp-snooping | dhcp-snooping information | loopback-detection | pppoe | stp } enable

Default

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

Views

ONU port view

Predefined user roles

network-admin

Parameters

dhcp-snooping: Specifies DHCP snooping.

dhcp-snooping information: Specifies DHCP snooping Option 82.

loopback-detection: Specifies loop detection.

pppoe: Specifies PPPoE+.

stp: Specifies RSTP.

Usage guidelines

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

Examples

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

<Sysname> system-view

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

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

onu protocol igmp-snooping timer

Use onu protocol igmp-snooping timer to set IGMP snooping timers.

Use undo onu protocol igmp-snooping timer to restore the default.

 

 

NOTE:

This command is supported by ET704 ONUs.

 

Syntax

onu protocol igmp-snooping timer { host-aging-time host-aging-time | max-response-time max-response-time | router-aging-time router-aging-time }

undo onu protocol igmp-snooping timer { host-aging-time | max-response-time | router-aging-time }

Default

The multicast group member port aging timer is 260 seconds.

The query response timer is 1 second.

The router port aging timer is 105 seconds.

Views

ONU port view

Predefined user roles

network-admin

Parameters

host-aging-time host-aging-time: Sets the multicast group member port aging timer in the range of 200 to 1000 seconds.

max-response-time max-response-time: Sets the query response timer in the range of 1 to 25 seconds.

router-aging-time router-aging-time: Sets the router port aging timer in the range of 1 to 1000 seconds.

Usage guidelines

The multicast group member port aging timer determines how often multicast group members are refreshed. If the ONU does not receive an IGMP report from a multicast group member port when this timer expires, the ONU deletes the port. In a network where multicast group members change frequently, set this timer to a small value.

The query response timer sets the response timeout time for group-specific queries. If the ONU does not receive a response before the query response timer expires for the first time, it re-sends group-specific queries and re-starts the query response timer. If the ONU still does not receive a response when the timer expires, the multicast group on the ONU is deleted.

The router port is the port that connects the ONU to the router. The ONU receives IGMP general query messages from the router through this port. If no IGMP general query message is received through the router port when the router port aging timer expires, the ONU determines that the port is not a router port. The router port aging timer must be a value about 2.5 times of the general query interval. For more information about the general query interval, see IGMP in IP Multicast Configuration Guide.

Examples

# Set the multicast group member port aging timer to 200 seconds for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol igmp-snooping timer host-aging-time 200

onu protocol igmp-snooping suppression

Use onu protocol igmp-snooping suppression to enable IGMP membership report suppression or IGMP leave suppression.

Use undo onu protocol igmp-snooping suppression to disable IGMP membership report suppression or IGMP leave suppression.

 

 

NOTE:

This command is supported by ET704 ONUs.

 

Syntax

onu protocol igmp-snooping suppression { leave | report }

undo onu protocol igmp-snooping suppression { leave | report }

Default

IGMP leave suppression is enabled, and IGMP membership report suppression is disabled.

Views

ONU port view

Predefined user roles

network-admin

Examples

# Enable IGMP leave suppression on the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol igmp-snooping suppression leave

onu protocol loopback-detection action

Use onu protocol loopback-detection action to set the loop protection action.

Use undo onu protocol loopback-detection action to restore the default.

Syntax

onu protocol loopback-detection action { no-learning | semi-block | shutdown }

undo onu protocol loopback-detection action

Default

The loop protection action of an ONU port is semi-block.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

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

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

Examples

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

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol loopback-detection action semi-block

onu protocol smart-link flush enable

Use onu protocol smart-link flush enable to enable an ONU to send flush messages.

Use undo onu protocol smart-link flush enable to disable an ONU from sending flush messages.

Syntax

onu protocol smart-link flush enable [ control-vlan vlan-id ]

undo onu protocol smart-link flush enable

Default

An ONU does not send flush messages.

Views

ONU port view

Predefined user roles

network-admin

Parameters

control-vlan vlan-id: Specifies the control VLAN for receiving flush messages. The VLAN ID is in the range of 1 to 4094, and the default control VLAN is VLAN 1.

Examples

# Enable the ONU bound to ONU 1/0/1:1 to send flush messages, and specify the control VLAN as VLAN 2.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol smart-link flush enable control-vlan 2

onu protocol smart-link uni-bind enable

Use onu protocol smart-link uni-bind enable to enable UNI count-based PON port activation for an ONU.

Use undo onu protocol smart-link uni-bind enable to disable UNI count-based PON port activation for an ONU.

 

 

NOTE:

This command is supported by ET824-E ONUs.

 

Syntax

onu protocol smart-link uni-bind enable

undo onu protocol smart-link uni-bind enable

Default

UNI count-based PON port activation is disabled for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

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

Examples

# Enable UNI count-based PON port activation for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol smart-link uni-bind enable

Related commands

display onu protocol smart-link uni-bind information

onu protocol transparent-multicast

Use onu protocol transparent-multicast to enable unknown multicast packet transparent transmission for all UNIs on an ONU.

Use undo onu protocol transparent-multicast to disable unknown multicast packet transparent transmission for all UNIs on an ONU.

Syntax

onu protocol transparent-multicast dest-mac mac-address [ vlan vlan-id ]

undo onu protocol transparent-multicast dest-mac mac-address [ vlan vlan-id ]

Default

Unknown multicast packet transparent transmission is disabled for all UNIs on an ONU. The ONU might drop unknown multicast packets.

Views

ONU port view

Predefined user roles

network-admin

Parameters

dest-mac mac-address: Specifies a multicast MAC address. Supported multicast MAC addresses vary by device model.

vlan vlan-id: Specifies a VLAN ID of multicast packets, in the range of 1 to 4094. If you do not specify this option, VLAN 1 is used.

Usage guidelines

If you execute the undo onu protocol transparent-multicast command without specifying the vlan keyword, this command disables transparent transmission of unknown multicast packets with the specified destination multicast MAC addresses and VLAN ID 1.

This command and the uni transparent-multicast command are mutually exclusive.

You can configure this command for up to eight times on an ONU port. The union of these configurations takes effect.

Examples

# Enable transparent transmission of multicast packets with destination multicast MAC address 0100-5e00-0033 and VLAN ID 10 for all UNIs on ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] onu protocol transparent-multicast dest-mac 0100-5e00-0033 vlan 10

Related commands

uni transparent-multicast

onu statistics enable

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

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

Syntax

onu statistics enable [ period period-value ]

undo onu statistics enable

Default

The packet statistics feature is enabled for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Examples

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

<Sysname> system-view

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

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

Related commands

display epon statistics

qos cos-local-precedence-map

Use qos cos-local-precedence-map to configure CoS-to-local priority mappings.

Use undo qos cos-local-precedence-map to restore the default.

Syntax

qos cos-local-precedence-map cos0 cos1 cos2 cos3 cos4 cos5 cos6 cos7

undo qos cos-local-precedence-map

Default

Table 17 shows default CoS-to-local priority mappings.

Table 17 Default CoS-to-local priority mappings

CoS priority

Local precedence

0

0

1

0

2

1

3

1

4

2

5

2

6

3

7

3

 

Views

ONU port view

Predefined user roles

network-admin

Parameters

cos0: Specifies the local precedence to be mapped to CoS priority 0, in the range of 0 to 3.

cos1: Specifies the local precedence to be mapped to CoS priority 1, in the range of 0 to 3.

cos2: Specifies the local precedence to be mapped to CoS priority 2, in the range of 0 to 3.

cos3: Specifies the local precedence to be mapped to CoS priority 3, in the range of 0 to 3.

cos4: Specifies the local precedence to be mapped to CoS priority 4, in the range of 0 to 3.

cos5: Specifies the local precedence to be mapped to CoS priority 5, in the range of 0 to 3.

cos6: Specifies the local precedence to be mapped to CoS priority 6, in the range of 0 to 3.

cos7: Specifies the local precedence to be mapped to CoS priority 7, in the range of 0 to 3.

Usage guidelines

This command takes effect only on downlink data flows.

Examples

# Configure CoS-to-local priority mappings on ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] qos cos-local-precedence-map 2 2 1 1 3 3 0 0

reboot onu

Use reboot onu to reboot an ONU.

Syntax

reboot onu

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

This command takes effect only on online ONUs.

Examples

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

<Sysname> system-view

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

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

reset counters serial

Use reset counters serial to clear packet statistics on a serial interface on an ONU.

Syntax

reset counters serial interface-number

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

Before you use this command, make sure the ONU has serial interfaces.

Examples

# Clear packet statistics on serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] reset counters serial 1

reset counters uni

Use reset counters uni to clear packet statistics on UNIs of an ONU.

Syntax

reset counters uni [ uni-number ]

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to 79. If you do not specify this argument, the command clears packet statistics on all UNIs of the ONU.

Examples

# Clear packet statistics on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] reset counters uni 1

serial databit

Use serial databit to set the number of data bits for a serial interface on an ONU.

Use undo serial databit to restore the default.

Syntax

serial interface-number databit { 5 | 6 | 7 | 8 }

undo serial interface-number databit

Default

The number of data bits is 8 for an ONU serial interface.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

5: Sets the number of data bits to 5.

6: Sets the number of data bits to 6.

7: Sets the number of data bits to 7.

8: Sets the number of data bits to 8.

Usage guidelines

Before you use this command, make sure the ONU has serial interfaces.

Examples

# Set the number of data bits to 5 for serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 databit 5

serial parity

Use serial parity to set the parity type for a serial interface on an ONU.

Use undo serial parity to restore the default.

Syntax

serial interface-number parity { even | mark | none | odd | space }

undo serial interface-number parity

Default

The parity type of an ONU serial interface is none, which indicates that no parity is used.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

even: Uses even parity.

mark: Uses mark parity.

none: Uses no parity.

odd: Uses odd parity.

space: Uses space parity.

Usage guidelines

Before you use this command, make sure the ONU has serial interfaces.

Examples

# Set the parity type to odd for serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 parity odd

serial session protocol-type

Use serial session protocol-type to establish a session on a serial interface of an ONU.

Use undo serial session protocol-type to delete the session on a serial interface of an ONU.

Syntax

serial interface-number session session-number protocol-type tcp-client server ip-address port port-number

serial interface-number session session-number protocol-type tcp-server listen-port port-number

serial interface-number session session-number protocol-type udp server ip-address port port-number listen-port port-number

undo serial interface-number session session-number protocol-type

Default

No session is established on an ONU serial interface.

Views

ONU port view

Predefined user roles

network-admin

Parameters

protocol-type tcp-client: Uses the ONU as the client of a TCP session.

protocol-type tcp-server: Uses the ONU as the server of a TCP session.

protocol-type udp: Uses the ONU as both the server and client of a UDP session.

server: Specifies a server.

port: Specifies a port on the server.

listen-port: Specifies a local listening port.

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

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

ip-address: Specifies the IP address of the server.

port-number: Specifies the port number of the server, in the range of 1024 to 65535.

Examples

# Establish a TCP session on serial interface 1 of the ONU bound to ONU 1/0/1:1, and configure the ONU as the client of the session.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 session 1 protocol-type tcp-client server 122.100.52.5

2 port 15

# Establish a TCP session on serial interface 1 of the ONU bound to ONU 1/0/1:1, and configure the ONU as the server of the session.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 session 3 protocol-type tcp-server listen-port 2500

# Establish a UDP session on serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

# Delete the session on serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname] undo serial 1 session 4 protocol-type

serial speed

Use serial speed to set the baud rate for a serial interface of an ONU.

Use undo serial speed to restore the default.

Syntax

serial interface-number speed { 300 | 600 | 1200 | 2400 | 4800 | 9600 | 19200 | 38400 | 57600 | 115200 }

undo serial interface-number speed

Default

The baud rate of an ONU serial interface is 9600 bps.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

300: Sets the baud rate to 300 bps.

600: Sets the baud rate to 600 bps.

1200: Sets the baud rate to 1200 bps.

2400: Sets the baud rate to 2400 bps.

4800: Sets the baud rate to 4800 bps.

9600: Sets the baud rate to 9600 bps.

19200: Sets the baud rate to 19200 bps.

38400: Sets the baud rate to 38400 bps.

57600: Sets the baud rate to 57600 bps.

115200: Sets the baud rate to 115200 bps.

Usage guidelines

Before you use this command, make sure the ONU has serial interfaces.

Examples

# Set the baud rate to 300 bps for serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 speed 300

serial stopbit

Use serial stopbit to set the number of stop bits for a serial interface of an ONU.

Use undo serial stopbit to restore the default.

Syntax

serial interface-number stopbit { 1 | 1.5 | 2 }

undo serial interface-number stopbit

Default

The number of stop bits is 1 for an ONU serial interface.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

1: Sets the number of stop bits to 1.

1.5: Sets the number of stop bits to 1.5.

2: Sets the number of stop bits to 2.

Usage guidelines

Before you use this command, make sure the ONU has serial interfaces.

Examples

# Set the number of stop bits to 1.5 for serial interface 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] serial 1 stopbit 1.5

service-sla apply

Use service-sla apply to apply the uplink traffic queue scheduling configuration to an ONU.

Use undo service-sla apply to remove the uplink traffic queue scheduling configuration from an ONU.

Syntax

service-sla apply

undo service-sla apply

Default

No uplink traffic queue scheduling configuration is applied to an ONU.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

The uplink traffic queue scheduling configuration contains the queue scheduling mode (service-sla mode) configuration and the queue parameter (service-sla queue) configuration.

To modify the queue scheduling mode or queue parameters after executing this command, first execute the undo service-sla apply command.

Examples

# Apply the uplink traffic queue scheduling configuration to the ONU attached to ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface Onu1/0/1:1

[Sysname-Onu1/0/1:1] service-sla apply

Related commands

service-sla mode

service-sla queue

service-sla mode

Use service-sla mode to configure the uplink traffic queue scheduling mode for an ONU.

Use undo service-sla mode to restore the default.

Syntax

service-sla mode { sp |  wrr | sp-wrr high-priority-boundary boundary-queue-id } [ cycle-length length ]

undo service-sla mode

Default

No uplink traffic queue scheduling mode is configured for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Parameters

sp: Specifies the Strict Priority (SP) mode.

wrr: Specifies the Weighted Round Robin (WRR) mode.

sp-wrr: Specifies the SP+WRR mode.

high-priority-boundary boundary-queue-id: Specifies the minimum SP queue ID. Queues with this ID and higher are configured as SP queues. Queues with IDs smaller than this ID are configured as WRR queues.

cycle-length length: Specifies the Dynamic Bandwidth Allocation (DBA) polling cycle in the range of 200 to 16777215 time quantums (TQs). A TQ is 16 ns. This keyword is only for administrator use. As a best practice, do not configure this keyword as a common user.

Examples

# Configure the uplink traffic queue scheduling mode as SP on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface Onu1/0/1:1

[Sysname-Onu1/0/1:1] service-sla mode sp

Related commands

service-sla apply

service-sla queue

service-sla queue

Use service-sla queue to configure the uplink traffic queue parameters for an ONU.

Use undo service-sla queue to cancel the configuration.

Syntax

service-sla queue queue-id { sp | wrr weight weight } [ [ fixed-packet-size fixed-packet-size ] fixed-bandwidth fixed-bandwidth ] guaranteed-bandwidth guaranteed-bandwidth best-effort-bandwidth best-effort-bandwidth

undo service-sla queue queue-id

Default

No uplink traffic queue parameters are set for an ONU.

Views

ONU port view

Predefined user roles

network-admin

Parameters

queue queue-id: Specifies a queue by its ID in the range of 0 to 7.

sp: Specifies a queue as an SP queue.

wrr: Specifies a queue as a WRR queue.

weight weight: Specifies a weight for a WRR queue, in the range of 1 to 100. The default is 0.

fixed-packet-size fixed-packet-size: Specifies the TDM packet length in the range of 0 to 2000 bytes. The default is 0, which indicates that the TDM packet length is not limited.

fixed-bandwidth fixed-bandwidth: Specifies the fixed bandwidth in the range of 0 to 9999872 kbps, which must be a multiple of 256. When it is not a multiple of 256, it is rounded down to the nearest multiple of 256. If you dot specify this option for a queue, no fixed bandwidth is configured for the queue.

guaranteed-bandwidth guaranteed-bandwidth: Specifies the guaranteed bandwidth in the range of 0 to 9999872 kbps, which must be a multiple of 256. When it is not a multiple of 256, it is rounded down to the nearest multiple of 256.

best-effort-bandwidth best-effort-bandwidth: Specifies the best-effort bandwidth in the range of 0 to 9999872 kbps, which must be a multiple of 256. When it is not a multiple of 256, it is rounded down to the nearest multiple of 256.

Usage guidelines

You can execute this command multiple times to configure parameters for multiple queues.

In SP mode, you must configure a minimum of one SP queue.

In WRR mode, you must configure a minimum of one WRR queue.

In SP+WRR mode, you must configure a minimum of one SP queue and one WRR queue.

On an ONU port, the sum of WRR queue weights must be 100.

Examples

# Configure the uplink guaranteed bandwidth as 4 Mbps (4096 kbps) and the uplink best-effort bandwidth as 8 Mbps (8192 kbps) for SP queue 1 on ONU 1/0/1:1.

<Sysname> system-view

[Sysname] interface Onu1/0/1:1

[Sysname-Onu1/0/1:1] service-sla queue 1 sp guaranteed-bandwidth 4096 best-effort-bandwidth 8192

Related commands

service-sla apply

service-sla mode

shutdown management-vlan-interface

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

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

Syntax

shutdown management-vlan-interface

undo shutdown management-vlan-interface

Default

The management VLAN interface of an ONU is down.

Views

ONU port view

Predefined user roles

network-admin

Usage guidelines

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

After you execute this command, the status of the management VLAN interface depends on the status of the UNIs in the management VLAN.

·     If all UNIs are down, the management VLAN interface is down.

·     If a minimum of one UNI is up, the management VLAN interface is up.

Examples

# Bring up the management VLAN interface of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

transceiver-txpower

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

Syntax

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

Default

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

Views

OLT port view

Predefined user roles

network-admin

Parameters

on: Turns on the transmit power supply.

off: Turns off the transmit power supply.

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

pon: Specifies PON ports.

all: Specifies the main and standby PON ports.

main: Specifies the main PON port.

standby: Specifies the standby PON port.

onu: Specifies ONUs.

all: Specifies all ONUs.

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

Usage guidelines

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

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/1

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

uni auto-negotiation

Use uni auto-negotiation to enable autonegotiation on a UNI.

Use undo uni auto-negotiation to disable autonegotiation on a UNI.

Syntax

uni uni-number auto-negotiation

undo uni uni-number auto-negotiation

Default

Autonegotiation is enabled on a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

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

Examples

# Enable autonegotiation on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 auto-negotiation

uni classification-marking

Use uni classification-marking to configure priority marking on a UNI.

Use undo uni classification-marking to remove priority marking configuration from a UNI.

Syntax

uni uni-number classification-marking index index queue qid priority priority { { selector operator matched-value } & <1-4> | always-match | never-match }

undo uni uni-number classification-marking index index

Default

Priority marking is not configured on a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

index: Specifies an index in the range of 1 to 8. The smaller the index, the higher the priority.

qid: Assigns packets to a queue specified by its ID in the range of 0 to 7.

priority: Marks packets with a priority in the range of 0 to 7.

{ selector operator matched-value } & <1-4>: Specifies a maximum of four matching field and rule pairs.

·     selector: Specifies a matching field. Table 18 shows the available values.

·     operator: Specifies a matching rule. Table 19 shows the available values.

·     matched-value: Specifies the value of the matching field if the value of the operator argument is not exist or not-exist.

?     ip-address: Specifies an IP address.

?     mac-address: Specifies a MAC address. Do not specify an ONU MAC address bound to an ONU port for the dst-mac and src-mac fields.

?     port-number: Specifies a port number in the range of 0 to 65535.

?     priority: Specifies a CoS priority in the range of 0 to 7.

?     eth-type: Specifies an Ethernet frame type in the range of 0 to FFFF.

?     ip-dscp: Specifies a ToS priority or DSCP priority in the range of 0 to 63.

?     ip-type: Specifies an IP protocol type in the range of 0 to FF.

?     vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

always-match: Performs match for traffic classification.

never-match: Does not perform match.

Table 18 Values for the selector argument

selector

Description

dst-ip

Matches the destination IP address.

dst-mac

Matches the destination MAC address.

dst-port

Matches the destination port number.

eth-pri

Matches the CoS priority.

eth-type

Matches the Ethernet frame type.

ip-precedence

Matches the IP precedence.

ip-tos-dscp

Matches the ToS priority or DSCP priority.

ip-type

Matches the IP protocol type.

src-ip

Matches the source IP address.

src-mac

Matches the source MAC address.

src-port

Matches the source port number.

vlan-id

Matches the VLAN ID.

 

Table 19 Values for the operator argument

operator

Description

equal

The value of the matched-value argument must be equal to the value of the matching field of packets.

exist

The packets must contain the matching field.

not-equal

The value of the matched-value argument must be different from the value of the matching field of packets.

not-exist

The packets cannot contain the matching field.

greater-equal

The value of the matched-value argument must be greater than the value of the matching field of packets.

less-equal

The value of the matched-value argument must be smaller than the value of the matching field of packets.

 

Usage guidelines

Do not use the uni classification-marking commands together with the qos trust dscp command. For more information about the qos trust command, see ACL and QoS Command Reference.

Examples

# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 to modify the priority to 3 for packet tagged with VLAN ID 10.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 classification-marking index 1 queue 3 priority 3 vlan-id

 equal 10

uni description

Use uni description to configure the description for a UNI.

Use undo uni description to restore the default.

Syntax

uni uni-number description text

undo uni uni-number description

Default

A UNI does not have a description.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

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

Examples

# Configure the description as Test for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 description Test

uni duplex

Use uni duplex to set the duplex mode of a UNI.

Use undo uni duplex to restore the default.

Syntax

uni uni-number duplex { auto | full | half }

undo uni uni-number duplex

Default

A UNI is operating in full duplex mode.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

auto: Specifies the auto mode.

full: Specifies the full duplex mode.

half: Specifies the half duplex mode.

Usage guidelines

Before you use this command, make sure autonegotiation is disabled on the UNI.

Examples

# Set the duplex mode to auto for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 duplex auto

Related commands

uni auto-negotiation

uni flow-control

Use uni flow-control to enable flow control for a UNI.

Use undo uni flow-control to disable flow control for a UNI.

Syntax

uni uni-number flow-control

undo uni uni-number flow-control

Default

Flow control is disabled for a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Examples

# Enable flow control for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 flow-control

uni igmp-snooping fast-leave

Use uni igmp-snooping fast-leave to enable fast-leave processing for a UNI.

Use undo uni igmp-snooping fast-leave to disable fast-leave processing for a UNI.

Syntax

uni uni-number igmp-snooping fast-leave

undo uni uni-number igmp-snooping fast-leave

Default

Fast-leave processing is disabled for a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

Before you use this command on an ONU, set the multicast mode of the ONU to IGMP snooping.

You cannot use this command together with the onu multicast fast-leave enable command.

Examples

# Enable fast-leave processing for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 igmp-snooping fast-leave

Related commands

multicast mode

onu multicast fast-leave enable

uni mac-address max-mac-count

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

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

Syntax

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

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

Default

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

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

count: Specifies the maximum number of MAC addresses that the UNI can learn. The value range for this argument is 0 to 65534. If you set this argument to 0, MAC address learning is disabled on the UNI.

Examples

# Set the MAC learning limit to 5 on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 mac-address max-mac-count 5

uni mdix-mode

Use uni mdix-mode to set the MDIX mode for a UNI.

Use undo uni mdix-mode to restore the default.

 

 

NOTE:

This command is not supported by ET254 ONUs.

 

Syntax

uni uni-number mdix-mode { automdix | mdi | mdix }

undo uni uni-number mdix-mode

Default

The MDIX mode of a UNI is automdix.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

automdix: Negotiates pin roles with its peer.

mdi: Uses pins 1 and 2 as transmit pins and pins 3 and 6 as receive pins.

mdix: Uses pins 1 and 2 as receive pins and pins 3 and 6 as transmit pins.

Usage guidelines

Before you use this command, make sure autonegotiation is disabled on the UNI.

Examples

# Set the MDIX mode to automdix for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 mdix-mode automdix

Related commands

uni auto-negotiation

uni mirroring-port

Use uni mirroring-port to configure a UNI as a mirroring source port.

Use undo uni mirroring-port to remove mirroring source port configuration from a UNI.

Syntax

uni uni-number mirroring-port { both | inbound | outbound }

undo uni uni-number mirroring-port

Default

A UNI is not a mirroring source port.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

both: Specifies both inbound and outbound mirroring.

inbound: Specifies inbound mirroring.

outbound: Specifies outbound mirroring.

Usage guidelines

A UNI cannot be both a mirroring source port and destination port.

Examples

# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 as a mirroring source port and enable both inbound and outbound mirroring.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 mirroring-port both

Related commands

uni monitor-port

uni monitor-port

Use uni monitor-port to configure a UNI as a mirroring destination port.

Use undo uni monitor-port to restore the default.

Syntax

uni uni-number monitor-port

undo uni uni-number monitor-port

Default

A UNI is not a mirroring destination port.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

An ONU can have only one mirroring destination port. To change the mirroring destination port, first remove the original mirroring destination port.

A UNI cannot be both a mirroring source port and destination port.

Examples

# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 as a mirroring destination port.

<Sysname> system-view

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

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

Related commands

uni mirroring-port

uni multicast vlan

Use uni multicast vlan to assign a UNI to multicast VLANs on an ONU.

Use undo uni multicast vlan to remove a UNI from the specified or all multicast VLANs on an ONU.

Syntax

uni uni-number multicast vlan vlan-id-list

undo uni uni-number multicast vlan { vlan-id-list | all }

Default

A UNI is not assigned to any multicast VLANs.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

vlan-id-list: Specifies a space-separated list of up to 50 multicast VLAN IDs in the range of 1 to 4094.

all: Specifies all multicast VLAN IDs.

Usage guidelines

On an ONU, UNIs can be assigned to a maximum of 15 multicast VLANs.

This command is available only on an ONU in IGMP snooping mode.

Examples

# Assign UNI 1 of the ONU bound to ONU 1/0/1:1 to multicast VLANs 2000 and 3000.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 multicast vlan 2000 3000

Related commands

multicast mode

uni multicast-control multicast-address

Use uni multicast-control multicast-address to configure the access to multicast channels on a UNI.

Use undo uni multicast-control multicast-address to restore the default.

Syntax

uni uni-number multicast-control multicast-address multicast-address-list [ source-ip ip-address [ to ip-address ] ] rule { deny | permit [ channel-limit channel-number ] | preview time-slice preview-time [ preview-interval interval-time | preview-times preview-times [ reset-interval reset-interval-time ] ]* }

undo uni uni-number multicast-control multicast-address [ multicast-address-list ]

Default

The access to multicast channels is not configured on a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

multicast-address-list: Specifies a space-separated list of up to 10 multicast IP address items. Each item specifies a multicast IP address or a range of multicast IP address in the format of multicast-address1 to multicast-address2.

source-ip ip-address [ to ip-address ]: Specifies the IP address range of the multicast sources that issue multicast channels. The ip-address argument indicates the IP address of a multicast source.

deny: Denies user access to the specified multicast channels.

permit: Permits user access to the specified multicast channels.

channel-limit channel-number: Specifies the number of channels that can be accessed at the same time when the permit keyword is specified. The value range for this argument is 1 to 5. If this option is not specified, up to 5 channels can be accessed at the same time.

preview time-slice preview-time: Specifies the preview period during which the users can preview the multicast channels in the range of 1 to 3 minutes.

preview time-slice interval-time: Specifies the preview interval in the range of 1 to 10 minutes.

preview time-slice preview-times: Specifies the times of previews, in the range of 1 to 3.

reset-interval reset-interval-time: Specifies the preview reset interval in the range of 1 to 43200 minutes. If the preset number of previews is reached, you must wait for a preview reset interval before the next preview.

Usage guidelines

This command is available only on an ONU in multicast control mode.

If you specify the source-ip keyword, the OLT processes received IGMPv3 packets as follows:

·     For IS_IN, TO_IN, or ALLOW IGMPv3 packets:

?     If their multicast IP address and source IP address are in the address range that has multicast rights, the OLT creates multicast entries.

?     If this requirement is not met, the OLT drops the packets.

·     If the packet type is IS_EX or TO_EX, the OLT drops the packets.

·     If the packet type is BLOCK, the OLT directly deletes the corresponding multicast entries without checking the packet rights.

For more information about IS_IN, TO_IN, ALLOW, IS_EX, TO_EX, and BLOCK IGMPv3 packets, see IP Multicast Configuration Guide.

If you assign preview right to multiple multicast channels to users on a UNI, only one of the multicast channels can be previewed at a given time.

Examples

# Permit users on UNI 1 of the ONU bound to ONU 1/0/1:1 to access the multicast channel 224.1.1.2.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 multicast-control multicast-address 224.1.1.2 rule permit

Related commands

multicast mode

multicast vlan-id ip

uni multicast-group-number

Use uni multicast-group-number to configure the number of multicast channels that users can access at the same time on a UNI.

Use undo multicast-group-number to restore the default.

Syntax

uni uni-number multicast-group-number number

undo uni uni-number multicast-group-number

Default

The users on a UNI can access 64 multicast channels at the same time.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

number: Specifies the number of multicast channels, in the range of 0 to 255.

Examples

# Configure the number of multicast channels as 30 on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 multicast-group-number 30

uni multicast-strip-tag enable

Use uni multicast-strip-tag enable to configure a UNI to remove the VLAN tag of downlink multicast flows.

Use undo uni multicast-strip-tag enable to restore the default.

Syntax

uni uni-number multicast-strip-tag enable

undo uni uni-number multicast-strip-tag enable

Default

A UNI does not remove the VLAN tag of downlink multicast flows.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

When transparent transmission is enabled for unknown multicast packets with the destination MAC address 0100-ffff-ffff on an UNI, the UNI does not support this command.

Examples

# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 to remove the VLAN tag of downlink multicast flows.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 multicast-strip-tag enable

Related commands

onu protocol transparent-multicast

uni transparent-multicast

uni poe enable

Use uni poe enable to enable PoE for a UNI.

Use undo uni poe enable to disable PoE for a UNI.

Syntax

uni uni-number poe enable

undo uni uni-number poe enable

Default

PoE is disabled for a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

Usage guidelines

On an ONU port, the onu poe enable and uni poe enable commands are mutually exclusive.

Examples

# Enable PoE for UNI 1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 poe enable

Related commands

onu poe enable

uni poe legacy enable

Use uni poe legacy enable to enable nonstandard PD detection for a UNI.

Use undo uni legacy enable to disable nonstandard PD detection for a UNI.

Syntax

uni uni-number poe legacy enable

undo uni uni-number poe legacy enable

Default

Nonstandard PD detection is disabled for a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

Usage guidelines

PDs include standard PDs (which comply with IEEE 802.3af and IEEE 802.3at ) and nonstandard PDs. By default, a PSE supplies power to only standard PDs. For a PSE to supply power to nonstandard PDs, enable nonstandard PD detection.

Nonstandard PDs do not support autonegotiating the maximum power with an ONU. Make sure the maximum power configured for a nonstandard PD does not exceed the maximum power supported by the PD.

On an ONU port, the onu poe legacy enable and uni poe legacy enable commands are mutually exclusive.

Examples

# Enable nonstandard PD detection for UNI 1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 poe legacy enable

Related commands

onu poe legacy enable

uni poe max-power

uni poe max-power

Use uni poe max-power to configure the maximum power of a UNI.

Use undo uni poe max-power to restore the default.

Syntax

uni uni-number poe max-power { class { default | class0 | class1 | class2 | class3 | class4 } | value max-power-value }

undo uni uni-number poe max-power

Default

The maximum power of a UNI depends on the maximum power class of the PD attached to the UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

class0: Specifies the maximum power of the UNI as class 0.

class1: Specifies the maximum power of the UNI as class 1.

class2: Specifies the maximum power of the UNI as class 2.

class3: Specifies the maximum power of the UNI as class 3.

class4: Specifies the maximum power of the UNI as class 4.

default: Specifies the maximum power of the UNI as the maximum power class of the PD attached to the UNI.

max-power-value: Specifies the maximum power of the UNI, in the range of 1000 to 655350 microwatts.

Usage guidelines

Classes 1 through 4 are in ascending order of supplied power. Class 0 indicates the highest power class.

When the maximum power that the ONU and PD autonegotiate is smaller than the maximum power configured by using this command, the autonegotiated one takes effect.

When the maximum power that the ONU and PD autonegotiate is greater than the maximum power configured by using this command, the ONU denies supplying power to the PD.

On an ONU port, the onu poe max-power and uni poe max-power commands are mutually exclusive.

Examples

# Set the maximum power of UNI 1 to class 2.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 poe max-power class class2

Related commands

onu poe max-power

uni poe mode

Use uni poe mode to configure a PoE power transmission mode for a UNI.

Use undo uni poe mode to restore the default.

Syntax

uni uni-number poe mode { signal | spare }

undo uni uni-number poe mode

Default

The PoE power transmission mode of a UNI is signal (power over signal cables).

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

signal: Specifies the PoE power transmission mode as power over signal cables. The system uses pairs 1, 2, 3, and 6 in the Category 3 or Category 5 twisted pair cable to supply DC power.

spare: Specifies the PoE power transmission mode as power over spare cables. The system uses pairs 4, 5, 7, and 8 in the Category 3 or Category 5 twisted pair cable to supply DC power.

Usage guidelines

On an ONU port, the onu poe mode and uni poe mode commands are mutually exclusive.

Examples

# # Set the PoE power transmission mode to power over spare cables for UNI 1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 poe mode spare

Related commands

onu poe mode

uni poe priority

Use uni poe priority to configure the power supply priority for a UNI.

Use undo uni poe priority to restore the default.

Syntax

uni uni-number poe priority { critical | high | low }

undo uni uni-number poe priority

Default

The power supply priority of a UNI is high.

Views

ONU port view

Predefined user roles

network-admin

Parameters

uni-number: Specifies a UNI by its number in the range of 1 to the number of UNIs on the ONU. The maximum number of UNIs supported on an ONU is 79.

critical: Sets the power supply priority to critical. The UNI with critical power priority operates in guaranteed mode. Power is first supplied to the PD connected to the critical UNI.

high: Sets the power supply priority to high.

low: Sets the power supply priority to low.

Usage guidelines

When the sum of power supplied to PDs attached to UNIs of an ONU exceeds the maximum power of the ONU, the ONU might disable PoE for some UNIs and operate as follows:

·     Power is first supplied to UNIs with higher priority.

·     For UNIs with same power supply priority, the UNI with the smallest number is allocated with power first.

Examples

# Set the power supply priority to low for UNI 1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 poe priority low

Related commands

onu poe priority

uni port-isolate

Use uni port-isolate to assign a UNI to the isolation group.

Use undo uni port-isolate to remove a UNI from the isolation group.

Syntax

uni uni-number port-isolate

undo uni uni-number port-isolate

Default

A UNI is not in the isolation group.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

An ONU supports only one isolation group. The number of UNIs in the isolation group is not limited.

You cannot use this command together with the onu port-isolate enable command.

Examples

# Assign UNI 1 and UNI 2 of the ONU bound to ONU 1/0/1:1 to the isolation group.

<Sysname> system-view

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

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

[Sysname-Onu1/0/1:1] uni 2 port-isolate

Related commands

onu port-isolate enable

uni port-policy inbound

Use uni port-policy inbound to configure uplink traffic policing on a UNI.

Use undo uni port-policy inbound to restore the default.

Syntax

uni uni-number port-policy inbound { bucket-depth bucket-depth-value | cir cir-value | extra-burst-size extra-burst-size-value } *

undo uni uni-number port-policy inbound

Default

The CBS is 1522 bytes, the CIR is 0 kbps, and the EBS is 0 bytes.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

bucket-depth bucket-depth-value: Specifies the CBS in the range of 1522 to 65535 bytes. The CBS is the maximum burst bandwidth.

cir cir-value: Specifies the CIR in the range of 64 to 16777152 Kbps. The value of the cir-value argument must be a multiple of 64.

extra-burst-size extra-burst-size-value: Specifies the EBS in the range of 0 to 1522 bytes.

Examples

# Configure uplink traffic policing on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 port-policy inbound cir 640 bucket-depth 2000 extra-burst-size 1000

uni port-policy outbound

Use uni port-policy outbound to configure downlink traffic policing on a UNI.

Use undo uni port-policy outbound to restore the default.

Syntax

uni uni-number port-policy outbound cir cir-value [ pir pir-value ]

undo uni uni-number port-policy outbound

Default

The CIR is 0 kbps, and the PIR is 0 kbps.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

cir cir-value: Specifies the CIR in the range of 64 to 16777152 Kbps. The value of the cir-value argument must be a multiple of 64.

pir pir-value: Specifies the PIR in the range of 64 to 16777152 Kbps. The value of the pir-value argument must be a multiple of 64 and be larger than the CIR.

Examples

# Configure downlink traffic policing on UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 port-policy outbound cir 30720

uni qinq

Use uni qinq to add an SVLAN tag for packets with specific CVLAN tags, or enable transparent transmission for VLANs on a UNI.

Use undo uni qinq to remove QinQ configuration from a UNI.

Syntax

uni uni-number qinq svlan svlan-id cvlan { cvlan-id-list | all }

undo uni uni-number qinq svlan svlan-id

uni uni-number qinq transparent-vlan { cvlan-id-list | all }

undo uni uni-number qinq transparent-vlan { cvlan-id-list | all }

Default

QinQ is not configured on a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

svlan svlan-id: Specifies an SVLAN ID in the range of 1 to 4094.

cvlan-id-list: Specifies a space-separated list of up to 10 CVLAN ID items. Each item specifies a VLAN ID or a range of VLAN IDs in the format of vlan-id1 to vlan-id2. The value of vlan-id2 cannot be smaller than the value of vlan-id1. The value range for VLAN IDs is 1 to 4094.

all: Specifies all CVLAN IDs.

Usage guidelines

Before you can configure QinQ for a UNI, you must set its VLAN operation mode to QinQ.

Enable transparent transmission for VLANs that have special purposes, for example, a VLAN dedicated to a corporation or a management VLAN. When receiving packets tagged with the VLAN ID, the ONU does not add the SVLAN tag to the packets before forwarding them to the service provider network.

Examples

# Configure UNI 1 of the ONU bound to ONU 1/0/1:1 to add the SVLAN tag 20 for packets with a CVLAN tag of VLAN 3 or 4.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 qinq svlan 20 cvlan 3 to 4

Related commands

uni vlan-mode

uni restart auto-negotiation

Use uni restart auto-negotiation to force a UNI to restart autonegotiation.

Syntax

uni uni-number restart auto-negotiation

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Usage guidelines

This command is available only when autonegotiation is enabled.

Examples

# Force UNI 1 of the ONU bound to ONU 1/0/1:1 to restart autonegotiation.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 restart auto-negotiation

Related commands

uni auto-negotiation

uni shutdown

Use uni shutdown to shut down a UNI.

Use undo uni shutdown to bring up a UNI.

Syntax

uni uni-number shutdown

undo uni uni-number shutdown

Default

A UNI is up.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Examples

# Shut down UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

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

uni speed

Use uni speed to set the rate of a UNI.

Use undo uni speed to restore the default.

Syntax

uni uni-number speed { 10 | 100 | 1000 | auto }

undo uni uni-number speed

Default

The rate of a UNI is 100 Mbps.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

10: Sets the UNI rate to 10 Mbps.

100: Sets the UNI rate to 100 Mbps.

1000: Sets the UNI rate to 1000 Mbps.

auto: Enable auto rate negotiation.

Usage guidelines

Before you use this command, make sure autonegotiation is disabled on the UNI.

Examples

# Set the rate to 10 Mbps for UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 speed 10

Related commands

uni auto-negotiation

uni statistics enable

Use uni statistics enable to enable packet statistics for a UNI.

Use undo uni statistics enable to disable packet statistics for a UNI.

Syntax

uni uni-number statistics enable [ period period-value ]

undo uni uni-number statistics enable

Default

The packet statistics feature is enabled for a UNI.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

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

Examples

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

<Sysname> system-view

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

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

uni transparent-multicast

Use uni transparent-multicast to enable unknown multicast packet transparent transmission for a UNI.

Use undo uni transparent-multicast to disable unknown multicast packet transparent transmission for a UNI.

Syntax

uni uni-number transparent-multicast dest-mac mac-address [ vlan vlan-id ]

undo uni uni-number uni transparent-multicast dest-mac mac-address [ vlan vlan-id ]

Default

Unknown multicast packet transparent transmission is disabled for a UNI on an ONU. The ONU might drop unknown multicast packets.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

dest-mac mac-address: Specifies a multicast MAC address. Supported multicast MAC addresses vary by device model.

vlan vlan-id: Specifies a VLAN ID of multicast packets, in the range of 1 to 4094. If you do not specify this option, VLAN 1 is used.

Usage guidelines

If you execute the undo uni transparent-multicast command without specifying the vlan keyword, this command disables transparent transmission of unknown multicast packets with the specified destination multicast MAC addresses and VLAN ID 1.

This command and the onu protocol transparent-multicast command are mutually exclusive.

You can configure this command for up to eight times on a UNI. The union of these configurations takes effect.

Examples

# Enable transparent transmission of multicast packets with destination MAC address 0100-5e00-0033 and VLAN ID 10 on UNI 1 of ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 transparent-multicast dest-mac 0100-5e00-0033 vlan 10

Related commands

onu protocol transparent-multicast

uni virtual-cable-test

Use uni virtual-cable-test to test the cable connected to a UNI.

Syntax

uni uni-number virtual-cable-test

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

Examples

# Test the cable connected to UNI 1 of the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 virtual-cable-test

Cable status: abnormal(open), 0 metre(s)

Pair Impedance mismatch: -

Pair skew: - ns

Pair swap: -

Pair polarity: -

Insertion loss: - db

Return loss: - db

Near-end crosstalk: 4294967040 db

Table 20 Command output

Field

Description

Cable status

Cable status:

·     Normal.

·     Abnormal.

·     abnormal(open).

·     abnormal(short).

·     failure.

n metre(s)

If the cable is operating correctly, this field displays the total length of the cable.

If the cable is not operating correctly, this field displays the length of the cable between the UNI and the point of failure.

Pair skew

Pair skew. The hyphen (-) indicates that the test item is not supported.

Pair swap

Pair swap. The hyphen (-) indicates that the test item is not supported.

Pair polarity

Pair polarity. The hyphen (-) indicates that the test item is not supported.

Insertion loss

Insertion loss. The hyphen (-) indicates that the test item is not supported.

Return loss

Return loss. The hyphen (-) indicates that the test item is not supported.

Near-end crosstalk

Near-end crosstalk. The hyphen (-) indicates that the test item is not supported.

 

uni vlan-mode

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

Use undo uni vlan-mode to restore the default.

Syntax

·     Transparent mode:

uni uni-number vlan-mode transparent

·     Tag mode:

uni uni-number vlan-mode tag pvid pvid [ priority priority ]

·     Translation mode:

uni uni-number vlan-mode translation pvid pvid [ priority priority ] { original-vlan-id to translated-vlan-id } &<1-15>

·     QinQ mode:

uni uni-number vlan-mode qinq pvid pvid [ priority priority ]

·     Trunk mode:

uni uni-number vlan-mode trunk pvid pvid [ priority priority ] trunk-vlan-list

·     N:1 aggregation mode:

uni uni-number vlan-mode aggregation pvid pvid [ priority priority ] { vlan-id1 to vlan-id2 aggregated-vlan aggregated-vlan }&<1-15>

undo uni uni-number vlan-mode

Default

The VLAN operation mode of a UNI is transparent.

Views

ONU port view

Predefined user roles

network-admin

Parameters

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

pvid pvid: Specifies a PVID in the range of 1 to 4094. In tag mode, translation mode, trunk mode, or N:1 aggregation mode, a UNI tags only incoming untagged frames with its PVID. In QinQ mode, a UNI tags all incoming frames with its PVID, regardless of whether the frames already have tags.

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

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

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

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

Usage guidelines

If the link type of all ONU ports on an OLT port is access, you must set the VLAN operation mode to transparent for UNIs of the ONUs. This setting ensures that the ONU ports and users receive only untagged packets.

The VLANs configured by using the uni vlan-mode command takes effect only on unicast packets. As a best practice, make sure the VLANs configured by using the uni vlan-mode command do not overlap with those configured by using the uni multicast vlan command.

If you enable transparent transmission of unknown multicast packets with the destination MAC address 0100-ffff-ffff on an UNI, the VLANs configured by using the uni vlan-mode command also take effect on all unknown multicast packets.

Examples

# Set the VLAN operation mode of UNI 1 to transparent for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode transparent

# Set the VLAN operation mode of UNI 1 to tag for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode tag pvid 100 priority 3

# Set the VLAN operation mode of UNI 1 to translation for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode translation pvid 100 priority 3 2 to 5

# Set the VLAN operation mode of UNI 1 to QinQ for the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode qinq pvid 100 priority 3

# Set the VLAN operation mode of UNI 1 to trunk for the ONU bound to ONU 1/0/1:1. Set the PVID to 1, set the 802.1p priority in packets to 3, and permit VLANs 2 through 5.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode trunk pvid 1 priority 3 2 to 5

# Set the VLAN operation mode of UNI 1 to N:1 aggregation for the ONU bound to ONU 1/0/1:1. Set the PVID to 1, set the 802.1p priority in packets to 3, and translate VLANs 2 through 5 to 100.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] uni 1 vlan-mode aggregation pvid 1 priority 3 2 to 5 aggregate 100

Related commands

onu protocol transparent-multicast

uni multicast vlan

uni transparent-multicast

update onu filename

Use update onu filename to update an ONU or all ONUs on an OLT port.

Use undo update onu to cancel the update configuration for an ONU or all ONUs on an OLT port.

Syntax

update onu [ protocol-type { h3c | ctc } ] filename filename

undo update onu

Views

OLT port view

ONU port view

Predefined user roles

network-admin

Parameters

protocol-type: Specifies the protocol used for ONU update. If you do not specify a protocol, the H3C protocol is used.

h3c: Specifies the H3C protocol.

ctc: Specifies the CTC protocol.

filename: Specifies a file by its name, a string of 1 to 63 characters. The string can contain only letters, numbers, and special characters in Table 21. The file name is formed by the device name and the ONU update file name. If you do not specify a device name, the name of the Flash on the active MPU is used as the device name. The files on the standby MPU cannot be used for the update.

Table 21 Special characters

Character name

Symbol

Character name

Symbol

Tilde

~

Plus sign

+

Exclamation point

!

Equal sign

=

At sign

@

Left brace

{

Pound sign

#

Right brace

}

Dollar sign

$

Left bracket

[

Percent sign

%

Right bracket

]

Caret

^

Backslash

\

Ampersand sign

&

Semi-colon

;

Left parenthesis

(

Apostrophe

'

Right parenthesis

)

Comma

,

Hyphen

-

Dot

.

Underscore

_

 

 

 

Usage guidelines

As a best practice, use the H3C protocol for H3C ONUs. To update ONUs from other vendors, use the CTC protocol. When the OLT operating mode of a 10G-EPON card is changed to 128-ONU, the ONUs connected to the EPON card do not support using the H3C protocol for upgrading ONUs.

To update a single ONU, use this command in ONU port view. To update all ONUs on an OLT port, use this command in OLT port view.

This command issues the update file to ONUs.

·     If an ONU is online and matches the update file, the ONU is updated.

·     If an ONU is online but does not match the update file, the ONU is not updated.

·     If an ONU that matches the update file is not online, whether the ONU is updated when it comes online depends on the update protocol.

?     If the H3C protocol is used, the ONU is updated after it comes online.

?     If the CTC protocol is used, the ONU is not updated after it comes online. To update the ONU, first use the undo update onu command to cancel the update, and execute the update onu command when the ONU is online.

After you use this command in OLT port view, whether the OLT updates a matching ONU that newly comes online depends on the creation time of the corresponding ONU port.

·     If the ONU port is created before you execute this command, the ONU will be updated.

·     If the ONU port is created after you execute this command, the ONU will not be updated.

Examples

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

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] update onu filename file.app

Update flash:/file.app?[Y/N] Y

update onu type

Use update onu type to update ONUs by type.

Use undo update onu type to cancel the update configuration for an ONU type.

Syntax

update onu type onu-type [ protocol-type { h3c | ctc } ] filename filename

undo update onu type onu-type

Views

FTTH view

Predefined user roles

network-admin

Parameters

onu-type: Specifies an ONU type, a case-insensitive string of 1 to 16 characters. The string can contain only letters, numbers, and special characters in Table 22.

Table 22 Special characters

Character name

Symbol

Character name

Symbol

Tilde

~

Plus sign

+

Exclamation point

!

Equal sign

=

At sign

@

Left brace

{

Pound sign

#

Right brace

}

Dollar sign

$

Left bracket

[

Percent sign

%

Right bracket

]

Caret

^

Backslash

\

Ampersand sign

&

Semi-colon

;

Left parenthesis

(

Apostrophe

'

Right parenthesis

)

Comma

,

Hyphen

-

Dot

.

Underscore

_

 

 

 

protocol-type: Specifies the protocol used for ONU update. If you do not specify a protocol, the H3C protocol is used.

h3c: Specifies the H3C protocol.

ctc: Specifies the CTC protocol.

filename: Specifies a file by its name, a string of 1 to 63 characters. The string can contain only letters, numbers, and special characters in Table 22. The file name is formed by the device name and the ONU update file name. If you do not specify a device name, the name of the Flash on the active MPU is used as the device name. The files on the standby MPU cannot be used for the update.

Usage guidelines

As a best practice, use the H3C protocol for H3C ONUs. To update ONUs from other vendors, use the CTC protocol. When the OLT operating mode of a 10G-EPON card is changed to 128-ONU, the ONUs connected to the EPON card do not support using the H3C protocol for upgrading ONUs.

This command enables the OLT to automatically update ONUs that match the specified ONU type and do not have an update file. The OLT updates ONUs as follows:

·     If a matching ONU is online, the ONU is updated.

·     If an ONU is online but does not match the update file, the ONU is not updated.

·     If an ONU that matches the update file is not online, whether the ONU is updated when it comes online depends on the update protocol.

?     If the H3C protocol is used, the ONU is updated after it comes online.

?     If the CTC protocol is used, the ONU is not updated after it comes online. To update the ONU, first use the undo update onu command to cancel the update, and execute the update onu command when the ONU is online.

You can update a maximum of 64 types of ONUs at the same time.

Examples

# Update all ET704-A-L ONUs.

<Sysname> system-view

[Sysname] ftth

[Sysname-ftth] update onu type et704-a-l filename file.app

upstream-sla

Use upstream-sla to specify the uplink bandwidth range for an ONU.

Use undo upstream-sla to restore the default.

Syntax

upstream-sla { fixed-bandwidth fixed-value | minimum-bandwidth min-value | maximum-bandwidth max-value | weight weight-value } *

undo upstream-sla

Default

The fixed uplink bandwidth is 0 kbps, the minimum uplink bandwidth is 2048 kbps, the maximum uplink bandwidth is 23552 kbps, and the bandwidth allocation weight is 1.

Views

ONU port view

Predefined user roles

network-admin

Parameters

fixed-bandwidth fixed-value: Sets the fixed uplink bandwidth in the range of 0 to 14843. The unit of the fixed-value argument is 64 kbps. For 10G-EPON cards, the value range is 0 to 148430.

minimum-bandwidth min-value: Sets the minimum uplink bandwidth in the range of 8 to 15000. The unit of the min-value argument is 64 kbps. For 10G-EPON cards, the value range is 8 to 135781.

maximum-bandwidth max-value: Sets the maximum uplink bandwidth in the range of 8 to 15625. The unit of the max-value argument is 64 kbps. For 10G-EPON cards, the value range is 8 to 156250.

weight weight-value: Specifies the bandwidth allocation weight in the range of 1 to 20.

Usage guidelines

Make sure the fixed uplink bandwidth is not greater than the minimum uplink bandwidth.

On a 1G-EPON card, the sum of the minimum uplink bandwidth for all ONU ports of a single OLT port cannot exceed 950 Mbps. On a 10G-EPON card, the sum of the minimum uplink bandwidth for all ONU ports of a single OLT port cannot exceed 9500 Mbps.

Examples

# Set the maximum uplink bandwidth to 10240 kbps 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] upstream-sla maximum-bandwidth 160

The maximum-bandwidth of upstream is 10240 kbps

using onu

Use using onu to create ONU ports.

Use undo using onu to delete ONU ports.

Syntax

using onu onu-number-list

undo using onu onu-number-list

Default

No ONU ports exist.

Views

OLT port view

Predefined user roles

network-admin

Parameters

onu-number-list: Specifies a space-separated list of up to 10 ONU port number items. Each item specifies an ONU port number or a range of ONU port numbers in the format of onu-number1 to onu-number2. The value of onu-number2 cannot be smaller than the value of onu-number1. The value range for ONU port numbers is 1 to 64.

Examples

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

<Sysname> system-view

[Sysname] interface olt 1/0/2

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

voip-port shutdown

Use voip-port shutdown to shut down a VoIP interface on an ONU.

Use undo voip-port shutdown to bring up a VoIP interface on an ONU.

Syntax

voip-port port-number shutdown

undo voip-port port-number shutdown

Default

A VoIP interface is down on an ONU.

Views

ONU port view

Predefined user roles

network-admin

Parameters

port-number: Specifies a VoIP interface by its number. The value range for this argument is 1 to the number of VoIP interfaces on the ONU.

Examples

# Bring up VoIP interface 1 on the ONU bound to ONU 1/0/1:1.

<Sysname> system-view

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

[Sysname-Onu1/0/1:1] undo voip-port 1 shutdown

BCMP proxy commands

bcmp-proxy enable

Use bcmp-proxy enable to enable the BCMP proxy feature.

Use undo bcmp-proxy enable to disable the BCMP proxy feature.

Syntax

bcmp-proxy enable

undo bcmp-proxy enable

Default

The BCMP proxy feature is disabled.

Views

System view

Predefined user roles

network-admin

Usage guidelines

An OLT with this feature enabled operates as a BCMP proxy to forward member registration information and configuration between the BCMP server and BCMP clients.

Examples

# Enable the BCMP proxy feature.

[Sysname] bcmp-proxy enable

bcmp-proxy server address

Use bcmp-proxy server address to specify the IP address of the BCMP server.

Use undo bcmp-proxy server address to restore the default.

Syntax

bcmp-proxy server address ip-address

undo bcmp-proxy server address

Default

The IP address of the BCMP server is not specified.

Views

System view

Predefined user roles

network-admin

Parameters

ip-address: Specifies an IP address.

Usage guidelines

For a BCMP proxy to communicate with a BCMP server, you must specify the IP address of the server on the BCMP proxy.

Examples

# Specify 1.1.1.1 as the IP address of the BCMP server.

[Sysname] bcmp-proxy server address 1.1.1.1

Related commands

bcmp-proxy enable

bcmp-proxy server port

Use bcmp-proxy server port to specify the port number of the BCMP server.

Use undo bcmp-proxy server port to restore the default.

Syntax

bcmp-proxy server port port-number

undo bcmp-proxy server port

Default

The port number of the BCMP server is 5000.

Views

System view

Predefined user roles

network-admin

Parameters

port-number: Specifies a port number in the range of 1 to 65535.

Usage guidelines

Use this command to specify the UDP port number that the BCMP proxy and the BCMP server use to establish a UDP connection. The BCMP proxy and the BCMP server can communicate only after the UDP connection is set up.

Examples

# Specify 2000 as the port number of the BCMP server.

[Sysname] bcmp-proxy server port 2000

Related commands

bcmp-proxy enable

bcmp-proxy vlan

Use bcmp-proxy vlan to specify the BCMP VLAN.

Use undo bcmp-proxy vlan to restore the default.

Syntax

bcmp-proxy vlan vlan-id

undo bcmp-proxy vlan

Default

The BCMP VLAN is 4041.

Views

System view

Predefined user roles

network-admin

Parameters

vlan-id: Specifies a VLAN ID in the range of 1 to 4094.

Usage guidelines

The BCMP proxy communicates with BCMP clients only in the BCMP VLAN.

Examples

# Specify VLAN 100 as the BCMP VLAN.

[Sysname] bcmp-proxy vlan 100

Related commands

bcmp-proxy enable

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网