Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

EPON Optical Fiber Access Office Equipment 4 & 8 PON Port Serial

Download as pdf or txt
Download as pdf or txt
You are on page 1of 168

EPON Optical Fiber Access Office Equipment

4 & 8 PON Port Serial Command Line Manual

Version: 3.0.2
Revision History

Version Date Editor Description

V1.0 2017.07.07 First Version

Add functions:route,loid,link
V2.2.0 2019.07.18 aggregation,ACL/QOS,loop detect

V2.3.0 2019.10.30 Add function:DHCP

V3.0.0 2020.11.24 Edit document format, refresh some commands

Add ipv6, system access some functions


V3.0.2 2021.1.3
Contents
1 Command Format Description............................................................................................................... - 9 -

2 Local and Remote Management Configuration..................................................................................- 11 -

2.1 Console Port Management................................................................................................................ - 11 -

2.1.1 Basic Information.......................................................................................................................- 11 -

2.1.2 Software Operation Method...................................................................................................... - 11 -

2.2 NMS Outband Port Management......................................................................................................- 14 -

2.2.1 Login Method.............................................................................................................................- 14 -

2.2.2 Outband Management Port Configuration................................................................................ - 15 -

2.3 Inband Management Interface.......................................................................................................... - 17 -

2.3.1 Login Method.............................................................................................................................- 17 -

2.3.2 Inband Management Port Configuration................................................................................... - 20 -

3 System Management.............................................................................................................................. - 23 -

3.1 Configure Device Name....................................................................................................................- 23 -

3.1.1 Configure Device Name............................................................................................................ - 23 -

3.2 View System Version Information................................................................................................... - 23 -

3.3 View CPU Utilization....................................................................................................................... - 24 -

3.4 View Memory Utilization................................................................................................................. - 24 -

3.5 View History Command................................................................................................................... - 24 -

3.6 Configuration Management.............................................................................................................. - 25 -

3.6.1 Save System Configuration....................................................................................................... - 25 -

3.6.2 View System Configuration...................................................................................................... - 25 -

3.6.3 Restore Device to Default Settings............................................................................................- 26 -

3.6.4 Configuration File Management................................................................................................- 27 -

3.7 System Upgrade................................................................................................................................ - 27 -

3.7.1 FTP Server Upgrade.................................................................................................................. - 27 -

3.7.2 TFTP Server Upgrade................................................................................................................- 27 -

3.8 System Ping Diagnosis......................................................................................................................- 29 -

3.9 Time Management............................................................................................................................ - 30 -


3.9.1 Timezone Setting....................................................................................................................... - 30 -

3.9.2 Time Setting...............................................................................................................................- 32 -

3.9.3 NTP Setting................................................................................................................................- 32 -

3.10 User Management........................................................................................................................... - 34 -

3.10.1 View User Information............................................................................................................ - 34 -

3.10.2 Add User.................................................................................................................................. - 34 -

3.10.3 Delete User...............................................................................................................................- 35 -

3.10.4 Restore User to Default Setting............................................................................................... - 35 -

3.10.5 Kick-out User...........................................................................................................................- 35 -

3.10.6 Modify Current User Password............................................................................................... - 36 -

3.10.7 Save User Information............................................................................................................. - 36 -

3.11 System Service................................................................................................................................ - 36 -

3.11.1 View System Service Port....................................................................................................... - 36 -

3.11.2 WEB Port Setting.....................................................................................................................- 37 -

3.11.3 Telnet Port Setting................................................................................................................... - 38 -

3.11.4 SSH Service Switch................................................................................................................. - 38 -

3.11.5 SNMP Setting.......................................................................................................................... - 38 -

3.12 Default Route Setting......................................................................................................................- 40 -

3.12.1 IPV4 Default Route Setting..................................................................................................... - 40 -

3.12.2 IPV6 Default Route Setting..................................................................................................... - 41 -

3.12.3 View Default Route................................................................................................................. - 42 -

3.13 DNS Setting.....................................................................................................................................- 42 -

3.13.1 IPV4 DNS Setting....................................................................................................................- 42 -

3.13.2 IPV6 DNS Setting....................................................................................................................- 42 -

3.13.3 View DNS................................................................................................................................ - 43 -

3.14 System Access Control................................................................................................................... - 44 -

3.14.1 Create System Access Control Rule........................................................................................- 44 -

3.14.2 View System Access Control Rule..........................................................................................- 44 -

3.14.3 Delete System Access Control Rule........................................................................................- 44 -


4 VLAN Management............................................................................................................................... - 46 -

4.1 Global VLAN Setting....................................................................................................................... - 46 -

4.1.1 Create VLAN............................................................................................................................. - 46 -

4.1.2 Delete VLAN............................................................................................................................. - 46 -

4.1.3 View VLAN...............................................................................................................................- 47 -

4.1.4 Add Member Port to VLAN...................................................................................................... - 49 -

4.1.5 Delete Member Port from VLAN..............................................................................................- 49 -

4.1.6 Configure VLAN As Port Default VLAN.................................................................................- 49 -

4.2 Port VLAN Configuration................................................................................................................ - 50 -

4.2.1 Configure Port VLAN Mode..................................................................................................... - 50 -

4.2.2 Configure Port VLAN............................................................................................................... - 50 -

4.2.3 Configure Port Default VLAN.................................................................................................. - 51 -

4.3 VLAN QinQ Configuration.............................................................................................................. - 51 -

4.3.1 Configure Port VLAN QinQ..................................................................................................... - 51 -

4.3.2 Delete VLAN QinQ Entry......................................................................................................... - 52 -

4.3.3 View VLAN QinQ.....................................................................................................................- 52 -

4.4 VLAN Translation Configuration.....................................................................................................- 52 -

4.4.1 Configure Port VLAN Translation............................................................................................ - 53 -

4.4.2 Delete VLAN Translation..........................................................................................................- 53 -

4.4.3 Show VLAN Translation........................................................................................................... - 53 -

5 Port Management................................................................................................................................... - 55 -

5.1 Port State Management..................................................................................................................... - 55 -

5.1.1 Switch Port State........................................................................................................................- 55 -

5.1.2 View Port State.......................................................................................................................... - 55 -

5.2 Port Description Information Configuration.....................................................................................- 56 -

5.3 Port Working Mode Configuration...................................................................................................- 56 -

5.4 Port Speed Configuration..................................................................................................................- 57 -

5.5 Port MTU Configuration...................................................................................................................- 57 -

5.6 Broadcast/Multicast/Unicast Storm Control Configuration............................................................. - 57 -


5.7 Switch Flow-control Function.......................................................................................................... - 58 -

5.8 Port Rate-limit Setting Configuration...............................................................................................- 58 -

5.8.1 Configure Port Rate-limit.......................................................................................................... - 58 -

5.8.2 Delete Port Rate-limit................................................................................................................ - 58 -

5.9 Port Traffic Statistics.........................................................................................................................- 58 -

5.9.1 View Port Traffic Statistics....................................................................................................... - 58 -

5.9.2 Clear Port Traffic Statistics........................................................................................................- 60 -

5.10 Port Mirror Configuration...............................................................................................................- 60 -

5.10.1 Configure Port Mirror..............................................................................................................- 60 -

5.10.2 Delete Port Mirror....................................................................................................................- 61 -

5.11 Loop Detection................................................................................................................................- 61 -

5.11.1 PON Loop Detection Description............................................................................................- 61 -

5.11.2 PON Loop Detect Configuration............................................................................................. - 62 -

5.11.3 Uplink Loop Detection Description........................................................................................ - 64 -

5.11.4 Uplink Loop Detect Configuration..........................................................................................- 64 -

5.12 Port Group....................................................................................................................................... - 66 -

5.12.1 Port Group Isolate Mode..........................................................................................................- 66 -

5.12.2 Port Group Inter-working Mode..............................................................................................- 68 -

6 PON Management.................................................................................................................................. - 71 -

6.1 ONU Authentication Type and Mode...............................................................................................- 71 -

6.1.1 View ONU Authentication Type and Mode..............................................................................- 71 -

6.1.2 Configure ONU Authentication Type....................................................................................... - 71 -

6.1.3 Configure ONU Authentication Mode...................................................................................... - 72 -

6.1.4 Configure ONU Blacklist.......................................................................................................... - 72 -

6.1.5 ONU MAC Authentication Configuration................................................................................ - 73 -

6.1.6 ONU LOID Authentication Configuration................................................................................- 74 -

6.1.7 View ONU List.......................................................................................................................... - 78 -

6.2 Switch PON Port Optical.................................................................................................................. - 80 -

6.3 DBA Bandwidth Allocation..............................................................................................................- 81 -


6.4 View ONU Version Information...................................................................................................... - 82 -

6.5 View ONU Optical Information....................................................................................................... - 82 -

6.6 View ONU RSSI Optical Information..............................................................................................- 83 -

6.7 View PON Port Optical Module Information...................................................................................- 83 -

6.8 ONU Upgrade................................................................................................................................... - 85 -

6.8.1 ONU Upgrade Type...................................................................................................................- 85 -

6.8.2 ONU Upgrade File.....................................................................................................................- 86 -

6.8.3 Specify ONU upgrade type........................................................................................................- 87 -

6.8.4 Upgrade ONU............................................................................................................................ - 88 -

6.9 ONU Loop Processing...................................................................................................................... - 88 -

7 ONU Management..................................................................................................................................- 91 -

7.1 ONU Re-register............................................................................................................................... - 91 -

7.2 ONU Description Information Setting..............................................................................................- 91 -

7.3 ONU Name Setting........................................................................................................................... - 91 -

7.4 Switch ONU FEC Function.............................................................................................................. - 92 -

7.5 ONU Port Configuration...................................................................................................................- 92 -

7.5.1 Switch Port State........................................................................................................................- 92 -

7.5.2 Port Rate-limit Configuration.................................................................................................... - 93 -

7.5.3 Switch Port Loop Detection.......................................................................................................- 94 -

7.5.4 Switch Port Auto-negotiation.................................................................................................... - 94 -

7.5.5 Switch Port Flow Control.......................................................................................................... - 94 -

7.5.6 ONU Port VLAN Transparent Mode........................................................................................ - 94 -

7.5.7 ONU Port VLAN Tag Mode..................................................................................................... - 95 -

7.5.8 ONU Port VLAN Translation Mode......................................................................................... - 96 -

7.5.9 ONU Port VLAN Trunk Mode..................................................................................................- 98 -

8 MAC Address Management................................................................................................................- 100 -

8.1 MAC Address Table....................................................................................................................... - 100 -

8.1.1 MAC Address Table Aging Time........................................................................................... - 100 -

8.1.2 View MAC Address Table...................................................................................................... - 100 -


8.1.3 Add MAC Address.................................................................................................................. - 103 -

8.1.4 Flush MAC Address Table...................................................................................................... - 104 -

8.2 PON Side MAC Address Table...................................................................................................... - 105 -

8.2.1 PON Side MAC Address Table Aging Time.......................................................................... - 105 -

8.2.2 View PON Side MAC Address Table..................................................................................... - 106 -

8.2.3 Flush PON Side MAC Address Table.....................................................................................- 107 -

9 Protocol Management.......................................................................................................................... - 108 -

9.1 Spanning Tree Protocol...................................................................................................................- 108 -

9.1.1 RSTP Global Configuration.................................................................................................... - 108 -

9.1.2 RSTP Interface Configuration................................................................................................. - 109 -

9.2 Multiple-Spanning-Tree..................................................................................................................- 111 -

9.2.1 Switch MSTP Function............................................................................................................- 111 -

9.2.2 MSTP Region...........................................................................................................................- 111 -

9.2.3 CIST......................................................................................................................................... - 112 -

9.2.4 MSTI........................................................................................................................................ - 113 -

9.2.5 MSTP Interface Configuration................................................................................................ - 114 -

9.3 IGMP............................................................................................................................................... - 117 -

9.3.1 Network Demand..................................................................................................................... - 117 -

9.3.2 IGMP Global Configuration.................................................................................................... - 117 -

9.3.3 Multicast VLAN Setting..........................................................................................................- 122 -

9.3.4 IGMP Entry Configuration...................................................................................................... - 124 -

9.3.5 ONU Multicast Configuration................................................................................................. - 125 -

9.4 DHCP.............................................................................................................................................. - 130 -

9.4.1 DHCP Global Configuration................................................................................................... - 130 -

9.4.2 DHCP Snooping.......................................................................................................................- 131 -

9.4.3 DHCP Relay.............................................................................................................................- 133 -

9.4.4 DHCP Option82.......................................................................................................................- 135 -

9.4.5 DHCP Server........................................................................................................................... - 136 -

9.4.6 DHCPv6................................................................................................................................... - 138 -


10 ACL/QOS............................................................................................................................................ - 141 -

10.1 Time Range................................................................................................................................... - 141 -

10.1.1 Relative Time.........................................................................................................................- 141 -

10.1.2 Absolute Time........................................................................................................................- 142 -

10.2 ACL Management.........................................................................................................................- 143 -

10.2.1 Basic ACL(2000-2999)..........................................................................................................- 143 -

10.2.2 Advanced ACL(3000-4999).................................................................................................. - 145 -

10.2.3 Link ACL(5000-5999)...........................................................................................................- 147 -

10.2.4 View ACL.............................................................................................................................. - 149 -

10.2.5 Delete ACL............................................................................................................................ - 150 -

10.3 Packet Filter...................................................................................................................................- 150 -

10.3.1 Configure Packet Filter..........................................................................................................- 150 -

10.3.2 Delete Packet Filter................................................................................................................- 151 -

10.3.3 View Packet Filter................................................................................................................. - 151 -

10.4 QOS............................................................................................................................................... - 151 -

10.4.1 Configure Cos Priority Mapping Queue Relationship.......................................................... - 152 -

10.4.2 Configure WRR Queue Scheduler Mode.............................................................................. - 152 -

10.4.3 View queue-scheduler............................................................................................................- 152 -

11 Route Configuration...........................................................................................................................- 155 -

11.1 Route Management....................................................................................................................... - 155 -

11.1.1 Switch Route Status Function................................................................................................- 155 -

11.1.2 Add Static Route Entry.......................................................................................................... - 155 -

11.1.3 Delete Static Route Entry...................................................................................................... - 155 -

11.1.4 Display Route Static.............................................................................................................. - 156 -

11.2 ARP Table..................................................................................................................................... - 156 -

11.2.1 View Arp-Table..................................................................................................................... - 156 -

11.2.2 Clear Arp-Table..................................................................................................................... - 157 -

12 Link Aggregation................................................................................................................................- 158 -

12.1 Create Link Aggregation...............................................................................................................- 158 -


12.2 Display Link Aggregation.............................................................................................................- 159 -

12.3 Configure Link Aggregation Group Balance Algorithm..............................................................- 159 -

12.4 Delete Link Aggregation...............................................................................................................- 159 -

13 Abbreviation Terminology................................................................................................................ - 161 -


1 Command Format Description
 CLI is composed of a single "command name" or "command name + command
parameter". The command name must be unique. The command parameter can have one
or more according to different command, and the number is unlimited. The extra parameters
are invalid and an error is reported . One or more spaces must be used to separate the
command name and the command parameters, and between multiple command parameters.

 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

ifconfig igmp interface ip ipv6

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

 Common command line view

OLT> enable // Enter privileged view

OLT# configure // Enter global configure view

OLT(config)# interface epon ponid // Enter EPON view

OLT(config-epon-ponid)# exit // Return to the previous view

OLT(config)# interface ge portid // Enter GE port view

-9-
OLT(config-ge-portid)# exit

OLT(config)# interface xge portid // Enter XGE port view

OLT(config-xge-portid)# exit

OLT(config)# interface onu ponid/onuid // Enter ONU manage view

OLT(config-onu-ponid/onuid)# exit

OLT(config)# interface manage // Enter system manage view

OLT(config-manage)# exit

OLT(config)# interface vlanif vlanid // Enter VLANIF port view

OLT(config-vlanif-vlanid)# exit

OLT(config)# multicast-vlan vlanid // Enter multicast VLAN view

OLT(multicast-vlan-vlanid)# exit

OLT(config)# logout // Sign out

