EPON Optical Fiber Access Office Equipment 4 & 8 PON Port Serial
EPON Optical Fiber Access Office Equipment 4 & 8 PON Port Serial
EPON Optical Fiber Access Office Equipment 4 & 8 PON Port Serial
Version: 3.0.2
Revision History
Add functions:route,loid,link
V2.2.0 2019.07.18 aggregation,ACL/QOS,loop detect
3 System Management.............................................................................................................................. - 23 -
5 Port Management................................................................................................................................... - 55 -
6 PON Management.................................................................................................................................. - 71 -
7 ONU Management..................................................................................................................................- 91 -
The command name is composed of one English word or multiple English words or multiple
English abbreviations. Specifically, you can use " ? " to get help information.
The Commands need to distinguish capital and small letter. All command names must
be small letter. Command parameters can contain capital and small letters, but different
cases in the same sequence of letters are regarded as different parameters.
The command line supports online editing. The cursor can be moved by " Left " and "
Right ". " Ctrl+A " moves the cursor to the beginning of the line, and " Ctrl+E " moves the
cursor to the end of the line.
The Command line supports automatic completion. When inputting some character
commands, you can use the " Tab " key or the " Space " key to perform command matching
or command completion. If there is only one command that matches part of the input
characters, the command characters of the command will be automatically completed to the
command line; If there are multiple commands that match part of the characters entered, all
command names will be prompted, as shown below:
OLT(config)# i
The command line encounters the prompt " <cr> " through " ? ", which means the command
is complete and executable. As shown below:
OLT(config)# interface ge 1
<cr>
-9-
OLT(config-ge-portid)# exit
OLT(config-xge-portid)# exit
OLT(config-onu-ponid/onuid)# exit
OLT(config-manage)# exit
OLT(config-vlanif-vlanid)# exit
OLT(multicast-vlan-vlanid)# exit
Common commands
Functions Commands
- 10 -
2 Local and Remote Management Configuration
This device provides a command line mode (CLI) local and remote management of equipment.
Console port
NMS out-band management port
In-band management port
New-built a serial port link, and open it. Here are the steps:
- 11 -
- 12 -
- 13 -
2.2 NMS Outband Port Management
- 14 -
2. You can through the telnet remote access to OLT after configuring the IP address.Opening
windows operation window, input cmd:
3. Then telnet 192.168.100.1, and input username and password to enter the control command
line [CLI] interface.
【Command】
- 15 -
OLT(config-manage)# ifconfig up
OLT(config-manage)#
【Command】
OLT(config-manage)# ifconfig
OLT(config-manage)# ifconfig
Telnet Status:Enable
Interface Status : UP
OLT(config)#
【Command】
OLT(config-manage)# ifconfig < IP Address > { < IP Prefix > | [ netmask < Mask > ] }
OLT(config-manage)#
- 16 -
2.2.2.4 Configure Outband Management Port IPv6 Address
【Command 】
OLT(config-manage)#
【Command】
OLT(config-manage)#
【Command 】
OLT(config-manage)#
- 17 -
the network port of the computer. Then modify the PC IP address to 192.168.99.X (X: 2-254) to
ensure that the PC is connected to a network with a route to the OLT network management IP.
2. You can through the telnet remote access to OLT after configuring the IP address.Opening
windows operation window, input cmd:
3. Then telnet 192.168.99.1, and input username and password to enter the control command
line [CLI] interface.
- 18 -
Note: This OLT device can support inbound management configuration through uplink port(ge) or
PON port following connected ONU. It needs configuration the IP address, subnet mask, and
VLAN.
OLT(config-vlanif-100)# ifconfig
OLT(config-vlanif-100)# exit
OLT(config)# interface ge 1
- 19 -
OLT(config-ge-1)# vlan mode access
OLT(config)#
【Command】
OLT(config-vlanif-vlanid)# ifconfig
OLT(config-vlanif-1)# ifconfig
Telnet Status:Disable
- 20 -
Recive 8 packets, 848 bytes
OLT(config-vlanif-1)#
【Command】
OLT(config-vlanif-vlanid)# ifconfig < IP Address > { < IP Prefix > | [netmask < Mask >]}
OLT(config-vlanif-1)#
【Command】
OLT(config-vlanif-1)#
【Command】
OLT(config-vlanif-1)#
- 21 -
2.3.2.5 Delete Inband Management Port Vlanif1
【Command】
OLT(config)#
- 22 -
3 System Management
Management Configuration contains the system name, save configuration, system configuration
etc.
【Command】
OLT(config)# no hostname
【Parameter Description】
NEUTRAL-E08(config)#
- 23 -
SerialNumber : H4EB202006150002
Product : Neutral
OLT(config)#
OLT(config)#
----------------------------------------------------------------------------------------------------
OLT(config)#
- 24 -
【Command】
enable
configure
OLT(config)#
【Command】
OLT(config)# save
OLT(config)# save
OLT(config)#
【Command】
Current configuration:
- 25 -
vlan standard 1
exit
!!Acl configuration
interface manage
exit
interface epon 1
exit
end
OLT(config)#
【Command】
OLT(config)# reboot
OLT(config)# reboot
- 26 -
OLT(config)#
【Command】
OLT(config-manage)#
【Command】
OLT(config-manage)#
【Command】
OLT(config-manage)# update system ftp < FTP Server IP > < FTP User Name > < FTP User
Password> { < System File Name > / < Firmware File Name > }
【Command】
- 27 -
OLT(config-manage)# update system tftp < TFTP Server IP > { < System File Name > / <
Firmware File Name >}
OLT(config-manage)#
- 28 -
[2020/10/23 17:08:39] [update image]Info: Update : 58%
【Example 1】Test OLT whether can ping though host IPv4 192.168.103.123
OLT(config)#
【Example 2】Test OLT whether can ping though host IPv6 2021::5
- 29 -
64 bytes from 2021::5: seq=1 ttl=64 time=0.684 ms
OLT(config)#
【Command】
Antarctica/Macquarie(UTC+11:00)
Asia/Anadyr(UTC+11:00)
Asia/Kamchatka(UTC+11:00)
Asia/Magadan(UTC+11:00)
Pacific/Efate(UTC+11:00)
Pacific/Guadalcanal(UTC+11:00)
- 30 -
Pacific/Kosrae(UTC+11:00)
Pacific/Norfolk(UTC+11:30)
Pacific/Noumea(UTC+11:00)
Pacific/Ponape(UTC+11:00)
【Command】
OLT(config)#
【Command】
OLT(config-vlanif-1)#
【Command】
【Example】View timezone
- 31 -
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)# time
OLT(config)# time
OLT(config)#
【Command】
OLT(config)# ntp enable ntp-server-ip < NTP Server IP > backup-server-ip < NTP Backup Server
IP >
- 32 -
【Example】Configure NTP server IP as 120.25.115.20
OLT(config)#
【Command】
【Command】
OLT(config)#
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
- 33 -
3.10User Management
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
3.10.2Add User
【Command】
OLT(config)# user add < User Name > < User Password > { admin | common | operator }{ reenter
< Reenter Times > } < User Info >
【Note】If some user close browser or close browser’s pages, the login status will save 5mins,
means timeout is 5mins
- 34 -
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
OLT(config)#
3.10.3Delete User
【Command】
OLT(config)#
【Command】
OLT(config)#
3.10.5Kick-out User
- 35 -
【Command】
OLT(config)#
【Command】
OLT(config)# user password < User Name > < Old Password > < New Password >
OLT(config)#
【Command】
OLT(config)#
3.11System Service
Telnet port : 23
HTTP port : 80
OLT(config)#
【Command】
OLT(config)# web-port
OLT(config)# web-port
----------------------------------------------------------------------------------------------------
HTTP Port : 80
----------------------------------------------------------------------------------------------------
OLT(config)#
【Command】
- 37 -
【Example】Modify http port as 500
OLT(config)#
【Command】
OLT(config)#
【Command 】
【Command】
OLT(config)#
3.11.5SNMP Setting
- 38 -
3.11.5.1 View SNMP Configuration Information
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
IP address: 192.168.100.100
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
【Command】
- 39 -
OLT(config)# snmp community-cfg write private
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)# snmp trap-cfg serverip < IP Address > < Community Name >
OLT(config)#
【Command】
- 40 -
OLT(config)# route default gw < IPv4 Address >
OLT(config)#
【Command】
【Example】
OLT(config)#
【Command】
OLT(config)#
【Command】
【Example】
OLT(config)#
- 41 -
3.12.3View Default Route
【Command】
【Example】
OLT(config)#
3.13DNS Setting
【Command】
OLT(config)# dns primary < Master DNS > secondary < Backup DNS >
OLT(config)#
【Command】
OLT(config)# no dns
【Example】
OLT(config)# no dns
OLT(config)#
【Command】
OLT(config)# ipv6 dns primary < Master DNS > secondary < Backup DNS >
OLT(config)#
【Command】
【Example】
OLT(config)#
3.13.3View DNS
【Command】
【Example】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
- 43 -
OLT(config)#
【Command】
OLT(config)# access-control add < Rule Name > mac < MAC Address > access { all | ssh | telnet
| web} { ipv4 | ipv6 } < IP Address / IP Prefix >
OLT(config)#
【Command】
【Example】
OLT(config)#
【Command】
【Example】
- 44 -
OLT(config)# no access-control test
OLT(config)#
- 45 -
4 VLAN Management
VLAN (virtual local area network) is a kind of technology dividing logistically the LAN device into
networks so as to realize the virtual work group. All the Et1000 VLAN are based on the port and
all the GE interfaces are the VLAN1 member.
The same VLAN can have both tagged ports and untagged ports.
OLT supports three mode of port vlan mode: access /trunk /hybrid
Access: OLT one port only support one access vlan, it will be PVID;
Trunk: OLT can support a vlan list, and default it’s PVID;
【Command】
OLT(config)# vlan standard < Start VLAN ID > < End VLAN ID >
OLT(config-vlan-100)#
OLT(config-vlan-<101-110>)#
【Command】
OLT(config)# no vlan < Start VLAN ID > < End VLAN ID >
- 46 -
OLT(config)# no vlan all
OLT(config)#
OLT(config)#
OLT(config)#
【Command】
OLT(config)# show vlan < Start VLAN ID > < End VLAN ID >
----------------------------------------------------------------------------------------------------
Attribute Value
----------------------------------------------------------------------------------------------------
VLAN ID : 100
- 47 -
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
VLAN ID : 101
Tagged Ports :
Untagged Ports :
VLAN ID : 102
Tagged Ports :
Untagged Ports :
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
VLAN ID :1
Tagged Ports :
Untagged Ports :
,XGE04
VLAN ID : 100
VLAN ID : 101
- 48 -
Tagged Ports :
Untagged Ports :
----------------------------------------------------------------------------------------------------
OLT(config)#
【Command】
OLT(config-vlan-vlanid)# port { [ epon | ge | xge ] < Port List > } { tagged | untagged }
OLT(config-vlan-100)#
【Command】
OLT(config-vlan-100)#
【Command】
OLT(config-vlan-100)#
- 49 -
【Note】: Above adding several ports to VLAN command can only be used when the interface
mode is hybrid, this method cannot be used if in the other mode .
If a VLAN is the management of VLAN, the configuration method is configuration after entering a
port as a management inerface node. This method was stated at the #2.3 section , here will not
description no longer.
【Command】
OLT(config-ge-1)#
【Command】
【Example1】Permit untag vlan packets pass through ge3 and add default vlan 101
OLT(config-ge-3)#
- 50 -
OLT(config-ge-3)# vlan trunk 101-102
OLT(config-ge-3)#
【Example3】Permit vlan tag 101 and untag 102 pass through ge 3 port
OLT(config-ge-3)#
【Command 】
OLT(config-ge-3)#
【Command】
OLT(config-port-portid)# vlan qinq batch < Start CVALN > < End CVALN > < SVALN >
OLT(config-epon-3)#
- 51 -
OLT(config-epon-3)#
【Command】
OLT(config-port-portid)# no vlan qinq batch < Start CVALN > < End CVALN >
OLT(config-epon-3)#
OLT(config-epon-3)#
【Command】
【Example1】
--------------------------------------------------------------
--------------------------------------------------------------
OLT(config-epon-3)#
- 52 -
VLAN Qinq shares resources with VLAN translate and can be configured with a total of 1024.
【Command】
OLT(config-port-portid)# vlan translation < Old VLAN > <New VLAN >
OLT(config-epon-3)#
【Command】
OLT(config-epon-3)#
【Command】
【Example1】
--------------------------------------------------------------
--------------------------------------------------------------
OLT(config-epon-3)#
- 53 -
- 54 -
5 Port Management
5.1 Port State Management
【Command】
OLT(config-ge-1)#
【Command】
----------------------------------------------------------------------------------------------------
Attribute Value
----------------------------------------------------------------------------------------------------
Flow ctrl : ON
MTU : 1518
- 55 -
----------------------------------------------------------------------------------------------------
Tagged vlan :
Untagged vlan :
----------------------------------------------------------------------------------------------------
OLT(config-ge-1)#
OLT(config-ge-1)#
- 56 -
OLT(config-ge-2)# port duplex full
OLT(config-ge-2)#
OLT(config-ge-2)#
OLT(config-ge-1)#
OLT(config-ge-1)#
- 57 -
5.7 Switch Flow-control Function
【Command 】
OLT(config-ge-1)#
【Command】
OLT(config-ge-1)#
【Command】
OLT(config-ge-1)#
- 58 -
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
RX octets : 12237752
RX frames : 168794
RX multicast frames :0
RX error frames :0
RX oversize frames :0
TX octets : 1447788
TX frames : 21291
TX unicast frames :0
- 59 -
TX multicast frames :0
TX discard frames :0
TX error frames :0
TX oversize frames :0
TX frames 64 octets :0
----------------------------------------------------------------------------------------------------
【Command】
OLT(config-port-portid)# no statistic
OLT(config-ge-1)# no statistic
OLT(config-ge-1)#
【Command】
- 60 -
OLT(config-port-portid)# mirror dst-port ge < Port ID > { all | egress | ingress }
OLT(config-epon-3)#
【Command】
OLT(config-port-portid)# no mirror
OLT(config-epon-3)# no mirror
OLT(config-epon-3)#
5.11Loop Detection
This function is to process the loop that appears in the network to prevent the loop from affecting
the services, and it is necessary to detect the user-side loop.After the user-side loop detection
function is turned on, the system will automatically detect the user-side loop. When the loop is
detected, the occurrence of the loop will be stopped and an alarm will be issued.
1) When a loop occurs on the same ONU port or connected device, the PON loop detection will
not be triggered because the ONU port loop detection function is turned on by default.
2) If loop occurs between different ONU in the same PON port, when the P2P function is turned
off (by default), only ring alarm will be issued, and ONU will not be added to the
blacklist.When the P2P function is turned on, an alarm is issued for the loop and an ONU of
the loop is added to the blacklist.
3) When the PON port isolation function is turned on (by default), only ring alarm will be issued,
and ONU will not be added to the blacklist.When the PON port isolation function is turned off
and the default vlans of the two PON ports are the same, the ring alarm will be issued and
one of the ONU of the loop will be added to the blacklist.
- 61 -
【Note】:
PON loop detects the blacklist ONU and saves the configuration without automatically
removing the blacklist or in manual recovery mode. After reboot the device, the ONU will be
permanently on the blacklist and the blacklist needs to be removed manually.
In manual authentication mode, loop detection is added to the blacklist and manual
authentication is required before re-online.
【Command】
OLT(config)#
【Command】
OLT(config)#
【Command】
- 62 -
【Example】Configure PON loop detection manua recovery
OLT(config)#
【Command】
【Example】
OLT(config)#
【Command】
OLT(config)#
【Command】
【Example】
- 63 -
OLT(config)#
1) When the spanning tree protocol is enabled, the uplink loop detection does not take effect,
and only when the spanning tree protocol is disabled will the uplink loop detection take effect.
2) If a loop occurs with the same uplink port, directly link down the uplink port
3) When the default VLAN is different at the same time, the loop alarm occurs, and don’t link
down the port.When the default VLAN is same, the loop alarm occurs and Link Down one of
the ports.
【Command】
OLT(config)#
【Command】
OLT(config)#
- 64 -
5.11.4.3 Configure Uplink loop detection recovery mode
【Command】
OLT(config)#
【Command】
【Example】
OLT(config)#
【Command】
OLT(config)#
【Command】
Detect Interval : 1s
OLT(config)#
5.12Port Group
Port group can realize port isolation and port interworking, which can be selected according to the
application scenario.
Port groups default to the Isolate mode. In the isolate mode, ports within the groups are isolated
from each other.Optional inter-working mode.In interworking mode, intra-group ports
communicate with each other.
【Note】 Mode switching will restore to the default mode after mode switching (default PON port
isolation).
【Command】
【Example】
OLT(config)#
【Command】
- 66 -
OLT(config)# port-group isolate { epon | ge | xge } <Port List >
OLT(config)#
OLT(config)#
【Command】
OLT(config)#
OLT(config)#
【Command】
【Example】
-------------------------------------------------------------------------------------
- 67 -
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
OLT(config)#
【Command 】
【Example】
OLT(config)#
【Command 】
OLT(config)# port-group inter-working ingress-port { [ epon | ge | xge ] < Port ID > } egress
{ [ epon | ge | xge ] < Port ID > }
OLT(config)#
- 68 -
5.12.2.3 Recover Port Inter-working Group to Default Settings
【Command】
【Example1】
OLT(config)#
【Command】
【Example】
-------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------
PON01 GE01
PON02 GE02,GE03,GE04,XGE01,XGE02,XGE03,XGE04
PON03 GE02,GE03,GE04,XGE01,XGE02,XGE03,XGE04
PON04 GE02,GE03,GE04,XGE01,XGE02,XGE03,XGE04
GE01 PON01
GE02 PON02,PON03,PON04,GE03,GE04,XGE01,XGE02,XGE03,XGE04
GE03 PON02,PON03,PON04,GE02,GE04,XGE01,XGE02,XGE03,XGE04
GE04 PON02,PON03,PON04,GE02,GE03,XGE01,XGE02,XGE03,XGE04
XGE01 PON02,PON03,PON04,GE02,GE03,GE04,XGE02,XGE03,XGE04
XGE02 PON02,PON03,PON04,GE02,GE03,GE04,XGE01,XGE03,XGE04
- 69 -
XGE03 PON02,PON03,PON04,GE02,GE03,GE04,XGE01,XGE02,XGE04
XGE04 PON02,PON03,PON04,GE02,GE03,GE04,XGE01,XGE02,XGE03
--------------------------------------------------------------------------------------------
OLT(config)#
- 70 -
6 PON Management
6.1 ONU Authentication Type and Mode
It supports two certification methods of PON port at present, manual and automatic
authentication . As long as the fiber splitter access to OLT PON port, ONU can automatically
authorize and it will be online , while manual authentication need to configure the relevant
command to make the ONU online.
ONU authentication mode: support MAC authentication, hybrid authentication and loid
authentication.
【Command】
OLT(config-epon-ponid)# onu-authorize
【Example】
OLT(config-epon-1)# onu-authorize
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
【Command】
- 71 -
OLT(config-epon-1)#
【Command】
OLT(config-epon-1)#
【Command】
OLT(config-epon-ponid)# blacklist add mac < MAC Address > < Reason >
OLT (config-epon-1)#
【Command】
【Example】
--------------------------------------------------------------------------------
- 72 -
PON/ONU Mac Address Try REG Count
--------------------------------------------------------------------------------
1/1 00:00:00:11:11:11 0
--------------------------------------------------------------------------------
OLT (config-epon-1)#
【Command】
OLT(config-epon-1)#
【Command】
OLT(config-epon-ponid)# bind-onu < ONU ID > mac < MAC Address >
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
- 73 -
1/1 38:3a:21:25:e6:fa 4
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
【Command】
----------------------------------------------------------------------------------------------------
- 74 -
PON/ONU Mac-Address Blacklist_Reject_Count
----------------------------------------------------------------------------------------------------
1/1 38:3a:21:25:e6:fa 6
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
OLT(config-epon-1)#
[2020/09/27 16:06:13] Info: ONU 1/1 38:3a:21:25:e6:fa ONU authorization fail, Reason:Authorize
type is manual, please confirm it
----------------------------------------------------------------------------------------------------
PON ID :1
ONU ID :1
ONU LLID :0
Status : Register
ONU RTT : 53
ONU Distance(m) :6
LOID : ztepon
Password : ztepon
- 75 -
Upgrade Type :
ONU description :
ONU vendor :
ONU model :
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
1/1 38:3a:21:25:e6:fa 1
----------------------------------------------------------------------------------------------------
- 76 -
LT(config-epon-1)# bind-onu mac 38:3a:21:25:e6:fa
----------------------------------------------------------------------------------------------------
PON ID :1
ONU ID :1
ONU LLID :0
Status : Offline
ONU RTT : 53
ONU Distance(m) :6
LOID : ztepon
Password : ztepon
Upgrade Type :
ONU description :
ONU vendor :
ONU model :
- 77 -
ONU Device Type : SFU
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
[2020/09/27 16:18:42] Info: ONU 1/1 38:3a:21:25:e6:fa ONU authorization fail, Reason:Authorize
type is manual, please confirm it
OLT(config-epon-1)#
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
- 78 -
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
PON ID :1
ONU ID :1
ONU LLID :0
Status : Online
ONU RTT : 98
ONU Distance(m) :6
LOID : user
Password :
Upgrade Type :
ONU description :
- 79 -
ONU chipset : 0479(9602)
ONU GE ports :1
ONU FE ports :1
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
OLT(config-epon-4)#
- 80 -
6.3 DBA Bandwidth Allocation
DBA supports 5 types of bandwidth allocation. The maximum bandwidth of one PON port is 1G.
Type1 √
Type2 √
Type3 √ √
Type4 √
Type5 √ √ √
OLT(config-epon-4)#
OLT(config-epon-4)#
OLT(config-epon-4)#
OLT(config-epon-4)#
OLT(config-epon-4)#
- 81 -
6.4 View ONU Version Information
【Command】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
- 82 -
1/2 ONU01/02 38:3a:21:28:06:66 37 C 3.34 V 16 mA 2.6477 dBm -16.4975
dBm
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
Temperature :31.253906 C
Voltage :3.245000 V
Bias :12.460000 mA
OLT(config-epon-1)#
----------------------------------------------------------------------------------------------------
- 83 -
----------------------------------------------------------------------------------------------------
Temperature: 31.253906C
Voltage: 3.245000
Bias: 12.460000 mA
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Vendor specific: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Max Distance(Km): 20
- 84 -
Fiber type: Single mode
Connector: SC
Encoding: 8B10B
cc_base: 142
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-epon-1)#
【Command】
- 85 -
【Example】
OLT(config)#
【Command】
【Example】
onu-upgrad-type
-----------------------------------
1 1GE1FE1POTS
-----------------------------------
OLT(config)#
【Command】
OLT(config)#
【Command】
- 86 -
OLT(config)# onu-upgrade type del < TYPESTR >
OLT(config)# onu-upgrade load { [ tftp < IPAddr > < File > ] | [ ftp < IP Addr > < Name > <
Password > < File > ] }
OLT(config)#
OLT(config)#
【Command】
【Example】
OLT(config)#
【Command】
OLT(config-epon-ponid)# bind-onu upgrade-type < TYPESTR > { all | [ onu-list < ONU List > ] }
OLT(config-epon-1)#
OLT(config-epon-1)#
- 87 -
6.8.4 Upgrade ONU
【Command】
OLT(config-epon-1)#
[2020/11/27 17:09:02] Info: ONU 1/1 38:3a:21:28:06:64 Onu upgrade file ok, Reason:ONU:01/01
CTC OAM UPGRADE OK,PLS COMMIT AFTER ONU REBOOT
[2020/11/27 17:10:08] Info: ONU 1/1 38:3a:21:28:06:64 Onu upgrade file commit ok, Reason:
success
OLT(config-epon-1)#
【Command】
OLT(config-epon-1)#
- 88 -
【Example】Add ONU to blacklist when detects ONU loop
OLT(config-epon-1)#
- 89 -
7 ONU Management
7.1 ONU Re-register
【Command】
OLT(config-onu-ponid/onuid)# deregister
【Example】Register ONU1/1
OLT(config-onu-1/1)# deregister
[2021/01/12 16:54:50] Info: ONU 1/1 38:3a:21:28:8d:ad Onu deregister, Reason:OLT DEREG
OLT(config-onu-1/1)#
OLT(config-onu-1/1)#
OLT(config-onu-1/1)#
- 91 -
OLT(config-onu-1/1)# name test
OLT(config-onu-1/1)#
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-1/1)# no port-shutdown 1
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-1/1)# port-shutdown 1
- 92 -
OLT(config-onu-1/1)#
【Command】
ONU : 1:1
----------------------------------------------------------------------------------------------------
Port ID state
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
【Command】
OLT(config-onu-ponid/onuid)# port-rate-limit < Port ID > egress cir < CIR > pir < PIR >
OLT(config-onu-ponid/onuid)# port-rate-limit < Port ID > ingress bandwidth < Bandwidth >
OLT(config-onu-1/1)#
OLT(config-onu-1/1)#
- 93 -
7.5.3 Switch Port Loop Detection
【Command】
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-1/1)#
This mode is suitable for those the client's home gateway or switch provided by operators, whose
VLAN TAG is reliable. In this mode, the ONU will received upload Ethernet frame without any
- 94 -
processing of the Ethernet frame (regardless of whether the Ethernet frame with VLAN tag or not) and
transparently forward to OLT, for download Ethernet frame forwarding mode is also transparent.
The system configuration is defaulted in, if the original configuration of the other mode to change the
transmission mode, configuration commands are as follows:
【Command】
OLT(config-onu-1/1)#
This mode is suitable for the client's home gateway or switch VLAN tag is not to be trusted. In order to
realize the management and control of VLAN entered the network service, the operators need to add
a network layer VLAN tag for them.
- 95 -
Whether Ethernet
Direction Processing Mode
packets has Tag
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode tag < VLAN ID > pri < Priority >
OLT(config-onu-1/1)#
VLAN translation refers to the 1:1conversion between the input VLAN and the output VLAN.
In this mode, ONU will change the upload Ethernet frame VLAN TAG (the VID may not be the only
use, could be with other users using the same VID in the same system) to the network side only
VLAN tag, and perform the reverse operation in the download direction. When the ONU support VLAN
translation, the VLAN translation function should support Ether type value is 0x8100, optional support
other Ether type values.
- 96 -
Whether Ethernet
Direction Processing Mode
packets has Tag
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode translation < VLAN ID > pri < Priority >
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > translation add oldvlan < Old VLAN ID > newvlan
< New VLAN ID > pri < Priority >
【Example】Configure ONU 1/1 UNI 1 port vlan 101 translation vlan 102
- 97 -
OLT(config-onu-1/1)# port-vlan 1 translation add oldvlan 101 newvlan 102 pri 0
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > translation delete oldvlan < Old VLAN ID >
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > translation no_entry < Old VLAN ID List >
OLT(config-onu-1/1)#
OLT(config-onu-1/1)#
The ONU user side interface supports VLAN trunk function. By setting the ONU UNI port "VLAN
allows" list to control whether forwarding message.
Whether
Ethernet
Direction Processing Mode
packets has
Tag
Upload Has VLAN tag Up forwarding the message if its VLAN belongs to
“permit VLAN” of the port, or else discard it.
- 98 -
Download Has VLAN tag Down forward the message if its VLAN belongs to
“permit VLAN” of the port, or else discard it.
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode trunk < VLAN ID > pri < Priority >
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > trunk add < VLAN List >
OLT(config-onu-1/1)#
【Command】
OLT(config-onu-ponid/onuid)# port-vlan < Port ID > trunk delete < VLAN List >
OLT(config-onu-1/1)#
- 99 -
8 MAC Address Management
8.1 MAC Address Table
【Command】
【Example】
OLT(config)#
【Command】
OLT(config)#
【Command】
- 100 -
OLT(config)# show mac-address mac < MAC Address >
OLT(config)# show mac-address port { [ epon | ge | xge ] < Port List > }
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
- 101 -
MAC VLAN Port MAC-Type
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
- 102 -
【Example6】View specific VLAN MAC address table
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
【Command】
OLT(config)# mac address-table static < MAC Address > vlan < VLAN ID > port { [ epon | ge | xge ] <
Port List > }
- 103 -
【Example】Add mac 00:11:22:33:44:55 to static mac address table
OLT(config)#
【Command】
OLT(config)# mac address-table black-hole < MAC Address > vlan < VLAN ID >
OLT(config)#
【Command】
OLT(config)# mac address-table flush vlan < VLAN ID > { all | black-hole | dynamic | static }
OLT(config)# mac address-table flush link-aggregation group < Aggregation Group ID >
OLT(config)# mac address-table flush port { [ epon | ge | xge ] < Port List > } { all | dynamic | static }
OLT(config)#
- 104 -
OLT(config)#
OLT(config)#
OLT(config)#
OLT(config)#
OLT(config)#
OLT(config)#
【Command】
【Example】
- 105 -
OLT(config)#
【Command】
OLT(config)# mac address-table epon { age < Age Times > | no-age }
OLT(config)#
【Command】
OLT(config)# show mac-address epon { all | < EPON Port ID > | onu < EPON Port ID > < ONU ID > }
OLT(config)#
OLT(config)#
OLT(config)#
- 106 -
8.2.3 Flush PON Side MAC Address Table
【Command】
OLT(config)# no mac address-table black-hole < MAC Address > vlan < VLAN ID >
OLT(config)# no mac address-table dynamic < MAC Address > vlan < VLAN ID >
OLT(config)# no mac address-table static < MAC Address > vlan < VLAN ID > port { [ epon | ge | xge ]
< Port List > }
OLT(config)#
OLT(config)#
OLT(config)#
- 107 -
9 Protocol Management
9.1 Spanning Tree Protocol
【Command】
OLT(config)#
【Command】
OLT(config)#
The value of max-age is associated with hello and forward-delay.The specific relationship is :
2*(forward-delay-1 )>=max-age >=2*(hello +1)), it will prompt the conflict configuration if several
configuration does not meet this relationship.
【Command】
- 108 -
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config-ge-3)#
- 109 -
9.1.2.2 Set Uplink Port As Boundary Port
【Command】
OLT(config-ge-3)#
【Command】
【Parameter Description】
OLT(config-ge-3)#
【Command】
OLT(config-ge-3)#
- 110 -
9.2 Multiple-Spanning-Tree
MSTP protocol is compatible with STP and RSTP, and can make up for the defects of STP and RSTP.
MSTP can not only rapidly converge, but also make different VLAN traffic forward along various paths,
thus providing a better load balancing mechanism for redundant links.
【Command】
OLT(config)#
Restore the default Region Name, which defaults to the Mac address of the device.
【Command】
OLT(config)#
OLT(config)#
- 111 -
9.2.2.2 Configure Revision
This command is used to configure the revision level of an MST instance. Restore the default revision,
which is 0 by default.
【Command】
OLT(config)#
OLT(config)#
9.2.3 CIST
【Command】
OLT(config)#
【Command】
- 112 -
OLT(config)# spanning-tree mstp forward-delay 15
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)#
9.2.4 MSTI
This command is used to configure the VLAN-MSTP instance mapping, and its “no”command is used
to remove the mapping relationship or to delete the corresponding instance.When an instance is
deleted, the mappings associated with that instance are also removed.
【Command】
OLT(config)# spanning-tree mstp instance < Instance ID > vlan < VLAN List >
OLT(config)# no spanning-tree mstp instance < Instance ID > vlan < VLAN List >
- 113 -
OLT(config)# spanning-tree mstp instance 1 vlan 100
OLT(config
OLT(config)#
This command is used to configure the priority of the MST instance, and its no command is used to
restore the default priority of the corresponding instance.The configuration range is 0-15, with each
unit step size of 4096;For example: Configuration 1, which takes effect as 4096;Defaults value is 8
that means 32768.
【Command】
OLT(config)# spanning-tree mstp instance < Instance ID > priority < Priority >
OLT(config)#
OLT(config)#
This command is used to enable BPDU protection for the specified port. With BPDU protection
enabled, if the port receives BPDU messages, MSTP will close these ports. “no” command is used to
disable this function.
【Command】
- 114 -
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } bpduguard { enable | disable }
OLT(config)#
【Note】 Normal spanning tree topology networking port is not recommended to enable this function,
it will affect the spanning tree topology calculation;Generally used for edge ports connected to
terminals,such as PC.
This command is used to enable loop protection.Loop protection can prevent the network loop
phenomenon caused by link congestion or single link failure, which causes the downstream
equipment to recalculate the spanning tree.
【Command】
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } loopback-detect { enable | disable }
OLT(config)#
【Command】
OLT(config)#
- 115 -
9.2.5.4 Configure Port P2P
This command is used to set whether the link to the current Ethernet port is a point-to-point link.
【Command】
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } point-to-point { auto | force-false | force-
true }
【Parameter Description】
OLT(config)#
This command is used to configure whether the current Ethernet port is an edge port.Use this
command when the port needs to be quickly migrated to the forward state and the network is
secure.For ports that are directly connected to the terminal, the port should be set as an edge port
with BPDU protection enabled.When the current Ethernet port is set as the edge port, the device does
not receive configuration messages from other bridge devices.
【Command 】
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } edge { auto | force-false | force-true }
【Parameter Description】
auto: Automatically determines whether the port has received a BPDU message
OLT(config)#
- 116 -
9.2.5.6 Configure Port Cost
【Command】
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } < Instance ID > cost
OLT(config)#
The configuration range is 0-240 and the step size is 16. For example: configured as 1, the priority in
effect is 16;The default value is 8 that means 240.
【Command】
OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } < Instance ID > port-priority < Port
Priority >
OLT(config)#
9.3 IGMP
【Command】
- 117 -
【Example】Configure device igmp snooping mode
OLT(config)#
When enabled fast leave, the device receives the igmp leave packets and immediately disconnects
the multicast service.When the device is not enabled fast leave, the multicast streams will be
disconnected when the device fails to receive igmp report packets within the maximum response time
of general query or specific query.Default is not enabled.
【Command】
OLT(config)#
When the policy is discard,Only programme in the library of multicast programmes (see section 6)
shall be effective;When the policy is pass, programs outside the program library can also take
effect.Default is pass.
【Command】
OLT(config)#
- 118 -
9.3.2.4 IGMP Group Member Aging Time(Setting in Snooping Mode)
When the device does not receive igmp report packets within the aging time, it is deemed that the
user has gone offline and disconnected the user multicast service streams.The default is 260 seconds.
【Command】
OLT(config)#
When the device is in proxy mode, the device will send a general query packet at each general query
interval.The default is 125 seconds.
【Command】
OLT(config)#
When the general query packet is sent, all online users will respond to the report packets within the
response time, which is 10 seconds by default.
【Command】
- 119 -
OLT(config)#
3. Configure Robustness
This command can be used when the user wants to adjust the robustness coefficients, depending on
the stability of the network.After setting, the system uses the robustness coefficient to confirm the
aging time of the multicast user.The robustness coefficient is set to enhance the robustness of the
system, which directly affects the aging time of multicast users and also affects the number of times to
send generic group query messages.If a subnet may lose packets, the robustness factor should be
added to ensure the stability of multicast users.The default is 2.
【Command】
OLT(config)#
For a specific program in accordance with the command to set the interval of send a specific set of
queries to confirm that whether the user is watching the show, not received the report user feedback
message, that the user is not in watching the show, the system is no longer sent to the user, the
program flow to avoid users do not have television still receive multicast flows and the waste of
bandwidth.The default is 1000 milliseconds.
【Command】
OLT(config)#
- 120 -
5. Configure Specific Query Numbers
A specific set of queries is sent N times for a particular program (N is set by this command) to confirm
that the user is watching the program, default is 2 times.
【Command】
OLT(config)#
After a specific query packets are sent, all online users will respond to the report packets within the
response time, which is 800 milliseconds by default.
【Command】
OLT(config)#
【Note】The default aging time of multicast members in proxy mode is: general query interval (125s)*
robustness (2)+ general query maximum response time (10s) = 260 seconds
Configure the general query packet sent to the user side by the multicast router or the source IP
address of a specific query packet, default is 192.168.100.1.
【Command】
- 121 -
OLT(config)# igmp proxy src-ip 192.168.1.1
OLT(config)#
Configure the general query packet sent to the user side by the multicast router or the source MAC
address of a specific query packet,default is device in-band address.
【Command】
OLT(config)#
【Command】
【Example】
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
- 122 -
If the multicast stream carries multicast unknown for a particular purpose, it is configured for
transparent. Multicast unknown with no special purpose takes up bandwidth and is typically
configured to be discarded, default is transparent.
【Command】
OLT(multicast-vlan-100)#
Add the program library, users can switch to the multicast VLAN program channel.
【Command】
OLT(multicast-vlan-vlanid)# igmp program ip batch < Start Multicast IP > < End Multicast IP > <
DESC >
OLT(multicast-vlan-100)#
OLT(multicast-vlan-100)#
Routing port is a channel that connects to a multicast server and can only be configured with uplink
port.
【Command】
- 123 -
OLT(multicast-vlan-vlanid)# igmp router-port { ge | xge } < Port List >
OLT(multicast-vlan-100)#
【Command】
-----------------------------------------------------------------------------
Description: MVLAN100
-----------------------------------------------------------------------------
OLT(config)#
【Command】
OLT(config)# igmp static ip < Multicast IP Address > { epon | ge | xge } < Port List > vlan < VLAN ID >
【Example】
OLT(config)#
- 124 -
9.3.4.2 Delete Static Group Entry
【Command】
OLT(config)# no igmp static ip < Multicast IP Address > { epon | ge | xge } < Port List > vlan < VLAN
ID >
【Example】
OLT(config)#
【Command】
OLT(config)# show igmp entry { all | dynamic | static | multi-ip < Multicast IP > | vlan < VLAN ID > }
OLT(config)#
OLT(config)#
【Command】
- 125 -
OLT(config-onu-1/2)#
【Command】
【Example】
ONU : 1:2
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-onu-1/2)#
【Command】
OLT(config-onu-1/2)#
If the ONU multicast mode is configurable as igmp-snooping, the configuration will revert to the default
value when the ONU multicast mode switches from igmp-snooping to another mode.The default is 64.
【Command】
- 126 -
OLT(config-onu-ponid/onuid)# multicast < Port ID > group-num_max < Max Group Num >
OLT(config-onu-1/2)#
【Command】
【Example】
ONU : 1:2
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-onu-1/2)#
If the ONU multicast mode is configurable as igmp-snooping,when the ONU multicast mode switches
from igmp-snooping to another mode, the multicast VLAN will be cleared.Each port can be configured
with up to 8 multicast vlans.
【Command】
- 127 -
【Example1】Configure ONU 1/2 UNI 1 multicast-vlan 100
OLT(config-onu-1/2)#
OLT(config-onu-1/2)#
OLT(config-onu-1/2)#
ONU : 1:2
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config-onu-1/2)#
This configuration determines whether the multicast streams forwarded by the ONU port has a VLAN
tag. Untag is for stripping the tag, tag is for not stripping the tag, and translate is for converting the
VLAN tag. Up to 8 group translation can be configured.The default mode is untag.
【Command】
OLT(config-onu-1/1)# multicast < Port ID > tagmode { tag | untag | translate < SVLAN ID > < CVLAN
ID > }
- 128 -
OLT(config-onu-1/2)# multicast 1 tagmode untag
OLT(config-onu-1/2)#
OLT(config-onu-1/2)#
OLT(config-onu-1/2)#
【Command】
ONU : 1:2
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
Service-vlan Customer-vlan
----------------------------------------------------------------------------------------------------
100 200
----------------------------------------------------------------------------------------------------
OLT(config-onu-1/2)#
- 129 -
9.4 DHCP
【Command】
OLT(config)#
【Command】
【Example】
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
- 130 -
DHCP Relay Status: Disable
OLT(config)#
Tip: enabled the DHCP snooping function. Make sure that the DHCP function is enabled.Turn on
DHCP Snooping configuration you need to ensure that DHCP Snooping is enabled.
【Command】
OLT(config)#
This configuration can only be matched with the uplink ports. Trust port is allowed to receive all DHCP
packets, while non-trust port is not allowed to receive DHCP response packets.All ports are untrusted
by default.
【Command】
OLT(config)#
- 131 -
【Example2】Remove ge 2 and 4 port from trust ports
OLT(config)#
Check whether the source MAC address of the DHCP request packet sent by the client is consistent
with the CHADDR field. If the DHCP request packet is the same, it is monitored; if it is not the same, it
is discarded.This feature is enabled by default.
【Command】
OLT(config)#
The wait response time defaults to 60 seconds.When receiving the request packet sent by DHCP
client, the request table item will be recorded and the wait response time will take effect. Before
receiving the response packet from DHCP server, the table item will not be aged if the wait response
time is not exceeded, but will be aged if it is exceeded.Upon receipt of a response packet from the
server, the wait response time does not take effect during the lease time, only after the lease time
expires, and the table entry is aged after that time.
【Command】
OLT(config)#
- 132 -
9.4.2.5 View DHCP Snooping Table
When the request packet is received from the client, the system records the request table entry,
including the client MAC, VLAN and port, and the DHCP snooping table is incomplete and invalid until
the DHCP server responds to the message.
【Command】
----------------------------------------------------------------------------
-----------------------------------------------------------------------------
OLT(config)#
When receiving the DHCP server's response packet, the IP address and lease time assigned by the
server to the client will be recorded. At this time, the DHCP snooping table is complete and the status
is Valid.
----------------------------------------------------------------------------
----------------------------------------------------------------------------
OLT(config)#
- 133 -
Tip: enabled DHCP Relay to ensure that DHCP is enabled and that IP route is enabled.Enabled
DHCP Relay configuration to ensure that DHCP Relay is enabled.
【Command】
OLT(config)#
Standard Policy(Default Policy): Find the DHCP server address according to the VLAN;
Option60 Policy: Find the server address based on the Option60 field value carried by the
DHCP client.
Tip: change policy will clear the server table created by another policy.
【Command】
OLT(config)#
This configuration is only standard in the DHCP Relay policy, and the system supports configuration
of up to 32 tables.
【Command】
- 134 -
OLT(config)# ip dhcp relay server < Server IP > { option60 < Word > | vlanif < VLAN ID > }
【Example1】
OLT(config)#
【Example2】
OLT(config)#
【Command】
OLT(config)#
Reserve policy (default policy): if the client sends the request packet without Option82
information, OLT will bring Option82 information. If the client sends the request packet with
Option82 information, OLT will not process the direct forwarding to the server.
Drop policy: the request packet sent by the client does not carry Option82 information. OLT
does not process the direct forwarding server. If the client sends the packet with Option82
information, OLT strips Option82 information and forwards it to the server.
- 135 -
Replace policy: the request packet sent by the client does not carry Option82 information. OLT
does not process direct forwarding server. If the client sends the request packet with Option82
information, OLT replaces Option82 information and forwards to the server.
【Command】
OLT(config)#
Note: Opening the DHCP server requires disable the DHCP Snooping ,DHCP DHCP Relay and
DHCP Option82 function.
【Command】
OLT(config)#
【Command】
- 136 -
【Example】Configure DHCP server vlanif 100 Interface
OLT(config)#
The lease time is the effective duration of the IP address sent from the DHCP server to the DHCP
client. The default is 86,400 seconds
【Command】
OLT(config)#
The IP address pool is the range of valid addresses that the DHCP server assigns to the the DHCP
client
【Command】
OLT(config)# ip dhcp server ip-pool < Start IP Address > < End IP Address >
OLT(config)#
【Command】
- 137 -
【Example】Configure DHCP server gateway 192.168.88.1
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)# ip dhcp server dns < Master DNS > < Backup DNS >
OLT(config)#
9.4.6 DHCPv6
The device support DHCPv6 function,DHCPv6 Option18 and DHCPv6 option37 functions.
【Command】
- 138 -
【Example】Turn on dhcpv6 function
OLT(config)#
【Command】
OLT(config)#
【Command】
OLT(config)#
【Command】
----------------------------------------------------------------------------------------------------
- 139 -
DHCPV6 Status: Enable
----------------------------------------------------------------------------------------------------
OLT(config)#
- 140 -
10 ACL/QOS
10.1Time Range
It’s used to specify a time period for the ACL rule to take effect.Once the configuration is executed
successfully, the ACL rule can be created to specify the effective time by referring to the time period
name, and the ACL rule is only valid for the effective time period.
10.1.1Relative Time
A periodic time, for example, Monday from 09:00 to 18:00
【Command】
OLT(config)# time-range < Name > < Start-Time > to < End-Time > { daily | fri | mon | sat | sun | thu |
tue | wed | weekend | working-day }
OLT(config)#
【Command】
OLT(config)#
OLT(config)#
- 141 -
10.1.1.3 View Relative Time
【Command】
Time-range : test(Inactive)
OLT(config)#
10.1.2Absolute Time
From a specific time to a specific time, such as 9:00 on April 29, 2019 to 18:00 on April 29, 2019
【Command】
OLT(config)# time-range < Name > from < Start-Time > < Start-Day > to < End-Time > < End-Day >
OLT(config)#
【Command】
OLT(config)# no time-range < Name > absolute < Start-Time > < Start-Day >
- 142 -
OLT(config)# no time-range test1
OLT(config)#
【Command】
Time-range : test1(Inactive)
OLT(config)#
10.2ACL Management
Use this configuration to create an access control list when you need to filter specific packets through
matching rules.
10.2.1Basic ACL(2000-2999)
Use this configuration when ACL rules need to be made based on the IP address of the source of the
message. After successful rule creation, packet-filter configuration reference rules can be used to filter
packets.
【Command】
- 143 -
OLT(acl-basic-2000)#
You can select timerange take effect within the specified time or not select timerange for immediate
effect.
【Command】
OLT(acl-basic-id)# rule < Rule ID > { permit | deny } source { any | < Source Ip Address > < Wildcard-
Mask > } time-range < Name >
OLT(acl-basic-2000)#
OLT(acl-basic-2000)#
【Command】
OLT(acl-basic-2000)# no rule 1
OLT(acl-basic-2000)#
【Command】
- 144 -
【Example】Show basic acl 2000 rule
OLT(acl-basic-2000)#
【Command】
OLT(acl-basic-id)# rule < Old Rule ID > move to < New Rule ID >
OLT(acl-basic-2000)#
10.2.2Advanced ACL(3000-4999)
This configuration is used when matching rules need to be made based on the packet's source
address information, destination address information, the protocol type hosted by the IP, and the
characteristics of the protocol. After successful rule creation, packet-filter configuration reference rules
can be used to filter packets.
【Command】
- 145 -
ACL 3000 create successful
OLT(acl-adv-3000)#
You can select time range take effect within the specified time or not select time range for immediate
effect.
【Command】
OLT(acl-adv-id)# rule < Rule ID > { permit | deny } { < Protoco Type Value > | icmp | ip | ipinip | tcp |
udp } { dest-port < Destination Port > | destination{ any | < Destination Ip Address > < Destination
Wildcard-Mask > | dscp < Dscp Value > | precedence < Precedence Value > | source { any | <
Source Ip Address > < Source Wildcard-Mask > | src-port < Source Port > | time-range < Name >}
OLT(acl-adv-3000)#
OLT(acl-adv-3000)#
【Command】
OLT(acl-basic-id)# no rule < Rule ID > { all | dest-port | destination | dscp | precedence | source | src-
port | time-range}
OLT(acl-adv-3000)#
- 146 -
10.2.2.4 View Advanced ACL Rule
【Command】
OLT(acl-adv-3000)#
【Command】
OLT(acl-adv-id)# rule < Old Rule ID > move to < New Rule ID >
OLT(acl-adv-3000)#
10.2.3Link ACL(5000-5999)
This configuration is used when ACL rules need to be formulated based on link-layer information such
as the source MAC address of the message, the source VLAN ID, the layer 2 protocol type, and the
destination MAC address. After successful rule creation, packet-filter configuration reference rules can
be used to filter packets.
【Command】
- 147 -
OLT(config)# acl < Link ACL ID >
OLT(acl-link-5000)#
You can select time range take effect within the specified time or not select time range for immediate
effect.
【Command】
OLT(acl-link-id)# rule < Rule ID > { permit | deny } { cos < VLAN Priority > | destination < Destination
MAC > < Destination Wildcard-Mask > | inner-cos < Inner VLAN Priority > | inner-vlan < Inner VLAN
ID> | source < Source MAC > < Source Wildcard-Mask > | time-range < Name > | type < Ethernet
type > | vlan < VLAN ID > }
OLT(acl-link-5000)#
OLT(acl-link-5000)#
【Command】
OLT(acl-link-5000)# no rule 4
- 148 -
OLT(acl-link-5000)#
【Command】
OLT(acl-link-5000)#
【Command】
OLT(acl-link-id)# rule < Old Rule ID > move to < New Rule ID >
OLT(acl-link-5000)# rule 2 up
OLT(acl-link-5000)#
10.2.4View ACL
【Command】
- 149 -
OLT(config)# show acl all
OLT(config)#
10.2.5Delete ACL
【Command】
OLT(config)#
10.3Packet Filter
It’s used to configure and enable ACL filtering rules for a specified port.Use this configuration when
you need to filter port traffic using ACL rules.
【Command】
OLT(config)# packet-filter inbound < ACL ID > rule-id < Rule ID > port { [ epon | ge | xge ] < Port ID > }
OLT(config)#
- 150 -
10.3.2Delete Packet Filter
【Command】
OLT(config)# no packet-filter inbound < ACL ID > rule-id < Rule ID > port { [ epon | ge | xge ] < Port
ID > }
OLT(config)#
【Command】
OLT(config)# show packet-filter { all | port { [ epon | ge | xge ] < Port ID > }}
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------------------
OLT(config)#
10.4QOS
Configure the queue scheduling mode for the system.Queue scheduling is to divide the messages
that need to be sent from the same port into multiple queues and schedule them between queues to
decide which queue's messages should be sent first and which queue's messages should be sent
later.This configuration is used when the user needs to select different queue scheduling modes
according to the degree of importance of the service to ensure that QoS guarantee can be provided
for the important service in case of network congestion.
- 151 -
10.4.1Configure Cos Priority Mapping Queue Relationship
You can sets the mapping of priority and queue
【Command】
OLT(config)# qos cosq-map cos0 < Queue ID > cos1 < Queue ID > cos2 < Queue ID > cos3 < Queue
ID > cos4 < Queue ID > cos5 < Queue ID > cos6 < Queue ID > cos7 < Queue ID >
【Example】
OLT(config)# qos cosq-map cos0 1 cos1 1 cos2 2 cos3 3 cos4 4 cos5 5 cos6 6 cos7 7
OLT(config)#
【Command】
OLT(config)# qos queue-scheduler { strict-priority | wrr < Queue0 Weighted > < Queue1 Weighted > <
Queue2 Weighted > < Queue3 Weighted > < Queue4 Weighted > < Queue5 Weighted > < Queue6
Weighted > < Queue7 Weighted >
【Example】
OLT(config)#
10.4.3View queue-scheduler
【Command】
【Example】
----------------------------------------------------------------------------------------------------
- 152 -
Queue Scheduler Mode WRR Weight
----------------------------------------------------------------------------------------------------
0 SP -
1 SP -
2 SP -
3 SP -
4 SP -
5 SP -
6 SP -
7 SP -
----------------------------------------------------------------------------------------------------
Queue map:
----------------------------------------------------------------------------------------------------
Priority Queue
----------------------------------------------------------------------------------------------------
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
----------------------------------------------------------------------------------------------------
- 153 -
OLT(config)#
- 154 -
11 Route Configuration
11.1Route Management
【Command】
OLT(config)#
【Note】When you close route status,all the static route entry and arp entry will clear.
【Command】
OLT(config)# ip route-static dest-ip { < Destination IP > < Netmask >/ < IP Prefix Length > next-hop <
Next Hop IP >
【Example】
OLT(config)#
【Command】
OLT(config)# no ip route-static dest-ip { < Destination IP > < Netmask >/ < IP Prefix Length > next-hop
< Next Hop IP >
【Example】
- 155 -
OLT(config)#
【Command】
【Example】
IP Route:enable
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
-------------------------------------------------------------------------------------
OLT(config)#
11.2ARP Table
11.2.1View Arp-Table
【Command】
【Example】
- 156 -
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
OLT(config)#
11.2.2Clear Arp-Table
【Command】
【Example】
OLT(config)#
- 157 -
12 Link Aggregation
Link aggregation is the binding of multiple connected ports of the same type into one logical port,
which can increase the bandwidth of the connected ports without upgrading the hardware, and
effectively improve the reliability between links through the link backup mechanism.
OLT(config)# link-aggregation group < Group ID > member add { ge | xge < Port List > }
OLT(config)#
【Note】:
One port cannot join multiple aggregation groups at the same time
Spanning tree protocol: the port joining the aggregation group will be treated as a logical port for
protocol operation
Uplink loop detection: when the port joins the aggregation group, the port loop detection does not
take effect
Port attributes: the port attributes of members joining the aggregation group must be consistent:
speed, port type, MTU, port rate limit and storm control;When the aggregation group member port
property is configured, the members of the group are bound together for configuration
VLAN attribute: the port VLAN configuration of members joining the aggregation group must be
consistent: PVID and port VLAN;When the aggregation group member VLAN is configured, the
members of the group are bound together for configuration
Port mirroring destination port cannot join the aggregation group as a member of the aggregation
group, and the port joining the aggregation group cannot become the mirroring destination port
A port configured with a static MAC address cannot join an aggregation group as a member
Ports configured with ACL rules cannot join an aggregation group as a member
The multicast VLAN routing port configured cannot be added to the aggregation group as a
member of the aggregation group
- 158 -
12.2Display Link Aggregation
After successful creation, the member ports to join the link aggregation group can be viewed.
【Command】
【Example】
-----------------------------------------------------------------------------
-----------------------------------------------------------------------------
OLT(config)#
【Command】
OLT(config)# link-aggregation group < Group ID > load-balance { dest-ip | dest-mac | src-dest-ip | src-
dest-mac | src-ip | src-mac }
OLT(config)#
- 159 -
OLT(config)# link-aggregation group < Group ID > member delete { ge | xge < Port List > }
OLT(config)#
【Note】: When link aggregation needs to be removed, all members of the link aggregation group are
deleted, and the aggregation group is removed.
- 160 -
13 Abbreviation Terminology
GE Gigabit Ethernet
- 161 -
缩写术语
NE Network Element
- 162 -
Abbreviation English Explanation
- 163 -
缩写术语
TC Transmission Convergence
- 164 -