In this manual, only
the commands particular to EPON are described. Refer to the latest H3C S7500
Series Ethernet Switches Command Manual for the description of the commands
related to the S7500 series.
Syntax
auto-authorize-onu enable
undo auto-authorize-onu enable
View
FTTH view
Parameter
None
Description
Use the auto-authorize-onu enable
command to configure to automatically authenticate optical network units (ONUs).
Use the undo auto-authorize-onu enable
command to cancel the configuration.
There are two ONU authentication modes:
l
If auto authentication mode is adopted, ONUs
registers themselves with and join the EPON system once they are powered on. Then,
they can exchange data with the optical line terminal (OLT) without the need of
you to manually bind ONU ports the MAC addresses of the ONUs.
l
If non-auto authentication mode is adopted, the
EPON system allows all ONUs to register successfully. But you need to bind ONU ports
to the MAC addresses of the ONUs before the ONUs can exchange data with the OLT.
Non-auto authentication is adopted by
default.
Caution:
Currently, auto ONU authentication is not supported for security
concerns.
Example
# Restore the non-auto ONU authentication
mode.
<H3C> system-view
[H3C] ftth
[H3C-ftth] undo auto-authorize-onu
enable
Syntax
display epon-capability interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT or ONU port number.
Description
Use the display epon-capability
command to display OLT or ONU capability information.
This command can display automatic gain
control (AGC) time and clock data recovery (CDR) locking time for an OLT port.
This command can also display laser-on time, laser-off time and grant FIFO deep
during ONU authorization period for an ONU port.
l
On the OLT, the received signal strength from
different ONUs may be different — stronger or weeker, depending on the
distances from the ONUs to the OLT and the ambient environments of the ONUs.
AGC is used to automatically control the gain to adjust signal strength to a
proper range, and the AGC time is the maximum adjust time.
l
CDR locking time is the time used to recover
clock data.
l
Laser-on time is the time for the ONU laser to reach
the stable state after it is opened.
Example
# Display Olt2/0/8 capability information.
<H3C> display epon-capability interface
olt 2/0/8
OLT device capability information:
AGC lock time(TQ): 256
CDR lock time(TQ): 128
# Display Onu2/0/8:1 capability
information.
<H3C> display epon-capability interface
onu 2/0/8:1
ONU device capability information:
Laser on time(TQ) : 96
Laser off time(TQ): 96
Grant FIFO deep : 8
Syntax
display epon-version interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT or ONU port number.
interface-number: The format of LPU slot number/sub-LPU slot number/OLT port number
is used for OLT port; while the format of LPU slot number/sub-LPU slot
number/OLT port number:ONU port number is used for ONU port.
Description
Use the display epon-version command
to display OLT or ONU version information.
l
Logical link identifier (LLID) refers to the number
dynamically assigned by the OLT to an ONU, which is used for the OLT to
uniquely identify the ONU.
l
Currently LLID ranges from 1 to 32.
Example
# Display Olt2/0/8 version information.
<H3C> display epon-version
interface olt 2/0/8
OLT device version information:
Firmware major version: 2
Firmware minor version: 9
Hardware major version: 5001
Hardware minor version: 3
Supported LLID number : 126
# Display Onu2/0/8:1 version information.
<H3C> display epon-version
interface onu 2/0/8:1
ONU device version information:
Hardware major version: 6001
Hardware minor version: 0
Supported LLID number : 1
MAC type of UNI port : MII
Syntax
display epon-workmode interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT or ONU port number.
Description
Use the display epon-workmode command
to display the current operation status of the OLT or ONU. If the port type is
OLT, this command also displays the OLT's MAC address and dynamic bandwidth allocation
(DBA) algorithm mode.
Table 1-1 Operation
status and description
Item
|
Status
|
Description
|
OLT
|
open
|
The OLT is
open.
|
closed
|
The OLT is
closed.
|
ONU
|
open
|
The ONU is
open.
|
closed
|
The ONU is
closed.
|
pending
|
The ONU has registered but not been
authorized.
|
DBA algorithm mode
|
internal
|
Internal DBA algorithm
|
external
|
External DBA algorithm
|
Example
# Display Olt2/0/8 operation mode.
<H3C> display epon-workmode
interface olt 2/0/8
OLT work mode:
Status : open
MAC ADDR: 000c-d500-1027
DBA mode: internal
# Display Onu2/0/8:1 operation mode.
<H3C> display epon-workmode
interface onu 2/0/8:1
ONU work mode:
Working status: open
Table 1-2 Description
on the fields of the display epon-workmode command
Field
|
Description
|
Status: open
|
The OLT is open.
|
MAC ADDR: 000c-d500-1027
|
The OLT’s MAC address is
000c-d500-1027.
|
DBA mode: internal
|
Internal DBA algorithm is used.
|
Working status: open
|
The ONU is open.
|
Syntax
display epon statistics interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type, which can be OLT or ONU.
interface-number: OLT or ONU port number.
Description
Use the display epon statistics
interface command to display OLT or ONU statistics data, including average bit
error rate and frame error rate of data forwarded between OLT and ONU(s).
Example
# Display statistics on Olt2/0/8.
<H3C> display epon statistics
interface olt 2/0/8
OLT statistics:
Bit error rate(in 1e-9 unit) : 0
Frame error rate(in 1e-9 unit): 0
# Display statistics on Onu2/0/8:1.
<H3C> display epon statistics
interface onu 2/0/8:1
ONU statistics:
Bit error rate(in 1e-9 unit) : 0
Frame error rate(in 1e-9 unit): 0
Table 1-3 Description
on the fields of the display epon statistic interface command
Field
|
Description
|
Bit error
rate: 0
|
Average
bit error rate is 0.
|
Frame error
rate: 0
|
Average frame
error rate is 0.
|
Syntax
message-lose-threshold times
undo message-lose-threshold
View
FTTH view
Parameter
times: Maximum
times of response timeout, ranging from 10 to 1,000. By default, it is 20.
Description
Use the message-lose-threshold command
to configure the maximum times of response timeout between the HOST (CPU of the
LPU with EPON feature in the OLT) and the OLT. When the times of response
timeout reaches the set value, the OLT will be reset.
Use the undo message-lose-threshold
command to restore the default timeout times.
This command works together with the timer
response-timeout command.
Caution:
This command is
designed to be used by users with administrative rights. General users are not recommended
to use this command.
Example
# Set the maximum times of response timeout
between the HOST and the OLT to 10.
<H3C> system-view
[H3C] ftth
[H3C-ftth] message-lose-threshold 10
Syntax
sample enable
undo sample enable
View
FTTH view
Parameter
None
Description
Use the sample enable command to
enable sampling for the EPON system.
Use the undo sample enable command
to cancel the configuration.
Caution:
This command is
designed to be used by users with administrative rights. General users are not recommended
to use this command.
Example
# Enable sampling for the EPON system.
<H3C> system-view
[H3C] ftth
[H3C-ftth] sample enable
Syntax
timer response-timeout milliseconds
undo timer response-timeout
View
FTTH view
Parameter
milliseconds:
Response timeout time (in milliseconds), ranging from 300 to 10,000. By
default, it is 600 milliseconds.
Description
Use the timer response-timeout command
to configure the response timeout time between the HOST and OLT.
Use the undo timer response-timeout
command to restore the default response timeout time.
This command
works together with the message-lose-threshold command.
Caution:
This command is
designed to be used by users with administrative rights. General users are not
recommended to use this command.
Example
# Set the response timeout time between the
HOST and OLT to 300 milliseconds.
<H3C> system-view
[H3C] ftth
[H3C-ftth] timer response-timeout 300
Syntax
timer sample seconds
undo timer sample
View
FTTH view
Parameter
seconds:
Sample time (in seconds), ranging from 1 to 3,600. By default, it is 4 seconds.
Description
Use the timer sample command to configure
sample time for the EPON system.
Use the undo
timer sample command to restore the default sample time.
Caution:
This command is designed to be used by users with administrative
rights. General users are not recommended to use this command.
Example
# Set the sample time to 10 seconds for the
EPON system.
<H3C> system-view
[H3C] ftth
[H3C-ftth] timer sample 10
Syntax
attribute {
laser-on time | laser-off time } *
attribute { multiple-copy-broadcast
| discard-packet } enable
undo attribute
{ laser-on | laser-off } *
undo attribute
{ multiple-copy-broadcast | discard-packet } enable
View
OLT port view
Parameter
laser-on
time: Sets the open time period of the OLT laser at
Discovery stage, which starts from the opening of the OLT laser and ends until
the laser reaches the stable active state. This period ranges from 20 TQ to
1,000 TQ and defaults to 96 TQ.
laser-off time: Sets the close time period of the
OLT laser at Discovery stage, which starts from the closing of the OLT laser
and ends until the laser reaches the stable inactive state. This period ranges
from 20 TQ to 1,000 TQ and defaults to 96 TQ.
multiple-copy-broadcast: Enables or disables multiple copy broadcast. If the function is
enabled, when OLT forwards a packet to an ONU, the same packet is broadcasted
in the VLAN it belongs to instead of in all VLANs. A VLAN can contain multiple
LLIDs only when the keyword is enable. By default, multiple copy
broadcast is disabled.
discard-packet: Specifies whether or not the system discards the packets whose
source MAC address is not contained in the OLT MAC table. By default, the OLT
forwards (does not discard) the packets whose source MAC address is not
contained in the OLT MAC table.
l
1 TQ is equal to 16 ns, and it is the same
below.
l
The discard-packet keyword should be used
with the cooperation of the mac-address max-mac-count command. For the
related command, refer to section 3.1.11 mac-address max-mac-count.
l
Currently, multiple copy broadcast is not
supported.
Description
Use the attribute commands to
configure some of the OLT attributes.
Use the undo attribute commands to restore some of the
default OLT attributes.
Caution:
The commands here
take effect only after you execute the shutdown command and then the undo
shutdown command on the OLT. General users are recommended not to configure
the open and close time periods of the OLT laser
Example
# Configure the open time period of the
laser to 100 TQ.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] attribute laser-on 100
Syntax
display onuinfo interface interface-type interface-number
View
Any view
Parameter
interface-type:
Port type. The value is OLT or ONU.
interface-number: OLT or ONU port number.
Description
Use the display onuinfo interface
command to display information about a specified ONU or all ONUs (also including
those ONUs that are bound but not powered on and registered) under an OLT port.
The information displayed includes the MAC address, round trip time (RTT),
assigned LLID, port number and state of each ONU.
Example
# Display information about all ONUs under
the Olt2/0/8 port.
<H3C> display onuinfo interface
olt 2/0/8
NO. ONU Mac Address
RTT(TQ) LLID Port State
1 000f-e203-fdbc
14 1 0nu2/0/8:1 Up
2 000f-e203-fdba 12 2
N/A N/A
3 000f-e203-fdbb N/A N/A Onu2/0/8:3
Offline
# Display information about Onu2/0/8:1.
<H3C> display onuinfo interface
onu 2/0/8:1
NO. ONU Mac Address
RTT(TQ) LLID Port State
1 000f-e203-fdbc 14
1 Onu2/0/8:1 Up
l
Port represents the number of the bound ONU
port. If the ONU is not bound to the ONU port, N/A is displayed here.
l
State represents the state of the ONU. If the
ONU is not bound to the ONU port, N/A is displayed here. Otherwise, Up is
displayed if the ONU is started up or Down is displayed if the ONU is shut
down. Offline is displayed if the ONU is not powered on.
2.1.3 display onuinfo mac-address
Syntax
display onuinfo mac-address mac-address
View
Any view
Parameter
mac-address:
MAC address of an ONU.
Description
Use the display onuinfo mac-address
command to display information about the ONU of a specified MAC address (even
if the bound ONU has not been powered on and registered), including: the MAC
address of the ONU, the round trip time (RTT), the LLID assigned to the ONU, and
the port number and state of the ONU.
Example
# Display information about the ONU with
MAC addresses 000f-e203-fdbc.
<H3C> display onuinfo mac-address
000f-e203-fdbc
NO. ONU Mac Address
RTT(TQ) LLID Port State
1 000f-e203-fdbc
14 1 0nu2/0/8:1 Up
l
The “port” field displays the port number
of the bound ONU. If the ONU is not bound to an ONU port, N/A is displayed.
l
The “state” field shows the state of
the ONU. If the ONU is not bound to an ONU port, N/A is displayed; Otherwise Up
is displayed if the ONU is started up, and Down is displayed if the ONU is down;
if the ONU is not powered on, offline is displayed.
Syntax
max-rtt value
undo max-rtt
View
OLT port view
Parameter
max-rtt
value: Specifies the maximum round trip time (RTT)
in TQ, in the range of 1,000 to 25,000. This argument is 13,524 TQ by default.
Description
Use the max-rtt command to configure
the operating parameter for the OLT, that is set the maximum RTT between OLT
and ONUs. . The ONUs are usually at different distances from the OLT.
Therefore, they have different RTT values. Through the configuration of the
maximum RTT, you can limit the registration of the ONUs that are relatively
farther away from the OLT.
RTT is computed as follows: The OLT sends a
time stamp T0 to an ONU at the time T0. Once the ONU receives the time stamp,
it sets its local timer to T0. After waiting for a specific period, the ONU
sends a time stamp T1 to the OLT at the time T1. The OLT receives this stamp at
the time T2, and then RTT=(T2-T0)-(T1-T0).
Caution:
l
This command is designed to be used by users
with administrative rights. General users are not recommended to use this
command.
l
The max-rtt command takes effect on
unregistered ONUs only, instead of registered ONUs.
l
The RTT value for registered ONUs cannot be 0.
If it is 0, you must lengthen the fiber by 20 meters at least. For related
command, refer to 2.1.2 display onuinfo interface.
Example
# Set the maximum RTT to 25,000 TQ.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] max-rtt 25000
Syntax
port permit vlan vlan-list
undo port permit vlan vlan-list
View
OLT port view
Parameter
vlan-list:
VLAN ID list, which can be a set of VLAN IDs (where up to ten VLAN IDs can be
input at a time) or a range of VLAN IDs (represented by vlan-id to vlan-id),
with each VLAN ID ranging from 2 to 4,094.
Description
Use the port permit vlan command to
allow the packets of only specified VLAN(s) to pass through the OLT port, so as
to suppress VLAN broadcast.
Use the undo port permit vlan
command to inhibit the packets of specified VLAN(s) from passing through the
OLT port.
By default, the packets of VLAN 1 are
always allowed to pass through the OLT port.
Note that, VLAN configuration for OLT port
is needed only when the VLAN tag processing mode of an ONU port is transparent.
If the VLAN tag processing mode of an ONU port is untagged and the ONU
port has been joined into a specific VLAN, the OLT port opens automatically to
allow the packets of this VLAN to pass through, so VLAN configuration of the
OLT port is not needed.
Related command: port handlemode and
untagged vlan.
Example
# Allow the packets of VLAN 2 to pass
through the Olt2/0/8 port.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] port permit vlan 2
Before configuring an
ONU, you must bind an ONU port to the ONU. Refer to the
display onuinfo interface and bind onuid commands.
Syntax
bandwidth downstream { policy |
high-priority | short-frame } enable
bandwidth downstream { max-bandwidth value | max-burstsize
value } *
undo bandwidth downstream { policy |
high-priority | short-frame } enable
undo bandwidth downstream {
max-bandwidth | max-burstsize } *
View
ONU port view
Parameter
downstream:
Specifies the configuration is for downstream data flows from OLT to ONU.
policy:
Specifies to enable/disable bandwidth allocation policy.
max-bandwidth value: Specifies the maximum bandwidth in Kbps. The value
argument ranges from 0 to 1,000,000 and defaults to 1,000,000.
max-burstsize value: Specifies the maximum burst buffer size in bytes. The
value argument ranges from 0 to 8,388,480 and defaults to 8,388,480.
high-priority: Specifies to enable/disable high-priority frames to take
precedence. This policy is disabled by default.
short-frame:
Specifies to enable/disable short-frames to take precedence. This policy is
disabled by default.
Description
Use the bandwidth command to configure
the bandwidth allocation policy, and bandwidth limitation.
Use the undo bandwidth command to
cancel the configured bandwidth allocation policy and restore the default
bandwidth limitation.
By default, the downstream bandwidth
allocation policy is disabled.
Caution:
l
The bandwidth command only supports the
default settings. If you set other values, the system prompts “This
operation is not supported in current version!”.
l
Settings concerning bandwidth allocation are
valid only when bandwidth allocation policy is enabled.
Example
# Enable bandwidth allocation policy for
downstream data flows.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] bandwidth downstream
policy enable
3.1.2 bind onuid
Syntax
bind onuid onuid
undo bind onuid
View
ONU port view
Parameter
onuid onuid: Specifies the MAC address of the
ONU to be bound to. The onuid argument is in dotted hexadecimal notation
(that is, in the H-H-H form). You can obtain the MAC address of an ONU by using
the display onuinfo interface command. Refer to section 2.1.2 “display onuinfo interface” for details.
Description
Use the bind onuid command to bind the
current ONU port to the MAC address of an ONU. The OLT can communicate and
manage an ONU only after you bind an ONU port to the ONU.
Use the undo bind onuid command to unbind
the ONU port from the ONU. The unbinding operation invalidates all related
configuration for the ONU.
As the MAC address of an ONU is fixed, an
ONU port-to-ONU binding remains valid even if the ONU registers again.
After you bind an
ONU port to an ONU, the ONU is still in the down state. You can use the undo shutdown command to bring it up.
Caution:
An ONU port can
only be bound to one ONU MAC address. Conversely, an ONU MAC address can only
be bound to one ONU port.
Example
# Bind Onu2/0/8:1 port to an ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] bind onuid
00e0-fc00-0001
Syntax
dba-algorithm { enable { extdba | intdba } | update filename }
View
OLT port view
Parameter
enable: Enables a dynamic
bandwidth allocation (DBA) algorithm.
extdba: Specifies
to enable the external DBA algorithm.
intdba: Specifies
to enable the internal DBA algorithm.
update: Upgrades
the external algorithm with a DBA algorithm file.
filename: File
name comprised of device name and DBA algorithm file name, a string of up to 64
characters. “SLOT” or “slot” is forbidden in the device
name.
Description
Use the dba-algorithm command to enable
the internal or external DBA algorithm, or upgrade the external DBA algorithm.
By default, the internal DBA algorithm is
enabled.
Caution:
l
Currently, the EPON system only provides the
internal DBA algorithm (the default). However, you can manually load an
external DBA algorithm by using the dba-algorithm update command
as needed.
l
When you use the dba-algorithm update
command to upgrade the external DBA algorithm, the new upgrade file is
synchronously loaded onto the backup SRPU (switching and routing process unit),
and overwrites the old one (if available) in the backup SRPU. If the synchronous
upgrading operation fails (this may occur when there is not enough free space
on the FLASH of the backup SRPU), DBA algorithms on the primary and backup
SRPUs will be different, thus resulting in configuration errors.
Example
# Enable the internal DBA algorithm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] dbalgorithm enable
intdba
Syntax
dba-parameters { discovery-frequency value | discovery-length
value | cycle-length value } *
undo dba-parameters
{ discovery-frequency | discovery-length | cycle-length } *
View
OLT port view
Parameter
discovery-frequency value: Specifies the cycle for the OLT to send discovery
frames to the ONUs (The cycle is known as grant cycle, which is measured in
cycle-lengths). The value argument ranges from 25 to 100 and defaults to
50.
discovery-length value: Specifies the period in TQs for
the OLT to discover ONUs. The value argument ranges from 21,845 to
87,381 and defaults to 41,500.
cycle-length value: Specifies the cycle-length in TQs
(cycle-length is the measurement unit of grant cycle). The value
argument ranges from 32,768 to 131,070 and defaults to 65,535.
For an example, if
you set the grant cycle to 30 with the discovery-frequency keyword, the
OLT periodically sends discovery frames to ONUs at the interval of 30 x
cycle-length.
Description
Use the dba-parameters command to
set DBA parameters.
Use the undo dba-parameters command to
restore the default DBA parameter values.
Caution:
This command is designed
to be used by users with administrator privilege. General users are not
recommended to use this command.
Example
# Configure Olt2/0/8 to periodically send
discovery frames to its ONUs at the interval of 30 x cycle-length..
<H3C> system-view.
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] dba-parameters discovery-frequency
30
Syntax
deregister onu
View
ONU port view
Parameter
None
Description
Use the deregister onu command to
deregister the ONU under the ONU port.
After being deregistered, the ONU will
register again.
Example
# Deregister the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] deregister onu
Syntax
display epon-oam interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type. Provide this argument with the value “onu”.
interface-number: ONU port number.
Description
Use the display epon-oam interface command
to display the operation, administration, and maintenance (OAM) information
about an ONU.
Example
# Display OAM information about the ONU
under Onu2/0/8:1.
<H3C> display epon-oam
interface onu 2/0/8:1
OAM information:
OAM version: 2.0
Multiplexer action: forwarding
non-OAM PDUs to the lower sublayer
Parser action : forwarding
non-OAM PDUs to higher layer
Organization specific information
TLVs: not support
Organization specific
events : not support
Organization specific OAM
PDUs : support
Sending variable response OAM
PDUs : support
Interpreting link
events : not support
OAM mode : passive
Unidirectional support: disable
Loopback support : enable
Maximal PDU size(byte): 128
Enterprise number : 0
Device identifier : 6001
Version identifier : 102
Board vendor code : 0
Board model identifier: 0
Table 3-1 Description
on the field of the display epon-oam interface command
Field
|
Description
|
OAM version
|
OAM version
|
Multiplexer action: forwarding non-OAM
PDUs to the lower sublayer
|
The action of the multiplexer: Forwarding
non-OAM PDUs to the lower layer
|
Parser action: forwarding non-OAM PDUs to
higher layer
|
The action of the parser: Forwarding
non-OAM PDUs to the higher layer
|
Organization specific information TLVs
|
This field indicates whether or not the
OAM version supports TLV-format organization specific information
|
Organization specific events
|
This field indicates whether or not the
OAM version supports organization specific events.
|
Organization specific OAM PDUs
|
This field indicates whether or not the
OAM version supports organization specific OAM PDUs.
|
Sending variable response OAM PDUs
|
This field indicates whether or not the
OAM version supports the sending of variables through response OAM PDUs.
|
Interpreting link events
|
This field indicates whether or not the
OAM version supports the interpreting of link events.
|
OAM mode
|
OAM mode
|
Unidirectional support
|
Unidirectional support mode
|
Loopback support
|
Loopback support mode
|
Maximal PDU size(byte)
|
Maximum PDU size (in bytes)
|
Enterprise number
|
Enterprise identifier
|
Device identifier
|
Device identifier
|
Version identifier
|
Version identifier
|
Board vendor code
|
Board vendor code
|
Board model identifier
|
Board model identifier
|
Syntax
display multicast-filter interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type. Provide this argument with the value “olt”
or “onu”.
interface-number: OLT port number or ONU port number.
If you specify an
OLT port when executing the display multicast-filter interface command,
the command displays the multicast filtering status of all ONUs under the OLT port
that are in the up state. If you specify an ONU port, the command displays the multicast
filtering status of the ONU being in up state under the ONU port.
Description
Use the display multicast-filter interface
command to display the multicast filtering status of specified ONU(s)
Example
# Display the multicast filtering status of
all the ONUs under Olt2/0/8.
<H3C> display multicast-filter
interface olt 2/0/8
Multicast filter status:
Onu2/0/8:1 Enable
--- 1 entry found ---
# Display the multicast filtering status of
the ONU under Onu2/0/8:1.
<H3C> display multicast-filter
interface onu 2/0/8:1
Multicast filter status: enable
Syntax
display onu-dot1x interface interface-type interface-number
View
Any view
Parameter
interface-type: Port type. Provide this argument with the value “onu”.
interface-number: ONU port number.
Description
Use the display onu-dot1x interface
command to display the 802.1x account and password of an ONU.
Example
# Display the 802.1x account and password of
the ONU under Onu2/0/8:1.
<H3C> display onu-dot1x interface
onu 2/0/8:1
ONU 802.1X account is test and
password is test
3.1.9 encrypt
Syntax
encrypt { off
| downlink | up-down-link }
undo encrypt
View
ONU port view
Parameter
off: Disables
data encryption.
downlink: Specifies
to encrypt only downstream data from the OLT to the ONU.
up-down-link:
Specifies to encrypt both upstream and downstream data between the OLT and the
ONU.
Description
Use the encrypt command to enable/disable
data encryption.
Use the undo encrypt command to restore
the default data encryption setting.
By default, data encryption is disabled.
Example
# Disable data encryption.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] encrypt off
Syntax
linktest [ frame-number
value frame-size value delay { on | off
} | vlan-tag { on | off } vlan-priority value
vlan-id value ] *
View
ONU port view
Parameter
frame-number value: Specifies the number of testing
frames. The value argument ranges from 1 to 250 and defaults to 20.
frame-size value: Specifies the test frame size in
bytes. The value argument ranges from 60 to 1,514 and defaults to 1,000.
delay:
Specifies whether or not to enable delay test. The on keyword enables
delay test. The off keyword disables delay test.
vlan-tag:
Specifies whether or not to include VLAN tags in test frames. The on
keyword specifies to include VLAN tags in test frames. The off keyword
specifies to exclude VLAN tags from test frames. By default, VLAN tags are
included in test frames.
vlan-priority value: Specifies the VLAN priority of
test frames. The value argument ranges from 0 to 7 and defaults to 2,
with value 0 representing the lowest priority, and value 7 representing the
highest priority.
vlan-id value: Specifies the VLAN ID of test frames. The value argument
ranges from 1 to 4094 and defaults to 1.
Description
Use the linktest command to test the
link between the OLT and the ONU.
Make sure the ONU
is up before executing this command.
Example
# Test the link between the OLT and the ONU
under Onu2/0/8:1 with 100 test frames.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] linktest frame-number
100
It may affect data transmission,
conitnue?[Y/N]:y
Maximum delay(in TQ): 26408
Mean delay(in TQ) : 24777
Minimum delay(in TQ): 19922
Sent frames : 100
Received frames : 100
Error frames : 0
The information “The
link is disconnected!” will be displayed if the link between the OLT and
the ONU fails the test.
Syntax
mac-address
max-mac-count count
undo mac-address
max-mac-count
View
ONU port view
Parameter
count:
Maximum number of MAC addresses the ONU can learn. This argument defaults to
128.
Description
Use the mac-address
max-mac-count command to set the maximum number of MAC
addresses the ONU can learn. If the number of the MAC addresses learnt reaches
the set maximum number, the ONU stops learning MAC address.
Use the undo
mac-address max-mac-count command to restore the
default maximum number.
Caution:
The count
argument of the mac-address max-mac-count command
can only be a number among {0, 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1022, 8192}.
Example
# Set the maximum number of MAC addresses
the ONU (Onu2/0/8:1) can learn to 512.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] mac-address
max-mac-count 512
Syntax
multicast-filter enable
undo multicast-filter enable
View
ONU port view
Parameter
None
Description
Use the multicast-filter enable
command to enable multicast filtering for the ONU under the ONU port.
Use the undo multicast-filter enable
command to disable multicast filtering for the ONU.
An ONU can automatically learn multicast
MAC addresses. Multicast filtering enables an ONU to filter out multicast frames
whose multicast MAC addresses are not contained in the multicast MAC address
table of the ONU.
With multicast filtering enabled for an ONU,
downstream multicast frames from the OLT to the ONU will be discarded if their
multicast MAC addresses are not contained in the multicast MAC address table of
the ONU. With multicast filtering disabled for an ONU, all downstream multicast
frames will be transparently transmitted.
Multicast filtering is disabled by default.
l
An ONU can hold up to eight learned or manually
configured multicast MAC addresses (the manually configured multicast MAC
addresses are in the range of 01-00-5e-00-01-00 to 01-00-5e-7f-ff-ff).
l
A downstream frame with the first 16 bits in the
least significant 24 bits of its multicast MAC address being zero (such as
01-00-5E-00-00-XX) will be transparently transmitted.
l
Enable IGMP snooping on the OLT before enabling
multicast filtering. Refer to the IGMP Snooping part in S7500 Series Ethernet
Switches Operation Manual for more.
Example
# Enable multicast filtering for the ONU
under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] multicast-filter
enable
Syntax
port handlemode { untagged | transparent }
undo port handlemode
View
ONU port view
Parameter
untagged: Specifies
the untagged mode. In this mode, you can configure a VLAN for the port so that
the port belongs to the VLAN. After that, for a downstream frame from the OLT
to the ONU, if the frame belongs to the same VLAN as that configured on the ONU
port, the ONU port removes the VLAN tag from the frame header and continues to
forward the frame. For an upstream frame from the ONU to the OLT, if the frame
does not contain a VLAN tag, the ONU port inserts the VLAN tag configured on it
into the frame header before forwarding the frame (for example, if the ONU port
belongs to VLAN 2, the ONU port inserts the tag of VLAN 2 into the frame).
Otherwise, the frame is sent to the OLT without being modified.
transparent:
Specifies the transparent mode. In this mode, for an upstream frame, if the
fame does not carry a VLAN tag, the ONU port inserts the tag of VLAN 1 into the
frame before forwarding it to the OLT; if the frame carries a VLAN tag, the ONU
port forwards the frame directly. For downstream frames, the ONU port remains
them unchanged and forwards them directly.
Description
Use the port handlemode command to
set the VLAN tag processing mode for the ONU port.
Use the undo port handlemode command to restore the default VLAN tag processing mode.
An ONU port can operate in one of the two modes
to process VLAN tags: transparent and untagged. It operates in untagged mode by
default.
Example
# Set the VLAN tag processing mode on Onu2/0/8:1
to transparent.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] port handlemode transparent
Syntax
reauthorize onu
View
ONU port view
Parameter
None
Description
Use the reauthorize onu command to
authenticate the ONU by force.
With 802.1x authentication enabled, an ONU
is down if the account and the password are not matched. After making the
account and the password matched, the administrator can have the ONU pass the
authentication and change to up by authenticating the ONU again.
Example
# Authenticate the ONU under Onu2/0/8:1 by
force.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1]
reauthorize onu
Syntax
set onu-dot1x account account password password
View
ONU port view
Parameter
account account: Sets an
802.1x account for the ONU. The account argument is a string of up to 16
characters.
password password: Sets an
802.1x password for the ONU. The password argument is a string of up to
16 characters.
Description
Use the set onu-dot1x command to set
an 802.1x account and password for the ONU under the ONU port. The account and
password will be written to the EEPROM of the ONU.
Caution:
To avoid data
writing error, you are recommended not to power off the ONU for which you are
configuring 802.1x account and password.
Example
# Set both the 802.1x account and the
password of the ONU under Onu2/0/8:1 to test.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] set onu-dot1x account
test password test
3.1.16 upstream-sla
Syntax
upstream-sla minimum-bandwidth value maximum-bandwidth value
undo upstream-sla
View
ONU port view
Parameter
minimum-bandwidth value: Specifies the minimum upstream
bandwidth in unit of 500 kbps. The value argument ranges from 1 to 2,000
and defaults to 2.
maximum-bandwidth value: Specifies the maximum upstream
bandwidth in unit of 500 kbps. The value argument ranges from 23 to
2,000 and defaults to 46.
Description
Use the upstream-sla command to configure
the maximum and minimum upstream bandwidths for the ONU.
Use the undo upstream-sla command to
restore the default maximum and minimum upstream bandwidths for the ONU..
Caution:
To prevent the
internal DBA algorithm from being invalid, make sure the total minimum
bandwidth of all ONUs under an OLT port does not exceed 1,000,000 kbps.
Example
# Set the minimum upstream bandwidth to
15,000 kbps and the maximum upstream bandwidth to 20,000 kbps for the ONU under
Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] upstream-sla
minimum-bandwidth 30 maximum-bandwidth 40
Syntax
untagged vlan vlan-id
undo untagged vlan
View
ONU port view
Parameter
vlan-id: ID
of the VLAN you want to add the ONU port to. This argument defaults to 1.
Description
Use the untagged
vlan command to add the ONU port to a specified VLAN. You can use this
command only when the ONU port operates in untagged mode, and you can add the
ONU port to only one VLAN in this case.
Use the undo
untagged vlan command to cancel the configuration and add the ONU port to
VLAN 1.
Caution:
Before executing
the untagged vlan command, make sure the VLAN concerned already
exists. For description on creating and removing a VLAN, refer to the VLAN part
in H3C S7500 Series Ethernet Switches Command Manual.
Example
# Add Onu2/0/8:1 to VLAN 10 (assume that
VLAN 10 already exists.)
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] untagged vlan 10
Syntax
update onu filename filename
View
OLT port view, ONU port view
Parameter
filename: Filename
of the ONU software to be upgraded. Note that the file size cannot be larger
than 512 KB.
Description
Use the update onu filename command
to upgrade the ONU software.
Executing this command in OLT port view
will upgrade the software of all ONUs under the OLT port.
Executing this command in ONU port view
will upgrade the software of the specific ONU.
When you upgrade the software of an ONU,
the upgrade file is first downloaded to the ONU from the FLASH of the OLT, and then
the ONU automatically upgrades its software.
Caution:
l
Make sure the ONU is up before executing this
command.
l
If you upgrade ONU software through MIB or
network management system (NMS), be sure to set the default timeout time of MIB
or NMS to no less than 30 seconds.
Example
# Upgrade the software of the ONU under Onu2/0/8:1.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] update onu filename
file.app
Update flash:/file.app?[Y/N]
# Press <Y> to start upgrade, or
press <N> to quit. If you press <Y>, the following information
appears:
The software has been downloaded to
the ONU(s) successfully!
Please wait while the firmware is
being burnt, and check the software version after re-registration!
l
The configuration commands for user network
interfaces (UNIs) of ONU are applicable only to ET204.
l
Before configuring the UNIs of an ONU, you must
bind the ONU to an ONU port. Refer to 2.1.2 display onuinfo interface and 3.1.2 bind onuid for related commands.
Syntax
display current-configuration uni [ uni-number ]
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
Description
Use the display current-configuration
uni command to display configuration information about UNIs of the current
ONU.
If no UNI is specified, the configuration
information about all UNIs of the ONU is displayed.
Example
# Display configuration information about
UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] display current-configuration
uni 1
UNI 1 Speed 10
UNI 1 Line-rate inbound kbps 128
Syntax
display uni [
uni-number ]
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
Description
Use the display uni command to
display status information about UNIs of the current ONU.
If no UNI is specified, the status
information about all UNIs of the ONU is displayed.
Example
# Display status information about UNI 1 of
the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] display uni 1
UNI 1 current state :
ADMINISTRATIVELY DOWN
10Mbps-speed mode, unknown-duplex
mode
Link speed type is autonegotiation,
link duplex type is autonegotiation
line-rate inbound 102400
line-rate outbound 102400
Flow-control is enabled
PVID: 3
Priority: 0
Mdi type: auto
Port link-type: untagged
Input(total): 0 packets, - bytes
- broadcasts, - multicasts,
- unicasts, - pauses
Input: - input errors, - runts, -
giants, - InRxErr, - CRC
Output(total): 0 packets, - bytes
- broadcasts, - multicasts,
- unicasts, - pauses
Output: - output errors, - deferred,
- collisions, - InTxErr
Table 4-1 Description
on the fields of the display uni command
Field
|
Description
|
UNI 1 current state
|
Current state of UNI 1
|
unknown-duplex mode
|
Duplex mode is unknown.
|
Link speed type is autonegotiation, link
duplex type is autonegotiation
|
Both the speed and the duplex mode of the
are auto-negotiation.
|
line-rate inbound 102400
line-rate outbound 102400
|
Both inbound and outbound line rates are
102,400 kbps.
|
Flow-control is enabled
|
Flow control is enabled.
|
Port link-type
|
Port type
|
Input(total): packets, bytes
broadcasts, multicasts, unicasts, pauses
|
The total number of input packets and bytes,
including broadcast packets, multicast packets, unicast packets and flow
control frames.
|
Input: input errors, runts, giants,
InRxErr, CRC
|
The statistics about input packets: input
errors, runts, giants, PHY packets, and the checksum errors.
|
Output(total): packets, bytes
broadcasts, multicasts, unicasts, pauses
|
The total number of output packets,
output bytes, output multicast packets, output broadcast packets, output
unicast packets and output flow control frames.
|
Output: output errors, deferred,
collisions, InTxErr
|
The statistics about output packets:
output errors, delay, collision and sent packets.
|
Currently, this command
can only account the number of received and sent packets on the UNIs of an ONU.
Syntax
uni uni-number
duplex { full | half | auto }
undo uni uni-number
duplex
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
full:
Specifies the UNI to be in full duplex mode.
half:
Specifies the UNI to be in half duplex mode.
auto:
Specifies the duplex mode of the UNI to be auto-negotiation.
Description
Use the uni uni-number
duplex command to set the duplex mode for a UNI of the current ONU.
Use the undo uni uni-number
duplex command to restore the default duplex mode for the UNI.
By default, the duplex mode on UNIs is auto
negotiation.
Example
# Set the duplex mode of UNI 1 of the ONU
as the full duplex mode.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 duplex full
Syntax
uni uni-number
flow-control
undo uni uni-number
flow-control
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
Description
Use the uni uni-number
flow control command to enable flow control for a UNI of the ONU.
Use the undo uni uni-number
flow-control command to disable flow control.
By default, flow control is enabled for all
UNIs of the ONU.
If flow control is enabled for UNIs of the
ONU, the ONU will send messages to notify the peer devices to stop sending
packets temporarily when congestion occurs on the ONU. The peer devices will then
stop sending packets to the ONU temporarily to avoid packet loss.
Example
# Enable flow control for UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 flow-control
Syntax
uni uni-number
line-rate { inbound | outbound } kbps rate-value
undo uni uni-number line-rate { inbound | outbound
}
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
inbound:
Specifies the upstream direction.
outbound:
Specifies the downstream direction.
rate-value:
Line rate on the UNI. You can specify the rate on the UNI to one value in the
set { 128, 256, 512, 1024, 2048, 4096, 8192 }. Otherwise, the system will
prompt “Error: The input value must be in the set { 128, 256, 512, 1024,
2048, 4096, 8192 } !”.
Description
Use the uni uni-number line-rate
command to limit the line rate on a UNI of the ONU.
Use the undo uni uni-number
line-rate command to restore the line rate on a UNI of the ONU to the
default value.
By default, the line rate on UNIs of the
ONU is 102,400 kbps.
Example
# Set the inbound line rate on UNI 1 of the
ONU to 128 kbps.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 line-rate
inbound kbps 128
Syntax
uni link-type
{ untagged | transparent }
undo uni link-type
View
ONU port view
Parameter
transparent:
Specifies the transparent transmission mode, where packets are forwarded
without being processed.
untagged:
Specifies the untagged mode. In the untagged mode, each UNI of an ONU removes
VLAN tags from the headers of the packets moving from the OLT to the ONU. If
the packets on an UNI to be forwarded by the ONU to the OLT do not carry VLAN
tags, the UNI automatically inserts the VLAN tag of the VLAN to which the UNI
belongs into the packets. For example, if you set the default VLAN of a UNI to
VLAN 2, then VLAN 2 tag is inserted into to the packets on the UNI before they
are forwarded by the ONU to the OLT. If the packets already carry VLAN tags,
they are forwarded to the OLT without being changed.
Description
Use the uni link-typ command
set the VLAN tag processing mode for UNIs of the ONU.
Use the undo uni link-type command
to restore the default VLAN tag processing mode for UNIs of the ONU.
The VLAN tag processing mode for UNIs of an
ONU can be transparent or untagged.
The transparent mode is the default VLAN
tag processing mode for UNIs of an ONU.
Related command: uni pvid.
This command takes
effect on all the four UNIs of an ONU at the same time.
Example
# Specify the VLAN tag processing mode for
UNIs of the ONU as the untagged mode.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni link-type
untagged
Syntax
uni uni-number
mdi { across | auto | normal }
undo uni uni-number
mdi
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
across:
Specifies the cable type to be cross-over (across).
auto:
Specifies that the cable type (across or parallel) is recognized automatically.
normal:
Specifies the cable type to be parallel.
Description
Use the uni uni-number mdi
command to set the cable type for a UNI of the ONU.
Use the undo uni uni-number
mdi command to restore the default cable type for a UNI of the ONU.
By default, the cable type for the UNIs of
the ONU is auto, that is, the UNIs of the ONU can recognize the cable type
automatically.
Example
# Set the cable type for UNI 1 of the ONU
as across.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 mdi across
Syntax
uni uni-number
priority priority-value
undo uni uni-number priority
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
priority-value: Packet priority to be set for the UNI. This argument is in the
range of 0 to 7. Priority 0 represents the lowest priority and priority 7 represents
the highest priority. This argument is 0 by default.
Description
Use the uni uni-number
priority priority-value command to set the packet priority on a UNI of
the ONU.
Use the undo uni uni-number priority
command to restore the default packet priority on a UNI of the ONU.
The ONU will drop the packets with lower
priority to assure the normal transmission of packets with high priority when
the traffic exceeds the forwarding capacity of the ONU and congestion occurs.
Example
# Set the packet priority on UNI 1 of the
ONU to 2.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 priority 2
Syntax
uni uni-number
pvid pvid-value
undo uni uni-number
pvid
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
pvid-value:
Default VLAN ID for the UNI, in the range of 1 to 4,094. This argument is 1 by
default.
Description
Use the uni uni-number
pvid pvid-value command to set the default VLAN ID for a UNI of the
ONU.
Use the undo uni uni-number
pvid command to restore the default VLAN ID for the UNI of the ONU to the
default value.
Example
# Set the default VLAN ID for UNI 1 of the
ONU to 2.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 pvid 2
Syntax
uni uni-number shutdown
undo uni uni-number shutdown
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
Description
Use the uni uni-number shutdown
command to disable a UNI of the ONU.
Use the undo uni uni-number
shutdown command to enable a UNI of the ONU.
By default, the UNIs of the ONU are
enabled.
Example
# Disable UNI 1 of the ONU.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 shutdown
Syntax
uni uni-number speed {
10 | 100 | auto }
undo uni uni-number speed
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
10: Sets the
port speed to 10 Mbps.
100: Sets
the port speed to 100 Mbps.
auto: Sets
the port speed to auto-negotiated.
Description
Use the uni uni-number
speed command to set the speed for a UNI of the ONU.
Use the undo uni uni-number speed
command to restore the speed for the UNI of the ONU to the default value.
By default, the speed for the UNI of the
ONU is auto-negotiated.
Example
# Set the speed for UNI 1 of the ONU to 10 Mbps.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] uni 1 speed 10
Syntax
reset counters uni [ uni-number ]
View
ONU port view
Parameter
uni-number: Number
of a UNI on the ONU, in the range 1 to 4.
Description
Use the reset counters uni command
to clear the counters of the specified UNI of the ONU (which must be in the up
state).
If no UNI is specified, the counters of all
UNIs of the ONU are cleared.
Related command: display uni.
Example
# Clear the counters of UNI 1 of the ONU
and verify the configuration.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] reset counters uni 1
[H3C-Onu2/0/8:1] display uni 1
UNI 1 current state :UP
10Mbps-speed mode, unknown-duplex
mode
Link speed type is autonegotiation,
link duplex type is autonegotiation
line-rate inbound 102400
line-rate outbound 102400
Flow-control is enabled
PVID: 3
Priority: 0
Mdi type: auto
Input(total): 0 packets, - bytes
- broadcasts, - multicasts,
- unicasts, - pauses
Input: - input errors, - runts, -
giants, - InRxErr, - CRC
Output(total): 0 packets, - bytes
- broadcasts, - multicasts,
- unicasts, - pauses
Output: - output errors, - deferred,
- collisions, - InTxErr
Syntax
alarm bad-encryption-key enable
undo alarm bad-encryption-key enable
View
OLT port view
Parameter
None
Description
Use the alarm bad-encryption-key enable
command to enable the bad encryption key alarm.
Use the undo alarm bad-encryption-key
enable command to disable the bad encryption key alarm.
The system generates a bad encryption key
alarm when you change the encryption key but it should not be changed.
By default, this function is enabled.
Example
# Enable the bad encryption key alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm
bad-encryption-key enable
Syntax
alarm bit-error-rate enable
undo alarm bit-error-rate enable
alarm bit-error-rate { direction { uplink | downlink | up-down-link} | threshold
threshold } *
undo alarm bit-error-rate { direction | threshold } *
View
OLT port view
Parameter
uplink:
Specifies the monitor direction. Only uplink data from ONU to OLT will be
monitored.
downlink:
Specifies the monitor direction. Only downlink data from OLT to ONU will be
monitored.
up-down-link:
Specifies the monitor direction. Both uplink and downlink data between OLT and
ONU will be monitored.
threshold threshold: Specifies the alarm threshold
of bit error rate. The threshold argument ranges from 1 to 109
and defaults to 10 (the order of magnitude is 10-9).
Description
Use the alarm bit-error-rate enable
command to enable the bit error rate alarm.
Use the undo alarm bit-error-rate enable
command to disable the bit error rate alarm.
Use the alarm bit-error-rate command
to configure the monitor direction and the alarm threshold of the bit error
rate.
Use the undo alarm bit-error-rate
command to restore the default monitor direction and alarm threshold.
The system generates a bit error rate alarm
when an optical path between ONU and OLT is abnormal due to out-of-range
optical path attenuation or improper configuration of ONU or OLT optical
parameters.
By default, this function is enabled, and
both uplink and downlink data between OLT and ONU are monitored.
Example
# Enable the bit error rate alarm, adopting
the default monitor direction and setting the corresponding alarm threshold to
20.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm bit-error-rate
enable
[H3C-Olt2/0/8] alarm bit-error-rate
direction up-down-link threshold 20
Syntax
alarm frame-error-rate enable
undo alarm frame-error-rate enable
alarm frame-error-rate { direction { uplink | downlink | up-down-link} | threshold
threshold } *
undo alarm frame-error-rate { direction | threshold } *
View
OLT port view
Parameter
uplink:
Specifies the monitor direction. Only uplink data from ONU to OLT will be
monitored.
downlink:
Specifies the monitor direction. Only downlink data from OLT to ONU will be
monitored.
up-down-link:
Specifies the monitor direction. Both uplink and downlink data between OLT and
ONU will be monitored.
threshold threshold: Specifies the alarm threshold
of the frame error rate. The threshold argument ranges from 1 to 109
and defaults to 1 (the order of magnitude is 10-9).
Description
Use the alarm frame-error-rate enable
command to enable the frame error rate alarm.
Use the undo alarm frame-error-rate
enable command to disable the frame error rate alarm.
Use the alarm frame-error-rate
command to configure the monitor direction and the alarm threshold of the frame
error rate.
Use the undo alarm frame-error-rate
command to restore the default monitor direction and alarm threshold.
The system generates a frame error rate
alarm when an optical path between ONU and OLT is abnormal due to out-of-range
optical path attenuation or improper configuration of ONU or OLT optical
parameters.
By default, this function is enabled, and
both uplink and downlink data between OLT and ONU are monitored.
Example
# Enable the frame error rate alarm, adopting
the default monitor direction and setting the corresponding alarm threshold to
20.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm frame-error-rate
enable
[H3C-Olt2/0/8] alarm frame-error-rate
direction up-down-link threshold 20
Syntax
alarm llid-mismatch enable
undo alarm llid-mismatch enable
alarm llid-mismatch threshold threshold
undo alarm llid-mismatch threshold
View
OLT port view
Parameter
threshold threshold: Specified the alarm threshold
of LLID mismatch frame. It ranges from 1,000 frames to 109 frames
and defaults to 5,000 frames.
Description
Use the alarm llid-mismatch enable
command to enable the LLID mismatch frame alarm.
Use the undo alarm llid-mismatch enable
command to disable the LLID mismatch frame alarm.
Use the alarm llid-mismatch threshold
command to configure the alarm threshold of LLID mismatch frame.
Use the undo alarm llid-mismatch
threshold command to restore the default alarm threshold.
The system generates an LLID mismatch frame
alarm when the slots are used in disorder, that is, one ONU uses another ONU's
slot to forward data.
By default, this function is disabled.
Example
# Enable the LLID mismatch frame alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm llid-mismatch
enable
Syntax
alarm local-stable enable
undo alarm local-stable enable
View
OLT port view
Parameter
None
Description
Use the alarm local-stable enable
command to enable the local stable alarm.
Use the undo alarm local-stable enable
command to disable the local stable alarm.
The system generates a local stable alarm
when system misuse occurs, for example, when an OAM1.2 ONU and an OAM2.0 ONU
are mixed in the same system. (All ONUs in the same system must adopt the same
OAM version.)
The local stable alarm differs from the
remote stable alarm in the following way:
l
The local stable alarm is generated at the OLT
side.
l
The remote stable alarm is generated at the ONU
side and will be reported to the OLT.
By default, this function is enabled.
Related command: alarm remote-stable enable.
Example
# Enable the local stable alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm local-stable
enable
Syntax
alarm oam critical-event enable
undo alarm oam critical-event enable
View
OLT port view
Parameter
None
Description
Use the alarm oam critical-event enable
command to enable the critical event alarm.
Use the undo alarm oam critical-event
enable command to disable the critical event alarm.
There are two types of critical events:
local link fault and dying gasp. The system generates a critical event alarm
when one of the two events occurs.
By default, this function is enabled.
Example
# Enable the critical event alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam
critical-event enable
Syntax
alarm oam dying-gasp enable
undo alarm oam dying-gasp enable
View
OLT port view
Parameter
None
Description
Use the alarm oam dying-gasp enable
command to enable the dying gasp alarm.
Use the undo alarm oam dying-gasp enable
command to disable the dying gasp alarm.
The system generates a dying gasp alarm
when a system error, a data loading error or any other nonreversible error
occurs.
By default, this function is enabled.
Example
# Enable the dying gasp alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam dying-gasp
enable
Syntax
alarm oam error-symbol-period enable
undo alarm oam error-symbol-period
enable
alarm oam error-symbol-period { window-high windowhigh | window-low windowlow
| threshold-high thresholdhigh | threshold-low thresholdlow
} *
undo alarm oam error-symbol-period { window-high | window-low | threshold-high |
threshold-low } *
View
ONU port view
Parameter
window-high windowhigh: Specifies the high part of
the window size in the range of 0 to 4294967295 (232-1). By default,
the high part of the window size is 0.
window-low windowlow: Specifies the low part of the
window size in the range of 0 to 4294967295 (232-1). By default, the
low part of the window size is 1.
threshold-high thresholdhigh: Specifies the high part
of the alarm threshold in the range of 0 to 4294967295 (232-1). By
default, the high part of the alarm threshold is 0.
threshold-low thresholdlow: Specifies the low part of
the alarm threshold in the range of 0 to 4294967295 (232-1). By
default, the low part of the alarm threshold is 20.
l
The window size and threshold values specified
in this command comprise two parts, the higher part and the lower part, both of
which are 16 bits in length.
l
By default, the window size is 1 second, and the
threshold is 20 bytes.
Description
Use the alarm oam error-symbol-period
enable command to enable the error symbol period alarm.
Use the undo alarm oam
error-symbol-period enable command to disable the error symbol period
alarm.
Use the alarm oam error-symbol-period
command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam
error-symbol-period command to restore the default window size and alarm
threshold.
The system generates an error symbol period
alarm when the number of error bytes in a specific period (that is, the window
size) exceeds the corresponding predefined threshold.
By default, this function is enabled.
Caution:
When both the upper
threshold and lower threshold are set to 0, plenty of alarms occur, which are
carried in OAM packets. As a result, plenty of OAM packets are generated, which
may cause loss of OAM packets.
The commands here
take effect only for OAM 2.0 and above. And you can use them only on individual
ONUs.
Example
# Enable the error symbol period alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam
error-symbol-period enable
Syntax
alarm oam error-frame-period enable
undo alarm oam error-frame-period enable
alarm oam error-frame-period { window window | threshold threshold }
*
undo alarm oam error-frame-period { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size in the range of 0 to 4294967295 (232-1)
in seconds. By default, the window size is 1 seconds.
threshold threshold: Specifies the alarm threshold
in the range of 1 to 4294967295 (232-1) in frames. By default, the
threshold is 20 frames.
Description
Use the alarm oam error-frame-period enable
command to enable the error frame period alarm.
Use the undo alarm oam error-frame-period
enable command to disable the error frame period alarm.
Use the alarm oam error-frame-period
command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame-period
command to restore the default window size and alarm threshold.
The system generates an error frame period
alarm when the number of error frames in a specific time period (that is, the
window size) exceeds the corresponding predefined threshold.
By default, this function is enabled.
Caution:
When both the upper
threshold and lower threshold are set to 0, plenty of alarms occur, which are
carried in OAM packets. As a result, plenty of OAM packets are generated, which
may cause loss of OAM packets.
The commands here take
effect only for OAM 2.0 and above. And you can use them only on individual
ONUs.
Example
# Enable the error frame period alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame-period
enable
Syntax
alarm oam error-frame enable
undo alarm oam error-frame enable
alarm oam error-frame { window window | threshold threshold } *
undo alarm oam error-frame { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size in the range of 0 to 4294967295 (232-1)
in seconds. By default, the window size is 10 seconds.
threshold threshold: Specifies the alarm threshold
in the range of 1 to 4294967295 (232-1) in frames. By default, the
threshold is 20 frames.
Description
Use the alarm oam error-frame enable
command to enable the error frame alarm.
Use the undo alarm oam error-frame enable
command to disable the error frame alarm.
Use the alarm oam error-frame
command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame
to restore the default window size and alarm threshold.
The system generates an error frame alarm
when the number of error frames in a specific time period (that is, the window
size) exceeds the corresponding predefined threshold.
By default, this function is enabled.
Caution:
When both the upper
threshold and lower threshold are set to 0, plenty of alarms occur, which are
carried in OAM packets. As a result, plenty of OAM packets are generated, which
may cause loss of OAM packets.
The commands here
take effect only for OAM 2.0 and above. And you can use them only on individual
ONUs.
Example
# Enable the error frame alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame
enable
Syntax
alarm oam error-frame-seconds-summary
enable
undo alarm oam error-frame-seconds-summary
enable
alarm oam error-frame-seconds-summary { window window | threshold threshold }
*
undo alarm oam error-frame-seconds-summary { window | threshold } *
View
ONU port view
Parameter
window window: Specifies the window size in the range of 100 to 9,000 (in unit of
100 ms). By default, the window size is 600.
threshold threshold: Specifies the alarm threshold
in the range of 1 to 900 (in unit of second). By default, the threshold is 1
second.
Description
Use the alarm oam error-frame-seconds-summary
enable command to enable the error frame seconds summary alarm.
Use the undo alarm oam error-frame-seconds-summary
enable command to disable the error frame seconds summary alarm.
Use the alarm oam error-frame-seconds-summary
command to configure the corresponding window size and alarm threshold.
Use the undo alarm oam error-frame-seconds-summary
to restore the default window size and alarm threshold.
The system generates an error frame seconds
summary alarm when the number of error frame seconds (in an error frame second,
at least one error frame occurs) in a specific time period (for example, 1
minutes) exceeds the corresponding predefined threshold.
By default, this function is enabled.
The commands here
take effect only for OAM 2.0 and above. And you can use them only on individual
ONUs.
Example
# Enable the error frame seconds summary
alarm.
<H3C> system-view
[H3C] interface onu 2/0/8:1
[H3C-Onu2/0/8:1] alarm oam error-frame-seconds-summary
enable
Syntax
alarm oam-link-disconnection enable
undo alarm oam-link-disconnection enable
View
OLT port view
Parameter
None
Description
Use the alarm oam-link-disconnection
enable command to enable the oam link disconnection alarm.
Use the undo alarm
oam-link-disconnection enable command to disable the oam link disconnection
alarm.
The system generates an oam link
disconnection alarm when OAM link is disconnected.
By default, this function is enabled.
Example
# Enable the oam link disconnection alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm
oam-link-disconnection enable
Syntax
alarm oam local-link-fault enable
undo alarm oam local-link-fault enable
View
OLT port view
Parameter
None
Description
Use the alarm oam local-link-fault
enable command to enable the local link fault alarm.
Use the undo alarm oam local-link-fault
enable command to disable the local link fault alarm.
The system generates a local link fault
alarm when the receiving direction of the local data terminal is in trouble.
By default, this function is enabled.
Example
# Enable the local link fault alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm oam
local-link-fault enable
Syntax
alarm oam-vendor-specific enable
undo alarm oam-vendor-specific enable
View
OLT port view
Parameter
None
Description
Use the alarm oam-vendor-specific enable
command to enable the oam vendor specific alarm.
Use the undo alarm oam-vendor-specific
enable command to disable the oam vendor specific alarm.
This alarm is customized by vendor.
By default, this function is enabled.
Example
# Enable the oam vendor specific alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm
oam-vendor-specific enable
Syntax
alarm registration-error enable
undo alarm registration-error enable
View
OLT port view
Parameter
None
Description
Use the alarm registration-error enable
command to enable the registration error alarm.
Use the undo alarm registration-error
enable command to disable the registration error alarm.
The system generates a registration error
alarm when an error occurs during the registration of an ONU.
By default, this function is enabled.
Example
# Enable the registration error alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm
registration-error enable
Syntax
alarm remote-stable enable
undo alarm remote-stable enable
View
OLT port view
Parameter
None
Description
Use the alarm remote-stable enable
command to enable the remote stable alarm.
Use the undo alarm remote-stable enable
command to disable the remote stable alarm.
The system generates a remote stable alarm
when system misuse occurs, for example, when an OAM 1.2 ONU and an OAM 2.0 ONU
are mixed in the same system. (All ONUs in the same system must adopt the same
OAM version.)
The local stable alarm differs from the
remote stable alarm in the following way:
l
The local stable alarm is generated at the OLT
side.
l
The remote stable alarm is generated at the ONU
side and will be reported to the OLT.
By default, this function is enabled.
Related command: alarm local-stable
enable.
Example
# Enable the remote stable alarm.
<H3C> system-view
[H3C] interface olt 2/0/8
[H3C-Olt2/0/8] alarm remote-stable enable
Syntax
alarm software-error enable
undo alarm software-error enable
View
FTTH view
Parameter
None
Description
Use the alarm software-error enable
command to enable the software error alarm of the system.
Use the undo alarm software-error enable
command to disable the software error alarm of the system.
The system generates a software error alarm
when a signal error, DA abnormity (that is, Data Access abnormity) error, or
memory allocation failure occurs.
By default, this function is enabled.
Example
# Enable the software
error alarm.
<H3C> system-view
[H3C] ftth
[H3C-ftth] alarm software-error enable
Syntax
monitor enable
undo monitor enable
View
FTTH view
Parameter
None
Description
Use the monitor enable command to
enable the alarm monitor of the EPON system.
Use the undo monitor enable command to disable the
alarm monitor of the EPON system.
By default, this function is enabled.
Caution:
This command should
be used by users with administrative rights. It is recommended to inhibiting
general users from using this command.
Example
# Enable the alarm monitor of the EPON system.
<H3C> system-view
[H3C] ftth
[H3C-ftth] monitor enable
Syntax
timer monitor seconds
undo timer monitor
View
FTTH view
Parameter
seconds:
Alarm monitor period, ranging from 1 to 3600 in seconds and defaulting to 4
seconds.
Description
Use the timer monitor command to
configure the alarm monitor period of the EPON system.
Use the undo timer monitor command
to restore the default monitor period.
Caution:
This command should be used by users with administrative rights. It
is recommended to inhibiting general users from using this command.
Example
# Set the
alarm monitor period of the EPON system to 10 seconds.
<H3C>
system-view
[H3C]
ftth
[H3C-ftth]
timer monitor 10
H3C reserves the right to modify its collaterals without any prior notice. For the latest information of the collaterals, please consult H3C sales or call 400 hotline.