Vty connection will close. You logout. Bye bye

 Common commands

Functions Commands

Check Device Version OLT(config)# show version

Check Device Running Configuration OLT(config)# show running-config

Save Configuration OLT(config)# save

Reboot Device OLT(config)# reboot

Check All ONU Information OLT(config)# show onu-info all

Check All Mac-address OLT(config)# show mac-address all

Create VLAN OLT(config)# vlan standard { <1-4094> | VLAN-LIST }

- 10 -
2 Local and Remote Management Configuration
This device provides a command line mode (CLI) local and remote management of equipment.

EPON OLT provides 3 types of management interface

 Console port
 NMS out-band management port
 In-band management port

2.1 Console Port Management

2.1.1 Basic Information


The console port connect directly to customized serial line (pictured) and operating the user
command line of OLT device.

【The serial line is provided by our company】

【Note】The default serial port baud rate is 9600bps.

2.1.2 Software Operation Method


Open a serial port tool, such as xshell

New-built a serial port link, and open it. Here are the steps:

【Note】User name: root Password: admin

- 11 -
- 12 -
- 13 -
2.2 NMS Outband Port Management

2.2.1 Login Method


1. OLT outband management IP address is defaulted as 192.168.100.1. For the first login, the
user can use RJ-45 cables to connect the NMS interface of the device, and the other end to the
network port of the computer. Then modify the PC IP address to 192.168.100.X (X: 2-254) to
ensure that the PC is connected to a network with a route to the OLT network management IP.

Configuration management network diagram(Here is an example of setting the PC IP to


192.168.100.100):

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

2.2.2 Outband Management Port Configuration

2.2.2.1 Switch Outband Management Port

【Command】

OLT(config-manage)# ifconfig { down | up }

【Example】Turn on outband port

- 15 -
OLT(config-manage)# ifconfig up

OLT(config-manage)#

2.2.2.2 Check Outband Management Port Information

【Command】

OLT(config-manage)# ifconfig

【Example】Check outband management ip address

OLT(config-manage)# ifconfig

Telnet Status:Enable

Description : For Outbound management

Interface Status : UP

The Maximum Transmit Unit is 1500 bytes

Internet Address is 192.168.103.1, netmask 255.255.255.0

IPv6 Address is 2000::1/64

Hardware address is E8:9F:EC:9E:00:00

Recive 209359 packets, 16038012 bytes

Transmit 832 packets, 301474 bytes

OLT(config)#

2.2.2.3 Configure Outband Management Port IPv4 Address

【Command】

OLT(config-manage)# ifconfig < IP Address > { < IP Prefix > | [ netmask < Mask > ] }

【Example】Configure outband management port ipv4 address as 192.168.103.1/24

OLT(config-manage)# ifconfig 192.168.103.1/24

OLT(config-manage)#

- 16 -
2.2.2.4 Configure Outband Management Port IPv6 Address

【Command 】

OLT(config-manage)# ifconfig ipv6 < X:X::X:X/M >

【Example】Configure outband management ipv6 address as 1000::1/64

OLT(config-manage)# ifconfig ipv6 1000::1/64

OLT(config-manage)#

2.2.2.5 Delete Outband Management Port IPv6 address

【Command】

OLT(config-manage)# no ipv6-address < X:X::X:X/M >

【Example】Delete outband management ipv6 address

OLT(config-manage)# no ipv6-address 1000::1/64

OLT(config-manage)#

2.2.2.6 Switch Outband Management Port Telnet Function

【Command 】

OLT(config-manage)# telnet { enable | disable }

【Example】Turn off outband management port telnet function

OLT(config-manage)# telnet disable

OLT(config-manage)#

2.3 Inband Management Interface

2.3.1 Login Method


1. OLT Inband management IP address is defaulted as 192.168.99.1. For the first login, the user
can use RJ-45 cables to connect the any uplink GE interface of the device, and the other end to

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

Configuration management network diagram(Here is an example of setting the PC IP to


192.168.99.100):

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.

The relevant configuration routine:

OLT(config)# vlan standard 100

OLT(config-vlan-100)# interface vlanif 100

OLT(config-vlanif-100)# ifconfig 192.168.10.1 netmask 255.255.255.0

OLT(config-vlanif-100)# ifconfig

Description : For Inbound management

The Maximum Transmit Unit is 1500 bytes

Internet Address is 192.168.10.1, netmask 255.255.255.0

Hardware address is 38:3A:21:20:32:F2

Recive 0 packets, 0 bytes

Transmit 0 packets, 0 bytes

OLT(config-vlanif-100)# exit

OLT(config)# interface ge 1

- 19 -
OLT(config-ge-1)# vlan mode access

OLT(config-ge-1)# vlan access 100

OLT(config)# ping 192.168.10.175

PING 192.168.10.175 (192.168.10.175): 56 data bytes

64 bytes from 192.168.10.175: seq=0 ttl=64 time=1.509 ms

64 bytes from 192.168.10.175: seq=1 ttl=64 time=0.705 ms

64 bytes from 192.168.10.175: seq=2 ttl=64 time=0.648 ms

64 bytes from 192.168.10.175: seq=3 ttl=64 time=0.982 ms

--- 192.168.10.175 ping statistics ---

4 packets transmitted, 4 packets received, 0% packet loss

round-trip min/avg/max = 0.648/0.961/1.509 ms

OLT(config)#

2.3.2 Inband Management Port Configuration

2.3.2.1 Check Inband Management Port Information

【Command】

OLT(config-vlanif-vlanid)# ifconfig

【Example】Check vlanif1 inband port ip address

OLT(config-vlanif-1)# ifconfig

Telnet Status:Disable

Description : For Inbound management

For Inbound Vlan ID is 1

The Maximum Transmit Unit is 1500 bytes

Internet Address is 192.168.99.1, netmask 255.255.255.0

Hardware address is E8:9F:EC:9E:00:01

- 20 -
Recive 8 packets, 848 bytes

Transmit 9 packets, 766 bytes

OLT(config-vlanif-1)#

2.3.2.2 Modify Inband Management Port IPv4 Address

【Command】

OLT(config-vlanif-vlanid)# ifconfig < IP Address > { < IP Prefix > | [netmask < Mask >]}

【Example】Modify inband management port vlanif1 ipv4 address as 192.168.105.1/24

OLT(config-vlanif-1)# ifconfig 192.168.105.1/24

OLT(config-vlanif-1)#

2.3.2.3 Configure Inband Management Port IPv6 Address

【Command】

OLT(config-vlanif-vlanid)# ifconfig ipv6 < X:X::X:X/M >

【Example】Configure inband management port vlanif1 ipv6 address as 3000::1/64

OLT(config-vlanif-1)# ifconfig ipv6 3000::1/64

OLT(config-vlanif-1)#

2.3.2.4 Delete Inband Management Port IPv6 address

【Command】

OLT(config-vlanif-vlanid)# no ipv6-address < X:X::X:X/M >

【Example】Delete inband management port vlanif1 ipv6 address

OLT(config-vlanif-1)# no ipv6-address 3000::1/64

OLT(config-vlanif-1)#

- 21 -
2.3.2.5 Delete Inband Management Port Vlanif1

【Command】

OLT(config)# no interface vlanif < 1-4094 >

【Example】Delete inband management port vlanif1

OLT(config)# no interface vlanif 1

OLT(config)#

- 22 -
3 System Management
Management Configuration contains the system name, save configuration, system configuration
etc.

3.1 Configure Device Name

3.1.1 Configure Device Name

【Command】

OLT(config)# hostname < WORD >

OLT(config)# no hostname

【Parameter Description】

< WORD > : Character format, no enter space

【Example】Configure device name as NEUTRAL-E08

OLT(config)# hostname NEUTRAL-E08

NEUTRAL-E08(config)#

3.2 View System Version Information


【Command】

OLT(config)# show version

【Example】Check device current version

OLT(config)# show version

Copyright 2016-2020 by Neutral.

Software Version : Neutral_I_V3.0.11_Rel

System Version : Neutral_I_V1.4.1_Rel

Hardware Version : Neutral-hw-version-v2.0

Base Mac Address : e8:9f:ec:9e:00:00

Build time : 2020/12/23 03:44:10

- 23 -
SerialNumber : H4EB202006150002

Product : Neutral

License available days : Forever

OLT(config)#

3.3 View CPU Utilization


【Command】

OLT(config)# show cpu-usage

【Example】Check device CPU utilization

OLT(config)# show cpu-usage

Get the CPU usage is 11.842105%

OLT(config)#

3.4 View Memory Utilization


【Command】

OLT(config)# show memory statistics

【Example】Check device memory utilization

OLT(config)# show memory statistics

Storage Type Storage Size Storage Used Storage Rate

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

Memory 499688 kB 139856 kB 27.988666%

OLT(config)#

3.5 View History Command

- 24 -
【Command】

OLT(config)# show history

【Example】Show history command

OLT(config)# show history

enable

configure

OLT(config)#

3.6 Configuration Management

3.6.1 Save System Configuration

【Command】

OLT(config)# save

【Example】Save system configuration

OLT(config)# save

configuration saved successfully

OLT(config)#

3.6.2 View System Configuration

【Command】

OLT(config)# show running-config

OLT(config)# show save-config

【Example】View system current running configurations

OLT(config)# show running-config

Current configuration:

- 25 -
vlan standard 1

exit

!!Acl configuration

interface manage

ifconfig 192.168.103.1 netmask 255.255.255.0

exit

interface epon 1

bind-onu 1 mac 38:3a:21:28:8d:ad onu-type 1ge

onu confirm onu-id 1

sla-up 1 type5 fix 1 assure 10000 max 1000000

exit

end

OLT(config)#

3.6.3 Restore Device to Default Settings

【Command】

OLT(config)# erase config-file

OLT(config)# reboot

【Example】Restore device to default settings

OLT(config)# erase config-file

OLT(config)# reboot

System will reboot after 1 miniutes

- 26 -
OLT(config)#

3.6.4 Configuration File Management


Input ftp server ip(may be your pc ip), you can export the olt.config to ftp server shared dir or
import olt.config from ftp server shared dir to the olt.

3.6.4.1 Export Configuration file

【Command】

OLT(config-manage)# config push < FTP Server IP / Mask >

【Example】Backup system configurations

OLT(config-manage)# config push 192.168.100.123/24

OLT(config-manage)#

3.6.4.2 Import Configuration file

【Command】

OLT(config-manage)# config pull < FTP Server IP / Mask >

【Example】 Load system configuration

OLT(config-manage)# config pull 192.168.100.123/24

OLT(config-manage)#

3.7 System Upgrade

3.7.1 FTP Server Upgrade

【Command】

OLT(config-manage)# update system ftp < FTP Server IP > < FTP User Name > < FTP User
Password> { < System File Name > / < Firmware File Name > }

3.7.2 TFTP Server Upgrade

【Command】

- 27 -
OLT(config-manage)# update system tftp < TFTP Server IP > { < System File Name > / <
Firmware File Name >}

【Example】 Upgrade Device by tftp server 192.168.103.123

OLT(config-manage)# update system tftp 192.168.103.123 system.img

[2020/10/23 17:05:02] [update image]Info: Start Download file

[2020/10/23 17:05:02] [update image]Info: Update : 7% [firmware]

[2020/10/23 17:05:06] [update image]Warning: Download file success

[2020/10/23 17:05:06] [update image]Info: Update : 23%

[2020/10/23 17:05:06] [update image]Info: Start upgrade file

[2020/10/23 17:05:06] [update image]Info: File verify start

[2020/10/23 17:05:07] [update image]Info: File verify success

[2020/10/23 17:05:07] [update image]Info: Update : 58%

[2020/10/23 17:05:43] [update image]Info: Update : 81%

[2020/10/23 17:05:43] [update image]Info: File write start

[2020/10/23 17:06:05] [update image]Warning: Upgrade file success

[2020/10/23 17:06:05] [update image]Info: Update : 100%

OLT(config-manage)#

OLT(config-manage)# update firmware tftp 192.168.103.123 firmware.img

[2020/10/23 17:08:27] [update image]Info: Start Download file

[2020/10/23 17:08:27] [update image]Info: Update : 3% [firmware]

[2020/10/23 17:08:32] [update image]Warning: Download file success

[2020/10/23 17:08:32] [update image]Info: Update : 26%

[2020/10/23 17:08:32] [update image]Info: Start upgrade file

[2020/10/23 17:08:32] [update image]Info: File verify start

[2020/10/23 17:08:39] [update image]Info: File verify success

- 28 -
[2020/10/23 17:08:39] [update image]Info: Update : 58%

[2020/10/23 17:09:24] [update image]Info: Update : 89%

[2020/10/23 17:09:24] [update image]Info: File write start

[2020/10/23 17:09:51] [update image]Warning: Upgrade file success

[2020/10/23 17:09:51] [update image]Info: Update : 100%

3.8 System Ping Diagnosis


【Command】

OLT(config)# ping < Destination Host IP Address >

【Example 1】Test OLT whether can ping though host IPv4 192.168.103.123

OLT(config)# ping 192.168.103.123

PING 192.168.103.123 (192.168.103.123): 56 data bytes

64 bytes from 192.168.103.123: seq=0 ttl=128 time=2.083 ms

64 bytes from 192.168.103.123: seq=1 ttl=128 time=1.762 ms

64 bytes from 192.168.103.123: seq=2 ttl=128 time=1.840 ms

64 bytes from 192.168.103.123: seq=3 ttl=128 time=1.749 ms

64 bytes from 192.168.103.123: seq=4 ttl=128 time=1.913 ms

--- 192.168.103.123 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 1.749/1.869/2.083 ms

OLT(config)#

【Example 2】Test OLT whether can ping though host IPv6 2021::5

OLT(config)# ping 2021::5

PING 2021::5 (2021::5): 56 data bytes

64 bytes from 2021::5: seq=0 ttl=64 time=1.220 ms

- 29 -
64 bytes from 2021::5: seq=1 ttl=64 time=0.684 ms

64 bytes from 2021::5: seq=2 ttl=64 time=0.632 ms

64 bytes from 2021::5: seq=3 ttl=64 time=0.698 ms

64 bytes from 2021::5: seq=4 ttl=64 time=0.775 ms

--- 2021::5 ping statistics ---

5 packets transmitted, 5 packets received, 0% packet loss

round-trip min/avg/max = 0.632/0.801/1.220 ms

OLT(config)#

3.9 Time Management

3.9.1 Timezone Setting

3.9.1.1 View City Corresponding to Timezone

【Command】

OLT(config)# timezone { utc+ | utc- } < Time >

【Example】View city corresponding to Timezone utc+ 11:00

OLT(config)# timezone utc+ 11:00

Find similar item ,list below:

--Using the location string to config--

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)

3.9.1.2 Configure Timezone

【Command】

OLT(config)# timezone < Region >

【Example】Choose city to configure time zone

OLT(config)# timezone "Asia/Chongqing"

OLT(config)#

3.9.1.3 Switch Inband Management Port Telnet Function

【Command】

OLT(config-vlanif-vlanid)# telnet { enable | disable }

【Example】Turn on inband management port vlanif1 telnet function

OLT(config-vlanif-1)# telnet enable

OLT(config-vlanif-1)#

3.9.1.4 View Timezone

【Command】

OLT(config)# show timezone

【Example】View timezone

OLT(config)# show timezone

The current time zone: Asia/Chongqing(+08:00)

- 31 -
OLT(config)#

3.9.2 Time Setting

3.9.2.1 Configure System Time

【Command】

OLT(config)# time < Time >

【Example】Configure system time as 2018/06/05-15:51:00

OLT(config)# time 2018/06/05-15:51:00

OLT(config)#

3.9.2.2 View System Time

【Command】

OLT(config)# time

【Example】View system current time

OLT(config)# time

System current time: 2018-06-05 15:51:01+08:00

System running time : 0 day 0 hour 13 minute 28 second

System boot time : Tue Jun 5 15:37:33 2018

OLT(config)#

3.9.3 NTP Setting

3.9.3.1 Configure NTP Server IP

【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)# ntp enable ntp-server-ip 120.25.115.20

OLT(config)#

