23 ONU Management Settings BDCOM
23 ONU Management Settings BDCOM
Table of Contents
Table of Contents
Chapter 1 Local ONU Management Settings ....................................................................................................................... 1
1.1 Local ONU Management Configuration Tasks ...................................................................................................... 1
1.2 Authenticating and Registering ONU..................................................................................................................... 1
1.3 Setting the Delay Time of MPCP........................................................................................................................... 2
1.4 Adding the Description String for ONU.................................................................................................................. 3
1.5 Canceling ONU Registration ................................................................................................................................. 3
1.6 Removing the Dynamic ONU Binding ................................................................................................................... 4
1.7 Removing Dynamic ONU Binding Automatically ................................................................................................... 4
1.8 Setting the Timeout Time of Automatic Removal of Dynamic ONU Binding.......................................................... 4
1.9 Enabling or Disabling ONU Registration when the Successful Discovery of CTC OAM of ONU Times out ......... 5
1.10 Setting the Timeout Time for Waiting for Successful ONU CTC OAM Discovery................................................ 5
1.11 Setting the Waiting Time and Transmission Times of OAM Transmission after the Initial Registration of ACE
ONU is Resumed......................................................................................................................................................... 6
1.12 Enabling or Disabling the Print of ONU Power-Off Alarm Log............................................................................. 6
1.13 Setting the IP Address of OLT Manager .............................................................................................................. 6
1.14 Setting the IP Address of the Serial Bridge of ONU ............................................................................................ 7
Chapter 2 Remote Global Control Commands of ONU........................................................................................................ 8
2.1 Global Remote ONU Management Configuration Tasks ....................................................................................... 8
2.2 Restarting ONU ..................................................................................................................................................... 9
2.3 Updating the ONU version..................................................................................................................................... 9
2.4 Updating ONU EEPROM..................................................................................................................................... 10
2.5 Resuming the Default Settings of ACE ONU....................................................................................................... 11
2.6 Switching over the ONU with Dual PON Ports .................................................................................................... 11
2.7 Encrypting ONU................................................................................................................................................... 12
2.8 Configuring the Static MAC Address of ONU ...................................................................................................... 12
2.9 Removing the Dynamic MAC Address of ONU ................................................................................................... 13
2.10 Configuring the Learning Mode of the ONU MAC Address Table...................................................................... 13
2.11 Setting the Aging Time of the MAC Address Table of ONU ............................................................................... 14
2.12 Setting the Schedule Policy of the ONU CoS Priority Queue............................................................................ 14
2.13 Setting the Schedule Policy of the CoS Priority Queue of the ONU PON Port ................................................. 15
2.14 Setting the Bandwidth of the ONU CoS Priority Queue..................................................................................... 16
2.15 Setting the Bandwidth of the CoS Priority Queue of the ONU PON Port .......................................................... 16
2.16 Setting the ONU CoS Priority Queue ................................................................................................................ 17
2.17 Setting the CoS Priority Queue ONU PON Port................................................................................................ 17
2.18 Setting the Isolation of the ONU Port ................................................................................................................ 18
2.19 Setting the IP Address of ONU .......................................................................................................................... 18
2.20 Setting the ONU Mirror...................................................................................................................................... 19
2.21 Setting the Attack Prevention of ONU ............................................................................................................... 20
2.22 Setting the Serial Interface Mode of ONU ......................................................................................................... 21
2.23 Setting the IP Address of the Serial Bridge of ONU .......................................................................................... 22
2.24 Creating VLAN on ONU..................................................................................................................................... 22
-I-
Table of Contents
- II -
ONU Management Settings
z Setting the Timeout Time of the Automatic Removal Dynamic ONU Binding
z Enabling or Disabling ONU Registration when the Successful Discovery of CTC OAM of
ONU Times out
z Setting the Timeout Time for Waiting for Successful CTC OAM Discovery of ONU
z Setting the Waiting Time and Transmission Times of OAM Transmission after the Initial
Registration of ACE ONU is Resumed
You can run epon onu-registration-method mac on OLT to enable the ONU MAC
detection mechanism at MPCP registration. After the ONU MAC detection mechanism
is enabled, ONUs without static binding settings cannot be registered to OLT. If you
want to add static binding entries, run epon bind-onu mac-address llid-sequence.
One LLID port maps to only one ONU’s MAC address.
If you have set epon onu-authemethod manun-al for manual ONU authentication,
ONU registration still needs the manual confirmation of the administration for being
authenticated.
-1-
ONU Management Settings
As to the authenticated ONU, OLT will automatically obtain the type and number of the
ONU ports and release the saved settings to ONU; before this, ONU can obtain only
one 10Kbps bandwidth and cannot be set remotely. You can run epon conform-onu
{mac-address value | interface epon slot/port:sequence} to let ONU pass through
the authentication. Authentication is not required by ONU by default.
The ONU information, including the LLID number, ONU’s MAC address, ONU
description character string, binding type (static or dynamic) and ONU states
(deregistered, registered, authenticated, or automatically configured), can be browsed
if you run show epon onu-information [interface epon slot/port].
Note:
Once ONU passes through the authentication, or it is set not to base on the
authentication and the registration is successful, the MAC address of ONU and the
static binding entries of the LLID number will be automatically added; when this
settings is saved and the system is restarted, this ONU will not be re-authenticated.
Procedure Purpose
enable Enters the privileged configuration mode.
epon onu-registration-method mac Opens the checkup mechanism of the ONU MAC
address during MPCP registration.
To set the delay time of MPCP, you can use the epon mpcp-registration-mode
{normal | ctc value} command.
Procedure Purpose
-2-
ONU Management Settings
To add the description character string for ONU, you can use the command, epon onu
description string.
Procedure Purpose
enable Enters the privileged configuration mode.
To cancel ONU registration, you can use this command, epon reset onu
{mac-address value | interface epon slot/port:sequence}.
Procedure Purpose
enable Enters the privileged configuration mode.
-3-
ONU Management Settings
If you want to clear the dynamic ONU binding manually, you can use this command,
clear epon dynamic-binding [interface epon slot/port].
Procedure Purpose
enable Enters the privileged configuration mode.
clear epon Removes the information about dynamic ONU binding manually.
dynamic-binding
[interface epon
slot/port]
Note: Only when ONU does not pass authentication and after ONU is deregistered can
the information about dynamic ONU binding be known.
If you want this system to clear the dynamic ONU binding automatically, you can use
this command, epon dynamic-binding-timeout {disable | enable}.
Procedure Purpose
enable Enters the privileged configuration mode.
epon Sets whether to clear the dynamic ONU binding automatically or not.
dynamic-binding-timeout
{disable | enable}
Note: Only when ONU does not pass authentication and after ONU is deregistered can
the information about dynamic ONU binding be known.
If you want this system to clear the timeout time of the automatic removal of dynamic
ONU binding, you can use this command, epon dynamic-binding-timeout value.
-4-
ONU Management Settings
Procedure Purpose
enable Enters the privileged configuration mode.
epon Sets the timeout time of the automatic removal of dynamic ONU binding.
dynamic-binding-timeout
value
Note: Only when ONU does not pass authentication and after ONU is deregistered can
the information about dynamic ONU binding be known.
If you want to enable or disable ONU deregistration when the discovery of CTC OAM
of ONU times out, run epon ctc-oam-discovery-timeout {disable | enable}.
Procedure Purpose
enable Enters the privileged configuration mode.
1.10 Setting the Timeout Time for Waiting for Successful ONU
CTC OAM Discovery
If you want to set the timeout time for waiting for successful CTC OAM discovery of
ONU, run epon ctc-oam-discovery-timeout value. If it times out, OLT will try to
deregister ONU to resume the fault that makes CTC OAM discovery unsuccessful.
Procedure Purpose
enable Enters the privileged configuration mode.
epon Sets the timeout time for waiting for successful CTC OAM discovery of
ctc-oam-discovery-timeout ONU.
-5-
ONU Management Settings
value
If you want to set the waiting time and transmission times of OAM transmission after
the initial registration of ACE ONU is resumed, run epon ace-reset-delay value
count.
Procedure Purpose
enable Enters the privileged configuration mode.
epon Sets the waiting time and transmission times of OAM transmission after the
ace-reset-delay initial registration of ACE ONU is resumed.
value count
If you want to enable or disable the print of ONU power-off alarm log, run epon
dying-gasp-log {disable | enable}.
Procedure Purpose
enable Enters the privileged configuration mode.
epon dying-gasp-log Enables or disables the print of ONU power-off alarm log.
{disable | enable}
If you want to set the IP address of OLT network manager, run epon snmp-ipaddress
ip-address.
-6-
ONU Management Settings
Procedure Purpose
enable Enters the privileged configuration mode.
If you establish the correlation of the bridge’s IP address and the index and then apply
the index in LLID interface configuration mode, you can enable the IP address of the
bridge, which corresponds to the index, to be reported to ONU.
Procedure Purpose
enable Enters the privileged configuration mode.
[no] serial-bridge remote Sets the correlation of the bridge’s IP address and the index.
index address A.B.C.D
index stands for the index of the serial bridge;
-7-
ONU Management Settings
z Restarting ONU
z Encrypting ONU
z Setting the Schedule Policy of the CoS Priority Queue of the ONU PON Port
z Setting the Bandwidth of the CoS Priority Queue of the ONU PON Port
-8-
ONU Management Settings
Remote ONU management is realized through OAM; OAM includes the CTC-defined
OAM and the private OAM defined by the manufacturer.
To restart an ONU, you can use this command, epon reset onu {mac-address value |
interface epon slot/port: sequence}.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Procedure Purpose
enable Enters the privileged configuration mode.
IEP3310/3314 supports to update the ONU version remotely from OLT. The ONU
update software need be downloaded to the flash memory of IEP3310/3314. For the
detailed download procedure, please see the chapter related to software update in
Basic Configuration in the configuration volume. The detailed command is shown
below:
Command Purpose
enable Enters the privileged configuration mode.
epon update onu image Updates the ONU version. If the port parameter is the EPON
image_name interface epon port, all ONU software on this port can be upgraded
slot/port[:sequence] synchronously; if the port parameter is the LLID port, a single
ONU software will be upgraded.
epon commit-onu-image-update Confirms the upgrade of this version after ONU is restarted
-9-
ONU Management Settings
Note:
1. Unless the to-be-updated software matches the corresponding ONU type can this
software not be updated.
2. During the update process of ONU software, do not cut off the power of ONU.
After the completion of ONU update, OLT will notify users of the successful ONU
update by the way of log, and ONU will use the updated version for rebooting.
3. After the ONU version is updated and restarted, you need to run epon
commit-onu-image-update on OLT to confirm the ONU version.
The ONU EEPROM file has saved the MAC address and the sequence ID of ONU. If
the information need be altered, the ONU EEPROM file need be updated.
IEP3310/3314 supports to update the ONU EEPROM configuration file remotely from
OLT and the command is epon update onu eeprom-image file-name interface epon
slot/port:sequence.
This command is realized through the private OAM and only ONU supports this kind of
version download.
Procedure Purpose
enable Enters the privileged configuration mode.
Note:
1. After the ONU EEPROM file is updated, ONU need be restarted and then the
newly configured information takes effect.
2. During the update process of ONU software, do not cut off the power of ONU.
- 10 -
ONU Management Settings
At its first registration ACE ONU needs to resume its default settings through the
private OAM. The resuming of the default settings can be conducted automatically in
normal cases, or can be realized through the epon ace-recover command.
This command is realized through the private OAM and only ACE ONU supports this
command.
Procedure Purpose
enable Enters the privileged configuration mode.
Note:
ONU with two PON ports can use this two commands, epon switch-onu-pon and
epon switch-onu-pon-and-back, to conduct the switchover of the PON ports.
This command is realized through the private OAM and only ACE ONU supports this
command.
Procedure Purpose
enable Enters the privileged configuration mode.
epon switch-onu-pon Switches over one PON port to the other one.
interface epon
slot/port:sequence
epon Switches ONU to use the other PON port, conducts registration on this
switch-onu-pon-and-back PON port successfully and then switches back to the original PON port.
interface epon
slot/port:sequence
- 11 -
ONU Management Settings
ONU has to enable its encryption function and its encryption mode must be the same
as that of OLT, so the downlink packets can be encrypted.
This command is realized through the private OAM and only ONU supports this
command.
In general, the encryption function of ONU is enabled by default. You can enable or
disable the encryption function of ONU on OLT and this need not be set.
Procedure Purpose
enable Enters the privileged configuration mode.
epon onu Enables the Triple Churning encryption of ONU in LLID interface
encryption configuration mode.
triple-churning
The static MAC address entries mean those MAC address entries that cannot be aged
by ONU but only be removed manually. According to actual requirements of ONU, you
can decide whether to add or remove static MAC addresses.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
configure Enters the global configuration mode.
[no]epon onu mac address-table static Configures the static MAC address of ONU.
mac-addr port port-num
mac-addr means a MAC address.
- 12 -
ONU Management Settings
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
configure Enters the global configuration mode.
[no]epon onu clear mac address-table Deletes a dynamic MAC address of ONU.
dynamic [address H.H.H | port port-num]
H.H.H stands for the MAC address.
z IVL: Stands for the independent VLAN learning mode. In this mode, VLAN ID and
SRC MAC will be used as indexes to add the entry of the MAC address; VLAN ID
and DST MAC will be used as indexes to search the MAC address table.
z SVL: Stands for the sharing VLAN learning mode. In this mode, SRC MAC will be
used as the index to add the entry of the MAC address; DST MAC will be used as
the index to search the MAC address table.
z No learning: In this mode, the MAC address table will not be learned after the
packets enter the system, but at packet forwarding the MAC address table will be
searched according to VLAN ID and DST MAC.
This command is realized through the private OAM and only ONU supports this
command.
Note:
- 13 -
ONU Management Settings
Command Purpose
configure Enters the global configuration mode.
[no] epon onu mac address-table learning Configures the learning mode of ONU MAC
{ ivl | svl | disable } address table.
2.11 Setting the Aging Time of the MAC Address Table of ONU
When a dynamically learned MAC address is not used during a designated aging time,
ONU will remove this MAC address from the MAC address table. The MAC aging time
of ONU can be set according to actual needs, and the default aging time is 300
seconds.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu mac address-table Sets the aging time of the ONU MAC address.
aging-time [0 | 15-3825]
0 means that the MAC addresses will not age.
ONU currently supports two kinds of port queue schedule algorithms: SP and WRR.
- 14 -
ONU Management Settings
z SP (Sheer Priority): In this algorithm, only when the high-priority queue is null
can the packets in the low-priority queue be forwarded, and if there are packets
in the high-priority queue these packets will be unconditionally forwarded.
z WRR (Deficit Round Robin): Each priority queue is distributed with a certain
bandwidth and each priority queue will be provided service from high priority to
low priority in turn; when the high-priority queue uses up its own bandwidth, the
next-priority queue will be provided with service.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu scheduler policy { sp | wrr } Sets the queue schedule mode of ONU to sp
or wrr.
The PON port of ONU currently supports two kinds of port queue schedule algorithms:
SP and WRR.
z SP (Sheer Priority): In this algorithm, only when the high-priority queue is null
can the packets in the low-priority queue be forwarded, and if there are packets
in the high-priority queue these packets will be unconditionally forwarded.
z WRR (Deficit Round Robin): Each priority queue is distributed with a certain
bandwidth and each priority queue will be provided service from high priority to
low priority in turn; when the high-priority queue uses up its own bandwidth, the
next-priority queue will be provided with service.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu scheduler-pon policy { sp | Sets the uplink queue schedule mode of ONU
wrr } to sp or wrr.
- 15 -
ONU Management Settings
If this command is run, the bandwidth of all priority queues on all interfaces are
affected. This command validates only when the queue schedule mode is set to WRR.
This command decides the bandwidth weight value of the CoS priority queue when the
WRR schedule policy is used.
This command is realized through the private OAM and only ONU supports this
command.
Note:
At present, ONU supports 4 priority queues but not the queue bandwidth settings;
when the queue schedule mode is wrr, the bandwidth ratio of 4 queues is 1:2:4:8, so
the following commands are invalid.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu scheduler wrr bandwidth Sets the bandwidth for each queue of ONU.
weight1...weightn
weight1~weightn means the bandwidth of
the corresponding queue.
If this command is run, the bandwidth of all priority queues on all interfaces are
affected. This command validates only when the queue schedule mode is set to WRR.
This command decides the bandwidth weight value of the CoS priority queue when the
WRR schedule policy is used.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
- 16 -
ONU Management Settings
[no] epon onu scheduler-pon wrr Sets the bandwidth for each uplink queue of
bandwidth weight1...weightn ONU.
The function of the priority queue is to transmits the packets to the designated priority
queue according to the CoS value of these packets. The packets of which CoS values
are 0 or 1 will be sent to queue 1, those of which CoS values are 2 or 3 to queue 2,
those of which CoS values are 4 or 5 to queue 3 and those of which CoS values are 6
or 7 to queue 4.
If this command is set, the correlation of the CoS value and the priority queue will be
changed and the packets with the designated CoS value will be sent to the designated
priority queue.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu cos map quid cos1 ... cosn To set the ONU CoS priority queue, run epon
onu cos map quid cos1..cosn.
The function of the priority queue is to sent the packets to the designated priority
queue according to the CoS value of the packets. By default, the packets of which CoS
values are 0 will be sent to queue 1, those of which CoS values are 1 to queue 2,
those of which CoS values are 2 to queue 3 and those of which CoS values are 3 to
queue 4, and so on.
- 17 -
ONU Management Settings
If this command is set, the correlation of the CoS value and the priority queue will be
changed and the packets with the designated CoS value will be sent to the designated
priority queue.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu cos-pon map quid cos1 ... Sets the uplink CoS priority queue of ONU.
cosn
quid stands for the priority queue.
In normal cases the packets between different UNI ports of ONU can be freely
forwarded. However, in some special cases, you have to set port isolation to forbid the
data flows between UNI ports.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
Before you access ONU through the telnet mode, you have to set the IP address of
ONU.
To conduct this settings on ONU, you need to run the commands in the following table:
- 18 -
ONU Management Settings
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu ip address { dhcp | static Sets the IP address of ONU.
ip-address netmask}
dhcp means to obtain the IP address through
the DHCP mode.
As to ONUs which locate at the bandwidth center, you need to run the commands in
the following table:
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu ip address A.B.C.D netmask Sets the IP address of ONU.
A.B.C.D gateway A.B.C.D vlan value A.B.C.D in this command in turn stands for
the IP address, the mask and address of the
network manager.
To make ONU management easy or to monitor the data of a UNI port, you can copy
the data of a UNI port and save these data on another UNI port for storage or analysis.
This command is realized through the private OAM and only ONU supports this
command.
Note:
The mirror function supports the “multiple-to-one” relation, that is, one session has only
one destination port but multiple source ports.
The answer of how many source ports are supported depends on the detailed ONU.
- 19 -
ONU Management Settings
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu mirror session num Sets the ONU mirror.
destination dest-port source src-port [both |
num stands for the session ID.
rx | tx]
dest-port stands for the destination port of
the mirror, which is a port to connect the
network analyzer.
Network devices need to capture some protocol packets to make sure their normal
running, such as BPDU packets and IGMP packets; however, due to the limitation of
CPU processing ability, the instant reception of lots of protocol packets will cause CPU
to overload or the system to break down. Vicious users may transmit special protocol
packets to attack network devices to cause the whole network to paralyze.
ONU supports the rate limit of the special packets. If the received flow exceeds the
threshold value, this kind of flow will be limited for avoiding abnormity from occurring in
this system.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu filter {icmp | arp | bpdu | Sets the attack prevention of ONU.
igmp} threshold value
value stands for the number of the packets
which are received in a second.
- 20 -
ONU Management Settings
Some ONUs support the serial interface. ONU encapsulates the data of the serial
interface as the Ethernet packets and transmits them to the serial bridge, and then the
serial bridge decapsulates into the data of the serial interface for storage and display.
The communication between ONU and serial bridge is conducted through TCP or UDP.
In TCP mode, ONU can work as the client or in server mode. In total, ONU has three
working modes:
z TCP-Server: In this mode, the TCP connection will be established between ONU
and serial interface, and ONU works as the server to wait for the serial bridge to
trigger the connection request.
z TCP-Client: In this mode, the TCP connection will be established between ONU
and serial interface, and the serial bridge enables the TCP listening port and ONU
positively triggers the connection request to the serial bridge.
z UDP: The packets will be transmitted between ONU and serial bridge through the
UDP mode.
This command is realized through the private OAM and only ONU which supports the
serial interface supports this command.
Note:
At present, both ONU and OLT supports only the TCP-Server mode.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial-mode {tcp-server | Sets the serial-interface working mode of
tcp-client | udp} port port-value [timeout ONU.
timeout-value]
port-value stands for the ID of the TCP or
UDP port.
- 21 -
ONU Management Settings
When ONU is set to be in TCP-Client mode or UDP mode, the IP address of the
remote serial bridge should be known. This command is used to notify ONU of the
serial bridge’s IP address.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial-remote index Sets the IP address of the serial bridge of
ONU.
You have to create VLAN on ONU 1208 before the VLAN transparent transmission
mode is realized on it.
This command is realized through the private OAM and only 1208 ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
IEP3310/3314 supports the remote display of ONU’s basic information on OLT. The
detailed command is shown below:
- 22 -
ONU Management Settings
Command Purpose
enable Enters the global configuration mode.
Command Purpose
enable Enters the privileged configuration mode.
During the operation of ONU, we, due to debugging or management, want to know the
content of the MAC address table of ONU. Run the following command to display the
content in the MAC address table of ONU:
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
show epon interface interface-id onu mac Displays the content in the MAC address table
address-table of ONU.
- 23 -
ONU Management Settings
- 24 -
ONU Management Settings
The UNI VLAN tag of ONU has four kinds of modes to be processed: Transparent, Tag,
Translation, and STACKING
Downlink means OLT transmits packets to ONU, while uplink means ONU transmits
packets to OLT.
z The define of the transparent mode is shown as follows:
Direction Having the Processing mode
tag in the
Ethernet
packet or not
- 25 -
ONU Management Settings
=0).
- 26 -
ONU Management Settings
- 27 -
ONU Management Settings
The four modes are realized through CTC OAM, and ONUs, if they support CTC OAM,
support this command.
STACKING is realized through the private OAM and only ONU supports this
command.
Procedure Purpose
Enable Enters the privileged configuration mode.
epon onu port Sets the processing mode of the ONU UNI VLAN Tag.
port-num ctc vlan
port-num stands for the ID of the UNI port.
mode {transparent
| tag pvid value | transparent stands for the transparent transmission mode.
translation pvid
tag stands for the tag mode.
value |
- 28 -
ONU Management Settings
If the VLAN mode of the ONU UNI port is the translation mode or the STACKING mode,
you have to set the translation entry for the designated VLAN to modify or add its
out-layer tag.
Note:
The mode of the ONU port must first be set to the translation mode.
Command Purpose
Configure Enters the global configuration mode.
epon onu port num ctc vlan Sets the VLAN translation entry of the ONU
translation-entry old-vid new-vid port.
If the VLAN mode of the ONU UNI port is the aggregation mode, you have to set the
translation entry for the designated VLAN to modify or add its out-layer tag.
Note:
The mode of the ONU port must first be set to the translation mode.
Command Purpose
Configure Enters the global configuration mode.
- 29 -
ONU Management Settings
epon onu port num ctc vlan Sets the VLAN translation entry of the ONU
translation-entry old-vid-range new-vid port.
The flow control in full duplex mode is realized through the 802.3X-defined PAUSE
frame, while the flow control in half duplex mode is realized through the backpressure.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port num ctc flow-control Enables or disables flow control on the ONU
UNI port.
The security port can control the port access, enabling a port to be used in an
allowable range that you set. You can enable the security function of a port by setting
the maximum number (threshold) of secure MAC addresses and enabling the secure
MAC address; if the MAC addresses which enters the port exceed the threshold and
the MAC addresses are not the secure MAC addresses, we define this phenomenon
as port security violation; if this phenomenon happens, different actions will be acted
according to different violation modes.
- 30 -
ONU Management Settings
The security port has two functions: setting the maximum number of MAC addresses
for the security port and setting the static secure MAC address. If the security port has
no static secure MAC address or the number of the static secure MAC addresses is
smaller than that of the secure MAC addresses, the dynamic learning of the secure
MAC addresses will be conducted. If security port violation appears, the packets will be
dropped until security port violation disappears.
At present, ONU only supports the setting of the number of secure MAC addresses.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num mac Limits the maximum number of MAC
address-table dynamic maximum addr-num addresses of the ONU port.
The port of ONU may bear continuous and abnormal impact from unicast (MAC
address fails to be found), multicast or broadcast packets, and therefore gets
paralyzed even to the extent that the whole ONU breaks down. Therefore it is
necessary to provide a mechanism to constrain this phenomenon and limit the
bandwidth in the allowable range.
This command is realized through the private OAM and only ONU supports this
command.
Note:
Due to the limitation of the hardware, among four storm control modes (the broadcast
storm control, the broadcast and multicast storm control, the “broadcast + multicast +
unknown unicast” storm control and the storm control for all packets) you can choose
only one storm control mode.
Command Purpose
Configure Enters the global configuration mode.
- 31 -
ONU Management Settings
[no] epon onu port port-num storm-control Sets storm control on an ONU port.
mode mode-num threshold count
port-num stands for the UNI port.
1:broadcast
4: all packets
The limitation of the rate of the ONU UNI port is used to limit the packet transmission
rate of the UNI port.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port port-num ctc rate-limit SetS the rate limit of the ONU port.
band { ingress | egress}
port-num stands for the ID of the UNI port.
You can confirm whether there is loopback occurring on a port by transmitting a special
packet on this port and detecting whether this packet comes back to this port from
which it is sent out.
- 32 -
ONU Management Settings
Due to the continuous change of the network, it is certain that the loopback detection is
a continuous process, that is, loopback detection will be conducted every a fixed time.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num loopback Sets loopback detection of the ONU port.
detect
port-num stands for the UNI port.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num duplex { half | Sets the duplex mode of the ONU UNI port.
full | auto }
port-num stands for the UNI port.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
- 33 -
ONU Management Settings
[no] epon onu port port-num speed { 10 | Sets the speed of ONU port.
100 | auto }
port-num stands for the UNI port.
ONUs that are not produced by do not support to set the rate and duplex mode of the
UNI port, but this command helps these ONUs to enable or disable the
auto-negotiation of this port.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num ctc Sets the auto-negotiation of the ONU port.
auto-negotiation
port-num stands for the UNI port.
This function can limit some illegal users to access the network or some services by
limiting the source or destination MAC address.
Note:
ONU only supports the frame filtration of the source MAC address.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num block mac {src Sets the frame filtration of the ONU port.
H.H.H | dest H.H.H}
- 34 -
ONU Management Settings
If the UNI port is set to be in tag or translation mode and the uplink packets do not
carry the tag when they enters the UNI port, ONU has to add the default tag of this UNI
port to these packets and then sends them to OLT. In this case, the CoS value of the
tag is the default CoS value of the UNI port.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu port port-num default-cos Sets the default CoS value of the ONU port.
value
port-num stands for the UNI port.
You can disable the ONU UNI port to disable all functions on this port, and then all
monitor commands will label this port as unavailable. This information can be
transmitted to other devices through the dynamic routing protocol. The modification on
any route will not affect this port.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port num shutdown Enables or disables the ONU UNI port.
- 35 -
ONU Management Settings
3.16 Applying the Standard CTC QoS Policy on the ONU Port
This function is used to classify and queue the uplink flows, modify the priority of the
packets, designate the incoming queue of packets and schedule the packets by setting
the queue schedule algorithm.
Some ONUs only support the incoming queue but not to modify the CoS value. As to
supporting which functions, it depends on ONU.
This command can be realized through CTC OAM, and all ONUs that support CTC
OAM support this command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port num ctc qos policy Applies the QoS policy on the ONU UNI port.
name
num stands for the ID of the UNI port.
This function realizes the classification of uplink flows; it helps to conduct the following
actions to the packets: forward, drop, rate limit and modify the out-layer VLAN tag.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port num qos policy name Applies the QoS policy on the ONU UNI port.
- 36 -
ONU Management Settings
The MAC access control list is used to match such attributes as special source MAC
addresses, destination MAC addresses, vlan tag or Ethernet types to realize packet
filtration which is based on these attributes.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port num mac access-group Applies the MAC access list on the ONU port.
name
num stands for the ID of the UNI port.
The IP access control list is used to realize the filtration of special packets by matching
the L3/L4 attributes of the packets.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
configure Enters the global configuration mode.
[no] epon onu port num ip access-group Applies the IP access list on the ONU UNI
name port.
- 37 -
ONU Management Settings
list.
The serial interface of ONU supports the following attributes: speed, databits, stopbits,
parity and flow-control.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial num serial-attribute Sets the attributes of a serial interface of
{speed speed-value | databits ONU.
databits-value | stopbits stopbits-value |
num stands for the number of a serial
parity {none | odd | even | space | mark} |
interface.
flow-control {none | software | hardware} |
bus-type { RS232 | RS485} | duplex {half | speed-value stands for the speed of the
full}} serial interface.
- 38 -
ONU Management Settings
When the data of the serial interface arrives at ONU, these data will be temporally
stored in the local, encapsulated into the Ethernet packets and then sent out. The
detailed buffer is up to the time and bytes. If the bytes of the local buffer reach a
certain number (read-bytes), or the interval of the buffer reaches to a certain time
(read-interval), ONU will send all the data out for just one time.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial num serial-buffer Sets the buffer of the ONU serial interface.
{read-interval time | read-bytes bytes}
num stands for the number of a serial
interface.
To confirm whether the link between serial bridge and ONU is normal, you should
monitor the status the link continuously. ONU can monitor this link continuously
through its keepalive function. If there is no packet transmission between ONU and
serial bridge at the designated time (idle), ONU will positively transmit the keepalive
packets; if ONU does not receive the keepalive packets or data packets from the serial
bridge in a certain time (timeout), ONU continues transmitting the keepalive packets; if
ONU does not receive the keepalive packets from the serial bridge after a designated
times (count), the link will be cut off and OLT will be reported of the network
interruption event.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial num serial-keepalive Sets the keepalive function of the serial
- 39 -
ONU Management Settings
You can confirm whether there is loopback occurring on a port by transmitting a special
packet on this port and detecting whether this packet comes back to this port from
which it is sent out.
When the loopback on the serial interface is detected by ONU, ONU will report this
loopback to the current serial interface.
This command is realized through the private OAM and only ONU supports this
command.
Command Purpose
Configure Enters the global configuration mode.
[no] epon onu serial serial-num loopback Sets loopback detection of the ONU port.
detect
serial-num stands for the ID of the serial
interface.
- 40 -
ONU Management Settings
The administrator needs to know the packet statistics on the ONU port to further know
the running state of the current ONU. Packet statistics includes the total number of
packets, the number of multicast packets, the number of the broadcast packets, pause
frames, error frames and so on.
Command Purpose
show epon interface interface-id onu {port | Displays packet statistics on the ONU port.
serial} num statistics
interface-id means the ID of the LLID port
that ONU corresponds to.
During the operation of ONU, the administrator needs to know the information about
the configuration and state of the current ONU port through related commands.
The displayed information includes the port type, the link’s state, shutdown or not, flow
control, the duplex mode, the rate limit and the storm control. Different ONUs have
different information to show.
Command Purpose
show epon interface interface-id onu {port | Displays the state of the ONU port.
serial} num state
interface-id means the ID of the LLID port
that ONU corresponds to.
During the operation of ONU, the administrator needs to know the information about
VLAN configuration and the state of the current ONU port through related commands.
Command Purpose
show epon interface interface-id onu {port | Displays the VLAN information of the ONU
serial} num ctc vlan port.
- 41 -
ONU Management Settings
The EPON0/1 port of OLT connects two ONUs: ONU1 and ONU2. After ONU
registration the information about the two ONUs will be displayed.
By default OLT does not enable the ONU MAC checkup and the manual authentication.
ONU registration means to pass through the authentication and add the MAC-LLID
binding table.
Run show epon onu-information in any OLT mode. The following information is
shown:
Field Description
Intf Name Stands for the LLID that ONU is bound to.
- 42 -
ONU Management Settings
- 43 -