3.9.3.2 Turn off NTP Function

【Command】

OLT(config)# ntp disable

3.9.3.3 Configure NTP Polling Interval

【Command】

OLT(config)# ntp poll-interval-time < Interval Value >

【Example】Configure NTP polling interval as 240S

OLT(config)# ntp poll-interval-time 240

OLT(config)#

3.9.3.4 View NTP Configuration

【Command】

OLT(config)# show ntp-status

【Example】View NTP configuration information

OLT(config)# show ntp-status

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

ntp status ntp server-ip ntp server-ip-bak poll interval-time

enable 120.25.115.20 203.107.6.88 240 s

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

OLT(config)#

- 33 -
3.10User Management

3.10.1View User Information

【Command】

OLT(config)# show user

【Note】There is no limit to how many times a user can login again.

【Example】Show user information

OLT(config)# show user

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

Name Level Status Reenter Logins Append Info

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

root Admin online 4 1

test Common offline 3 0 test

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

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

【Example】Create user test, password test123

OLT(config)# user add test test123 admin reenter 4

OLT(config)# show user

- 34 -
--------------------------------------------------------------------------------

Name Level Status Reenter Append Info

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

root Super online 1 Super User

test Admin offline 4

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

OLT(config)#

3.10.3Delete User

【Command】

OLT(config)# user delete < User Name >

【Note】root user can’t be deleted

【Example】Delete test user

OLT(config)# user delete test

Info: Delete user test success!

OLT(config)#

3.10.4Restore User to Default Setting

【Command】

OLT(config)# user default

【Example】Restore user to initial state

OLT(config)# user default

OLT(config)#

3.10.5Kick-out User
- 35 -
【Command】

OLT(config)# user offline < User Name >

【Example】Kick-off user test

OLT(config)# user offline test

The user test have been offline

Info: Force user test offline success!

OLT(config)#

3.10.6Modify Current User Password

【Command】

OLT(config)# user password < User Name > < Old Password > < New Password >

【Example】Modify current user root password

OLT(config)# user password root admin admin123


Info: User root change password success!

OLT(config)#

3.10.7Save User Information

【Command】

OLT(config)# user save

【Example】Save user information

OLT(config)# user save

OLT(config)#

3.11System Service

3.11.1View System Service Port


- 36 -
【Command】

OLT(config)# show service-user port

【Example】View service port number

OLT(config)# show service-user port

Telnet port : 23

HTTP port : 80

HTTPS port : 443

SNMPD agent port : 161

SNMPD trap port : 162

OLT(config)#

3.11.2WEB Port Setting

3.11.2.1 View Web Port

【Command】

OLT(config)# web-port

【Example】 View Web Port

OLT(config)# web-port

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

HTTP Port : 80

HTTPS Port : 443

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

OLT(config)#

3.11.2.2 Modify Web Port

【Command】

OLT(config)# web-port http < 80-50000 >

OLT(config)# web-port https < 443-50000 >

- 37 -
【Example】Modify http port as 500

OLT(config)# web-port http 500

OLT(config)#

3.11.3Telnet Port Setting

3.11.3.1 Modify Telnet Port

【Command】

OLT(config)# telnet port-modify < port id >

【Example】Modify http port as 500

OLT(config)# web-port http 500

OLT(config)#

3.11.3.2 Restore Default Telnet port

【Command 】

OLT(config)# telnet port-modify default

3.11.4SSH Service Switch


By default, the ssh service will start up.

【Command】

OLT(config)# ssh-server {start | stop}

【Example】Turn off SSH service

OLT(config)# ssh-server stop

OLT(config)#

3.11.5SNMP Setting

- 38 -
3.11.5.1 View SNMP Configuration Information

【Command】

OLT(config)# show snmp-config

【Example】View snmp configurations

OLT(config)# show snmp-config

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

Snmpd trap configuration:

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

IP address: 192.168.100.100

Trap port: 162

Trap community: public

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

Snmpd community configuration:

Read community: public

Write community: private

Agent port: 161

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

OLT(config)#

3.11.5.2 Configure SNMP Read and Write Community

【Command】

OLT(config)# snmp community-cfg read < Read Community Name >

OLT(config)# snmp community-cfg write < Write Community Name >

【Example】Configure snmp read public and write community

OLT(config)# snmp community-cfg read public

- 39 -
OLT(config)# snmp community-cfg write private

OLT(config)#

3.11.5.3 View SNMP Read and Write Community

【Command】

OLT(config)# show snmp community-cfg

【Example】view snmp read and write community

OLT(config)# show snmp community-cfg

Snmpd community configuration:

Read community: public

Write community: private

OLT(config)#

3.11.5.4 Configure SNMP Trap Server IP Address

【Command】

OLT(config)# snmp trap-cfg serverip < IP Address > < Community Name >

【Note】The serverip must be an inbound or outbound address that exists

【Example】Configure trap server ip as 192.168.100.123

OLT(config)# snmp trap-cfg serverip 192.168.100.123 public

OLT(config)#

3.12Default Route Setting

3.12.1IPV4 Default Route Setting

3.12.1.1 Configure IPV4 Default Route

【Command】

- 40 -
OLT(config)# route default gw < IPv4 Address >

【Example】Configure ipv4 default route as 192.168.100.1

OLT(config)# route default gw 192.168.100.1

OLT(config)#

3.12.1.2 Delete IPV4 Default Route

【Command】

OLT(config)# no route default

【Example】

OLT(config)# no route default

OLT(config)#

3.12.2IPV6 Default Route Setting

3.12.2.1 Configure IPV6 Default Route

【Command】

OLT(config)# ipv6 route default gw < IPv6 Address >

【Example】Configure ipv6 default route as 2021::1

OLT(config)# ipv6 route default gw 2021::1

OLT(config)#

3.12.2.2 Delete IPV6 Default Route

【Command】

OLT(config)# no ipv6 route default

【Example】

OLT(config)# no ipv6 route default

OLT(config)#

- 41 -
3.12.3View Default Route

【Command】

OLT(config)# show route default

【Example】

OLT(config)# show route default

OLT(config)#

3.13DNS Setting

3.13.1IPV4 DNS Setting

3.13.1.1 Configure IPV4 DNS

【Command】

OLT(config)# dns primary < Master DNS > secondary < Backup DNS >

【Example】Configure primary dns as 114.114.114.114 and backup dns as 8.8.8.8

OLT(config)# dns primary 114.114.114.114 secondary 8.8.8.8

OLT(config)#

3.13.1.2 Delete IPV4 DNS

【Command】

OLT(config)# no dns

【Example】

OLT(config)# no dns

OLT(config)#

3.13.2IPV6 DNS Setting


- 42 -
3.13.2.1 Configure IPV6 DNS

【Command】

OLT(config)# ipv6 dns primary < Master DNS > secondary < Backup DNS >

【Example】Configure ipv6 master DNS as 2400:3200::1 and secondary dns as


2400:3200:baba::1

OLT(config)# ipv6 dns primary 2400:3200::1 secondary 2400:3200:baba::1

OLT(config)#

3.13.2.2 Delete IPV6 DNS

【Command】

OLT(config)# no ipv6 dns

【Example】

OLT(config)# no ipv6 dns

OLT(config)#

3.13.3View DNS

【Command】

OLT(config)# show dns

【Example】

OLT(config)# show dns

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

Primary DNS : 114.114.114.114

Secondary DNS : 8.8.8.8

IPv6 Primary DNS : 2400:3200::1

IPv6 Secondary DNS : 2400:3200:baba::1

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

- 43 -
OLT(config)#

3.14System Access Control

3.14.1Create System Access Control Rule

【Command】

OLT(config)# access-control add < Rule Name > mac < MAC Address > access { all | ssh | telnet
| web} { ipv4 | ipv6 } < IP Address / IP Prefix >

【Example】Permit host mac 38:3a:21:2c:2f:bc and ip address 192.168.103.100/24 to access


OLT by telnet method

OLT(config)# access-control add test mac 38:3a:21:2c:2f:bc access telnet ipv4


192.168.103.100/24

OLT(config)#

3.14.2View System Access Control Rule

【Command】

OLT(config)# show access-control

【Example】

OLT(config)# show access-control

Index Name Protocol Access Mac-address Host

0 test IPv4 Telnet 38:3a:21:2c:2f:bc 192.168.103.100/24

OLT(config)#

3.14.3Delete System Access Control Rule

【Command】

OLT(config)# no access-control < Rule Name >

【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;

Hybrid: it can free specify.

4.1 Global VLAN Setting

4.1.1 Create VLAN

【Command】

OLT(config)# vlan standard < VLAN ID >

OLT(config)# vlan standard < Start VLAN ID > < End VLAN ID >

【Example1】Create single VLAN 100

OLT(config)# vlan standard 100

OLT(config-vlan-100)#

【Example2】Create Sequential VLAN

OLT(config)# vlan standard 101 110

OLT(config-vlan-<101-110>)#

4.1.2 Delete VLAN

【Command】

OLT(config)# no vlan < VLAN ID >

OLT(config)# no vlan < Start VLAN ID > < End VLAN ID >

- 46 -
OLT(config)# no vlan all

【Example1】Delete single VLAN 100

OLT(config)# no vlan 100

OLT(config)#

【Example2】Delete sequential VLAN 101-110

OLT(config)# no vlan 101 110

OLT(config)#

【Example3】Delete all VLAN

OLT(config)# no vlan all

OLT(config)#

4.1.3 View VLAN

【Command】

OLT(config)# show vlan < VLAN ID >

OLT(config)# show vlan < Start VLAN ID > < End VLAN ID >

OLT(config)# show vlan all

【Example1】View single VLAN 100

OLT(config)# show vlan 100

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

Attribute Value

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

VLAN ID : 100

Tagged Ports : PON01

Untagged Ports : GE01

Default Vlan Ports : GE04

- 47 -
----------------------------------------------------------------------------------------------------

【Example2】View sequential VLAN 101-103

OLT(config)# show vlan 101 102

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

VLAN ID : 101

Tagged Ports :

Untagged Ports :

Default Vlan Ports :

VLAN ID : 102

Tagged Ports :

Untagged Ports :

Default Vlan Ports :

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

OLT(config)#

【Example3】View all VLAN

OLT(config)# show vlan all

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

VLAN ID :1

Tagged Ports :

Untagged Ports :

Default Vlan Ports :


PON01,PON02,PON03,PON04,GE01,GE02,GE03,XGE01,XGE02,XGE03

,XGE04

VLAN ID : 100

Tagged Ports : PON01

Untagged Ports : GE01

Default Vlan Ports : GE04

VLAN ID : 101

- 48 -
Tagged Ports :

Untagged Ports :

Default Vlan Ports :

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

OLT(config)#

4.1.4 Add Member Port to VLAN

【Command】

OLT(config-vlan-vlanid)# port { [ epon | ge | xge ] < Port List > } { tagged | untagged }

【Example】Add member port ge 1 to VLAN 100

OLT(config-vlan-100)# port ge 1 untagged

OLT(config-vlan-100)#

4.1.5 Delete Member Port from VLAN

【Command】

OLT(config-vlan-vlanid)# no port { epon | ge | xge } < Port List >

【Example】Delete member port epon 1 from VLAN 100

OLT(config-vlan-100)# no port epon 1

OLT(config-vlan-100)#

4.1.6 Configure VLAN As Port Default VLAN

【Command】

OLT(config-vlan-vlanid)# port { [ epon | ge | xge ] < Port List > } default-vlan

【Example】Configure vlan 100 as ge 4 port default vlan

OLT(config-vlan-100)# port ge 4 default-vlan

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.

4.2 Port VLAN Configuration


As the #4.1 section is described, it can configure VLAN under VLAN interface mode in port hybrid
mode, this section explains what port mode, and how to configure.

Interface VLAN is divided into three kinds:access, trunk, hybrid

4.2.1 Configure Port VLAN Mode

【Command】

OLT(config-port-portid)# vlan mode { access | hybrid | trunk }

【Example】Configure ge 1 port access vlan mode

OLT(config-ge-1)# vlan mode access

OLT(config-ge-1)#

4.2.2 Configure Port VLAN

【Command】

OLT(config-port-portid)# vlan access < VLAN ID >

OLT(config-port-portid)# vlan trunk < VLAN List >

OLT(config-port-portid)# vlan hybrid < VLAN List > { tagged | untagged }

【Example1】Permit untag vlan packets pass through ge3 and add default vlan 101

OLT(config-ge-3)# vlan access 101

OLT(config-ge-3)#

【Example2】Permit vlan tag 101-102 pass through ge 3 port

- 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)# vlan hybrid 101 tagged

OLT(config-ge-3)# vlan hybrid 102 untagged

OLT(config-ge-3)#

4.2.3 Configure Port Default VLAN

【Command 】

OLT(config-port-portid)# port default-vlan < VLAN ID >

【Example】Configure ge 3 default vlan 100

OLT(config-ge-3)# port default-vlan 100

OLT(config-ge-3)#

4.3 VLAN QinQ Configuration


VLAN Qinq shares resources with VLAN translate and can be configured with a total of 1024.

4.3.1 Configure Port VLAN QinQ

【Command】

OLT(config-port-portid)# vlan qinq < CVALN > < SVALN >

OLT(config-port-portid)# vlan qinq batch < Start CVALN > < End CVALN > < SVALN >

【Example1】Add svlan 100 to cvlan 101 from epon 3 port

OLT(config-epon-3)# vlan qinq 101 100

OLT(config-epon-3)#

【Example2】Add svlan 100 to cvlan 101-102 from epon 3 port

OLT(config-epon-3)# vlan qinq batch 101 102 100

- 51 -
OLT(config-epon-3)#

4.3.2 Delete VLAN QinQ Entry

【Command】

OLT(config-port-portid)# no vlan qinq < CVALN ID >

OLT(config-port-portid)# no vlan qinq batch < Start CVALN > < End CVALN >

【Example1】Delete vlan qinq cvlan 101 entry

OLT(config-epon-3)# no vlan qinq 101

OLT(config-epon-3)#

【Example2】Delete vlan qinq cvlan 101-102 entry

OLT(config-epon-3)# no vlan qinq batch 101 102

OLT(config-epon-3)#

4.3.3 View VLAN QinQ

【Command】

OLT(config-port-portid)# show vlan qinq

【Example1】

OLT(config-epon-3)# show vlan qinq

Port CVlan SVlan Priority Action

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

PON3 101 -102 100 - qinq

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

OLT(config-epon-3)#

4.4 VLAN Translation Configuration

- 52 -
VLAN Qinq shares resources with VLAN translate and can be configured with a total of 1024.

4.4.1 Configure Port VLAN Translation

【Command】

OLT(config-port-portid)# vlan translation < Old VLAN > <New VLAN >

【Example1】Configure vlan 101 translate 100 in pon 3 port

OLT(config-epon-3)# vlan translation 101 100

OLT(config-epon-3)#

4.4.2 Delete VLAN Translation

【Command】

OLT(config-port-portid)# no vlan translation < Old VLAN >

【Example1】Delete vlan translation 101 entry in pon 3 port

OLT(config-epon-3)# no vlan translation 101

OLT(config-epon-3)#

4.4.3 Show VLAN Translation

【Command】

OLT(config-port-portid)# show vlan translation

【Example1】

OLT(config-epon-3)# show vlan translation

Port Old-Vlan New-Vlan Priority Action

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

PON3 101 100 - translate

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

OLT(config-epon-3)#

- 53 -
- 54 -
5 Port Management
5.1 Port State Management

5.1.1 Switch Port State

【Command】

OLT(config-port-portid)# port { enable | disable }

【Example1】Turn off ge1 port

OLT(config-ge-1)# port disable

OLT(config-ge-1)#

5.1.2 View Port State

【Command】

OLT(config-port-portid)# show state

【Example1】Show ge1 port state

OLT(config-ge-1)# show state

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

Attribute Value

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

Port Name : GE01

Port Desc : test

Port State : Enabled

Link speed : Auto-negotiation(- MBps -)

Flow ctrl : ON

MTU : 1518

Link status : DOWN

- 55 -
----------------------------------------------------------------------------------------------------

Port traffic shaping:

Egress rate : 0 kbps

Ingress rate : 0 kbps

Port vlan configuration:

Port type : hybrid

Port default vlan : 1

Port default vlan priority : 0

Tagged vlan :

Untagged vlan :

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

OLT(config-ge-1)#

5.2 Port Description Information Configuration


【Command】

OLT(config-port-portid)# port desc < DESC >

【Example1】Configure port description information as test

OLT(config-ge-1)# port desc test

OLT(config-ge-1)#

5.3 Port Working Mode Configuration


【Command】

OLT(config-port-portid)# port duplex { full | half }

【Example1】Configure ge 2 port full duplex working mode

- 56 -
OLT(config-ge-2)# port duplex full

OLT(config-ge-2)#

5.4 Port Speed Configuration


【Command】

OLT(config-port-portid)# port speed { 10 | 100 | 1000 | 10g | auto}

【Example1】Configure ge 2 port speed 1000M

OLT(config-ge-2)# port speed 1000

OLT(config-ge-2)#

5.5 Port MTU Configuration


【Command】

OLT(config-port-portid)# port mtu < MTU Value >

【Example1】Configure ge 2 port mtu 1522

OLT(config-ge-1)# port mtu 1522

OLT(config-ge-1)#

5.6 Broadcast/Multicast/Unicast Storm Control Configuration


【Command】

OLT(config-port-portid)# port storm-control { broadcast | multicast | unicast } pps < Packet


Number >

【Example1】Limit ge 1 port storm-control broadcast pps 1000

OLT(config-ge-1)# port storm-control broadcast pps 1000

OLT(config-ge-1)#

- 57 -
5.7 Switch Flow-control Function
【Command 】

OLT(config-port-portid)# port flow-control { enable | disable }

【Example1】Turn on port flow-control function

OLT(config-ge-1)# port flow-control enable

OLT(config-ge-1)#

5.8 Port Rate-limit Setting Configuration

5.8.1 Configure Port Rate-limit

【Command】

OLT(config-port-portid)# port rate-limit { egress | ingress } < Rate >

【Example1】Limit ge 1 port egress rate 1024kbps

OLT(config-ge-1)# port rate-limit egress 1024

OLT(config-ge-1)#

5.8.2 Delete Port Rate-limit

【Command】

OLT(config-port-portid)# no port rate-limit { egress | ingress }

【Example】Delete ge 1 port rate-limit

OLT(config-ge-1)# no port rate-limit egress

OLT(config-ge-1)#

5.9 Port Traffic Statistics

5.9.1 View Port Traffic Statistics

- 58 -
【Command】

OLT(config-port-portid)# show statistic

【Example】View ge 1 port traffic statistics

OLT(config-ge-1)# show statistic

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

Rx rate (kbps): 0 Tx rate (kbps): 0

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

RX octets : 12237752

RX frames : 168794

RX unicast frames : 9352

RX broadcast frames : 159442

RX multicast frames :0

RX discard frames : 39734

RX error frames :0

RX oversize frames :0

RX frames 64 octets : 129916

RX frames 65 to 127 octets : 35478

RX frames 128 to 255 octets : 2459

RX frames 256 to 511 octets : 852

RX frames 512 to 1023 octets : 34

RX frames 1024 to 1518 octets : 55

TX octets : 1447788

TX frames : 21291

TX unicast frames :0

TX broadcast frames : 21291

- 59 -
TX multicast frames :0

TX discard frames :0

TX error frames :0

TX oversize frames :0

TX frames 64 octets :0

TX frames 65 to 127 octets : 21291

TX frames 128 to 255 octets :0

TX frames 256 to 511 octets :0

TX frames 512 to 1023 octets :0

TX frames 1024 to 1518 octets :0

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

5.9.2 Clear Port Traffic Statistics

【Command】

OLT(config-port-portid)# no statistic

【Example】Clear ge 1 port traffic statistics

OLT(config-ge-1)# no statistic

OLT(config-ge-1)#

5.10Port Mirror Configuration


The general application scenario of port mirroring is troubleshooting.

5.10.1Configure Port Mirror


When choose certain port as source port, then enter this interface node.

【Command】

- 60 -
OLT(config-port-portid)# mirror dst-port ge < Port ID > { all | egress | ingress }

【Example】Mirror pon 3 port traffic to ge 3 port

OLT(config-epon-3)# mirror dst-port ge 3 all

OLT(config-epon-3)#

5.10.2Delete Port Mirror

【Command】

OLT(config-port-portid)# no mirror

【Example】Clear pon 3 port mirror entry

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.

5.11.1PON Loop Detection Description


1. PON loop detection function is turned on by default. There are three conditions of
loop detection processing:

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.

5.11.2PON Loop Detect Configuration

5.11.2.1 PON Loop Detect Switch

【Command】

OLT(config)# loop-detect pon { enable | disable }

【Example】Turn on PON loop detection function

OLT(config)# loop-detect pon enable

OLT(config)#

5.11.2.2 Configure PON Loop Detection Packet Sending Interval

The default value is 5 seconds. The rang of value is 3-3600 S

【Command】

OLT(config)# loop-detect pon packet-send interval < Interval >

【Example】Configure PON loop detection packet sending interval 10 S

OLT(config)# loop-detect pon packet-send interval 10

OLT(config)#

5.11.2.3 Configure PON Loop Detection Recovery Mode

The default is automatic recovery

【Command】

OLT(config)# loop-detect pon recover-mode { auto | manual }

- 62 -
【Example】Configure PON loop detection manua recovery

OLT(config)# loop-detect pon recover-mode manual

OLT(config)#

5.11.2.4 PON Loop Detection Recover Manual

【Command】

OLT(config)# loop-detect pon recover manual

【Example】

OLT(config)# loop-detect pon recover manual

OLT(config)#

5.11.2.5 Configure PON Loop Detection Automatic Recovery Time

The default value is 30 seconds. The rang of value is 3-3600 seconds.

【Command】

OLT(config)# loop-detect pon recover-time < Recover Time>

【Example】Configure loop-detect pon recover-time 50 S

OLT(config)# loop-detect pon recover-time 50

OLT(config)#

5.11.2.6 View PON Loop Detection Configuration

【Command】

OLT(config)# show loop-detect pon info

【Example】

OLT(config)# show loop-detect pon info

PON Loop Detect : Disable

- 63 -
OLT(config)#

5.11.3Uplink Loop Detection Description


1. The loop detection function of the uplink port is turned on by default, and there are
three conditions for loop detection processing:

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.

5.11.4Uplink Loop Detect Configuration

5.11.4.1 Uplink Loop Detect Switch

【Command】

OLT(config)# loop-detect uplink { enable | disable }

【Example】Turn on uplink loop detection function

OLT(config)# loop-detect uplink enable

OLT(config)#

5.11.4.2 Configure Uplink Loop Detection Packet Sending Interval

The default value is 5 seconds. The rang of value is 3-3600 S

【Command】

OLT(config)# loop-detect uplink packet-send interval < Interval >

【Example】Configure uplink loop detection packet sending interval 10 S

OLT(config)# loop-detect uplink packet-send interval 10

OLT(config)#

- 64 -
5.11.4.3 Configure Uplink loop detection recovery mode

The default is automatic recovery

【Command】

OLT(config)# loop-detect uplink recover-mode { auto | manual }

【Example】Configure uplink loop detection manua recovery

OLT(config)# loop-detect uplink recover-mode manual

OLT(config)#

5.11.4.4 Uplink Loop Detection Recover Manual

【Command】

OLT(config)# loop-detect uplink recover manual

【Example】

OLT(config)# loop-detect uplink recover manual

OLT(config)#

5.11.4.5 Configure Uplink Loop Detection Automatic Recovery Time

The default value is 30 seconds. The rang of value is 3-3600 seconds.

【Command】

OLT(config)# loop-detect uplink recover-time < Recover Time>

【Example】Configure loop-detect uplink recover-time 50 S

OLT(config)# loop-detect uplink recover-time 50

OLT(config)#

5.11.4.6 View Uplink Loop Detection Configuration

【Command】

OLT(config)# show loop-detect uplink info


- 65 -
【Example】

OLT(config)# show loop-detect uplink info

Uplink Loop Detect : Enable

Recover Mode : Manual

Recover Time : 30s

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

5.12.1 Port Group Isolate Mode

5.12.1.1 Configure Port Group Isolate Mode

【Command】

OLT(config)# port-group mode isolate

【Example】

OLT(config)# port-group mode isolate

OLT(config)#

5.12.1.2 Configure Port Isolate Group

【Command】

- 66 -
OLT(config)# port-group isolate { epon | ge | xge } <Port List >

【Example1】Add pon port 1-4 to isolate group

OLT(config)# port-group isolate epon 1-4

OLT(config)#

【Example2】Add ge port 1-8 to isolate group

OLT(config)# port-group isolate ge 1-8

OLT(config)#

5.12.1.3 Delete Port Isolate Group

【Command】

OLT(config)# no port-group isolate { epon | ge | xge } <Port List >

【Example1】Delete pon port 1-4 from isolate group

OLT(config)# no port-group isolate epon 1-4

OLT(config)#

【Example2】Delete ge port 1-2 from isolate group

OLT(config)# no port-group isolate ge 1-2

OLT(config)#

5.12.1.4 View Port Isolate Group

【Command】

OLT(config)# show port-group

【Example】

OLT(config)# show port-group

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

Port Group Mode: Isolate

- 67 -
-------------------------------------------------------------------------------------

PON Port Isolation: --

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

Uplink Port Isolation: GE01,GE02

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

OLT(config)#

5.12.2Port Group Inter-working Mode


To configured interworking group selects the ingress port first and then the corresponding egress
port. The configured port groups can only communicate with each other within the port members
and are isolated from the out-of-group ports.

5.12.2.1 Configure Port Group Inter-working Mode

【Command 】

OLT(config)# port-group mode inter-working

【Example】

OLT(config)# port-group mode inter-working

OLT(config)#

5.12.2.2 Configure Port Inter-working Group

【Command 】

OLT(config)# port-group inter-working ingress-port { [ epon | ge | xge ] < Port ID > } egress
{ [ epon | ge | xge ] < Port ID > }

【Example】Add pon 1 and ge 4 to inter-working group

OLT(config)# port-group inter-working ingress-port epon 1 egress ge 1

OLT(config)#

- 68 -
5.12.2.3 Recover Port Inter-working Group to Default Settings

【Command】

OLT(config)# no port-group inter-working ingress-port all

【Example1】

OLT(config)# no port-group inter-working ingress-port all

OLT(config)#

5.12.2.4 View Port Inter-working Group

【Command】

OLT(config)# show port-group

【Example】

OLT(config)# show port-group

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

Port Group Mode: Inter-working

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

Ingress Port Egress Inter-Working Port

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

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.

6.1.1 View ONU Authentication Type and Mode


OLT defaults automatic registration. Default mac authentication mode

【Command】

OLT(config-epon-ponid)# onu-authorize

【Example】

OLT(config-epon-1)# onu-authorize

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

PON-PORT AUTH-MODE AUTH-TYPE

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

pon1 mac auto

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

OLT(config-epon-1)#

6.1.2 Configure ONU Authentication Type

【Command】

OLT(config-epon-ponid)# onu-authorize type { auto | manual }

【Example】Configure PON 1 port ONU manual authentication type

OLT(config-epon-1)# onu-authorize type manual

- 71 -
OLT(config-epon-1)#

6.1.3 Configure ONU Authentication Mode

【Command】

OLT(config-epon-ponid)# onu-authorize type { mac | loid | loid-password | hybrid }

【Example】Configure PON 1 port ONU mac authentication mode

OLT(config-epon-1)# onu-authorize mode mac

OLT(config-epon-1)#

6.1.4 Configure ONU Blacklist


Manually bind a ONU to a blacklist, and once bound to a blacklist, the system will block ONU
registration online.

6.1.4.1 Add ONU to Blacklist

【Command】

OLT(config-epon-ponid)# blacklist add mac < MAC Address > < Reason >

【Example】Add mac 00:00:00:11:11:11 to blacklist

OLT (config-epon-1)# blacklist add mac 00:00:00:11:11:11

OLT (config-epon-1)#

6.1.4.2 View ONU Blacklist

【Command】

OLT(config-epon-ponid)# show blacklist onu-info { all | [ onu-id < ONU ID > ] }

【Example】

OLT (config-epon-1)# show blacklist onu-info all

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

- 72 -
PON/ONU Mac Address Try REG Count

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

1/1 00:00:00:11:11:11 0

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

OLT (config-epon-1)#

6.1.4.3 Delete ONU from Blacklist

【Command】

OLT(config-epon-ponid)# blacklist delete mac < MAC Address >

【Example】Delete mac 00:00:00:11:11:11 from blacklist

OLT(config-epon-1)# blacklist delete mac 00:00:00:11:11:11

OLT(config-epon-1)#

6.1.5 ONU MAC Authentication Configuration


The system will automatically assign the unused ID to the ONU if not specify ONU ID. After you
bind a onu, you need confirm it(authorize)

【Command】

OLT(config-epon-ponid)# bind-onu < ONU ID > mac < MAC Address >

OLT(config-epon-ponid)# onu confirm mac < MAC Address >

OLT(config-epon-ponid)# no bind-onu mac < MAC Address >

【Example】MAC manual authentication whole process

OLT(config-epon-1)# onu-authorize type manual mode mac

OLT(config-epon-1)# show blacklist onu-info all

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

PON/ONU Mac-Address Blacklist_Reject_Count

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

- 73 -
1/1 38:3a:21:25:e6:fa 4

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

OLT(config-epon-1)# bind-onu mac 38:3a:21:25:e6:fa

OLT(config-epon-1)# show onu-info all

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

PON/ONU Mac-Address Status Auth-State Cfg-State Reg-time ONU-Name ONU-


Desc

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

1/1 38:3a:21:25:e6:fa Initial FALSE FALSE 1970/01/01 08:00:00 ONU01/01 NO-


DESCRIPTI

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

Total: 1 Online:0 Offline:1

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

OLT(config-epon-1)# onu confirm mac 38:3a:21:25:e6:fa

OLT(config-epon-1)#

[2020/09/27 15:16:28] Info: ONU 1/1 38:3a:21:25:e6:fa ONU authorization success

[2020/09/27 15:16:29] Info: ONU 1/1 38:3a:21:25:e6:fa ONU link up

6.1.6 ONU LOID Authentication Configuration

【Command】

OLT(config-epon-1)# loid add < LOID >

OLT(config-epon-1)# loid delete < LOID >

【Example1】 LOID automatic authentication whole process

OLT(config-epon-1)# onu-authorize type auto mode loid

OLT(config-epon-1)# show blacklist onu-info all

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

- 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)# blacklist delete mac 38:3a:21:25:e6:fa

OLT(config-epon-1)#

[2020/09/27 16:06:13] Info: ONU 1/1 38:3a:21:25:e6:fa ONU link down

[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

OLT(config-epon-1)# show onu-info onu-id 1

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

PON ID :1

ONU ID :1

ONU LLID :0

ONU Name : ONU01/01

Authrize mode : loid

Authrize state : FALSE

Status : Register

ONU type : 4ge

ONU RTT : 53

ONU Distance(m) :6

Mac address : 38:3a:21:25:e6:fa

LOID : ztepon

Password : ztepon

- 75 -
Upgrade Type :

CTC Version : 2.1

ONU description :

ONU Upgrade status :0

ONU vendor :

ONU model :

ONU chipset : 0000(0000)

ONU Software version :

ONU Hardware version :

ONU Device Type : SFU

ONU IPv6 Support :0

ONU Power control :0

ONU Service SLA :0

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

OLT(config-epon-1)# loid add ztepon

[2020/09/27 16:09:16] Info: ONU 1/1 38:3a:21:25:e6:fa ONU authorization success

[2020/09/27 16:09:17] Info: ONU 1/1 38:3a:21:25:e6:fa ONU link up

【Example2】 LOID manual authentication whole process

OLT(config-epon-1)# onu-authorize type manual mode loid

OLT(config-epon-1)# show blacklist onu-info all

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

PON/ONU Mac-Address Blacklist_Reject_Count

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

1/1 38:3a:21:25:e6:fa 1

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

- 76 -
LT(config-epon-1)# bind-onu mac 38:3a:21:25:e6:fa

OLT(config-epon-1)# show onu-info onu-id 1

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

PON ID :1

ONU ID :1

ONU LLID :0

ONU Name : ONU01/01

Authrize mode : loid

Authrize state : FALSE

Status : Offline

ONU type : 4ge

ONU RTT : 53

ONU Distance(m) :6

Mac address : 38:3a:21:25:e6:fa

LOID : ztepon

Password : ztepon

Upgrade Type :

CTC Version : 2.1

ONU description :

ONU Upgrade status :0

ONU vendor :

ONU model :

ONU chipset : 0000(0000)

ONU Software version :

ONU Hardware version :

- 77 -
ONU Device Type : SFU

ONU IPv6 Support :0

ONU Power control :0

ONU Service SLA :0

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

OLT(config-epon-1)#

[2020/09/27 16:18:42] Info: ONU 1/1 38:3a:21:25:e6:fa ONU link down

[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)# loid add ztepon

OLT(config-epon-1)# onu confirm onu-id 1

OLT(config-epon-1)#

[2020/09/27 16:20:58] Info: ONU 1/1 38:3a:21:25:e6:fa ONU authorization success

[2020/09/27 16:20:58] Info: ONU 1/1 38:3a:21:25:e6:fa ONU link up

6.1.7 View ONU List

【Command】

OLT(config-epon-ponid)# show onu-info { all | [ onu-id < ONU ID > ] }

【Example1】View all ONU in PON 1 port

OLT(config-epon-1)# show onu-info all

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

PON/ONU Mac-Address Status Auth-State Cfg-State Reg-time ONU-Name ONU-


Desc

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

1/1 38:3a:21:28:06:64 Online TRUE TRUE 2020/11/26 16:07:27 ONU01/01 NO-


DESCRIPTI

- 78 -
----------------------------------------------------------------------------------------------------

Total: 1 Online:1 Offline:0

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

【Example2】View ONU 1/1 information

OLT(config-epon-1)# show onu-info onu-id 1

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

PON ID :1

ONU ID :1

ONU LLID :0

ONU Name : ONU01/01

Authrize mode : mac

Authrize state : TRUE

Status : Online

ONU type : 1ge1fe

ONU RTT : 98

ONU Distance(m) :6

Mac address : 38:3a:21:28:06:64

LOID : user

Password :

Upgrade Type :

CTC Version : 3.0

ONU description :

ONU Upgrade status :0

ONU vendor : STGP

ONU model : 0000

- 79 -
ONU chipset : 0479(9602)

ONU Software version : XPN01JV-200901

ONU Hardware version : RTL960x

ONU Firmware version : 48532d312e302053657020203120323032302030323a31323a3231

ONU Device Type : HGU

ONU GE ports :1

ONU FE ports :1

ONU VoIP ports :1

ONU WLAN ports :1

ONU USB ports :1

ONU IPv6 Support :0

ONU Power control :0

ONU Service SLA :1

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

OLT(config-epon-1)#

6.2 Switch PON Port Optical


【Command】

OLT(config-epon-ponid)# port optical-state { enable | disable }

【Example】Turn off PON 4 port optical

OLT(config-epon-4)# port optical-state disable

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.

Fixed Assure Max

Type1 √

Type2 √

Type3 √ √

Type4 √

Type5 √ √ √

【Example1】Configure DBA type 1

OLT(config-epon-1)# sla-up 1 type1 fix 10000

OLT(config-epon-4)#

【Example2】Configure DBA type 2

OLT(config-epon-4)# sla-up 1 type2 assure 100000

OLT(config-epon-4)#

【Example3】Configure DBA type 3

OLT(config-epon-4)# sla-up 1 type3 assure 100000 max 1000000

OLT(config-epon-4)#

【Example4】Configure DBA type 4

OLT(config-epon-4)# sla-up 1 type4 max 100000

OLT(config-epon-4)#

【Example5】Configure DBA type 5

OLT(config-epon-4)# sla-up 1 type5 fix 10000 assure 100000 max 1000000

OLT(config-epon-4)#

- 81 -
6.4 View ONU Version Information
【Command】

OLT(config-epon-ponid)# show onu-version all

【Example】Show all ONU version in PON1 port

OLT(config-epon-1)# show onu-version all

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

PON/ONU ONU-Name Mac-Address Vendor Serial DevType Type Version ONU-


DESC

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

1/1 ONU01/01 38:3a:21:28:8d:ad HSGQ 0000 HGU 1ge V1.9.0-200326 NO-


DESCRIPTION

1/2 ONU01/02 38:3a:21:28:06:66 HSGQ 0000 HGU 1ge1fe M221-210105 NO-


DESCRIPTION

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

OLT(config-epon-1)#

6.5 View ONU Optical Information


【Command】

OLT(config-epon-ponid)# show optical-info

【Example】Show all ONU optical information in PON1 port

OLT(config-epon-1)# show optical-info

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

PON/ONU ONU-Name Mac-address Temperature Voltage Bias Tx power Rx


power

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

1/1 ONU01/01 38:3a:21:28:8d:ad 47 C 3.30 V 14 mA 2.0194 dBm -7.3119 dBm

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

6.6 View ONU RSSI Optical Information


【Command】

OLT(config-epon-ponid)# show optical-rssi < ONU ID >

【Example】Show ONU 1/1 RSSI optical information

OLT(config-epon-1)# show optical-rssi 1

PON ONU RSSI Informations:

Temperature :31.253906 C

Voltage :3.245000 V

Bias :12.460000 mA

Transmit Power :4.861187 dBm

Recieved Power :-40.000000 dBm

OLT(config-epon-1)#

6.7 View PON Port Optical Module Information


【Command】

OLT(config-epon-ponid)# show optical-state

【Example】Show PON 1 port optical module information

OLT(config-epon-1)# show optical-state

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

Optical Module State

- 83 -
----------------------------------------------------------------------------------------------------

Port state: Online

Module state: Detected

Monitor type: Externally Calibrated

Temperature: 31.253906C

Voltage: 3.245000

Bias: 12.460000 mA

TX Power: 3.062800 mW(4.861186 dBm)

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

Optical Module Manufacturer Information

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

Vendor Name: Hisense

Vendor OUI: Unspecified

Vendor Rev: 1.0

Vendor PN: LTE4302M-BC+HW

Vendor SN: F9846003601

Date Code: 14-06-24

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

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

Optical Module Static Information

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

Module type: EPON

Max Distance(Km): 20

Wave length(nm): 1490

- 84 -
Fiber type: Single mode

Identifier: SFP or SFP Plus

Connector: SC

Encoding: 8B10B

cc_base: 142

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

Optical Module Threshold Parameter

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

Temperature warning threshold(c) :[-8.00,75.00]

Temperature alarm threshold(c) :[-13.00,80.00]

Voltage warning threshold(c) :[3.10,3.50]

Voltage alarm threshold(c) :[3.00,3.60]

Tx bias warning threshold(c) :[0.00,80.00]

Tx bias alarm threshold(c) :[0.00,100.00]

Tx power warning threshold(c) :[1.78,5.01]

Tx power alarm threshold(c) :[1.41,6.31]

Rx power warning threshold(c) :[0.00,1.00]

Rx power alarm threshold(c) :[0.00,1.26]

OLT(config-epon-1)#

6.8 ONU Upgrade

6.8.1 ONU Upgrade Type

6.8.1.1 Add ONU Upgrade Type

【Command】

OLT(config)# onu-upgrade type add < TYPESTR >

- 85 -
【Example】

OLT(config)# onu-upgrade type add 1GE1FE1POTS

OLT(config)#

6.8.1.2 View ONU Upgrade Type

【Command】

OLT(config)# show onu-upgrade type

【Example】

OLT(config)# show onu-upgrade type

onu-upgrad-type

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

1 1GE1FE1POTS

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

OLT(config)#

6.8.1.3 Delete ONU Upgrade Type

【Command】

OLT(config)# onu-upgrade type del < TYPESTR >

【Example】Delete ONU upgrade type 1GE1FE1POTS

OLT(config)# onu-upgrade type del 1GE1FE1POTS

OLT(config)#

6.8.2 ONU Upgrade File

6.8.2.1 Load ONU Upgrade File to OLT

【Command】

- 86 -
OLT(config)# onu-upgrade type del < TYPESTR >

OLT(config)# onu-upgrade load { [ tftp < IPAddr > < File > ] | [ ftp < IP Addr > < Name > <
Password > < File > ] }

【Example】Load ONU upgrade file by tftp server

OLT(config)# onu-upgrade load tftp 192.168.103.123 M224_20200901.tar

OLT(config)#

[2020/11/27 15:31:38] [update image]Info: Onu upgrade file load ok

OLT(config)#

6.8.2.2 View ONU Upgrade File

【Command】

OLT(config)# show onu-upgrade file

【Example】

OLT(config)# show onu-upgrade file

--w---x--T 1 root root 6707200 Nov 27 15:31 /tmp/onu_upgrade.img

OLT(config)#

6.8.3 Specify ONU upgrade type

【Command】

OLT(config-epon-ponid)# bind-onu upgrade-type < TYPESTR > { all | [ onu-list < ONU List > ] }

【Example1】Bind all ONU with upgrade-type 1GE1FE1POTS

OLT(config-epon-1)# bind-onu upgrade-type 1GE1FE1POTS all

OLT(config-epon-1)#

【Example2】Bind ONU 1/1,3,5-8,9 with upgrade-type 1GE1FE1POTS

OLT(config-epon-1)# bind-onu upgrade-type 1GE1FE1POTS onu-list 1,3,5-8,9

OLT(config-epon-1)#

- 87 -
6.8.4 Upgrade ONU

6.8.4.1 Upgrade ONU in Single PON Port

【Command】

OLT(config-epon-ponid)# onu-upgrade onu-id < ONU ID>

【Example1】Upgrade ONU 1/1

OLT(config-epon-1)# onu-upgrade onu-id 1

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:09:11] Info: ONU 1/1 38:3a:21:28:06:64 ONU link down

[2020/11/27 17:10:08] Info: ONU 1/1 38:3a:21:28:06:64 Onu upgrade file commit ok, Reason:
success

[2020/11/27 17:10:09] Info: ONU 1/1 38:3a:21:28:06:64 ONU authorization success

[2020/11/27 17:10:09] Info: ONU 1/1 38:3a:21:28:06:64 ONU link up

OLT(config-epon-1)#

6.8.4.2 Upgrade ONU in All PON Ports

【Command】

OLT(config-epon-ponid)# onu-upgrade all-pon-port upgrade-type < TYPESTR >

【Example1】Upgrade all ONU

OLT(config-epon-1)# onu-upgrade all-pon-port upgrade-type 1GE1FE1POTS

OLT(config-epon-1)#

6.9 ONU Loop Processing


【Command】

OLT(config-epon-ponid)# loopback-onu auto-reject { enable | disable }

- 88 -
【Example】Add ONU to blacklist when detects ONU loop

OLT(config-epon-1)# loopback-onu auto-reject enable

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

[2021/01/12 16:54:50] Info: ONU 1/1 38:3a:21:28:8d:ad ONU link down

OLT(config-onu-1/1)#

[2021/01/12 16:55:00] Info: ONU 1/1 38:3a:21:28:8d:ad ONU authorization success

[2021/01/12 16:55:00] Info: ONU 1/1 38:3a:21:28:8d:ad ONU link up

OLT(config-onu-1/1)#

7.2 ONU Description Information Setting


【Command】

OLT(config-onu-ponid/onuid)# description < DESC >

【Example】Configure ONU1/1 description information as test

OLT(config-onu-1/1)# description "test"

OLT(config-onu-1/1)#

7.3 ONU Name Setting


【Command】

OLT(config-onu-ponid/onuid)# name < Name >

【Example】Configure ONU1/1 name as test

- 91 -
OLT(config-onu-1/1)# name test

OLT(config-onu-1/1)#

7.4 Switch ONU FEC Function


【Command】

OLT(config-onu-ponid/onuid)# fec-mode mode { enable | disable }

【Example】Turn on ONU1/1 FEC function

OLT(config-onu-1/1)# fec-mode mode enable

OLT(config-onu-1/1)#

7.5 ONU Port Configuration

7.5.1 Switch Port State

7.5.1.1 Turn On Port

【Command】

OLT(config-onu-ponid/onuid)# no port-shutdown < Port ID >

【Example】Turn on ONU1/1 UNI 1 port

OLT(config-onu-1/1)# no port-shutdown 1

OLT(config-onu-1/1)#

7.5.1.2 Turn Off Port

【Command】

OLT(config-onu-ponid/onuid)# port-shutdown < Port ID >

【Example】Turn off ONU 1/1 UNI 1 port

OLT(config-onu-1/1)# port-shutdown 1

- 92 -
OLT(config-onu-1/1)#

7.5.1.3 View Port Link State

【Command】

OLT(config-onu-ponid/onuid)# show onu-link-staus

【Example】Show ONU 1/1 UNI port state

OLT(config-onu-1/1)# show onu-link-staus

ONU : 1:1

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

link state configration

Port ID state

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

port1 link down

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

7.5.2 Port Rate-limit Configuration


The port speed is divided into two kinds, the entrance and exit rate-limiting.

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

【Example1】Configure ONU 1/1 UNI 1 egress cir 1000 pir 100000

OLT(config-onu-1/1)# port-rate-limit 1 egress cir 1000 pir 100000

OLT(config-onu-1/1)#

【Example1】Configure ONU 1/1 UNI 1 ingress bandwidth 100000

OLT(config-onu-1/1)# port-rate-limit 1 ingress bandwidth 100000

OLT(config-onu-1/1)#

- 93 -
7.5.3 Switch Port Loop Detection

【Command】

OLT(config-onu-ponid/onuid)# port-loop-detect < Port ID > { enable | disable }

【Example】Turn on ONU 1/1 UNI 1 loop detect

OLT(config-onu-1/1)# port-loop-detect 1 enable

OLT(config-onu-1/1)#

7.5.4 Switch Port Auto-negotiation

【Command】

OLT(config-onu-ponid/onuid)# port-auto-neg < Port ID > { enable | disable }

【Example】Turn on ONU 1/1 UNI 1 auto-neg

OLT(config-onu-1/1)# port-auto-neg 1 enable

OLT(config-onu-1/1)#

7.5.5 Switch Port Flow Control

【Command】

OLT(config-onu-ponid/onuid)# port-auto-neg < Port ID > { enable | disable }

【Example】Turn on ONU 1/1 UNI 1 auto-neg

OLT(config-onu-1/1)# fec-mode mode enable

OLT(config-onu-1/1)#

7.5.6 ONU Port VLAN Transparent Mode

7.5.6.1 Transparent Mode Description

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.

Table 5- 1 ONU processing mode in VLAN transmission mode

Whether Ethernet packets has


Direction Processing Mode
Tag

With VLAN tag


Upload
W/O VLAN Tag
Transparent
With VLAN tag
Download
W/O VLAN Tag

7.5.6.2 Configure Transparent Mode

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-ponid/onuid)# port-vlan < Port ID > mode transparent

【Example】Configure ONU 1/1 UNI 1 port VLAN transparent

OLT(config-onu-1/1)# port-vlan 1 mode transparent

OLT(config-onu-1/1)#

7.5.7 ONU Port VLAN Tag Mode

7.5.7.1 Tag Mode Description

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.

Table 5- 2 ONU Procession mode in VLAN tab model

- 95 -
Whether Ethernet
Direction Processing Mode
packets has Tag

Upload With VLAN tag Discard

W/O VLAN Tag Adding new VLAN Tag and retransmission

Downloa With VLAN tag Transmission to the corresponding uni port


d according to VID and remove tag。

W/O VLAN Tag Discard

7.5.7.2 Configure Tag Mode

【Command】

OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode tag < VLAN ID > pri < Priority >

【Example】Configure ONU 1/1 UNI 1 port tag mode VLAN 100

OLT(config-onu-1/1)# port-vlan 1 mode tag 100 pri 0

OLT(config-onu-1/1)#

7.5.8 ONU Port VLAN Translation Mode

7.5.8.1 Translation Mode Description

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.

Table 5- 3 ONU Procession mode in VLAN conversion mode

- 96 -
Whether Ethernet
Direction Processing Mode
packets has Tag

Upload Changing the VID to corresponding VID (output


VID) according to the table then retransmission
if the original TAG VID has corresponding entry
With VLAN tag
(Equal to the VID input) in the corresponding
port of the VLAN translation list, or else discard
it.

Marking the untagged packet as default VLAN


W/O VLAN Tag
then retransmission.

Download Changing the VID to corresponding VID(input


VID) according to the table then retransmission
if the original TAG VID has corresponding entry
(Equal to the VID input) in the corresponding
With VLAN tag port of the VLAN translation list, or else discard
it.

Stripping tag and retransmission if the original


TAG VID is default VID

W/O VLAN Tag Discard

7.5.8.2 Configure Translation Mode

【Command】

OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode translation < VLAN ID > pri < Priority >

【Example】Configure ONU 1/1 UNI 1 port translation mode

OLT(config-onu-1/1)# port-vlan 1 mode translation 101 pri 0

OLT(config-onu-1/1)#

7.5.8.3 Add VLAN Translation Entry

【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)#

7.5.8.4 Delete VLAN Translation Entry

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

【Example1】Delete ONU 1/1 UNI 1 port vlan 101 translation entry

OLT(config-onu-1/1)# port-vlan 1 translation del oldvlan 101

OLT(config-onu-1/1)#

【Example1】Configure ONU 1/1 UNI 1 port vlan 101,124 translation entry

OLT(config-onu-1/1)# port-vlan 1 translation no_entry 101,124

OLT(config-onu-1/1)#

7.5.9 ONU Port VLAN Trunk Mode

7.5.9.1 Trunk Mode Description

The ONU user side interface supports VLAN trunk function. By setting the ONU UNI port "VLAN
allows" list to control whether forwarding message.

Table 5- 4 ONU Procession mode in VLAN Trunk model

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.

No VLAN Tag Retransmission the packet after mark the


untagged as default VLAN

- 98 -
Download Has VLAN tag Down forward the message if its VLAN belongs to
“permit VLAN” of the port, or else discard it.

Stripping VLAN tag and down forward it if the


VLAN ID of the message is “default VID”

No VLAN Tag Discard

7.5.9.2 Configure VLAN Trunk Mode

【Command】

OLT(config-onu-ponid/onuid)# port-vlan < Port ID > mode trunk < VLAN ID > pri < Priority >

【Example】Configure ONU 1/1 UNI 1 port vlan trunk mode

OLT(config-onu-1/1)# port-vlan 1 mode trunk 100 pri 0

OLT(config-onu-1/1)#

7.5.9.3 Add VLAN Trunk List

【Command】

OLT(config-onu-ponid/onuid)# port-vlan < Port ID > trunk add < VLAN List >

【Example】Configure ONU 1/1 UNI 1 port trunk vlan 2100,2101

OLT(config-onu-1/1)# port-vlan 1 trunk add 2100,2101

OLT(config-onu-1/1)#

7.5.9.4 Delete VLAN Trunk List

【Command】

OLT(config-onu-ponid/onuid)# port-vlan < Port ID > trunk delete < VLAN List >

【Example】Delete ONU 1/1 UNI 1 port trunk vlan 100,200

OLT(config-onu-1/1)# port-vlan 1 trunk del 100,200

OLT(config-onu-1/1)#

- 99 -
8 MAC Address Management
8.1 MAC Address Table

8.1.1 MAC Address Table Aging Time

8.1.1.1 View MAC Address Table Aging Time

【Command】

OLT(config)# show mac address-table age

【Example】

OLT(config)# show mac address-table age

Mac address-table age is 300 seconds

OLT(config)#

8.1.1.2 Configure MAC Address Table Aging Time

【Command】

OLT(config)# mac address-table { age < Age Times > | no-age }

【Example】Configure mac address table aging time as 300S

OLT(config)# mac address-table age 300

OLT(config)#

8.1.2 View MAC Address Table

【Command】

OLT(config)# show mac-address all

OLT(config)# show mac-address black-hole

OLT(config)# show mac-address dynamic

OLT(config)# show mac-address static

- 100 -
OLT(config)# show mac-address mac < MAC Address >

OLT(config)# show mac-address port { [ epon | ge | xge ] < Port List > }

OLT(config)# show mac-address vlan < VLAN ID >

【Example1】View all MAC address table

OLT(config)# show mac-address all

Total mac address learning: 1

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

MAC VLAN Port MAC-Type

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

e8:9f:ec:9e:00:01 1 cpu dynamic

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

OLT(config)#

【Example2】View black-hole MAC address table

OLT(config)# show mac-address black-hole

Total mac address learning: 1

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

MAC VLAN Port MAC-Type

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

e0:63:89:00:00:0f 1 cpu black-hole

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

OLT(config)#

【Example3】View dynamic MAC address table

OLT(config)# show mac-address dynamic

Total mac address learning: 2

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

- 101 -
MAC VLAN Port MAC-Type

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

38:3a:21:2c:03:0b 1 GE02 dynamic

e8:9f:ec:9e:00:01 1 cpu dynamic

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

OLT(config)#

【Example4】View static MAC address table

OLT(config)# show mac-address static

Total mac address learning: 1

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

MAC VLAN Port MAC-Type

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

e2:63:f8:00:21:67 101 GE03 static

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

OLT(config)#

【Example5】View specific MAC address

OLT(config)# show mac-address mac e2:63:f8:00:21:67

Total mac address learning: 1

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

MAC VLAN Port MAC-Type

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

e2:63:f8:00:21:67 101 GE03 static

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

OLT(config)#

- 102 -
【Example6】View specific VLAN MAC address table

OLT(config)# show mac-address vlan 1

Total mac address learning: 2

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

MAC VLAN Port MAC-Type

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

e8:9f:ec:9e:00:01 1 cpu dynamic

34:97:f6:9d:4f:e9 1 PON03 static

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

OLT(config)#

【Example7】View specific port MAC address table

OLT(config)# show mac-address port epon 3

Total mac address learning: 1

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

MAC VLAN Port MAC-Type

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

34:97:f6:9d:4f:e9 1 PON03 static

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

OLT(config)#

8.1.3 Add MAC Address

8.1.3.1 Add Static MAC Address

【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)# mac address-table static 00:11:22:33:44:55 vlan 100 port ge 1

OLT(config)#

8.1.3.2 Add Black-hole MAC Address

【Command】

OLT(config)# mac address-table black-hole < MAC Address > vlan < VLAN ID >

【Example】Add mac 00:12:21:12:12:12 to the black-hole mac address table

OLT(config)# mac address-table black-hole 00:12:21:12:12:12 vlan 10

OLT(config)#

8.1.4 Flush MAC Address Table

【Command】

OLT(config)# mac address-table flush all

OLT(config)# mac address-table flush dynamic

OLT(config)# mac address-table flush static

OLT(config)# mac address-table flush black-hole

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 }

【Example1】clear all MAC address

OLT(config)# mac address-table flush all

OLT(config)#

【Example2】clear black-hole MAC address table

OLT(config)# mac address-table flush black-hole

- 104 -
OLT(config)#

【Example3】clear dynamic MAC address table

OLT(config)# mac address-table flush dynamic

OLT(config)#

【Example4】clear static MAC address table

OLT(config)# mac address-table flush static

OLT(config)#

【Example5】clear specific link-aggregation group MAC address table

OLT(config)# mac address-table flush link-aggregation group 1

OLT(config)#

【Example6】clear specific ge 1 port MAC address table

OLT(config)# mac address-table flush port ge 1 all

OLT(config)#

【Example7】clear specific vlan 51 MAC address table

OLT(config)# mac address-table flush vlan 51 dynamic

OLT(config)#

8.2 PON Side MAC Address Table

8.2.1 PON Side MAC Address Table Aging Time

8.2.1.1 View PON Side MAC Address Table Aging Time

【Command】

OLT(config)# show mac address-table epon age

【Example】

OLT(config)# show mac address-table epon age

EPON Mac address-table age is enable, age time is 300 seconds.

- 105 -
OLT(config)#

8.2.1.2 Configure PON Side MAC Address Table Aging Time

【Command】

OLT(config)# mac address-table epon { age < Age Times > | no-age }

【Example】Configure mac address table no aging

OLT(config)# mac address-table epon no-age

OLT(config)#

8.2.2 View PON Side MAC Address Table

【Command】

OLT(config)# show mac-address epon { all | < EPON Port ID > | onu < EPON Port ID > < ONU ID > }

【Example1】View PON side all MAC address

OLT(config)# show mac-address epon all

Total PON mac address learning: 0

OLT(config)#

【Example2】View PON side PON1 port MAC address

OLT(config)# show mac-address epon 1

Total PON mac address learning: 0

OLT(config)#

【Example3】View PON side ONU 1/1 MAC address

OLT(config)# show mac-address epon onu 1 1

Total PON mac address learning: 0

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

【Example1】clear PON side black-hole MAC address

OLT(config)# no mac address-table black-hole e4:54:e8:c8:a5:3d vlan 100

OLT(config)#

【Example2】clear PON side dynamic MAC address

OLT(config)# no mac address-table dynamic e4:54:e8:c8:a5:3d vlan 100

OLT(config)#

【Example3】clear PON side static MAC address

OLT(config)# no mac address-table static 38:3a:21:2c:2f:bc vlan 100 port epon 1

OLT(config)#

- 107 -
9 Protocol Management
9.1 Spanning Tree Protocol

9.1.1 RSTP Global Configuration

9.1.1.1 Switch RSTP Function

【Command】

OLT(config)# spanning-tree { enable | disable }

【Example】Turn on RSTP function

OLT(config)# spanning-tree enable

OLT(config)#

9.1.1.2 Configure Device Bridge Priority

【Command】

OLT(config)# spanning-tree priority < Bridge Priority >

【Example】Configure device bridge priority as 4096

OLT(config)# spanning-tree priority 4096

OLT(config)#

9.1.1.3 Configure Device Forward Delay Time

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】

OLT(config)# spanning-tree timer forward-delay < Forward Delay >

【Example】Configure spanning-tree forward-delay as 20S

OLT(config)# spanning-tree timer forward-delay 20

- 108 -
OLT(config)#

9.1.1.4 Configure Device Hello Time

【Command】

OLT(config)# spanning-tree timer hello < Interval >

【Example】Configure spanning-tree hello timer 5 S

OLT(config)# spanning-tree timer hello 5

OLT(config)#

9.1.1.5 Configure Device Max-age Time

【Command】

OLT(config)# spanning-tree timer max-age < Max Age >

【Example】Configure spanning-tree max-age timer 18 S

OLT(config)#spanning-tree timer max-age 18

OLT(config)#

9.1.2 RSTP Interface Configuration

9.1.2.1 Configure Uplink Port RSTP Cost

【Command】

OLT(config-port-portid)# spanning-tree cost < Path Cost >

【Example】Configure uplink port ge3 spanning-tree path cost 20000

OLT(config-ge-3)# spanning-tree cost 20000

OLT(config-ge-3)#

- 109 -
9.1.2.2 Set Uplink Port As Boundary Port

【Command】

OLT(config-port-portid)# spanning-tree edged-port { enable | disable }

【Example】Enable uplink port ge 3 port as edged port

OLT(config-ge-3)# spanning-tree edged-port enable

OLT(config-ge-3)#

9.1.2.3 Configure Uplink Port Point-to -point Mode

【Command】

OLT(config-port-portid)# spanning-tree point-to-point { auto | force-false | force-true }

【Parameter Description】

auto: Match port duplex state automatically

force-true: Configure point-to-point link manually

force-false: Configure non point-to-point link manually

【Example】Configure uplink port ge 3 point-to-point auto

OLT(config-ge-3)#spanning-tree point-to-point auto

OLT(config-ge-3)#

9.1.2.4 Set Uplink Port Priority

【Command】

OLT(config-port-portid)# spanning-tree port-priority < Port Priority >

【Example】Configure uplink port ge 3 priority as 144

OLT(config-ge-3)# spanning-tree port-priority 144

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.

9.2.1 Switch MSTP Function

【Command】

OLT(config)# spanning-tree mstp { enable | disable }

【Example】Turn on MSTP function

OLT(config)# spanning-tree mstp enable

OLT(config)#

9.2.2 MSTP Region


This command is used to configure the regional name of the MST instance.So, an MSTP can divide a
switching network into Multiple regional, so that devices with the same regional configuration and
VLAN instance mapping are thought to be part of the same MST regional. Regional configuration
includes configuring the regional name and the revision level.

9.2.2.1 Configure Region Name

Restore the default Region Name, which defaults to the Mac address of the device.

【Command】

OLT(config)# spanning-tree mstp region_name < DESC >

OLT(config)# no spanning-tree mstp region_name

【Example1】Configure mstp region name as test

OLT(config)# spanning-tree mstp region_name test

OLT(config)#

【Example2】Restore mstp region name to default setting

OLT(config)# no spanning-tree mstp region_name

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)# spanning-tree mstp revision < Level >

OLT(config)# no spanning-tree mstp revision

【Example1】Configure MST instance revision level as 10

OLT(config)#spanning-tree mstp revision 10

OLT(config)#

【Example2】Restore MST instance revision leve to default setting

OLT(config)# no spanning-tree mstp revision

OLT(config)#

9.2.3 CIST

9.2.3.1 Configure Hello Time

【Command】

OLT(config)# spanning-tree mstp hello-time < Interval >

【Example】Configure multiple-spanning-tree hello timer 2 S

OLT(config)# spanning-tree mstp hello-time 2

OLT(config)#

9.2.3.2 Configure Forward Delay

【Command】

OLT(config)# spanning-tree mstp forward-delay < Forward Delay >

【Example】Configure multiple-spanning-tree forward-delay as 15S

- 112 -
OLT(config)# spanning-tree mstp forward-delay 15

OLT(config)#

9.2.3.3 Configure Max Age

【Command】

OLT(config)# spanning-tree mstp max-age < Max Age >

【Example】Configure multiple-spanning-tree max-age timer 20S

OLT(config)# spanning-tree mstp max-age 20

OLT(config)#

9.2.3.4 Configure Max Hop

【Command】

OLT(config)# spanning-tree mstp max-hop < Max Hop >

【Example】Configure spanning-tree max-hop 20

OLT(config)# spanning-tree mstp max-hop 20

OLT(config)#

9.2.4 MSTI

9.2.4.1 Configure Instance

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 >

【Example1】Configure instance 1 mapping vlan 100

- 113 -
OLT(config)# spanning-tree mstp instance 1 vlan 100

OLT(config

【Example2】Delete instance 1 mapping vlan 100

OLT(config)# no spanning-tree mstp instance 1 vlan 100

OLT(config)#

9.2.4.2 Configure Instance Priority

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)# no spanning-tree mstp instance < Instance ID > priority

【Example1】Configure instance 1 priority 1

OLT(config)# spanning-tree mstp instance 1 priority 1

OLT(config)#

【Example2】Restore default instance 1 priority

OLT(config)# no spanning-tree mstp instance 1 priority

OLT(config)#

9.2.5 MSTP Interface Configuration

9.2.5.1 Switch Port BPDU Guard

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 }

【Example】Turn off port BPDU guard

OLT(config)# spanning-tree mstp ge 1 bpduguard 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.

9.2.5.2 Switch Port Loopback Detect

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 }

【Example】Turn on port loopback detect

OLT(config)# spanning-tree mstp ge 1 loopback-detect enable

OLT(config)#

9.2.5.3 Configure Migration Check

This command is used to trigger protocol migration.

【Command】

OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } migration-check

【Example】Configure ge 1 port migration check

OLT(config)# spanning-tree mstp ge 1 migration-check

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】

auto: Match port duplex state automatically

force-true: Configure point-to-point link manually

force-false: Configure non point-to-point kink manually

【Example】Configure uplink port ge 1 point-to-point auto

OLT(config)# spanning-tree mstp ge 1 point-to-point auto

OLT(config)#

9.2.5.5 Configure Edge Port

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

force-true: Manually configured for edge port

force-false: Manually configured as a non-edge port

【Example】Enable uplink port ge 1 port edge auto

OLT(config)# spanning-tree mstp ge 1 edge auto

OLT(config)#

- 116 -
9.2.5.6 Configure Port Cost

【Command】

OLT(config)# spanning-tree mstp { [ ge | xge ] < Port ID > } < Instance ID > cost

【Example】Configure ge 1 port cost 20000

OLT(config)# spanning-tree mstp ge 1 1 cost 20000

OLT(config)#

9.2.5.7 Configure Port Priority

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 >

【Example】Configure ge 1 port priority 1

OLT(config)# spanning-tree mstp ge 1 1 port-priority 1

OLT(config)#

9.3 IGMP

9.3.1 Network Demand


 ONU is 2/1,multicast VLAN is 100,router port is ge1; global mode to set IGMP mode.

 Configure the corresponding functions on global,multicast vlan and ONU .

9.3.2 IGMP Global Configuration

9.3.2.1 Configure IGMP Mode

IGMP mode have three status:disable,snooping and proxy,default mode is disable.

【Command】

OLT(config)# igmp mode { disable | snooping | proxy }

- 117 -
【Example】Configure device igmp snooping mode

OLT(config)# igmp mode snooping

OLT(config)#

9.3.2.2 Configure IGMP Fast Leave

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)# igmp fast-leave { disable | enable }

【Example】Turn on device fast-leave

OLT(config)# igmp fast-leave enable

OLT(config)#

9.3.2.3 Configure IGMP Upstream Protocol Packets Policy

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)# igmp protocol-packets policy { discard | pass }

【Example】Configure IGMP upstream protocol packets policy discard

OLT(config)# igmp protocol-packets policy discard

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)# igmp snooping group-aging-time < Age Times >

【Example】Configure igmp snooping group-aging-time 200

OLT(config)# igmp snooping group-aging-time 200

OLT(config)#

9.3.2.5 IGMP Proxy Mode Parameters

1. Configure General Query Interval:

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)# igmp proxy gen-query-interval < Interval >

【Example】Configure igmp igmp proxy gen-query-interval 100S

OLT(config)# igmp proxy gen-query-interval 100

OLT(config)#

2. Configure General Query Max Response Time

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】

OLT(config)# igmp proxy gen-response-time < Response Times >

【Example】Configure igmp igmp proxy gen-response-time 100S

OLT(config)# igmp proxy gen-response-time 20

- 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)# igmp proxy robustness < Robustness >

【Example】Configure igmp proxy robustness 3S

OLT(config)# igmp proxy robustness 3

OLT(config)#

4. Configure Specific Query Interval

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)# igmp proxy sp-query-interval < Interval >

【Example】Configure igmp proxy sp-query-interval 2000 S

OLT(config)# igmp proxy sp-query-interval 2000

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)# igmp proxy sp-query-number < Number >

【Example】Configure igmp proxy sp-query-number igmp 3 times

OLT(config)# igmp proxy sp-query-number 3

OLT(config)#

6. Configure Specific Query Max Response Time

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)# igmp proxy sp-response-time < Response times >

【Example】Configure igmp proxy sp-response-time 1000S

OLT(config)# igmp proxy sp-response-time 1000

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

7. Configure Query Source IP

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】

OLT(config)# igmp proxy src-ip < Source IP >

【Example】Configure igmp proxy query source ip 192.168.1.1

- 121 -
OLT(config)# igmp proxy src-ip 192.168.1.1

OLT(config)#

8. Configure Query Source MAC

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)# igmp proxy src-mac < Source MAC >

【Example】Configure igmp proxy query source MAC 00:01:02:03:04:05

OLT(config)# igmp proxy src-mac 00:01:02:03:04:05

OLT(config)#

9. View IGMP Configuration

【Command】

OLT(config)# show igmp config

【Example】

OLT(config)# show igmp config

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

IGMP Global Config :

IGMP Mode : Disable

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

OLT(config)#

9.3.3 Multicast VLAN Setting

9.3.3.1 Configure Multicast Unknown Policy

- 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-vlanid)# igmp multicast-unknown policy { discard | transparent }

【Example】Configure igmp multicast-unknown policy discard

OLT(multicast-vlan-100)# igmp multicast-unknown policy discard

OLT(multicast-vlan-100)#

9.3.3.2 Add Multicast Programs

Add the program library, users can switch to the multicast VLAN program channel.

【Command】

OLT(multicast-vlan-vlanid)# igmp program ip < Multicast IP > < DESC >

OLT(multicast-vlan-vlanid)# igmp program ip batch < Start Multicast IP > < End Multicast IP > <
DESC >

【Example1】Add single program 224.1.1.1

OLT(multicast-vlan-100)# igmp program ip 224.1.1.1

OLT(multicast-vlan-100)#

【Example2】Add batch program 224.1.1.1-234.1.1.1

OLT(multicast-vlan-100)# igmp program ip batch 224.1.1.1 234.1.1.1

OLT(multicast-vlan-100)#

9.3.3.3 Configure Multicast Router Port

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 >

【Example】Configure ge 1 port as igmp router port

OLT(multicast-vlan-100)# igmp router-port ge 1

OLT(multicast-vlan-100)#

9.3.3.4 Show Multicast Vlan Configuration

【Command】

OLT(config)# show multicast-vlan { all | < Multicast VLAN ID > }

【Example】View all multicast-vlan

OLT(config)# show multicast-vlan all

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

Multicast VLAN 100 Config:

Description: MVLAN100

IGMP Router Port: GE01

Multicast Unknown Policy: Transparent

IGMP Program: 224.1.1.1 Description:

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

OLT(config)#

9.3.4 IGMP Entry Configuration

9.3.4.1 Add Static Group Entry

【Command】

OLT(config)# igmp static ip < Multicast IP Address > { epon | ge | xge } < Port List > vlan < VLAN ID >

【Example】

OLT(config)# igmp static ip 224.1.1.1 ge 2 vlan 100

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)#no igmp static ip 224.1.1.1 ge 2 vlan 100

OLT(config)#

9.3.4.3 View Group Entry

【Command】

OLT(config)# show igmp entry { all | dynamic | static | multi-ip < Multicast IP > | vlan < VLAN ID > }

【Example1】View all igmp entries

OLT(config)# show igmp entry all

OLT(config)#

【Example2】View dynamic igmp entries

OLT(config)# show igmp entry dynamic

OLT(config)#

9.3.5 ONU Multicast Configuration

9.3.5.1 Configure ONU Multicast Mode

The default is igmp snooping mode,optional CTC controlled multicast mode.

【Command】

OLT(config-onu-ponid/onuid)# multicast mode { < Private ID > | snooping | ctc }

【Example】Configure ONU igmp-snooping mode

OLT(config-onu-1/2)# multicast mode igmp-snooping

- 125 -
OLT(config-onu-1/2)#

9.3.5.2 View ONU Multicast Mode

【Command】

OLT(config-onu-ponid/onuid)# show multicast mode

【Example】

OLT(config-onu-1/2)# show multicast mode

ONU : 1:2

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

igmp mode :ctc

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

OLT(config-onu-1/2)#

9.3.5.3 Switch ONU Fast Leave Switch

The default is disable.

【Command】

OLT(config-onu-ponid/onuid)# multicast fast-leave-admin state { enable | disable }

【Example】Turn off ONU fast leave function

OLT(config-onu-1/2)# multicast fast-leave-admin state disable

OLT(config-onu-1/2)#

9.3.5.4 Configure Multicast Group Max Num

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 >

【Example】Configure ONU 1/2 UNI 1 multicast group-num_max 32

OLT(config-onu-1/2)# multicast 1 group-num_max 32

OLT(config-onu-1/2)#

9.3.5.5 View Multicast Group Max Num

【Command】

OLT(config-onu-ponid/onuid)# show multicast < Port ID > multicast-vlan

【Example】

OLT(config-onu-1/2)# show multicast 1 group-num-max

ONU : 1:2

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

Group num max :32

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

OLT(config-onu-1/2)#

9.3.5.6 Configure ONU Multicast VLAN

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】

OLT(config-onu-ponid/onuid)# multicast < Port ID > multicast-vlan < VLAN ID >

OLT(config-onu-ponid/onuid)# no multicast < Port ID > multicast-vlan < VLAN ID >

OLT(config-onu-ponid/onuid)# multicast < Port ID > multicast-vlan clear

OLT(config-onu-ponid/onuid)# show multicast < Port ID > multicast-vlan

- 127 -
【Example1】Configure ONU 1/2 UNI 1 multicast-vlan 100

OLT(config-onu-1/2)# multicast 1 multicast vlan 100

OLT(config-onu-1/2)#

【Example2】Delete ONU 1/2 UNI 1 single multicast vlan 100

OLT(config-onu-1/2)# no multicast 1 multicast-vlan 100

OLT(config-onu-1/2)#

【Example3】Delete ONU 1/2 UNI 1 all multicast vlan

OLT(config-onu-1/2)# multicast 1 multicast-vlan clear

OLT(config-onu-1/2)#

【Example4】View ONU 1/2 UNI 1 multicast vlan

OLT(config-onu-1/2)# show multicast 1 multicast-vlan

ONU : 1:2

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

Multicast VLAN : 200, 300, 100

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

OLT(config-onu-1/2)#

9.3.5.7 ONU Multicast Tag Mode

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

【Example1】Configure ONU 1/2 UNI 1 multicast untag mode

- 128 -
OLT(config-onu-1/2)# multicast 1 tagmode untag

OLT(config-onu-1/2)#

【Example2】Configure ONU 1/2 UNI 1 multicast tag mode

OLT(config-onu-1/2)# multicast 1 tagmode tag

OLT(config-onu-1/2)#

【Example3】Configure ONU 1/2 UNI 1 multicast translation mode(Up to 8 group translation)

OLT(config-onu-1/2)# multicast 1 tagmode translate 100 200

OLT(config-onu-1/2)#

9.3.5.8 View Multicast Tag Mode

【Command】

OLT(config-onu-ponid/onuid)# show multicast < Port ID > tagmode

【Example】View ONU 1/2 UNI 1 multicast mode

OLT(config-onu-1/2)# show multicast 1 tagmode

ONU : 1:2

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

Multicast Tag Mode :Translate

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

Service-vlan Customer-vlan

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

100 200

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

OLT(config-onu-1/2)#

- 129 -
9.4 DHCP

9.4.1 DHCP Global Configuration


The device support DHCP snooping,DHCP relay and DHCP option82 functions.

9.4.1.1 Switch DHCP Function

DHCP function is disabled by default

【Command】

OLT(config)# ip dhcp { enable | disable }

【Example】Turn on ip dhcp function

OLT(config)# ip dhcp enable

OLT(config)#

9.4.1.2 Show DHCP Global Configuration

【Command】

OLT(config)# show ip dhcp config

【Example】

OLT(config)# show ip dhcp config

DHCP Status: Enable

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

DHCP Snooping Status: Disable

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

DHCP Option82 Status: Disable

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

DHCP Server Status: Disable

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

- 130 -
DHCP Relay Status: Disable

OLT(config)#

9.4.2 DHCP Snooping


The DHCP snooping function records user IP/MAC information by monitoring the packets interaction
between the DHCP client and the server.

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.

9.4.2.1 Switch DHCP Snooping Function

DHCP snooping function is disabled by default

【Command】

OLT(config)# ip dhcp snooping { enable | disable }

【Example】Turn on ip dhcp snooping function

OLT(config)# ip dhcp snooping enable

OLT(config)#

9.4.2.2 Trust Port Setting

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)# ip dhcp snooping trust { ge | xge } < Port List >

OLT(config)# no ip dhcp snooping trust { ge | xge } < Port List >

【Example1】Add ge 2 and 4 port to trust ports

OLT(config)# ip dhcp snooping trust ge 2,4

OLT(config)#

- 131 -
【Example2】Remove ge 2 and 4 port from trust ports

OLT(config)# no ip dhcp snooping trust ge 2,4

OLT(config)#

9.4.2.3 Client Address Check Setting

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)# ip dhcp snooping chaddr-check { enable | disable }

【Example】Turn on dhcp snooping chaddr-check function

OLT(config)# ip dhcp snooping chaddr-check enable

OLT(config)#

9.4.2.4 Wait Response Time Setting

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)# ip dhcp snooping table response-wait-time < Response Time >

【Example】Configure dhcp snooping table response-wait-time 120 S

OLT(config)# ip dhcp snooping table response-wait-time 120

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)# show ip dhcp entry

OLT(config)# show ip dhcp entry

IP Address MAC Address Port VLAN Least Time Status

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

0.0.0.0 28:d2:44:f8:42:6a GE01 1 0 Invalid

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

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)# show ip dhcp entry

IP Address MAC Address Port VLAN Least Time Status

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

192.168.1.10 28:d2:44:f8:42:6a GE01 1 86400 Valid

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

OLT(config)#

9.4.3 DHCP Relay


The DHCP Relay function works on layer3 and enables the DHCP client to send the request packet to
the specified DHCP server.

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

9.4.3.1 Switch DHCP Relay Function

DHCP relay function is disabled by default

【Command】

OLT(config)# ip dhcp relay { enable | disable }

【Example】Turn on ip dhcp relay function

OLT(config)# ip dhcp relay enable

OLT(config)#

9.4.3.2 DHCP Relay Policy Setting

DHCP Relay has two policy:

 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)# ip dhcp relay policy { standard | option60 }

【Example】configure dhcp relay option60 policy

OLT(config)# ip dhcp relay policy option60

OLT(config)#

9.4.3.3 Configure DHCP Relay Server Table

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)# ip dhcp relay server 192.168.1.1 option60 test

OLT(config)#

【Example2】

OLT(config)# ip dhcp relay server 192.168.1.1 vlanif 100

OLT(config)#

9.4.4 DHCP Option82

 Support Sub-Option 1(Circuit ID): VLAN+PORT

 Support Sub-Option 2(Remote ID): OLT MAC

9.4.4.1 Switch DHCP Option82 Function

DHCP option82 function is disabled by default

【Command】

OLT(config)# ip dhcp option82 { enable | disable }

【Example】Turn on ip dhcp option82 function

OLT(config)# ip dhcp option82 enable

OLT(config)#

9.4.4.2 Configure DHCP Option82 Policy

 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)# ip dhcp option82 policy { drop | replace | reserve }

【Example】Configure dhcp option82 drop policy

OLT(config)# ip dhcp option82 policy drop

OLT(config)#

9.4.5 DHCP Server


DHCP Server is generally used in local area network (LAN). It needs to automatically assign IP
address to the host that accesses OLT. At this time, it will be used as DHCP Server to manage and
maintain IP address.Example: IP address is automatically assigned to the camera in the LAN.

9.4.5.1 Switch DHCP Server Function

DHCP Server function is disabled by default.

Note: Opening the DHCP server requires disable the DHCP Snooping ,DHCP DHCP Relay and
DHCP Option82 function.

【Command】

OLT(config)# ip dhcp server { enable | disable }

【Example】Turn on dhcp server function

OLT(config)# ip dhcp server enable

OLT(config)#

9.4.5.2 Configure DHCP Server Interface

DHCP Server by default with inbound interface VLANIf 1.

【Command】

OLT(config)# ip dhcp server interface vlanif < VLAN ID >

- 136 -
【Example】Configure DHCP server vlanif 100 Interface

OLT(config)# ip dhcp server interface vlanif 100

OLT(config)#

9.4.5.3 Configure Lease Time

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)# ip dhcp server lease-time < Lease Time >

【Example】Configure DHCP server lease time 3600

OLT(config)# ip dhcp server lease-time 3600

OLT(config)#

9.4.5.4 Configure IP Pool

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 >

【Example】Configure DHCP server ip pool 192.168.88.100~192.168.88.200

OLT(config)# ip dhcp server ip-pool 192.168.88.100 192.168.88.200

OLT(config)#

9.4.5.5 Configure Gateway

【Command】

OLT(config)# ip dhcp server gateway < Gateway >

- 137 -
【Example】Configure DHCP server gateway 192.168.88.1

OLT(config)# ip dhcp server gateway 192.168.88.1

OLT(config)#

9.4.5.6 Configure Netmask

【Command】

OLT(config)# ip dhcp server netmask < Netmask >

【Example】Configure DHCP server netmask 255.255.255.0

OLT(config)# ip dhcp server netmask 255.255.255.0

OLT(config)#

9.4.5.7 Configure DNS

Master DNS must be configured. Backup DNS is optional

【Command】

OLT(config)# ip dhcp server dns < Master DNS > < Backup DNS >

【Example】Configure DHCP server master DNS 192.168.88.1

OLT(config)# ip dhcp server dns 192.168.88.1

OLT(config)#

9.4.6 DHCPv6
The device support DHCPv6 function,DHCPv6 Option18 and DHCPv6 option37 functions.

9.4.6.1 Switch DHCPv6 Function

【Command】

OLT(config)# dhcpv6 { enable | disable }

- 138 -
【Example】Turn on dhcpv6 function

OLT(config)# dhcpv6 enable

OLT(config)#

9.4.6.2 Switch DHCPv6 Option18 Function

【Command】

OLT(config)# dhcpv6 option18 { enable | disable }

【Example】Turn on dhcpv6 option18 function

OLT(config)# dhcpv6 option18 enable

OLT(config)#

9.4.6.3 Switch DHCPv6 Option37 Function

【Command】

OLT(config)# dhcpv6 option37 { enable | disable }

【Example】Turn on dhcpv6 option37 function

OLT(config)# dhcpv6 option37 enable

OLT(config)#

9.4.6.4 View DHCPv6 Configuration

【Command】

OLT(config)# show ip dhcpv6 config

【Example】Turn on dhcp server function

OLT(config)# show ip dhcpv6 config

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

- 139 -
DHCPV6 Status: Enable

DHCPV6 Option18 Status: Enable

DHCPV6 Option37 Status: Disable

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

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

10.1.1.1 Create Relative Time

【Command】

OLT(config)# time-range < Name > < Start-Time > to < End-Time > { daily | fri | mon | sat | sun | thu |
tue | wed | weekend | working-day }

【Example】Create relative time range test

OLT(config)# time-range test 9:00 to 18:00 mon

OLT(config)#

10.1.1.2 Delete Relative Time

【Command】

OLT(config)# no time-range < Name > relative < Start-Time >

OLT(config)# no time-range all

【Example1】Delete relative time range test

OLT(config)# no time-range test

OLT(config)#

【Example2】Delete all time range

OLT(config)# no time-range all

OLT(config)#

- 141 -
10.1.1.3 View Relative Time

【Command】

OLT(config)# show time-range { all | < Name> }

【Example】Delete relative time range test

OLT(config)# show time-range test

Current time is 2020-12-03 14:43 Thurday

Time-range : test(Inactive)

09:00 to 18:00 Monday

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

10.1.2.1 Create Absolute Time

【Command】

OLT(config)# time-range < Name > from < Start-Time > < Start-Day > to < End-Time > < End-Day >

【Example】Create absolutely time range test 1

OLT(config)# time-range test1 from 9:00 2019/4/29 to 18:00 2019/4/29

OLT(config)#

10.1.2.2 Delete Absolute Time

【Command】

OLT(config)# no time-range < Name > absolute < Start-Time > < Start-Day >

OLT(config)# no time-range all

【Example】Delete absolute time range test1

- 142 -
OLT(config)# no time-range test1

OLT(config)#

10.1.2.3 View Absolute Time

【Command】

OLT(config)# show time-range { all | < Name> }

【Example】Delete absolute time range test

OLT(config)# show time-range test1

Current time is 2020-12-03 14:46 Thurday

Time-range : test1(Inactive)

From 2019-04-29 09:00 to 2019-04-29 18:00

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.

10.2.1.1 Create Basic ACL

【Command】

OLT(config)# acl < Basic ACL ID >

【Example】Create basic acl 2000

OLT(config)# acl 2000

ACL 2000 create successful

- 143 -
OLT(acl-basic-2000)#

10.2.1.2 Add Basic ACL Rule

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 >

【Example1】Create basic acl 2000 rule 1

OLT(acl-basic-2000)# rule 1 permit source 192.168.1.1 0.0.0.255

OLT(acl-basic-2000)#

【Example2】Create basic acl 2000 rule 2

OLT(acl-basic-2000)# rule 2 deny source any

OLT(acl-basic-2000)#

10.2.1.3 Delete Basic ACL Rule

【Command】

OLT(acl-basic-id)# no rule < Rule ID >

【Example】Delete basic acl 2000 rule 1

OLT(acl-basic-2000)# no rule 1

OLT(acl-basic-2000)#

10.2.1.4 View Basic ACL Rule

【Command】

OLT(acl-basic-id)# show rule

- 144 -
【Example】Show basic acl 2000 rule

OLT(acl-basic-2000)# show rule

Basic ACL 2000, 2 rules hold

rule 2 deny source any

rule 1 permit source 192.168.1.1 0.0.0.255

OLT(acl-basic-2000)#

10.2.1.5 Modify Basic ACL Rule ID

【Command】

OLT(acl-basic-id)# rule < Rule ID > down

OLT(acl-basic-id)# rule < Rule ID > up

OLT(acl-basic-id)# rule < Old Rule ID > move to < New Rule ID >

【Example】Modify basic acl 2000 rule ID 1 into 12

OLT(acl-basic-2000)# rule 1 move to 12

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.

10.2.2.1 Create Advanced ACL

【Command】

OLT(config)# acl < Advanced ACL ID >

【Example】Create advance acl 3000

OLT(config)# acl 3000

- 145 -
ACL 3000 create successful

OLT(acl-adv-3000)#

10.2.2.2 Add Advanced ACL Rule

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

【Example1】Create advance acl 3000 rule 1

OLT(acl-adv-3000)# rule 1 deny udp src-port 5000 time-range test

OLT(acl-adv-3000)#

【Example2】Create advance acl 3000 rule 2

OLT(acl-adv-3000)# rule 2 permit icmp source 192.168.2.1 0.0.0.255

OLT(acl-adv-3000)#

10.2.2.3 Delete Advanced ACL Rule

【Command】

OLT(acl-basic-id)# no rule < Rule ID > { all | dest-port | destination | dscp | precedence | source | src-
port | time-range}

【Example】Delete advance acl 3000 rule 3

OLT(acl-adv-3000)# no rule 3 all

OLT(acl-adv-3000)#

- 146 -
10.2.2.4 View Advanced ACL Rule

【Command】

OLT(acl-adv-id)# show rule

【Example】Show advance acl 3000 rule

OLT(acl-adv-3000)# show rule

Advanced ACL 3000, 2 rules hold

rule 2 deny udp src-port 5566 time-range test

rule 1 permit icmp source 192.168.2.1 0.0.0.255

OLT(acl-adv-3000)#

10.2.2.5 Modify Advanced ACL Rule ID

【Command】

OLT(acl-adv-id)# rule < Rule ID > down

OLT(acl-adv-id)# rule < Rule ID > up

OLT(acl-adv-id)# rule < Old Rule ID > move to < New Rule ID >

【Example】Modify advance acl 3000 rule ID 1 into 6

OLT(acl-adv-3000)# rule 1 move to 6

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.

10.2.3.1 Create Link ACL

【Command】

- 147 -
OLT(config)# acl < Link ACL ID >

【Example】Create link acl 5000

OLT(config)# acl 5000

ACL 5000 create successful

OLT(acl-link-5000)#

10.2.3.2 Add Link ACL Rule

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

【Example1】Create link acl 5000 rule 1

OLT(acl-link-5000)# rule 1 permit type 0x0806 vlan 100

OLT(acl-link-5000)#

【Example2】Create link acl 5000 rule 2

OLT(acl-link-5000)# rule 2 deny source e063-3400-000e 0000-0000-ffff

OLT(acl-link-5000)#

10.2.3.3 Delete Link ACL Rule

【Command】

OLT(acl-link-id)# no rule < Rule ID >

【Example】Delete link acl 5000 rule 4

OLT(acl-link-5000)# no rule 4

- 148 -
OLT(acl-link-5000)#

10.2.3.4 View Link ACL Rule

【Command】

OLT(acl-link-id)# show rule

【Example】Show link acl 5000 rule

OLT(acl-link-5000)# show rule

Link ACL 5000, 2 rules hold

rule 2 deny source e063-3400-000e 0000-0000-ffff

rule 1 permit type 0x0806 vlan 100

OLT(acl-link-5000)#

10.2.3.5 Modify Link ACL Rule ID

【Command】

OLT(acl-link-id)# rule < Rule ID > down

OLT(acl-link-id)# rule < Rule ID > up

OLT(acl-link-id)# rule < Old Rule ID > move to < New Rule ID >

【Example】Up link acl 5000 rule ID 2 to 3

OLT(acl-link-5000)# rule 2 up

OLT(acl-link-5000)#

10.2.4View ACL

【Command】

OLT(config)# show acl { < ACL ID > | all }

【Example】Show all acl

- 149 -
OLT(config)# show acl all

Basic ACL 2000, 0 rules hold

Advanced ACL 3000, 0 rules hold

Link ACL 5000, 0 rules hold

OLT(config)#

10.2.5Delete ACL

【Command】

OLT(config)# no acl { < ACL ID > | all }

【Example】Delete acl 2000

OLT(config)# no acl 2000

Number of acl: 1, success: 1

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.

10.3.1Configure Packet Filter

【Command】

OLT(config)# packet-filter inbound < ACL ID > rule-id < Rule ID > port { [ epon | ge | xge ] < Port ID > }

【Example】Apply ACL 2000 to ge 4 port

OLT(config)# packet-filter inbound 2000 port ge 4

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

【Example】Delete ACL 2000 from ge 4 port

OLT(config)# no packet-filter inbound 2000 port ge 4

OLT(config)#

10.3.3View Packet Filter

【Command】

OLT(config)# show packet-filter { all | port { [ epon | ge | xge ] < Port ID > }}

【Example】Show all packet-filter entries

OLT(config)# show packet-filter all

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

inbound acl 2000 rule 1 port pon 1 running

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

inbound acl 2000 rule 12 port pon 1 running

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

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

10.4.2Configure WRR Queue Scheduler Mode


You can set Queue scheduler.If you select WRR mode, all weight plus must be 100 or zero.

【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)# qos queue-scheduler wrr 10 20 30 40 0 0 0 0

OLT(config)#

10.4.3View queue-scheduler

【Command】

OLT(config)# show queue-scheduler

【Example】

OLT(config)# show queue-scheduler

Queue scheduler mode : SP

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

- 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

11.1.1Switch Route Status Function

【Command】

OLT(config)# ip route { enable | disable }

【Example】Turn on ip route function

OLT(config)# ip route enable

OLT(config)#

【Note】When you close route status,all the static route entry and arp entry will clear.

11.1.2Add Static Route Entry

【Command】

OLT(config)# ip route-static dest-ip { < Destination IP > < Netmask >/ < IP Prefix Length > next-hop <
Next Hop IP >

【Example】

OLT(config)# ip route-static dest-ip 192.168.200.12 netmask 255.255.255.0 next-hop 192.168.100.1

OLT(config)#

11.1.3Delete Static Route Entry

【Command】

OLT(config)# no ip route-static dest-ip { < Destination IP > < Netmask >/ < IP Prefix Length > next-hop
< Next Hop IP >

【Example】

OLT(config)#no ip route-static dest-ip 192.168.200.12 netmask 255.255.255.0 next-hop


192.168.100.1

- 155 -
OLT(config)#

11.1.4Display Route Static


When next-hop is reachable,will learn the next-hop gateway ARP,the status will become reachable.

【Command】

OLT(config)# show route-table

【Example】

OLT(config)# show route-table

IP Route:enable

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

Destination/Mask Next-Hop Interface Protocol Preference Status

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

192.168.200.0/24 192.168.100.1 VlanIf1 Static 2 Reachable

192.168.100.0/24 192.168.100.2 VlanIf1 Direct 1 Reachable

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

OLT(config)#

11.2ARP Table

11.2.1View Arp-Table

【Command】

OLT(config)# show arp-table

【Example】

OLT(config)# show arp-table

IP Address MAC Address Port VLAN

- 156 -
-----------------------------------------------------------------------------

192.168.100.1 38:3a:21:f0:01:01 PON01 1

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

OLT(config)#

11.2.2Clear Arp-Table

【Command】

OLT(config)# arp flush all

【Example】

OLT(config)# arp flush all

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.

12.1Create Link Aggregation


【Command】

OLT(config)# link-aggregation group < Group ID > member add { ge | xge < Port List > }

【Example】Create link-aggregation group 1

OLT(config)# link-aggregation group 1 member add ge 1-3

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】

OLT(config)# show link-aggregation group

【Example】

OLT(config)# show link-aggregation group

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

Link Aggregation Group:1

Member Port: GE01,GE02,GE03

Load Balance Mode: Src MAC

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

OLT(config)#

12.3Configure Link Aggregation Group Balance Algorithm


The default load balancing routing algorithm is based on src-mac for hashing, and other routing
algorithms can be configured according to requirements.

【Command】

OLT(config)# link-aggregation group < Group ID > load-balance { dest-ip | dest-mac | src-dest-ip | src-
dest-mac | src-ip | src-mac }

【Example】Configure link-aggregation group 1 src-ip balance algorithm

OLT(config)# link-aggregation group 1 load-balance src-ip

OLT(config)#

12.4Delete Link Aggregation


【Command】

- 159 -
OLT(config)# link-aggregation group < Group ID > member delete { ge | xge < Port List > }

【Example】Delete link-aggregation group 1

OLT(config)# link-aggregation group 1 member delete ge 1-3

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

Abbreviation English Explanation

AES Advanced Encryption Standard

ARP Address Resolution Protocol

CATV Cable Television

CLI Command Line Interface

MCSB Main Control and Switching Board

DBA Dynamic Bandwidth Allocation

DHCP Dynamic Host Configuration Protocol

DMA Destination MAC address

DSCP Differentiated Services Code Point

DTE Data Terminal Equipment

EMS Element Management System

FCAPS Fault, Configuration, Accounting, Performance and Security


management

FTTB Fiber To The Building

FTTC Fiber to the Curb

FTTH Fiber To The Home

GE Gigabit Ethernet

- 161 -
缩写术语

Abbreviation English Explanation

GEM GPON Encapsulation Method

GPON Gigabit-Capable Passive Optical Network

ICMP Internet Control Message Protocol

LAG Link Aggregation Group

MAC Medium Access Control

MDU Multi Dwelling Units

MGCP Media Gateway Control Protocol

MIB Management Information Base

MTBF Mean Time Between Failures

MTTR Mean Time to Repair

NE Network Element

OAM Operation, Administration and Maintenance

ODN Optical Distribution Network

OLT Optical Line Terminal

OMCI ONU Management and Control Interface

ONT Optical Network Terminal

ONU Optical Network Unit

PDU Protocol Data Unit

- 162 -
Abbreviation English Explanation

PIR Peak Information Rate

PMD Physical Medium Dependent

PON Passive Optical Network

POTS Plain Ordinary Telephone Service

PVID Port based VLAN ID

PVST Per-VLAN (Rapid) Spanning Tree

QoS Quality of Service

RSTP Rapid Spanning Tree Protocol

RTT Round Trip Time

SCB Single Copy Broadcast

SFU Single Family Unit

SLA Service Level Agreement

SMA Source MAC Address

SMB Small to Medium Business

SMF Single-mode Fiber

SNI Service Node Interface

SNMP Simple Network Management Protocol

STP Spanning Tree Protocol

- 163 -
缩写术语

Abbreviation English Explanation

SVI Switch Virtual Interface

TC Transmission Convergence

T-CONT Transmission Container

TDM Time Division Multiplex

TOS Type Of Service

UNI User Network Interface

VLAN Virtual Local Area Network

WRED Weighted Random Early Detection

WRR Weighted Round Robin

XFP 10 Gigabit Small Form Factor Pluggable Module

- 164 -

You might also like