C Data FD16XX User Manual Command Reference 0618
C Data FD16XX User Manual Command Reference 0618
User Manual
FD16XX
--Command Reference
Version: V2.0
Website: www.cdatatec.com
GPON OLT User Manual
Copyright Reserved
Without the prior written consent of C-DATA, any reproduction, excerpting, backup, modification, translation
or any other form of commercial use of this document or any portion of this document, and in any form or by
Trademark Declaration
is a trademark or registered trademark of C-DATA and its affiliates. Without the prior written
consent of C-DATA , no entity or individual may use, copy, modify, disseminate or bundle any part of the
All other trademarks, product names, service names and company names mentioned in this document and
mentioned in the products described in this document are the property of their respective holders.
Disclaimer
The information in this document is made based on the existing information and may be verified at any time
due to product upgrade or any other reasons. We reserve the right to alter, modify or otherwise change in any
manner the content hereof, without obligation of C-DATA to notify any person of such revision or changes. This
C-DATA endeavors to ensure content accuracy and will not assume any responsibility for losses and damages
caused due to content omissions, inaccuracies or errors. All statements, information, and recommendations in
Revision History
Contents
Contents ....................................................................................................................................................................1
1 Overview ..............................................................................................................................................................19
1.1 Command View ........................................................................................................................................ 19
1.2 Command Line Conventions .................................................................................................................... 20
2 OLT Port Management ........................................................................................................................................ 21
2.1 Port Property Configuration .....................................................................................................................21
2.1.1 auto-neg ........................................................................................................................................ 21
2.1.2 combo ............................................................................................................................................22
2.1.3 fec .................................................................................................................................................. 22
2.1.4 flow-control ...................................................................................................................................22
2.1.5 frame-max ..................................................................................................................................... 23
2.1.6 isolate ............................................................................................................................................ 23
2.1.7 optical-alarm-profile ..................................................................................................................... 24
2.1.8 show port ddm-info ...................................................................................................................... 25
2.1.9 show port ddm-info alarm ............................................................................................................ 27
2.1.10 show port isolate .........................................................................................................................27
2.1.11 show port state ........................................................................................................................... 28
2.1.12 shutdown .....................................................................................................................................30
2.1.13 speed ........................................................................................................................................... 30
2.2 Traffic suppression function .....................................................................................................................31
2.2.1 traffic-suppress ..............................................................................................................................31
2.3 MAC Address Configuration .....................................................................................................................32
2.3.1 mac-address learning .................................................................................................................... 32
2.3.2 mac-address learning disable action ............................................................................................ 32
2.3.3 mac-address limit .......................................................................................................................... 33
2.3.4 mac-address limit exceed-action .................................................................................................. 33
2.3.5 mac-address static ........................................................................................................................ 34
3 Layer 2 command ................................................................................................................................................ 35
3.1 VLAN Configuration .................................................................................................................................. 35
3.1.1 show vlan .......................................................................................................................................35
3.1.2 show port vlan ...............................................................................................................................36
3.1.3 vlan ................................................................................................................................................ 37
3.1.4 vlan access .....................................................................................................................................38
3.1.5 vlan description ............................................................................................................................. 38
3.1.6 vlan trunk .......................................................................................................................................39
3.1.7 vlan hybrid .....................................................................................................................................39
3.1.8 vlan mode ......................................................................................................................................40
3.1.9 vlan native-vlan ............................................................................................................................. 40
3.1.10 vlan user-bridge .......................................................................................................................... 41
3.2 MAC address configuration ......................................................................................................................41
3.2.1 mac-address black-hole ................................................................................................................ 41
3.2.2 mac-address flush ......................................................................................................................... 42
1
GPON OLT User Manual
2
GPON OLT User Manual
3
GPON OLT User Manual
4
GPON OLT User Manual
5
GPON OLT User Manual
6
GPON OLT User Manual
7
GPON OLT User Manual
8
GPON OLT User Manual
9
GPON OLT User Manual
10
GPON OLT User Manual
11
GPON OLT User Manual
12
GPON OLT User Manual
13
GPON OLT User Manual
14
GPON OLT User Manual
15
GPON OLT User Manual
16
GPON OLT User Manual
17
GPON OLT User Manual
18
GPON OLT User Manual
1 Overview
Command View
1.1Command View
To facilitate user configuration and management of OLT, this series of OLT assigns commands
to different views based on their functions and permissions. Each command can only be
This command line environment is divided into multiple views including: This command line
19
GPON OLT User Manual
meanings:
Format Description
(x|y|…… ) Indicates that one must be selected from two or more parameters
20
GPON OLT User Manual
[Configuration case]
Case 1: Enable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-ge-0/0)#auto-neg 1 enable
Case 2: Disable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-ge-0/0)#auto-neg 1 disable
21
GPON OLT User Manual
2.1.2 combo
Command Syntax combo portlist (copper | fiber | auto)
The command is used to configure the type of upper port, with the
Description
default type being auto.
[Configuration case]
2.1.3 fec
Command Syntax fec PORTID (enable|disable)
[Configuration case]
2.1.4 flow-control
Command Syntax flow-control portlist (enable|disable)
22
GPON OLT User Manual
[Configuration case]
2.1.5 frame-max
frame-max portlist value
Command Syntax
no frame-max portlist
value Range:1518-9600.
[Configuration case]
2.1.6 isolate
Command Syntax isolate port-list (enable|disable)
enable|disable enable:Enable the isolation function of this port from other ports
23
GPON OLT User Manual
[Configuration case]
Case1: Enable the isolation function between PON1 port and other ports.
OLT(config-interface-gpon-0/0)# isolate 1 enable
OLT(config-interface-gpon-0/0)#
2.1.7 optical-alarm-profile
optical-alarm-profile (PORTID | all) (profile_id <1-256> |
Command Syntax profile_name PROFILE_NAME)
no optical-alarm-profile (PORTID | all)
[Configuration case]
Case1: Bind the PON1 port to the Optical module alarm profile 1.
OLT(config-gpon-0/0)# optical-alarm-profile 1 profile_id 1
OLT(config-gpon-0/0)#
Case2: Delete the alarm profile of the Optical module bound to the PON1 port.
OLT(config-gpon-0/0)# no optical-alarm-profile 1
OLT(config-gpon-0/0)#
24
GPON OLT User Manual
[Configuration case]
25
GPON OLT User Manual
26
GPON OLT User Manual
alarm | gpon | ge |
Different interfaces for optical power information
xge
[Configuration case]
Case1: Show the alarm optical power information of the GE1 port of the OLT.
OLT(config)# show port ddm-info alarm ge 0/0/1
Description This command is used to show the isolation status of the PON port.
[Configuration case]
27
GPON OLT User Manual
ge 0/0/3 disable
ge 0/0/4 disable
xge 0/0/1 disable
xge 0/0/2 disable
-----------------------------
OLT(config-interface-gpon-0/0)#
[Configuration case]
Case1: Show the properties and status information of all PON ports in OLT.
OLT(config-gpon-0/0)# show port state all
--------------------------------------------------------------------------------------------------------------------
Port Optic Pvid Flow Learn Admin Frame Link Auto Auto
Status Ctrl State Max State Find Mode
--------------------------------------------------------------------------------------------------------------------
gpon 0/0/1 normal 1 on enable enable 1526 on enable A-S
gpon 0/0/2 absence 1 on enable enable 1526 off enable A-S
gpon 0/0/3 absence 1 on enable enable 1526 off enable A-S
gpon 0/0/4 absence 1 on enable enable 1526 off enable A-S
--------------------------------------------------------------------------------------------------------------------
Case2: Show the properties and status information of all GE ports in OLT.
OLT(config-ge-0/0)# show port state all
------------------------------------------------------------------------------------------------------------------------ ----------
Port Optic Pvid Auto Speed Dup Flow Learn Enable Link Frame Media
Status Nego /Mbps lex Ctrl Max Type
------------------------------------------------------------------------------------------------------------------------ ----------
ge0/0/1 absence 1 disable 100 full on enable enable on 1526 Auto
ge0/0/2 absence 1 enable - - on enable enable off 1526 Auto
ge0/0/3 absence 1 enable - - on enable enable off 1526 Auto
ge0/0/4 absence 1 enable - - on enable enable off 1526 Auto
------------------------------------------------------------------------------------------------------------------------ ----------
Case3: Show the properties and status information of the OLT PON1 port.
28
GPON OLT User Manual
29
GPON OLT User Manual
2.1.12 shutdown
shutdown portlist
Command Syntax
no shutdown portlist
[Configuration case]
2.1.13 speed
speed portlist (10|100|1000)
Command Syntax
speed portlist (1000|10000)
30
GPON OLT User Manual
This command is used to configure the Ethernet port rate so that the
Description
port operates at the set rate.
10: 10Mbs
10 | 100 | 1000 100: 100Mbs
1000: 1000Mbs, only supports auto-negotiation mode
[Configuration case]
Case1: Configure the GE1 uplink port of OLT with a speed of 100Mbps.
OLT(config-ge-0/0)# speed 1 100
[Configuration case]
Case1: The pulse value per second of Broadcast storm suppression function configured with
31
GPON OLT User Manual
[Configuration case]
OLT(config-interface-ge-0/0)#
32
GPON OLT User Manual
[Configuration case]
OLT(config-interface-ge-0/0)#
[Configuration case]
Case1: Configure the maximum number of MAC addresses learned from the GE1 port to 500.
OLT(config)# mac-address limit 1 500
OLT(config)#
33
GPON OLT User Manual
[Configuration case]
Case1: Forward Mac addresses with GE1 port exceeding the entry limit.
OLT(config-interface-ge-0/0)# mac-address limit 1 1 exceed-action forward
OLT(config-interface-ge-0/0)#
ge:uplink port
ge|lag|xge lag:link aggregation group
xge:10G uplink port
mac-address Mac address in the format XX: XX: XX: XX: XX: XX: XX
[Configuration case]
Case1: Bind the MAC address e0:67: b3:12: eb: f6 with the GE1 port and vlan100 together.
OLT(config)# mac-address static 1 vlan 100 e0:67:b3:12:eb:f6
OLT(config)#
34
GPON OLT User Manual
3 Layer 2 command
VLAN Configuration
3.1VLAN Configuration
3.1.1 show vlan
Command Syntax show vlan (vlanid | all )
Show vlan information for the specified vlan id, with a value range of
vlanid
1-4094
[Configuration case]
OLT(config)#
Case2: Show information on all vlans of OLT.
35
GPON OLT User Manual
OLT(config)#
portid Port ID
[Configuration case]
36
GPON OLT User Manual
-----------------------------------------------------------------------------------
3.1.3 vlan
vlan vlanlist
Command Syntax
no vlan vlanlist
vlan ids that are created or deleted. The value ranges from 1 to 4094
vlanlist
the format is 1, 20-99,100
[Configuration case]
37
GPON OLT User Manual
VLAN ID. The value ranges from 1 to 4094. When you disable vlan
vlanid
access in the link-aggregation view, this parameter is not optional
[Configuration case]
VLAN ID. The value ranges from 1 to 4094. The value can be the
vlanlist format is 1, 11-27, or 100. This parameter is unavailable when you
cancel the vlan access configuration in the link-aggregation view
[Configuration case]
38
GPON OLT User Manual
VLAN ID. The value ranges from 1 to 4094. The value can be the
vlanlist format is 1, 11-27, or 100. This parameter is unavailable when you
cancel the vlan access configuration in the link-aggregation view
[Configuration case]
39
GPON OLT User Manual
VLAN ID. The value ranges from 1 to 4094. The value can be the
vlanlist format is 1, 11-27, or 100. This parameter is unavailable when you
cancel the vlan access configuration in the link-aggregation view
tagged: indicates that the packets sent from a port carry the
tagged | untagged corresponding vlan tag
untagged: The tagged packets are removed from a port
[Configuration case]
This command is used to configure the VLAN mode of the OLT, which
Description
defaults to Access mode.
Access: Ports of the Access type can belong to only one VLAN and
are generally used to connect to computers.
Trunk: A Trunk port can allow multiple vlans to pass through and can
access| receive and send packets from multiple vlans. It is used for
hybrid| connecting switches. In the GPON view, only the trunk mode can be
trunk configured. The other two modes are unavailable.
Hybrid: A Hybrid port can allow multiple vlans to pass through,
receive and send packets from multiple vlans, connect switches, and
connect users' computers.
[Configuration case]
Case1: Configure the VLAN mode of GE1 connected to OLT to Access mode.
OLT(config-ge-0/0)# vlan mode 1 access
Case2: Configure the VLAN mode of Aggregation group 1 of OLT to hybrid mode.
OLT(config-link-aggregation-1)# vlan mode hybrid
40
GPON OLT User Manual
[Configuration case]
Case1: Configure the Native VLAN of OLT's upper GE1 port to 10.
OLT(config-ge-0/0)# vlan native-vlan 1 10
Case2: Configure aggregation group 1 of OLT to have a Native VLAN of 20.
OLT(config-link-aggregation-1)# vlan native-vlan 20
[Configuration case]
41
GPON OLT User Manual
This command is used to specify the black hole MAC address table
entry. If the source or destination MAC address of a packet is equal
to the MAC address of the blackhole MAC address entry, the switch
Description
discards the packet.
Using the no mac-address black-hole command, you can delete a
blackhole MAC address entry.
[Configuration case]
Case1: Configure the mac address of the black hole whose vlan is 1000 to E0:72:5B:2B:3D:5F.
OLT(config)# mac-address black-hole vlan 1000 E0:72:5B:2B:3D:5F
port | port: clears the mac address learned on the specified port
vlan vlan: clears the learned mac addresses of a specified vlan
[Configuration case]
42
GPON OLT User Manual
[Configuration case]
Case1: Configure the maximum number of mac addresses learned by GE1 to 500.
OLT(config)# mac-address limit port ge 0/0 1 500
Case2: Configure the maximum number of mac addresses learned by port GE2 to 100. The
43
GPON OLT User Manual
[Configuration case]
Aging AGING-TIME | Aging-time: indicates the aging time of a mac address. The value
44
GPON OLT User Manual
[Configuration case]
Description This command is used to show the OLT's MAC address configuration.
[Configuration case]
45
GPON OLT User Manual
46
GPON OLT User Manual
Total: 1
----------------------------------------------------------------------------------------------------------------
Case6: Show the mac address learned by GE1.
OLT(config)# show mac-address port ge 0/0/1
----------------------------------------------------------------------------------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-----------------------------------------------------------------------------
EC:D0:9F:D2:6B:E7 101 - ge0/0/1 - - dynamic
E4:A4:71:49:9E:31 101 - ge0/0/1 - - dynamic
48:A9:D2:52:98:11 101 - ge0/0/1 - - dynamic
----------------------------------------------------------------------------------------------------------------
Total: 3
----------------------------------------------------------------------------------------------------------------
[Configuration case]
47
GPON OLT User Manual
4 Layer 3 Command
ARP management
Routing Configuration
4.1ARP management
4.1.1 arp aging-time
arp aging-time aging-time
Command Syntax
no arp aging-time
Using the "arp age time" set command, you can configure the ARP
aging time.
Description
The "no arp age time" set command restores the default ARP aging
time. The default aging time is 600 seconds (10 minutes).
[Configuration case]
48
GPON OLT User Manual
[Configuration case]
Using this command, you can enable or disable the gratuitous ARP
Description periodically sending function. By default, the gratuitous arp
periodically sending function is disabled.
[Configuration case]
Using this command, you can configure the interval for sending
Description
gratuitous ARP packets. The default interval is 5 minutes.
Period for sending gratuitous ARP packets. The value ranges from 1
time
to 60 minutes
[Configuration case]
Case1: Configure the period for sending gratuitous ARP packets to 3 minutes.
OLT(config)# arp gratuitous-arp send time 3
OLT(config)#
49
GPON OLT User Manual
Description
limit-vlaue
[Configuration case]
Using this command, you can enable or disable the ARP MAC address
change check function.
Description
By default, the ARP MAC address change check function is disabled.
That is, ARP entries are updated when the MAC address changes.
[Configuration case]
50
GPON OLT User Manual
[Configuration case]
Using the "arp static" command, you can configure static ARP entries
in an ARP mapping table. Using the “no arp static ip-addr” command,
you can delete static ARP entries from a specified IP address. Using
the "no arp static all" command, you can delete all static ARP entries.
Note the following:
Static ARP entries are valid only when the device is working properly.
When the VLAN interface corresponding to an ARP entry is deleted
Description or its IP address is changed, the static ARP entry is deleted.
specifies the VLAN that corresponds to the ARP entry. Vlan-id must
be the id of a VLAN created by a user, and the port specified after the
vlan-id parameter must belong to this vlan. The VLAN interface
corresponding to the VLAN must have been created.
If parameters vlan-id and ip-address are specified, the IP address of
the VLAN interface corresponding to parameter vlan-id must belong
to the same network segment as the IP address specified by
51
GPON OLT User Manual
parameter ip-address.
vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094
[Configuration case]
Case1: Configure the static ARP IP address to 10.11.100.199, corresponding MAC address to
Using the "reset arp dynamic all" command, you can clear all
dynamic arp entries.
Description Using the "reset arp dynamic IP ip-address" command, you can clear
dynamic arp for a specified ip address.
Using the "reset arp dynamic port port-type port-num" command,
52
GPON OLT User Manual
vlan-id VLAN of a static ARP entry. The value ranges from 1 to 4094
[Configuration case]
The "show arp all" command is used to show all arp entries.
The "show arp dynamic" command is used to show all dynamic arp
entries.
Description
The "show arp static" command is used to show all static arp entries.
The "show arp vlanif vlan-id" command, you can show arp entries of
a specified vlanif interface.
vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094
[Configuration case]
53
GPON OLT User Manual
vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094
[Configuration case]
54
GPON OLT User Manual
vlanid VLAN ID of a static ARP entry. The value ranges from 1 to 4094
[Configuration case]
[Configuration case]
4.2.2 description
description description
Command Syntax
no description
55
GPON OLT User Manual
[Configuration case]
[Configuration case]
56
GPON OLT User Manual
cannot be deleted.
[Configuration case]
4.2.5 ip address
ip address ip-addr (mask-len | mask-addr)
Command Syntax
no ip address
Mask-len: indicates the length of the subnet mask, that is, the
number of consecutive 1s in the mask. The value ranges from 0 to 32
mask-len | mask-addr
Mask-addr: specifies the subnet mask of the interface IP address.
The value is in dotted decimal notation
[Configuration case]
Case1: Configure the IP address and mask length of the vlanif interface.
OLT(config-vlanif-2)# ip address 1.1.1.1 20
Case2: Deletes the IP address and mask length of the vlanif interface.
OLT(config-vlanif-2)# no ip address
57
GPON OLT User Manual
[Configuration case]
58
GPON OLT User Manual
59
GPON OLT User Manual
4.2.7 shutdown
shutdown
Command Syntax
no shutdown
[Configuration case]
60
GPON OLT User Manual
4.3Route configuration
4.3.1 ip route
ip route (ip-addr/mask-len | ip-addr mask-addr) [gateway-address]
[distance]
Command Syntax
no ip route (ip-addr/mask-len | ip-addr mask-addr)
[gateway-address] [distance]
[Configuration case]
Case1: Configure the static default route of OLT with the gateway 192.168.2.253
OLT(config)# ip route 0.0.0.0/0 192.168.5.253
Case2: Configure the static route whose mask is 255.255.255.0 and 192.168.3.0 on the OLT
OLT(config)# ip route 192.168.3.0 255.255.255.0 192.168.5.1
Case3: Delete the static route at 192.168.3.0 with a mask of 255.255.255.0 on OLT
OLT(config)# no ip route 192.168.3.0 255.255.255.0 192.168.5.1
4.3.2 ip route-default
ip route-default gateway ip-addr
Command Syntax
no ip route-default gateway ip-addr
61
GPON OLT User Manual
[Configuration case]
After the route is selected, the routing table sends the active route
to the FIB table. When a packet reaches a router, it is forwarded by
looking up the FIB table.
Each forwarding entry in the FIB table indicates the physical or logical
interface on which the packet destined for a network segment or a
host is sent. Then the packet can be forwarded to the next router in
the path or to the destination host on the directly connected
Description
network without passing through other routers.
The matching in the FIB table follows the longest matching principle.
When searching the FIB table, the destination address of a packet
and the mask of each entry in the FIB table are matched by logical
and bits. If the obtained address matches the network address in the
FIB table, the IP address matches. Finally, a FIB entry with the longest
matching is selected to forward the packet.
[Configuration case]
62
GPON OLT User Manual
[Configuration case]
63
GPON OLT User Manual
Destination: 2.2.2.0/24
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 2.2.2.2 Interface: Vlanif10
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h16m23s RefCnt: 0
State: Active, best, fib
Destination: 2.2.2.2/32
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: Vlanif10
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h16m23s RefCnt: 0
State: Active, best, fib
Destination: 127.0.0.0/8
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoop0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
64
GPON OLT User Manual
Destination: 127.0.0.1/32
Protocol: direct ProcessID: 0
Preference: 0 Cost: 0
NextHop: 127.0.0.1 Interface: InLoop0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 03h57m09s RefCnt: 0
State: Active, best, fib
Destination: 192.168.2.0/24
Protocol: static ProcessID: 0
Preference: 1 Cost: 0
NextHop: 0.0.0.0 Interface: Null0
RelayNextHop: 0.0.0.0 RelayIntf: -
Tunnel ID: 0x0 Label: NULL
Age: 00h15m00s RefCnt: 0
State: Active, best, blkh, fib
Case4: Show information about the route whose destination IP address is 2.2.2.2/32 on the OLT
OLT(config)# show ip route 2.2.2.2
2.2.2.2/32 direct 0 0 D 127.0.0.1 Vlanif10
65
GPON OLT User Manual
ID of the basic acl to be created and deleted. The value ranges from
basic-acl-id
2000 to 2999
[Configuration case]
OLT(acl-adv-3000)#
Case3: Create link acl 5000
OLT(config)# acl 5000
66
GPON OLT User Manual
OLT(acl-link-5000)#
Case4: Deletes acl 2001
OLT(config)# no acl 2001
Number of acl: 1, success: 1
OLT(config)#
ID of the basic acl to be created and deleted. The value ranges from
basic-acl-id
2000 to 2999
[Configuration case]
OLT(acl-basic-2001)#
Case2: Create Advanced acl 3000
OLT(config)# acl ipv6 3000
OLT(acl-adv-3000)#
Case3: Delete acl 2001
OLT(config)# no acl ipv6 2001
OLT(config)#
67
GPON OLT User Manual
[Configuration case]
ID of an ACL rule. The larger the ACL ID, the higher the priority. The
rule-id
value ranges from 1 to 16.
Reverse mask; The IP address and the backmask are used together
to match the host with the network number, the backmask is the
sour-wildcard wildcard mask, which tells the device which bit to match by marking
0 and 1. In the backmask, the address with the corresponding bit 1 is
ignored in the comparison, and the one with 0 must be checked
[Configuration case]
68
GPON OLT User Manual
When the protocol type is TCP or UDP, the command format of the
advanced ACL is:
rule rule-id (permit| deny) (tcp| udp| protocol-id) {soure
(ip-address sour-wildcard | any) | destination (ip-address
sour-wildcard |any) | src-port port-list | dest-port port-list |
precedence procedence-value | dscp dscp-value}
Command Syntax
When the protocol type is GRE, IGMP, IPINIP, or OSPF, the command
format of the advanced ACL is as follows:
rule rule-id (permit| deny) (gre|igmp| ospf | ipinip | protocol-id)
{soure (ip-address sour-wildcard | any) | destination (ip-address
sour-wildcard |any) | precedence procedence-value | dscp
dscp-value }
If the version type is IPv4, the command format of the advanced ACL
is as follows:
rule rule-id (permit| deny) ip {soure (ip-address sour-wildcard |
any) | destination (ip-address sour-wildcard |any) |precedence
procedence-value | dscp dscp-value}
no rule rule-id
69
GPON OLT User Manual
rule-id ID of an ACL rule. The larger the ACL ID, the higher the priority.
Reverse mask; The IP address and the backmask are used together
to match the host with the network number, the backmask is the
sour-wildcard wildcard mask, which tells the device which bit to match by marking
0 and 1. In the backmask, the address with the corresponding bit 1 is
ignored in the comparison, and the one with 0 must be checked
[Configuration case]
OLT(acl-adv-3000)#
Case2: deletes ACL rule 1.
OLT(config)# acl 3000
70
GPON OLT User Manual
OLT(acl-adv-3000)#no rule 1
OLT(acl-adv-3000)#
rule-id ID of an ACL rule. The larger the ACL ID, the higher the priority.
destination Destination MAC address that matches the packet in the ACL
source The source MAC address field of the matching packet in the ACL
The backmask of the mac address, which is the wildcard mask, tells
the device which bit to match by marking 0 and 1. In the backmask,
mac-wildcard
the address with the corresponding bit of 1 is not matched (ignored)
in the comparison, and the one with 0 must be checked;
inner-dot1p-value Matches the cos value of the inner vlan of the Layer 2 packet
71
GPON OLT User Manual
[Configuration case]
Case1: Specifies that port 1 can receive only packets from the destination mac address of
22-22-22-22-22.
OLT(config)# acl 5000
OLT(acl-link-5000)# rule 1 permit destination 22:22:22:22:22:22 0000-0000-0000
OLT(acl-link-5000)# rule 2 deny destination 22:22:22:22:22:22 FFFF-FFFF-FFFF
OLT(acl-link-5000)#exit
OLT(config)# packet-filter inbound 5000 port ge 0|0 1
[Configuration case]
OLT(config)#
[Configuration case]
72
GPON OLT User Manual
OLT(acl-basic-2000)#
73
GPON OLT User Manual
6 Service configuration
[Configuration case]
6.1.2 dba-profile
dba-profile {profile-id profile-id | profile-name profile-name}
Command Syntax
no dba-profile (profile-id profile-id | profile-name profile-name)
74
GPON OLT User Manual
DBA profile number, value range 0-128. If not specified, the system
automatically assigns the minimum free profile number. profile 0 is
profile-id
the default profile. The ONT that goes online automatically matches
profile 0
[Configuration case]
Case1: Automatically create a new DBA profile and go to the DBA profile Configuration view.
OLT(config)# dba-profile
OLT(config-dba-profile-2)#
Case2: Delete a DBA profile based on profile-id.
OLT(config)# no dba-profile profile-id 20
DBA profile not found, DBA profile delete failed.
OLT(config)# no dba-profile profile-id 2
OLT(config)#
Applicable Views enable view, config view, line profile configuration view
75
GPON OLT User Manual
DBA profile number, ranging from 0 to 128, by which you can view
profile-id
specific DBA profile information
[Configuration case]
Case1: Show the details of all DBA profiles currently configured for the OLT device.
OLT(config)# show dba-profile all
---------------------------------------------------------------
ID type Fix Assure Max bind name
(kbps) (kbps) (kbps) times
---------------------------------------------------------------
0 1 256 0 0 3 dba-profile_0
1 4 0 0 1024000 4 dba-profile_1
2 1 512 0 0 0 dba-profile_2
---------------------------------------------------------------
Total: 3
---------------------------------------------------------------
Case2: Show details of the OLT device's current configuration for a specific DBA profile.
OLT(config)show dba-profile profile-id 0
---------------------------------------------------------------
Profile-ID :0
Profile-name : dba-profile_0
type :1
Fix(kbps) : 256
Assure(kbps) :0
Max(kbps) :0
bind-times :3
---------------------------------------------------------------
OLT(config)# show dba-profile profile-id 3
ERROR: DBA profile get failed
76
GPON OLT User Manual
[Configuration case]
6.1.5 type
type1 fix fix-bandwidth
type2 assure assure-bandwidth
type3 assure assure-bandwidth max max-bandwidth
Command Syntax
type4 max max-bandwidth
type5 fix fix-bandwidth assure
assure-bandwidth max max-bandwidth
77
GPON OLT User Manual
[Configuration case]
Case1: Go to the DBA profile Configuration view and configure the DBA profile.
OLT(config)# dba-profile profile-id 2
OLT(config-dba-profile-2)# type5 fix 256 assure 256 max 128000
OLT(config-dba-profile-2)#
78
GPON OLT User Manual
[Configuration case]
6.2.2 Fec
Command Syntax fec (disable | enable)
Disable the uplink FEC function on the line profile ONT. This keyword
disable is configured when the error correction capability of the line is not
high and some bandwidth resources need to be saved.
Enable the uplink FEC function on the line profile ONT. This
parameter is configured when the transmission signal of the network
enable
fiber is weak and the error correction capability of the line needs to
be enhanced.
[Configuration case]
Case1: Enables the uplink FEC function on the line profile ONT.
OLT(config-ont-lineprofile-1)# fec enable
OLT(config-ont-lineprofile-1)#
79
GPON OLT User Manual
priority-queue-upstream priority-queue-upstream|
encrypt (disable| enable) |
gem-car-upstream traffic-profile-id |
gem-car-downstream | traffic-profile-id}
The "gem add" command is used to bind the GEM Port to T-CONT
Description
and configure related properties in the ONT line profile.
GEM Port number. The value ranges from 1 to 30. It is used to specify
gem-id the GEM Port bound to the TCONT. The gem-id must be unique in
the same line profile.
Turn off the data encryption switch to disable data encryption when
disable
creating a GEM port.
The route traffic profile number, with a value range of 1-256, needs
traffic-profile-id to be created in advance to configure the traffic table id for the ONT
GEM Port.
[Configuration case]
80
GPON OLT User Manual
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
<Gem ID 2>
US-GEM-CAR : 1 DS-ENCRYPT-MODE : enable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
The "gem delete" command is used to delete the GEM Port created
Description
in the ONT line profile.
The GEM Port number, ranging from 1 to 30, is used to specify the
gem-id gem-ID to be deleted. The gem delete command can only delete an
existing gem-ID.
[Configuration case]
81
GPON OLT User Manual
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
82
GPON OLT User Manual
GEM Port ID. The value ranges from 1 to 30. It is used to specify the
gem-id GEM Port that needs to be mapped to services on the ONT or the
GEM Port that needs to be unmapped.
gem mapping Indicates the index number. The value ranges from 1 to
mapping-index 8. It is used to distinguish different service flows in the same GEM
Port.
VALN number. The value ranges from 1 to 4094. It is used to map the
vlan-id
traffic of the specified VLAN to a specific gem mapping index.
ONT eth port number. The value ranges from 1 to 8. It is used to map
ont-port-id the service flow of the ETH port on the ONT device to the specified
gem mapping index.
[Configuration case]
Case1: Creates a service mapping relationship on the ONT whose GEM Port number is 1, gem
83
GPON OLT User Manual
----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Disable
TR069 IP index :0
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : off
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------
Mapping-ID VLAN Priority Port-ID
1 --
---------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
Case2: Creates a mapping with GEM Port number as 2, gem mapping index as 1, and mapping
mode as vlan+priority.
OLT(config-ont-lineprofile-1)# no gem mapping 1 1
OLT(config-ont-lineprofile-1)# mapping-mode vlan-priority
OLT(config-ont-lineprofile-1)# gem add 2 tcont 2
OLT(config-ont-lineprofile-1)# gem mapping 2 1 vlan 3 priority 7
OLT(config-ont-lineprofile-1)# show ont-lineprofile current
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : lineprofile_1
Binding times :0
----------------------------------------------------------------------------
FEC upstream : Enable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode: VLAN + 802.1p PRI
TR069 management : Disable
TR069 IP index :0
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
84
GPON OLT User Manual
85
GPON OLT User Manual
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
-----------------------------------------------------------------------------
GEM Port number, ranging from 1 to 30, used to specify the modified
gem-id
gem id. The gem modify command can only modify existing gem ids.
The TCONT number, with a value range of 0-7, is used to reassign the
tcont-id TCONT bound to the GEM port. The reassigned TCONT must have
already been created.
Data encryption switch, used to modify the switch for gem port data
encryption.
encrypt
Disable: Turn off the data encryption switch
Enable: Turn on the data encryption switch
[Configuration case]
Case1: Modify an existing GEM Port configuration, rebind TCONT and reconfigure related
properties.
OLT(config-ont-lineprofile-1)# tcont 3 dba-profile-id 0
OLT(config-ont-lineprofile-1)# gem modify 2 tcont 3 encrypt disable
86
GPON OLT User Manual
priority-queue-downstream 2 gem-car-downstream 2
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<T-CONT 2> DBA-Profile ID : 1
<T-CONT 3> DBA-Profile ID : 0
<Gem ID 2>
US-GEM-CAR : 2 DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 3 DS-PRIORITY-QUEUE : 2
--------------------------------------------------------------------------------------------------
6.2.7 gemport
gemport gemport-id (tag-action vlan-transparent
|vlan vlan-id user-vlan user-vlan-id tag-action
Command Syntax (default|translate|transparent|translate-and-add inner-vlan
inner-vlan-id [inner-priority inner-priority]))
no gemport gemport-id tag-action
87
GPON OLT User Manual
Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side from layer 1 VLAN to S-VLAN, and then add another
layer inner-vlan to form Layer S+C uplink vlans. This mode is used
when two layers of VLAN tags are required to identify user services
translate-and-add (for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user packets are different from the vlans
planned on the new 16Port/8Port GPON OLT.
Inner-vlan: indicates the inner VLAN after switchover. You can specify
an inner VLAN when the processing mode is translator-and-add.
user-vlan-id User-side VLAN ID. This parameter is used when users need to be
88
GPON OLT User Manual
inner-vlan-id Inner-vlan: The inner VLAN after switching. Value range: 1 to 4094
[Configuration case]
Case1: In line profile 1, configure the virtual port mode generated by gemport 1 to full
transparent transmission.
OLT(config-ont-lineprofile-1)# gemport 1 tag-action vlan-transparent
OLT(config-ont-lineprofile-10)#
6.2.8 mapping-mode
Command Syntax mapping-mode (port | priority | vlan | vlan-priority)
[Configuration case]
Case1: Creates a mapping between the global GEM Port and services on the ONT side.
OLT(config-ont-lineprofile-1)# mapping-mode port
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
89
GPON OLT User Manual
Qos mode : PQ
Mapping mode : PORT
Description This command is used to unbind a gem port from a traffic profile.
GEM Port ID. The value ranges from 1 to 30. It is used to specify the
gem-id
GEM Port that unbinds the traffic profile.
[Configuration case]
Case1: Unbind the traffic profile of a GEM Port that has been bound to a traffic profile.
OLT(config-ont-lineprofile-1)# no gem gem-car 2
OLT(config-ont-lineprofile-1)# show ont-line-profile current
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Default
TR069 IP index :0
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
<Gem ID 2>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
90
GPON OLT User Manual
[Configuration case]
6.2.11 ont-line-profile
ont-line-profile gpon {profile-id profile-id | profile-name
Command Syntax profile-name}
no ont-line-profile (profile-id profile-id | profile-name profile-name)
The line profile defines how to create and configure the logical
communication lines between the OLT device and the ONU device.
The related properties of the ONT line are configured in the line
profile in a centralized manner. For the same ONT, you only need to
configure it once, saving configuration work.
The "ont-line-profile" command is used to add a new line profile or
enter an existing line profile. If the ont-line-profile gpon command is
Description
used without any parameters, a new line profile is automatically
created. Line profile 0 is the default line profile. The ont-line profile
automatically matches line profile 0.
The "no ont-line-profile" command is used to delete an unnecessary
line profile. The default line profile provided by the system cannot be
deleted. The GPON ONT line profile cannot be deleted if it has been
bound to the ONT.
ONT line profile number, which identifies a line profile. The value
ranges from 0 to 512. If no ONT profile number is specified, the
profile-id
system automatically assigns the minimum free profile number. Line
profile 0 is the default profile. The ONT that goes online
91
GPON OLT User Manual
ONT line profile name. The name can contain 1 to 64 characters. The
profile-name default profile name is lineprofile_x, where the "x" is the actual
profile number.
[Configuration case]
Case1: Automatically create a new line profile and go to the Line profile Configuration view.
OLT(config)# ont-line-profile gpon
OLT(config-ont-lineprofile-3)#
Case2: Deletes a line profile according to profile-id.
OLT(config)# no ont-line-profile profile-id 4
Error: Unknown err code=2
line profile delete failed.
OLT(config)# no ont-line-profile profile-id 3
OLT(config)#
6.2.12 qos-mode
Command Syntax qos-mode (flow-car | gem-car | priority-queue)
This command is used to configure the QoS mode in the ONT line
profile. This command is used when you need to provide end-to-end
quality assurance to users and control the upstream data flow of the
ONT user interface mapped to the GEM Port using the gem mapping
command. By default, the QoS mode of ONT in the GPON ONT line
Description profile is priority-queue mode.
Traffic flow control mode (flow-CAR) has the smallest flow control
(based on individual traffic flows), and GEM flow control mode
(GEM-CAR) has the second smallest flow control (based on GEM
Port). priority-queue is a scheduling mode based on GEM Port
packets, while the first two modes are flow-controlled modes.
Service flow control mode. Select this mode, ONT based on the GEM
Port of each traffic flow to do flow control processing, control
intensity is finer than the GEM flow control mode, the traffic flow to
flow-car
do flow control processing is completed, and then in the T-CONT
queue for scheduling, scheduling mode depends on the ONT
configuration scheduling mode.
92
GPON OLT User Manual
[Configuration case]
Case1: Configure the QoS mode in the line profile to GEM flow control mode.
OLT(config-ont-lineprofile-1)# qos-mode gem-car
OLT(config-ont-lineprofile-1)#
ONT line profile number. The value ranges from 0 to 512. You can
profile-id
view information about a specific line profile by profile number
[Configuration case]
93
GPON OLT User Manual
Case2: Show details about a specific line profile that is currently configured on an OLT device.
OLT(config)# show ont-line-profile gpon profile-id 1
--------------------------------------------------------------------------------------------------------
Profile-ID :1
Profile-name : line-profile_1
Binding times :0
------------------------------------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Disable
Qos mode : PQ
Mapping mode : VLAN
TR069 management : Enable
TR069 IP index :1
------------------------------------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
<T-CONT 1> DBA-Profile ID : 1
<Gem ID 1>
US-GEM-CAR : - DS-ENCRYPT-MODE : disable
US-PRIORITY-QUEUE : 1 DS-PRIORITY-QUEUE : 1
--------------------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
[Configuration case]
94
GPON OLT User Manual
6.2.15 tcont
tcont tcont-id (dba-profile-id profile-id | dba-profile-name
Command Syntax profile-name)
no tcont tcont-id
The "tcont" command is used to bind TCONT to the DBA profile. Only
the TCONT bound to the DBA profile can bear services. The TCONT
provides flexible and dynamic bandwidth allocation schemes based
Description on different configurations in the DBA profile.
The "no tcont" command is used to delete the tcont based on the
tcont number. The default tcont cannot be deleted, but you can
modify the bound DBA profile.
Specify the dba profile id that tcont needs to bind. The dba profile
profile-id
needs to be created in advance. The value ranges from 0 to 128
[Configuration case]
Case1: Create a new TCONT and bind the DBA profile for it
OLT(config-ont-lineprofile-3)# tcont 3 dba-profile-id 1
OLT(config-ont-lineprofile-3)#
Case2: Deletes TCONT by tcont-ID
OLT(config-ont-lineprofile-3)# no tcont 4
Error: The specified T-CONT index does not exist.
Tcont delete failed.
95
GPON OLT User Manual
OLT(config-ont-lineprofile-3)# no tcont 3
OLT(config-ont-lineprofile-3)#
Disable the uplink FEC function on the line profile ONT. This keyword
disable is configured when the error correction capability of the line is not
high and some bandwidth resources need to be saved.
Enable the uplink FEC function on the line profile ONT. This
parameter is configured when the transmission signal of the network
enable
fiber is weak and the error correction capability of the line needs to
be enhanced.
[Configuration case]
Case1: Enables the uplink FEC function on the line profile ONT.
OLT(config-gpon-0/0)# ont fec 1 1 enable
OLT(config-gpon-0/0)#
96
GPON OLT User Manual
Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side from layer 1 VLAN to S-VLAN, and then add another
layer inner-vlan to form Layer S+C uplink vlans. This mode is used
when two layers of VLAN tags are required to identify user services
translate-and-add (for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user packets are different from the vlans
planned on the new 16Port/8Port GPON OLT.
Inner-vlan: indicates the inner VLAN after switchover. You can specify
an inner VLAN when the processing mode is translator-and-add.
97
GPON OLT User Manual
upstream. This mode can be used if the vlans planned for identifying
different services on the new 16Port/8Port GPON OLT are the same
as those for user-side packets.
inner-vlan-id Inner-vlan: The inner VLAN after switching. Value range: 1 to 4094
[Configuration case]
Case1: Configures the service virtual port on ONT 1 at port PON1 in slot 0 for transparent
PON1 port in slot 0. The C-VLAN before mapping is 10, the inner VLAN after mapping is 20, the
98
GPON OLT User Manual
The GEM Port number, ranging from 1 to 30, is used to specify the
gemport-id
GEM Port bound to the TCONT.
gem mapping Indicates the index number. The value ranges from 1 to
mapping-index 8. It is used to distinguish different service flows in the same GEM
Port.
VALN number. The value ranges from 1 to 4094. It is used to map the
vlan-id
traffic of the specified VLAN to a specific gem mapping index.
99
GPON OLT User Manual
[Configuration case]
Case1: Creates a service mapping relationship on the ONT with the GEM Port number as 1,
gemport mapping index as 1, and VLAN transparent transmission function for the ONT device
PON1 in slot 0.
OLT(config-gpon-0/0)# no ont gemport mapping 1 1 1 1
OLT(config-gpon-0/0)#
Description The "ont gemport tcont" command is used to create or modify the
100
GPON OLT User Manual
GEM Port for the ONT device connected to the specified PON Port,
and configure the binding relationship and related properties
between the GEM Port and T-CONT.
The "no ont gemport" command is used to delete the gemport of a
specified ont.
The GEM Port number, ranging from 1 to 30, is used to create a GEM
gemport-id
Port or delete an existing one.
TCONT ID. The value ranges from 0 to 7, which specifies the TCONT
tcont-id bound to the GEM Port. The TCONT bound to the GEM Port must
already be created.
The line traffic profile number, ranging from 1 to 256, is used to bind
traffic-profile-id an existing traffic profile to the created GEM Port or to delete a
traffic profile bound to the GEM Port.
[Configuration case]
Case1: Configure the GEM Port for ONT 1 at port PON1 in slot 0.
OLT(config-gpon-0/0)# ont gemport 1 1 1 tcont 1 gem-car 10 encrypt disable downstre
am-priority-queue 7 priority-queue 7
OLT(config-gpon-0/0)#
Case2: Deletes the traffic profile bound to GEM Port1 of ONT device No. 1 at port PON1 in slot
0.
OLT(config-gpon-0/0)# no ont gemport 1 1 1 gem-car
OLT(config-gpon-0/0)#
101
GPON OLT User Manual
[Configuration case]
Case1: indicates that the service mapping mode is based on the port ID of the ONT 1 device at
102
GPON OLT User Manual
[Configuration case]
Service flow control mode. Select this mode, ONT based on the GEM
Port of each traffic flow to do flow control processing, control
intensity is finer than the GEM flow control mode, the traffic flow to
flow-car
do flow control processing is completed, and then in the T-CONT
queue for scheduling, scheduling mode depends on the ONT
configuration scheduling mode.
103
GPON OLT User Manual
[Configuration case]
Case1: Configure the QoS mode of the specified ont to GEM traffic control.
OLT(config-gpon-0/0)# ont qos-mode 1 1 gem-car
OLT(config-gpon-0/0)#
This command is used to bind TCONT to the DBA profile for the ONT
Description device on the PON port and configure a dynamic bandwidth
allocation scheme for the ONT device.
Specify the dba profile id that tcont needs to bind. The dba profile
profile-id
needs to be created in advance. The value ranges from 0 to 128
Specify the name of the dba profile that tcont needs to bind. The dba
profile-name profile needs to be created in advance. The string length ranges from
1 to 64
[Configuration case]
Case1: Create a TCONT numbered 1 for ONT device number 1 on port PON1 in slot 0, and bind
104
GPON OLT User Manual
[Configuration case]
6.4.2 loopdetect
loopdetect (disable | enable) {detect-frequency detect-frequency|
Command Syntax auto-shutdown (disable | enable) | resume-interval
resume-interval}
105
GPON OLT User Manual
the ring network detection packet after the set automatic activation
interval.
[Configuration case]
6.4.3 mac-aging
Command Syntax mac-aging (aging-time | no-aging)
This command is used to configure the mac address aging time of the
Description
ONT. The default value is 300 seconds.
[Configuration case]
Case1: Enables the ONT service profile to disable MAC address aging.
OLT(config-srv-profile-2)# mac-aging no-aging
OLT(config-srv-profile-2)#
6.4.4 mac-learning
Command Syntax mac-learning (disable | enable)
disable The MAC address learning function of the ONT device is disabled.
enable Enable the MAC address learning function of the ONT device.
[Configuration case]
Case1: Disables the MAC address learning function of the ONT device.
OLT(config-srv-profile-2)# mac-learning disable
OLT(config-srv-profile-2)#
106
GPON OLT User Manual
Disable the multicast fast exit function on ONT devices. After fast
multicast exit is disabled on the ONT device, the ONT sends a group
query to confirm the online status of the user after receiving the
disable group exit message. If no report message is received after the group
query period expires, the ONT considers the user offline and updates
the local multicast entry. This parameter is used when the user does
not need to change the channel at a faster speed.
Enable the ONT device multicast Fast Leave function. After the fast
multicast exit function is enabled on the ONT device, the ONT
immediately updates the local multicast entry according to the
enable outgoing multicast message after receiving the outgoing multicast
message, without sending a specific group query message to confirm
whether the user is indeed offline. This parameter is used when the
user needs to switch channels at a faster speed.
[Configuration case]
107
GPON OLT User Manual
Disable the IGMP function of the multicast VLAN. When the IGMP
unconcern function is turned off, a multicast user will not be able to watch
programs in that multicast VLAN.
[Configuration case]
6.4.7 native-vlan
Command Syntax native-vlan (concern | unconcern)
[Configuration case]
Case1: Configure the Native VLAN option of the ONT service profile to unfollow.
108
GPON OLT User Manual
6.4.8 ont-port
ont-port {eth (eth-port | adaptive) | catv (catv-port | adaptive) |
Command Syntax pots (pots-port | adaptive) | iphost (iphost -port | adaptive) |wifi
(wifi-port | adaptive) }
This command is used to configure the port capability set in the ONT
service profile, that is, to configure the number of ports for each
type of port on the ONT. This command is used when the ONT needs
Description to configure the number of ports on the ONT in the service profile
bound to the ONT service profile. If you run this command, the
number of ports you set must be the same as the actual number of
ONT ports. Otherwise, the status of the ONT port is mismatch.
eth-port Number of Ethernet ports on ONT. The value ranges from 0 to 24.
pots-port POTS port number on the ONT. The value ranges from 0 to 8.
iphost -port Number of iphost ports on the ONT. The value ranges from 0 to 2.
[Configuration case]
Case1: Configure an ONT port capability set with the number of eth ports as 4, POTS ports as 2,
6.4.9 ont-srv-profile
ont-srv-profile gpon {profile-id profile-id | profile-name
Command Syntax profile-name}
no ont-srv-profile (profile-id profile-id | profile-name profile-name)
Description The service profile is used to configure the actual ONT capabilities
109
GPON OLT User Manual
ONT service profile ID, which identifies a service profile. The value
ranges from 0 to 512. If this parameter is not specified, the system
profile-id automatically assigns the minimum idle profile number. Service
profile 0 is the default profile. The ONT that goes online
automatically matches service profile 0
[Configuration case]
Case1: Automatically create a new service profile and enter the service profile Configuration
view.
OLT(config)# ont-srv-profile gpon
OLT(config-srv-profile-2)#
Case2: Deletes a service profile based on profile-id.
OLT(config)# no ont-srv-profile profile-id 2
OLT(config)#
OLT(config)# no ont-srv-profile profile-id 0
% Unknown command.
6.4.10 ont-type
110
GPON OLT User Manual
The "ont-type force" command is used to force the type of the ONT
device.
Description
The "no ont-type" command is used to configure the type of the ONT
device to the default adaptive type.
[Configuration case]
111
GPON OLT User Manual
[Configuration case]
Case1: Configure the multicast profile bound to Ethernet interfaces 2-4 on the ONT device to 1,
the maximum frame length to 1700, and the maximum number of MAC addresses to 255.
OLT(config-srv-profile-2)# ont-port eth 4 pots 2 catv adaptive iphost adaptive
OLT(config-srv-profile-2)# port eth 2-4 igmp-profile profile-id 1
OLT(config-srv-profile-2)# port eth 2-4 max-mac-count 255
Configure ONT ethernet port max mac count, total: 3, success: 3
OLT(config-srv-profile-2)# port eth 2-4 max-frame-size 1700
Configure ONT ethernet port(s) max frame size, total: 3, success: 3
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS 2 -
CATV adaptive 1
IPHOST adaptive 2
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
112
GPON OLT User Manual
type ID POLICY
ETH 1 Transparent - - - - - - -
ETH 2 Transparent - - - - - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 255 1700 1 0 1
ETH 3 255 1700 1 0 1
ETH 4 255 1700 1 0 1
---------------------------------------------------------------
[Configuration case]
Case1: Configure the uplink multicast packet forwarding mode to default for Ethernet ports 1-2
on the ONT device, configure the outer VLAN to 10, and configure the priority to 7.
113
GPON OLT User Manual
In untag mode, the packets are stripped of the VLAN carried by the
untag
downlink multicast packet and forwarded.
[Configuration case]
Case1: Configure the downstream multicast forwarding mode to untag for Ethernet ports 1-2
114
GPON OLT User Manual
The end IP address of the multicast program. The value ranges from
end-ip
the multicast ip address
[Configuration case]
Case1: Adds a multicast entry for Ethernet ports 1-2 of the ONT device with the multicast vlan
Wifi-list List of wireless port index values (e.g. 1,3-5,8), with port values
115
GPON OLT User Manual
ranging from 1 to 8, can be used to batch set the default VLAN for
wireless ports.
[Configuration case]
Case1: Configure the default VLAN to 100 and the priority to 7 for the Ethernet ports of bits 2-4
116
GPON OLT User Manual
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 100 7 -
ETH 3 unlimited 1522 100 7 -
ETH 4 unlimited 1522 100 7 -
---------------------------------------------------------------
The "port vlan" command is used to configure the port VLAN of the
User Network Interface (UNI) in the ONT service profile. This
command is used when you need to assign the ONT port to a
specified VLAN or process the VLAN Tag of the incoming and
outgoing data packets.
The "no port vlan" command is used to delete the UNI port VLAN
from the ONT service profile. This command is used when the user
packets with this VLAN are no longer required to pass through the
Description
UNI port and the uplink port needs to be deleted from the VLAN.
After the port vlan command is run, you can directly attach the port
list and user-side VLAN, which means you can directly configure the
VLAN and port priority that can pass through the ONT port.
If you run the port vlan command, you can add q-in-q to configure
the vlan of an ONT port to QinQ mode, and add a layer of VLAN QinQ
to an ONT port.
After the "port vlan" command is executed, it indicates that the vlan
117
GPON OLT User Manual
A list of iphost ports (e.g.:1,1-2) with port values ranging from 1-2,
which can be used to set vlans for iphost ports in batches. An IPHOST
iphost-list port is a virtual port that delivers the POTS port configured on the
OLT to the ONT through this port. It is used to open up the
management channel between the OLT and the ONT.
WiFi port list (e.g. 1,3-5,8), with port values ranging from 1 to 8, can
Wifi-list
be used to batch configure VLANs for WiFi ports
The service VLAN packet priority policy is copied from the user VLAN.
When the OLT trusts the original priority of the user side or the
user-cos original priority of the user side complies with the VLAN plan of the
OLT, the priority of the service VLAN packets is directly copied from
the user VLAN.
The priority of the service side, which is reset after the VLAN
switchover. If the OLT needs to replan the priority of a VLAN or does
service-priority
not trust the original priority, the OLT reassigns the priority after the
VLAN switchover.
QinQ VLAN. QinQ VLAN packets include the inner VLAN from the
user's private network and the outer VLAN assigned by the device,
q-in-q which can form a Layer 2 VPN tunnel between the user's private
network to implement transparent transmission of services between
private networks.
118
GPON OLT User Manual
Set VLAN configuration type to Switch mode. Switch the VLAN tags of
packets based on the VLAN service plan in the actual network. If
translation
upstream and downstream packets are not differentiated, switch the
user-side VLAN to the configured VLAN.
[Configuration case]
Case1: Add Ethernet ports 1 and 2 on ONU devices to VLAN 10-12, 15, and set port vlans in
batches.
OLT(config-srv-profile-2)# port vlan eth 1-2 12-13,15 7
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) :8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
119
GPON OLT User Manual
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case2: Add ETH ports 3-4 of ONU device to QinQ VLAN 100 with priority 2.
OLT(config-srv-profile-2)#port vlan eth 3-4 q-in-q 100 2 user-vlan 12
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
120
GPON OLT User Manual
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 QinQ 1 100 2 12 - - -
ETH 4 QinQ 1 100 2 12 - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case3: Set ETH port 4 on ONU devices to translation mode and configure the priority policy of
VLAN packets on the service side to copy from the VLAN on the user side.
OLT(config-srv-profile-2)# no port vlan eth 4 12
OLT(config-srv-profile-2)# port vlan eth 4 translation 200 priority user-cos user-vlan 12 7
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
121
GPON OLT User Manual
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 12 7 12 - - -
ETH 1 Translation 2 13 7 13 - - -
ETH 1 Translation 3 15 7 15 - - -
ETH 2 Translation 1 12 7 12 - - -
ETH 2 Translation 2 13 7 13 - - -
ETH 2 Translation 3 15 7 15 - - -
ETH 3 QinQ 1 100 2 12 - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
Case4: Configure ONU device ETH port 3 to transparent mode.
OLT(config-srv-profile-2)# no port vlan eth 3 12
OLT(config-srv-profile-2)# port vlan eth 3 transparent
OLT(config-srv-profile-2)# show ont-srv-profile current
---------------------------------------------------------------
Profile-ID :2
Profile-name : srv-profile_2
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
122
GPON OLT User Manual
123
GPON OLT User Manual
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
--------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 15 7 15 - - -
ETH 2 Translation 1 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Translation 1 200 - 12 7 - copy
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
ETH 3 unlimited 1522 1 0 -
ETH 4 unlimited 1522 1 0 -
---------------------------------------------------------------
all You can view information about all current service profiles
The value ranges from 0 to 512. You can Show the specific service
profile-id
profile information by the profile number
[Configuration case]
124
GPON OLT User Manual
Case1: Show all service profiles for the current configuration of an OLT device.
OLT(config)# show ont-srv-profile gpon all
---------------------------------------------------------------
Profile-ID Profile-name Binding times
---------------------------------------------------------------
0 srv-profile_0 3
1 srv-profile_1 0
2 srv-profile_2 0
---------------------------------------------------------------
Total: 3
---------------------------------------------------------------
Case2: Show details of the OLT device currently configured for a specific line service.
OLT(config)# show ont-srv-profile gpon profile-id 1
---------------------------------------------------------------
Profile-ID :1
Profile-name : srv-profile_1
Binding times : 0
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 0 -
POTS 0 -
CATV 0 -
IPHOST adaptive 2
---------------------------------------------------------------
---------------------------------------------------------------
125
GPON OLT User Manual
[Configuration case]
126
GPON OLT User Manual
---------------------------------------------------------------
6.4.19 veip
Command Syntax veip (transparent | trunk)
[Configuration case]
6.4.20 ipconfig
ipconfig ip-index IP-host-index dhcp vlan VLAN-ID priority
VLAN-priority
Command Syntax
ipconfig ip-index IP-host-index pppoe ([service-name NAME]
username NAME password PWD|null) vlan vlan priority priority
127
GPON OLT User Manual
ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index
mask Configure the address mask for static IP addresses in the format X
ONT-subnet-mask X.X.X
Configure the primary DNS server IP address. DNS servers are used
pri-dns
to resolve IP addresses through domain names or obtain domain
ONT-primary-DNS
name information through IP addresses, in the format X X.X.X
slave-dns
Configure the DNS server IP address in the format X X.X.X
ONT-slave-DNS
username
Enable Wan's PPPOE and set username and password
password
Prf id: Bind the ipconfig profile to the iphost index specified by the
profile ID,
Prf-id/prf-name
The Id range is from 0 to 128.
Prf name: Bind the ipconfig profile to the iphost index specified by
128
GPON OLT User Manual
[Configuration case]
Case 1: Configure the static management IP of service profile 2 as 192.168.10.11.1. The subnet mask
is 255.255.255.0, the gateway IP is 192.168.10.1254, the management VLAN is 101, and the priority
is 0
OLT(config-srv-profile-2)# ipconfig ip-index 0 ip-address 192.168.101.1 mask
255.255.255.0 gateway 192.168.101.254 vlan 101 priority 0
OLT(config-srv-profile-2)#
OLT(config-srv-profile-2)#
OLT(config-srv-profile-2)#
Case 4: Configure ipconfig 0 for service profile 2 and bind it to ipconfig profile 0
OLT(config-srv-profile-2)# ipconfig ip-index 0 ipconfig-profile-id 0
OLT(config-srv-profile-2)#
129
GPON OLT User Manual
[Configuration case]
[Configuration case]
Case1: Configure the mac address aging time of pon 1 ONT 1 to no aging.
OLT(config-gpon-0/0)# ont mac-aging 1 1 no-aging
OLT(config-gpon-0/0)#
130
GPON OLT User Manual
disable Disable the MAC address learning function of a specified ONT device.
[Configuration case]
Disable the multicast fast exit function on ONT devices. After fast
multicast exit is disabled on the ONT device, the ONT sends a group
query to confirm the online status of the user after receiving the
disable group exit message. If no report message is received after the group
query period expires, the ONT considers the user offline and updates
the local multicast entry. This parameter is used when the user does
not need to change the channel at a faster speed.
Enable the ONT device multicast Fast Leave function. After the fast
multicast exit function is enabled on the ONT device, the ONT
immediately updates the local multicast entry according to the
enable outgoing multicast message after receiving the outgoing multicast
message, without sending a specific group query message to confirm
whether the user is indeed offline. This parameter is used when the
user needs to switch channels at a faster speed.
[Configuration case]
131
GPON OLT User Manual
Case1: Turn on the multicast fast leave function for pon 1 onu 1.
OLT(config-gpon-0/0)# ont multicast fast-leave 1 1 enable
OLT(config-gpon-0/0)#
This command is used to configure the IGMP mode for the multicast
VLAN of the specified ONT device. Only when the IGMP mode of the
multicast VLAN is proxy or snooping, the system captures the IGMP
Description
packets of the multicast programs of the VLAN for software
processing and normal multicast services are implemented. By
default, the IGMP mode of a multicast VLAN is unconcern.
Disable the IGMP function of the multicast VLAN. When the IGMP
unconcern function is turned off, a multicast user will not be able to watch
programs in that multicast VLAN.
[Configuration case]
Case1: Configure the IGMP mode of multicast VLAN of pon 1 onu 1 to proxy.
OLT(config-gpon-0/0)# ont multicast mode 1 1 proxy
132
GPON OLT User Manual
OLT(config-gpon-0/0)#
[Configuration case]
Configure the number of capability sets of eth ports on the ONT. The
eth-port value can be 0 to 24 or adaptive. After this value is set to adaptive,
the system automatically matches the number of eth ports reported
133
GPON OLT User Manual
by the ONT.
Configure the number of capability sets of eth ports on the ONT. The
value can be 0 to 8 or adaptive. After this value is set to adaptive, the
pots-port
system automatically matches the number of eth ports reported on
the ONT.
[Configuration case]
Case1: Configure a port capability set for pon 1 onu 1 in which the number of eth ports is 4, the
number of POTS ports is 2, and the number of CATV ports and iphost ports are adaptive.
OLT(config-gpon-0/0)# ont ont-port 1 1 eth 4 pots 2 catv adaptive iphost adaptive
OLT(config-gpon-0/0)#
eth-list List of Ethernet ports (e.g.:1,3-5,8) with port values ranging from 1
134
GPON OLT User Manual
[Configuration case]
Case1: Configure the maximum frame length of port eth1 on PON 1 ONT 1 to 1600
OLT(config-gpon-0/0)# ont port attribute 1 1 eth 1 max-frame-size 1600
OLT(config-gpon-0/0)#
[Configuration case]
Case1: Configure the maximum number of mac addresses for port eth1 on PON 1 ONT 1 to 10
OLT(config-gpon-0/0)# ont port attribute 1 1 eth 1 max-mac-count 10
OLT(config-gpon-0/0)#
135
GPON OLT User Manual
[Configuration case]
Case1: Configure the uplink multicast forwarding mode to default for Ethernet ports 1-2 on pon
1 onu 1, configure the outer VLAN to 10, and configure the priority to 7.
OLT(config-gpon-0/0)# ont port igmp-forward 1 1 eth 1-2 default vlan 10 priority 7
Configure ONT ethernet port igmp-forward, total: 2, success: 2
OLT(config-gpon-0/0)#
136
GPON OLT User Manual
In untag mode, the packets are stripped of the VLAN carried by the
untag
downlink multicast packet and forwarded.
[Configuration case]
Case1: Configure the downstream multicast forwarding mode to untag for Ethernet ports 1-2
on pon 1 onu 1.
OLT(config-gpon-0/0)# ont port multicast-forward 1 1 eth 1-2 untag
Configure ONT ethernet port multicast-forward, total: 2, success: 2
OLT(config-gpon-0/0)#
137
GPON OLT User Manual
The end IP address of the multicast program. The value ranges from
end-ip
the multicast ip address
[Configuration case]
Case1: Add a multicast entry for Ethernet ports 1-2 of pon 1 onu 1 device with the multicast
138
GPON OLT User Manual
Wifi-id WiFi port index value, WiFi port value range 1-8
[Configuration case]
ont port vlan port-id ont-id (eth eth-list | iphost iphost-list |wifi
wifi-list) (transparent |
translation service-vlan-id (priority user-cos (user-vlan-id | user-vlan
Command Syntax
user-vlan-id priority) | [service-priority ] user-vlan user-vlan-id
[priority]) |
q-in-q service-vlan-id [service-priority | priority user-cos ] user-vlan
user-vlan-id [priority])
no ont port vlan port-id ont-id (eth eth-list | iphost iphost-list |wifi
wifi-list) user-vlan-list [priority]
The "ont port vlan" command is used to discretely configure the UNI
(User Network Interface) port VLAN of a specified ONT device. This
command is used when you need to assign an ONT port to a
Description
specified VLAN or process the VLAN Tag of incoming and outgoing
data packets.
The "no ont port vlan" command is used to delete the VLAN of the
139
GPON OLT User Manual
port on the user side of the ONT device. This command is used when
the user packets with this VLAN are no longer required to pass
through the UNI port and the uplink port needs to be deleted from
the VLAN.
After the "port vlan" command is run, you can directly attach the
port list and user-side VLAN, which means you can directly configure
the VLAN and port priority that can pass through the ONT port.
If you run the port vlan command, you can add q-in-q to configure
the vlan of an ONT port to QinQ mode, and add a layer of VLAN QinQ
to an ONT port.
After the "port vlan command" is executed, it indicates that the vlan
of the ONT port is configured in switching mode, and the mapping
between the user-side VLAN and the service-side VLAN of the ONT
port can be configured.
If transparent is added after the "port vlan" command, the ONT port
vlan is set to transparent transmission mode. In this case, the VLAN
on the user side of the ONT port is directly transferred to the VLAN
on the service side without specifying the VLANID.
A list of iphost ports (e.g.:1,1-2) with port values ranging from 1-2,
which can be used to set vlans for iphost ports in batches. An IPHOST
iphost-list port is a virtual port that delivers the POTS port configured on the
OLT to the ONT through this port. It is used to open up the
management channel between the OLT and the ONT.
WiFi port list (e.g. 1,3-5,8), with port values ranging from 1 to 8, can
Wifi-list
be used to batch configure VLANs for WiFi ports
List of user-side vlans (VLAN ids before switchover). The port value
user-vlan-list
ranges from 1 to 24. It is used to set user-side vlans in batches.
The service VLAN packet priority policy is copied from the user VLAN.
user-cos
When the OLT trusts the original priority of the user side or the
140
GPON OLT User Manual
original priority of the user side complies with the VLAN plan of the
OLT, the priority of the service VLAN packets is directly copied from
the user VLAN.
The priority of the service side, which is reset after the VLAN
switchover. If the OLT needs to replan the priority of a VLAN or does
service-priority
not trust the original priority, the OLT reassigns the priority after the
VLAN switchover.
QinQ VLAN. QinQ VLAN packets include the inner VLAN from the
user's private network and the outer VLAN assigned by the device,
q-in-q which can form a Layer 2 VPN tunnel between the user's private
network to implement transparent transmission of services between
private networks.
Set VLAN configuration type to Switch mode. Switch the VLAN tags of
packets based on the VLAN service plan in the actual network. If
translation
upstream and downstream packets are not differentiated, switch the
user-side VLAN to the configured VLAN.
[Configuration case]
Case1: Add Ethernet ports 1 and 2 on the PON 1 ONU 1 device to VLAN 10-12, 15, and set port
vlans in batches.
OLT(config-gpon-0/0)# ont port vlan 1 1 eth 1-2 10-12,15 7
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
Configure ONT port(s) VLAN, total: 2, success: 2
OLT(config-gpon-0/0)# show ont info 1 1
... ...
---------------------------------------------------------------
Profile-ID : --
---------------------------------------------------------------
---------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------
ETH 4 -
POTS adaptive 2
141
GPON OLT User Manual
CATV adaptive 1
IPHOST 2 -
---------------------------------------------------------------
MAC aging time(s): : 300
MAC learing switch: : Enable
Ring check switch : Disable
Ring port auto-shutdown : Enable
Ring check detect frequency(pps) : 8
Ring resume interval(s) : 300
VEIP mode : Trunk
Native VLAN option: : Concern
---------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
ETH 1 Translation 1 10 7 10 - - -
ETH 1 Translation 2 11 7 11 - - -
ETH 1 Translation 3 12 7 12 - - -
ETH 1 Translation 4 15 7 15 - - -
ETH 2 Translation 1 10 7 10 - - -
ETH 2 Translation 2 11 7 11 - - -
ETH 2 Translation 3 12 7 12 - - -
ETH 2 Translation 4 15 7 15 - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
IPHOST 2 Transparent - - - - - - -
---------------------------------------------------------------
Port-type Port-ID Max-MAC-Count Max-Frame-Size N-VLAN N-PRI IGMP-PRF
ETH 1 unlimited 1522 1 0 -
ETH 2 unlimited 1522 1 0 -
---------------------------------------------------------------
142
GPON OLT User Manual
[Configuration case]
6.5.16ont ipconfig
Applicable
GPon Interface View
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index
143
GPON OLT User Manual
ip-address
Configure a static management IP address in the format X X.X.X
ONT-IP
mask
Configure the address mask for static IP addresses in the format X
ONT-subnet-ma
X.X.X
sk
pri-dns Configure the primary DNS server IP address. DNS servers are used to
ONT-primary-D resolve IP addresses through domain names or obtain domain name
NS information through IP addresses, in the format X X.X.X
slave-dns
Configure the DNS server IP address in the format X X.X.X
ONT-slave-DNS
username
Enable Wan's PPPOE and set username and password
password
[Configuration Case]
Case 1: Configure the static management IP of PON1 port ONT1 as 192.168.10.11.1, subnet mask as
255.255.255.0, gateway IP as 192.168.1012.54, management VLAN as 101, priority as 0
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 ip-address 192.168.101.1
mask 255.255.255.0 gateway 192.168.101.254 vlan 101 priority 0
OLT(config-interface-gpon-0/0)#
Case 2: Configure the management IP address of PON1 port ONT2 to dhcp mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 dhcp vlan 101 priority 0
OLT(config-interface-gpon-0/0)#
144
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Case 4: Configure the associated IP management IP address of PON1 port ONT2 to be in pppoe
mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 pppoe username test
password test vlan 101 priority 0
OLT(config-interface-gpon-0/0)#
6.5.17ont ipconfig(extend)
Applicable
GPon Interface View
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
ip-index
Configure IP Host interface index, value range: 0-1
IP-host-index
145
GPON OLT User Manual
ETH-LIST List of Ethernet ports. Specify the wan binding ETH port for ONU.
WLAN-LIST WLAN port list. Specify the wan binding wlan port for onu.
[Configuration Case]
Case 1: Configure the IPhost index 0 of PON1 port ONT1 in bridging connection mode
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 connection-type bridge
OLT(config-interface-gpon-0/0)#
Case 2: Enable the nat switch for configuring the IPhost index 0 of the PON1 port ONT1
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 nat enable
OLT(config-interface-gpon-0/0)#
Case 3: Configure the multicast VLAN of IPhost index 0 for PON1 port ONT1 to 101
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 multicast-forward 101
OLT(config-interface-gpon-0/0)#
Case 4: Configure ETH ports 1-4 and WLAN ports 1-4 of PON1 port ONT1 to bind to IPhost index 0
OLT(config-interface-gpon-0/0)# ont ipconfig 1 1 ip-index 0 binding eth 1-4 wlan 1-4
OLT(config-interface-gpon-0/0)#
Case 5: Delete the port binding of IPhost index 0 for PON1 port ONT1
OLT(config-interface-gpon-0/0)# no ont ipconfig 1 1 ip-index 0 binding
OLT(config-interface-gpon-0/0)#
Applicable
GPon Interface View
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
ONT-id The ONT ID of the ONT to be configured, with values ranging from 1
146
GPON OLT User Manual
to 128
eth-port-id The ID of the Ethernet port of ONT, with a value range of 1-8
inbound Configure the uplink (entrance) speed limit function of the ONT port
outbound Configure the downlink (exit) speed limit function of the ONT port
The traffic profile ID that needs to be bound to the speed limit of the
ONT port, and the bandwidth value configured for the speed limit of
traffic-profile-ID the ONT port is bound to the traffic profile. You can use the OLT
(config) # show traffic profile all command to view which traffic
profiles are available on the OLT.
[Configuration Case]
Case 1: Configure the uplink and downlink port speed of the first Ethernet port of PON1 port ONT1
to be 500M (using 6 as the traffic profile ID)
OLT(config)# show traffic-profile all
-----------------------------------------------------------------------------
ID Profile-name CIR(kbps) PIR(kbps) CBS(bytes) PBS(bytes) Bind
----------------------------------------------------------------------------
6 XR500V 512000 512000 512000 512000 0
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)# ont port car 1 1 eth 1 inbound 6 outbound 6
OLT(config-interface-gpon-0/0)#
147
GPON OLT User Manual
Index of the service virtual port. The value ranges from 0 to 8100.
service-port-index This parameter is used when you need to set a service virtual port
based on its index value.
148
GPON OLT User Manual
F/S Used to identify the subrack number/slot number, for example, 0/0.
Add two layers of Tag. Add two layers to the packets on the user side:
S-VLAN+C-VLAN.
Applicable to:
S-vlans can be QinQ vlans, Common vlans, or Stacking vlans, and
add-double
service flows that are single-service or classified by
user-encapuser-encap traffic.
An S-VLAN is a QinQ VLAN, Common VLAN, or Stacking VLAN, and an
untagged service flow.
Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side to the C-VLAN at layer 1, and then add another layer
S-VLAN to form the uplink vlans at Layer S+C. This mode is used
translate-and-add when two layers of VLAN tags are required to identify user services
(for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user-side packets are different from those
planned on the new 16Port/8Port GPON OLT.
149
GPON OLT User Manual
The switched inner vlan. The value ranges from 1 to 4094. An inner
inner-vlan-id VLAN can be specified when the processing mode is add-double or
translator-and-double.
The priority of the inner vlan after switching. The value ranges from 0
inner-priority
to 7.
User side service Ethernet type. This parameter is used when users
need to be distinguished by the user-side service encapsulation type.
Available parameters: pppoe, ipv6oe, ipv4oe
PPPoE is used when the user side packets are pppoe packets (that is,
packets of Ethernet type 0x8863 and 0x8864).
ethertype
"ipv6oe" is used when the user-side packet is an IPv6 packet (i.e., a
packet of Ethernet type 0x86dd).
When the user side packet is a packet other than the "pppoe" and
"ipv6oe" packet (i.e. a packet of Ethernet type other than 0x8863,
0x8864, or 0x86dd;) When "ipv4oe" is used.
traffic-profile-index Index of the traffic profile. The value ranges from 1 to 256.
[Configuration case]
Case1: Create a single-service virtual port 2, configure the service vlan to 100, configure the
vlan tag conversion mode to the default mode, and bind the traffic profile with index 1 in the
150
GPON OLT User Manual
OLT(config)# service-port 2 vlan 100 gpon 0/0 port 1 ont 1 gemport 1 tag-action
default inbound index 1
Config service-port succeed!
OLT(config)#
Case2: Create a multi-service virtual port, automatically assign the virtual port index, configure
the service vlan to 200, configure the user vlan to 200, configure the vlan tag conversion mode
to transparent transmission, and bind the traffic profile with Index 1 in the direction of the
incoming port.
OLT(config)# service-port autoindex vlan 100 gpon 0/0 port 1 ont 6 gemport 1 mu
lti-service user-vlan 100 tag-action transparent inbound index 1 outbound index 1
Config service-port succeed!
OLT(config)#
Case3: Configure the service virtual port in full transparent mode.
OLT(config)# service-port 1 vlan transparent gpon 0/0 port 1 ont 1 gemport 1
OLT(config)# service-port autoindex vlan transparent gpon 0/0 port 1 ont 2 gemport 1
OLT(config)# service-port autoindex vlan transparent gpon 0/0 port 1 ont 3 gemport 1
inbound index 1
Case4: Deletes the service virtual port whose index value is 4,5.
OLT(config)# no service-port 4-5
OLT(config)#
Case5: deletes all service virtual ports whose ont device index is 1-2 from port pon1.
OLT(config)# no service-port gpon 0/0 port 1 ont 1-2
OLT(config)# show service-port all
Case6: Delete all service virtual ports with service VLAN 100 and 200.
OLT(config)# no service-port vlan 100,200
OLT(config)#
Index of the service virtual port. The value ranges from 0 to 8100.
service-port-index This parameter is used when you need to set a service virtual port
based on its index value.
151
GPON OLT User Manual
[Configuration case]
[Configuration case]
152
GPON OLT User Manual
Add two layers of tags. Add two layers to the user side message:
S-VLAN+C-VLAN.
Applicable to:
S-VLAN refers to the QinQ VLAN, Common VLAN, or Stacking VLAN,
add-double
which is a single service or a traffic flow classified by
user-encapuser-encap.
S-VLAN refers to QinQ VLAN, Common VLAN, or Stacking VLAN,
untagged traffic flow.
Switch vlans and add a layer of VLAN tag. Switch the C-VLAN carried
by the user side to the C-VLAN at layer 1, and then add another layer
translate-and-add S-VLAN to form the uplink vlans at Layer S+C. This mode is used
inner-vlan when two layers of VLAN tags are required to identify user services
(for example, layer 1 identifies services and Layer 1 identifies users),
and the vlans of the user-side packets are different from those
153
GPON OLT User Manual
The switched inner vlan. The value ranges from 1 to 4094. An inner
inner-vlan-id VLAN can be specified when the processing mode is add-double or
translator-and-double.
The priority of the inner vlan after switching. The value ranges from 0
inner-priority
to 7.
[Configuration case]
Case1: Change the vlan conversion mode of service virtual port 2 to default.
OLT(config)# service-port 2 tag-action default
Modify service-port tag-action succeed!
OLT(config)#
Case2: Change the vlan conversion mode of service virtual ports 3-4 to default.
OLT(config)# service-port 3-4 tag-action default
Modify service-port tag-action succeed!
OLT(config)#
traffic-profile-index Index of the traffic profile. The value ranges from 1 to 256.
[Configuration case]
Case1: Modify the traffic binding of service virtual port 2 to a traffic profile with the binding
154
GPON OLT User Manual
index of 2.
OLT(config)# service-port 2 traffic-profile inbound index 2 outbound index 2
Modify service-port traffic profile succeed!
OLT(config)#
Case2: Modify the traffic binding of service virtual ports 3-4 to a traffic profile with the binding
index of 2.
OLT(config)# service-port 3-4 traffic-profile inbound index 2 outbound index 2
Modify service-port traffic profile succeed!
OLT(config)#
[Configuration case]
Case1: Enables the performance statistics function for service virtual ports 3-4.
OLT(config)# service-port statistic 3-4 enable
OLT(config)#
Case2: Clear the performance statistics of service virtual ports 3-4.
OLT(config)# service-port statistics 3-4 clear
OLT(config)#
155
GPON OLT User Manual
Index of the service virtual port. The value ranges from 0 to 8100. It
service-port-index indicates that the index is used to query details about the
corresponding virtual port.
User side service Ethernet type. This parameter is used when users
need to be distinguished by the user-side service encapsulation type.
Available parameters: pppoe, ipv6oe, ipv4oe
PPPoE is used when the user side packets are pppoe packets (that is,
packets of Ethernet type 0x8863 and 0x8864).
ethertype
"ipv6oe" is used when the user-side packet is an IPv6 packet (i.e., a
packet of Ethernet type 0x86dd).
When the user side packet is a packet other than the "pppoe" and
"ipv6oe" packet (i.e. a packet of Ethernet type other than 0x8863,
0x8864, or 0x86dd;) When "ipv4oe" is used.
156
GPON OLT User Manual
[Configuration case]
------------------------------------------------------------------------------------------------------------------------ -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG
------------------------------------------------------------------------------------------------------------------------ -------
------------------------------------------------------------------------------------------------------------------------ -------
Case3: Show all service virtual ports under port PON1 of the OLT device.
OLT(config)# show service-port gpon 0/0 port 1
------------------------------------------------------------------------------------------------------------------------ -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG
157
GPON OLT User Manual
------------------------------------------------------------------------------------------------------------------------ -------
------------------------------------------------------------------------------------------------------------------------ -------
Case4: Show the service virtual port whose vlan is 200 on the user side.
OLT(config)# show service-port vlan 200
------------------------------------------------------------------------------------------------------------------------ -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG
------------------------------------------------------------------------------------------------------------------------ -------
------------------------------------------------------------------------------------------------------------------------ -------
------------------------------------------------------------------------------------------------------------------------ -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATUS METHOD CONFIG
------------------------------------------------------------------------------------------------------------------------ -------
------------------------------------------------------------------------------------------------------------------------ -------
158
GPON OLT User Manual
[Configuration case]
Case1: Show the performance statistics status of the service virtual port on port PON1 of the
OLT device.
OLT(config)# show service-port statistics gpon 0/0 port 1
-----------------------------------------------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-----------------------------------------------------------------------------
2 100 0/0/1 1 1 - - disable
4 200 0/0/1 2 2 - - disable
5 200 0/0/1 3 2 - - disable
-----------------------------------------------------------------------------
Total : 3
Case2: Show the performance statistics status of all service virtual ports.
OLT(config)# show service-port statistics all
-----------------------------------------------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-----------------------------------------------------------------------------
0 100 0/0/2 2 1 - - disable
1 100 0/0/2 3 1 - - disable
2 100 0/0/1 1 1 - - disable
3 100 0/0/2 4 1 - - disable
4 200 0/0/1 2 2 - - disable
5 200 0/0/1 3 2 - - disable
-----------------------------------------------------------------------------
Total : 6
159
GPON OLT User Manual
Command
show statistic service-port service-port-index
Syntax
Applicable
configview
Views
Description 此命令用于查看指定业务虚端口的性能统计。
Configure the URL address of the ACS server. The default value of
acs-url
acs-url is null and the length of the URL is 1-63 characters.
Configure the password for the ACS server. The default value of
acs-password acs-password is null and the length of the password is 1-25
characters.
160
GPON OLT User Manual
Configure authentication for the CPE server. The default value is null
REALM
and the character length is 1-24.
[Configuration case]
6.7.2 commit
Command Syntax commit
[Configuration case]
6.7.3 cpe
cpe-username cpe-username cpe-password cpe-password [cpe-port
Command Syntax
cpe-port]
Configure the account of the CPE server. The default value is null and
cpe-username
the character length is 1-50.
Configure the password for the CPE server. The default value is null
cpe-password
and the length of the password is 1-25 characters.
Configure the port of the CPE server. The default value is 0 and
cpe-port
ranges from 0 to 65535.
[Configuration case]
161
GPON OLT User Manual
Case1: Configure the information of the CPE server for TR069 profile 1
OLT(config-tr069-profile_1)# cpe-username 123 cpe-password 123 cpe-port 1222
OLT(config-tr069-profile_1)#
6.7.4 inform
Command Syntax inform (disable | enable) [ interval interval ]
[Configuration case]
Case1: Configure the service notification switch of TR069 profile 1 to on at an interval of 300
seconds
OLT(config-tr069-profile_1)# inform enable interval 300
OLT(config-tr069-profile_1)#
6.7.5 ip-index
tr069-management ip-index index
Command Syntax
tr069-management ip-index unbind
This command is used to configure the iphost for the TR069 binding
Description
in the tr069 profile.
Configure the iphost bound to the TR069 profile. The default is 0 and
index
the value ranges from 0 to 1.
[Configuration case]
162
GPON OLT User Manual
OLT(config-tr069-profile_1)#
6.7.6 ont-tr069-profile
ont-tr069-profile gpon {profile-id profile-id | profile-name
profile-name}
Command Syntax
no ont-tr069-profile (profile-id profile-id | profile-name
profile-name)
[Configuration case]
Case1: Automatically create a new tr069 profile and go to the tr069 profile Configuration view.
OLT(config)# ont-tr069-profile gpon
OLT(config-tr069-profile_2)#
Case2: Delete a tr069 profile according to profile-id.
OLT(config)# no ont-tr069-profile profile-id 2
OLT(config)#
6.7.7 tr069-management
Command Syntax tr069-management (disable | enable| unconcern)
163
GPON OLT User Manual
(disable | enable| Configure the TR069 management status in the tr069 profile. The
unconcern) default is unconcern.
[Configuration case]
[Configuration case]
Auth realm :0
164
GPON OLT User Manual
Inform : enalbe
TR069 IP index :1
----------------------------------------------------------------------------
OLT(config-tr069-profile_1)#
portid Specify the PON port number. The value ranges from 1 to 16
Configure the URL address of the ACS server. The default value of
acs-url
acs-url is null and the length of the URL is 1-63 characters.
Configure the password for the ACS server. The default value of
acs-password acs-password is null and the length of the password is 1-25
characters.
Configure authentication for the CPE server. The default value is null
REALM
and the character length is 1-24.
[Configuration case]
Case1: Configures information about the ACS server connected to the ONU whose id is 1 on
165
GPON OLT User Manual
port 1
OLT(config-gpon-0/0/0)# ont tr069 11 acs-url http://10.11.12.13/acs acs-username
acs acs-password 123
OLT(config-gpon-0/0)#
portid Specify the PON port number. The value ranges from 1 to 16
Configure the account of the CPE server. The default value is null and
cpe-username
the character length is 1-50.
Configure the password for the CPE server. The default value is null
cpe-password
and the length of the password is 1-25 characters.
Configure the port of the CPE server. The default value is 0 and
cpe-port
ranges from 0 to 65535.
[Configuration case]
portid Specify the PON port number. The value ranges from 1 to 16
(disable | enable) Configure the tr069 service notification switch on the ONT. The
166
GPON OLT User Manual
Configure the tr069 service notification interval for the ONT. The
interval
default value is 30. The value ranges from 1 to 4294967295.
[Configuration case]
Case1: Configure the ONU service notification switch to on on port 1 at an interval of 300
seconds
OLT(config-gpon-0/0)# ont tr069 5 1 inform enable interval 300
OLT(config-gpon-0/0)#
Description This command is used to configure the iphost bound to ONT's tr069.
portid Specify the PON port number. The value ranges from 1 to 16
Configure the iphost bound to the ONT's tr069. The default value is 0
index
and the value ranges from 0 to 1.
[Configuration case]
6.8.5 tr069-management
ont tr069 portid ontid tr069-management (disable | enable|
Command Syntax
unconcern)
portid Specify the PON port number. The value ranges from 1 to 16
167
GPON OLT User Manual
(disable | enable| Configure the tr069 management status of the ONT. The default is
unconcern) unconcern.
[Configuration case]
Case1: Turn on the TR069 function of the ONU with id 1 under port 1
OLT(config-gpon-0/0)# ont tr069 1 1 tr069-management enable
OLT(config-gpon-0/0)#
Profile-name The name of the traffic profile, which can be 1 to 16 characters long
[Configuration case]
6.9.2 traffic-profile
traffic-profile (profile-id Profile-ID|profile-name Profile-name) {cir
Command Syntax committed-rate-value |pir peek-rate-rate |cbs committed-burst-size|
pbs peek-burst-size}
168
GPON OLT User Manual
Description This command is used to configure the traffic profile for ONT.
Profile-name The name of the traffic profile, which can be 1 to 16 characters long
[Configuration case]
Case 1: Create a traffic profile with id 10 and name test1, cir 128, pir 256, cbs2000, pbs3000
Traffic profile
OLT(config)# traffic-profile profile-id 10 profile-name test1 cir 128 pir 256 cbs 2000 pbs
3000
OLT(config)#
[Configuration case]
169
GPON OLT User Manual
[Configuration case]
6.10.3 ont-line-profile
Command Syntax ont-line-profile (profile-id profile-id | profile-name profile-name)
ONT line profile number, which identifies a line profile. The value
ranges from 0 to 512. If no ONT profile number is specified, the
profile-id system automatically assigns the minimum free profile number. Line
profile 0 is the default profile. The ONT that goes online
automatically matches line profile 0
[Configuration case]
170
GPON OLT User Manual
6.10.4 ont-srv-profile
Command Syntax ont-srv-profile (profile-id profile-id| profile-name profile-name)
ONT Service profile ID, which identifies a service profile. The value
ranges from 1 to 512. If this parameter is not specified, the system
profile-id automatically assigns the minimum idle profile number. Service
profile 0 is the default profile. The ONT that goes online
automatically matches service profile 0
[Configuration case]
6.10.5ont-tr069-profile
Command
ont-tr069-profile (profile-id profile-id| profile-name profile-name)
Syntax
Applicable
mult-srv-profile view
Views
ONT tr069 profile number, used to identify a tr069 profile, the value
profile-id
range is 1-32.
[Configuration case]
Case1:Configure the multi-service profile with ID 1 to reference tr069 profile 2.
171
GPON OLT User Manual
6.10.6ont-wan-profile
Command
ont-wan-profile (profile-id profile-id| profile-name profile-name)
Syntax
Applicable
mult-srv-profile view
Views
ONT wan profile number, used to identify a wan profile, the value
profile-id
range is 1-256.
[Configuration case]
Case1:Configure the multi-service profile with ID 1 to reference wan profile 2.
OLT(config-mult-srv-profile_1)# ont-wan-profile profile-id 2
OLT(config-mult-srv-profile_1)#
6.10.7show mult-srv-profile
show ont mult-srv-profile gpon ( all | profile-id <0-127 > |
Command Syntax profile-name profile-name )
show mult-srv-profile current
<1-127 > ONT Multi-service profile ID. The value ranges from 1 to 127.
[Configuration case]
172
GPON OLT User Manual
Profile-Type : professional
Ont-line-profile :6
Ont-srv-profile :0
Binding-times :0
---------------------------------------------------------------
OLT(config-mult-srv-profile_1)#
6.11.1commit
Command
commit
Syntax
Applicable
Ipconfig profile view
Views
6.11.2 ipconfig-profile
Command
ipconfig-profile gpon {profile-id <0-128> | profile-name PRFNAME}
Syntax
Applicable
Config view
Views
Description This command is used to configure the connection type for wan.
[Configuration case]
Case1:Create ipconfig profile 10.
OLT(config)# ipconfig-profile gpon profile-id 10
OLT(config-ipconfig-profile-0)#
173
GPON OLT User Manual
6.11.3 connection-type
Description This command is used to configure the connection type for wan.
connection-type Modify the WAN connection type and not deliver it by default.
[Configuration case]
Case1:Modify the connection type bound to ipconfig profile 0 to bridge.
OLT(config-ipconfig-profile-0)# connection-type bridge
OLT(config-ipconfig-profile-0)#
6.11.4 nat
Command
nat (enable|disable)
Syntax
Applicable
Ipconfigprofile view
Views
[Configuration case]
Case1:Enable the nat switch that binds the ipconfig profile.
OLT(config-ipconfig-profile-0)# nat enable
OLT(config-ipconfig-profile-0)#
174
GPON OLT User Manual
Applicable
Ipconfigprofile view
Views
Description This command is used to configure the internet service type for wan.
[Configuration case]
Case1:Add internet type to binding ipconfig profile
OLT(config-ipconfig-profile-0)#service internet
OLT(config-ipconfig-profile-0)#
6.11.6 binding
Applicable
Ipconfigprofile view
Views
eth ETH-LIST Ethernet port list. Specify onu's wan binding eth port.
wlan
WLAN port list. Specify onu's wan binding wlan port.
WLAN-LIST
[Configuration case]
Case1:Bind eth2-3 and wlan1-3 to iphost 1 of the ONT bound to ipconfig.
OLT(config-ipconfig-profile-0)# binding eth 2-3 wlan 1-3
OLT(config-ipconfig-profile-0)#
6.11.7 multicast-forward
Applicable
Ipconfigprofile view
Views
175
GPON OLT User Manual
[Configuration case]
Case1:Set the multicast vlan of iphost1 of the ONT bound to ipconfig to 20
OLT(config-ipconfig-profile-0)# multicast-forward 20
OLT(config-ipconfig-profile-0)#
Applicable
Config view、Ipconfigprofile view
Views
<1-127 > The ID number of the Ipconfig profile, the value range is 1-128.
[Configuration case]
Case1:View the current configuration of multi-service profile 1.
OLT(config-ipconfig-profile-0)# show ipconfig-profile current
---------------------------------------------------------------
Profile-ID :0
Profile-name : ipconfig-profile_0
Binding times : 0
---------------------------------------------------------------
Service : internet
Connetion-type : --
nat : enable
mvlan : --
eth : --
wlan : --
---------------------------------------------------------------
176
GPON OLT User Manual
7 Diagnostic management
Mirror function
Loop detection
Performance statistics
SNMP management
7.1Mirroring function
7.1.1 mirror
mirror group group-id src-port src-port-id dst-port (ge|xge) portid
Command Syntax (all|egress|ingress)
no mirror group group-id
The port number of the mirrored source port. A source port can only
src-port-id
exist in one group
Port number of the destination port of the mirror. The value of the
portid
port is in the range of 0/0/1-0/4 for ge and 0/0/1-0/2 for xge.
177
GPON OLT User Manual
[Configuration case]
[Configuration case]
178
GPON OLT User Manual
Group ID: 3
Destnation port: NONE
--------------------------------------------
Group ID: 4
Destnation port: NONE
--------------------------------------------
enable: enables the PON port to automatically detect the ONU long
glow
enable|disable
disable: indicates that the PON port automatically detects the long
glow of the ONU
[Configuration case]
Case1: Enable the PON1 port to automatically detect ONU long glow.
OLT(config-interface-gpon-0/0)# anti-rogueont auto-check 1 enable
OLT(config-interface-gpon-0/0)#
179
GPON OLT User Manual
Configure the automatic isolation function under the PON port. The
Description
default is disable
[Configuration case]
[Configuration case]
Case1: Manually configure the PON1 port to detect ONU long luminescence.
OLT(config-interface-gpon-0/0)# anti-rogueont manual-check 1
OLT(config-interface-gpon-0/0)#
[Configuration case]
180
GPON OLT User Manual
Case1: Manually configure the PON1 port to detect the long light emitting function of the ONU
This command is used to move the ONU out of the Rogue onu
Description
Automatic quarantine table.
SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.
[Configuration case]
Case1: Move the ONU of port 1 with sn RTKG11111111 out of the isolation table.
OLT(config-gpon-0/0)# ont re-enable 1 sn RTKG11111111
OLT(config-gpon-0/0)#
[Configuration case]
Case1: Show the information of all rogue ONUs on the PON port
OLT(config-interface-gpon-0/0)# show anti-rogueont all
-------------------------------------------------------------------------
index Port ONT-ID SN
-------------------------------------------------------------------------
1 gpon 0/0/1 1 RTKG00000819
-------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
181
GPON OLT User Manual
Show the PON port length glow detection and Rogue ONU isolation
Description
enable configuration
[Configuration case]
Case1: Check the status of the automatic PON port isolation function
OLT(config-gpon-0/0)# show anti-rogueont auto-isolate config
-----------------------------------------------------
Port Status
-----------------------------------------------------
gpon 0/0/1 enable
gpon 0/0/2 disable
gpon 0/0/3 disable
gpon 0/0/4 disable
gpon 0/0/5 disable
gpon 0/0/6 disable
gpon 0/0/7 disable
gpon 0/0/8 disable
-----------------------------------------------------
OLT(config-gpon-0/0)#
Case2: Check the status of the PON port automatic isolation function
OLT(config-gpon-0/0)# show anti-rogueont auto-detect config
-----------------------------------------------------
Port Status Interval(min)
-----------------------------------------------------
gpon 0/0/1 enable 15
gpon 0/0/2 enable 15
gpon 0/0/3 enable 15
gpon 0/0/4 enable 15
gpon 0/0/5 enable 15
gpon 0/0/6 enable 15
gpon 0/0/7 enable 15
gpon 0/0/8 enable 15
-----------------------------------------------------
OLT(config-gpon-0/0)#
182
GPON OLT User Manual
7.3Loop detection
7.3.1 loopback-detection
Command Syntax loopback-detection [portlist] (enable | disable)
[Configuration case]
block: When a loop is detected, it sends a Trap alarm to the NMS and
blocks the interface to allow only BPDU to pass through.
block |
shutdown: When a loop is detected, a Trap alarm is sent to the NMS
shutdown |
and the interface is shutdown.
trap
trap: When a loop is detected, only Trap alarms are sent to the NMS
and logs are recorded.
[Configuration case]
183
GPON OLT User Manual
[Configuration case]
Case1: Configure the loop detection interval of the OLT system to 10s.
OLT(config)# loopback-detection interval-time 10
OLT(config)#
Case2: Restore the OLT system's loop detection interval to its default value.
OLT(config)# no loopback-detection interval-time
OLT(config)#
[Configuration case]
184
GPON OLT User Manual
time The value ranges from 5 to 1000, in seconds. The default value is 90
[Configuration case]
Case1: Configure the loop detection recovery interval for port G1 to 300 seconds.
OLT(config-ge-0/0)# loopback-detection 1 recovery-time 300
OLT(config-ge-0/0)#
Case2: restores the loop detection recovery interval of port GE1.
OLT(config-ge-0/0)# no loopback-detection 1 recovery-time
OLT(config-ge-0/0)#
[Configuration case]
185
GPON OLT User Manual
186
GPON OLT User Manual
is 30.
[Configuration case]
Case1: Configure the lower limit of bias-current alarms in the optical module alarm profile to
5mA.
OLT(config-optical-alarm-profile-10)# bias-current alarm-lower 5
Case2: Deletes the bias-current alarm lower limit of the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no bias-current alarm-lower
Show the information about the optical module alarm profile with
profile-id
the specified id. The value ranges from 0 to 256.
Show information about the optical module alarm profile with the
profile-name
specified name.
[Configuration case]
Case1: Show the information about the alarm profile of the optical module whose profile ID is
1.
OLT(config)# show optical-alarm-profile profile-id 1
Profile-ID :1
Profile-name : optical_alarm_profile_1
Binding times :0
187
GPON OLT User Manual
----------------------------------------------------------------------------
Tx optical power warning upper threshold (dBm) : 6.00
Tx optical power warning lower threshold (dBm) : 0.00
Tx optical power alarm upper threshold (dBm) : 7.00
Tx optical power alarm lower threshold (dBm) : -1.00
Rx optical power warning upper threshold (dBm) : -1.00
Rx optical power warning lower threshold (dBm) : -30.00
Rx optical power alarm upper threshold (dBm) : 1.00
Rx optical power alarm lower threshold (dBm) : -35.00
Bias current warning upper threshold(mA) : 30.00
Bias current warning lower threshold(mA) : 7.00
Bias current alarm upper threshold(mA) : 70.00
Bias current alarm lower threshold(mA) : 2.00
Supply voltage warning upper threshold (V) : 3.47
Supply voltage warning lower threshold (V) : 3.14
Supply voltage alarm upper threshold (V) : 3.63
Supply voltage alarm lower threshold (V) : 2.97
Temperature warning upper threshold (C) : 70.00
Temperature warning lower threshold (C) : 0.00
Temperature alarm upper threshold (C) : 100.00
Temperature alarm lower threshold (C) : -10.00
ONT CATV rx optical power alarm upper threshold (dBm) : 2.50
ONT CATV rx optical power alarm lower threshold (dBm) : -9.50
ONT CATV tx voltage alarm upper threshold (dBm) : 7.00
ONT CATV tx voltage alarm lower threshold (dBm) : -1.00
ONT CATV voltage alarm upper threshold (dBm) : 3.63
ONT CATV voltage alarm lower threshold (dBm) : 2.97
ONT CATV temperature alarm upper threshold (dBm) : 100.00
ONT CATV temperature alarm lower threshold (dBm) : -10.00
----------------------------------------------------------------------------
Case2: Show the information about the alarm profile of the current optical module.
OLT(config-optical-alarm-profile-1)# show optical-alarm-profile current
Profile-ID :1
Profile-name : optical_alarm_profile_1
Binding times :0
----------------------------------------------------------------------------
Tx optical power warning upper threshold (dBm) : 46.00
Tx optical power warning lower threshold (dBm) : -78.00
Tx optical power alarm upper threshold (dBm) : 7.00
Tx optical power alarm lower threshold (dBm) : -1.00
Rx optical power warning upper threshold (dBm) : -1.00
Rx optical power warning lower threshold (dBm) : -30.00
Rx optical power alarm upper threshold (dBm) : 1.00
188
GPON OLT User Manual
7.4.3 ont-catv
ont-catv ( rx | tx | voltage | temp ) ( alarm-lower | alarm-upper )
Command Syntax
threshold
rx: Specifies the alarm threshold for the CATV to receive optical
power. By default, the lower alarm threshold is -9.5, and the upper
alarm threshold is 2.5.
rx |
tx: CATV send voltage alarm threshold. The default lower alarm
tx |
threshold is -1, and the default upper alarm threshold is 7.
voltage |
voltage: CATV voltage alarm threshold. The default lower alarm
temp
threshold is 2.97, and the default upper alarm threshold is 3.63.
temp: indicates the CATV temperature alarm threshold. The default
lower threshold is -10, and the default upper threshold is 100.
189
GPON OLT User Manual
[Configuration case]
Case1: Configure the optical module alarm profile ont-catv receives optical power alarms to -10
DBM.
OLT(config-optical-alarm-profile-10)# ont-catv rx alarm-lower -10
7.4.4 optical-alarm-profile
optical-alarm-profile {profile-id <1-256>|profile-name
Command Syntax
profile-name}
This command is used to create and enter the optical module alarm
profile mode or enter an existing optical module alarm profile mode.
An optical module alarm profile describes the alarm upper and lower
Description limits of power-tx, power-rx, temerature, voltage, bias-current, and
ont-catv. After the command is executed successfully, the
configuration mode of the optical module alarm profile is showed.
You can configure the properties of the optical module alarm profile.
< 1-256 > Optical module alarm profile ID, which identifies an optical
module alarm profile. The value ranges from 1 to 256. If this
parameter is not specified, the system automatically assigns the
<1-256> minimum idle profile number. Optical module alarm profile 0 is the
default profile. The ONT and PON ports that go online automatically
match optical module alarm profile 0. Optical module alarm profile 0
cannot be modified or deleted.
[Configuration case]
Case1: Create and enter the optical module alarm profile as 10.
OLT(config)# optical-alarm-profile profile-id 10
OLT(config-optical-alarm-profile-10)#
190
GPON OLT User Manual
7.4.5 power-rx
power-rx ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold
[Configuration case]
Case1: Configure the optical module alarm profile power-rx alert lower limit to -25 DBM.
OLT(config-optical-alarm-profile-10)# power-rx warning-lower -25
Case2: Deletes the power-rx warning lower limit of the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no power-rx warning-lower
7.4.6 power-tx
power-tx ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold
Alarm-lower: indicates the lower alarm value. The default value is -1.
alarm-lower | Alarm-upper: indicates the upper alarm value. The default value is 7.
alarm-upper | Warning-lower: indicates the warning lower limit. The default value
warning-lower| is 0.
warning-upper Warning-upper: indicates the warning upper limit. The default value
is 6.
191
GPON OLT User Manual
[Configuration case]
Case1: Configure the upper limit of power-rx alarm in the optical module alarm profile to
5dbm.
OLT(config-optical-alarm-profile-10)# power-tx warning-lower 5
Case2: Deletes the upper limit of the optical module alarm profile power-rx warning.
OLT(config-optical-alarm-profile-10)# no power-tx warning-lower
7.4.7 temperature
temperature ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold
[Configuration case]
Case1: Configure the temperature upper limit of an optical module alarm profile to 70 C.
OLT(config-optical-alarm-profile-10)# temperature alarm-upper 70
Case2: Deletes the upper limit of the temperature alarm in the optical module alarm profile.
OLT(config-optical-alarm-profile-10)# no temperature alarm-upper
7.4.8 voltage
voltage ( alarm-lower | alarm-upper | warning-lower |
Command Syntax
warning-upper ) threshold
192
GPON OLT User Manual
[Configuration case]
Case1: The voltage alarm profile for an optical module is configured. The Voltage alarm upper
limit is 3V.
OLT(config-optical-alarm-profile-10)# voltage alarm-upper 3
Case2: Deletes the optical module alarm profile voltage alarm upper limit.
OLT(config-optical-alarm-profile-10)# no voltage alarm-upper
7.5Performance statistics
7.5.1 reset statistics ethernet
Command Syntax reset statistics ethernet port F/S portid
[Configuration case]
193
GPON OLT User Manual
[Configuration case]
Case1: Clears the performance statistics of the ONU whose ONT ID is 1 in port PON1.
OLT(config-gpon-0/0)# reset statistics gem port 0/0 1 1
[Configuration case]
[Configuration case]
194
GPON OLT User Manual
[Configuration case]
Case1: Show the current performance statistics of port GE2 in the last 15 minutes.
OLT(config-ge-0/0)# show statistics current port 2 interval 15min
-----------------------------------------------------------------------------
Port: ge 0/0/2 Record Time: 2000-3-9 14:15:0
-----------------------------------------------------------------------------
RX TX
-----------------------------------------------------------------------------
Octets : 13968729 55139
Packets : 52737 312
BroadcastPackets : 11562 0
MulticastPackets : 40884 8
OversizePackets :0 0
Discards :0 0
195
GPON OLT User Manual
Errors :0 0
frames 64 octets : 9548 163
frames 65 to 127 octets : 16333 68
frames 128 to 255 octets : 7657 44
frames 256 to 511 octets : 15272 7
frames 512 to 1023 octets : 2151 14
frames 1024 to 1518 octets : 1776 16
Rate bps : 124160 488
Rate pps : 58 0
Utilization: 0.1 0.0
-----------------------------------------------------------------------------
[Configuration case]
196
GPON OLT User Manual
unsupported opcode :0 -
unsupported da :0 -
alignment errors :0 -
length out of range :0 -
code errors :0 -
oversize frames :- 0
error frames :- 0
runt frames :- 0
underrun frames :- 0
-----------------------------------------------------------------------------------
Port ID: 1 enet_stat
-----------------------------------------------------------------------------------
RX TX
bytes : 516 0
data bytes : 516 0
frames :6 0
frames 64 :0 0
frames 65 to 127 :6 0
frames 128 to 255 :0 0
frames 256 to 511 :0 0
frames 512 to 1023 :0 0
frames 1024 to 1518 :0 0
frames 1519 to 2047 :0 0
frames 2048 to 4095 :0 0
frames 4096 to 9216 :0 0
frames 9217 to 16383 :0 0
broadcast frames :0 0
multicast frames :6 0
unicast frames :0 0
abort frames :0 0
fcs error :0 0
oversize_error :0 -
runt_error :0 -
-----------------------------------------------------------------------------------
197
GPON OLT User Manual
[Configuration case]
Case1: Show the performance statistics of the GEM PORT on the PON port.
OLT(config-gpon-0/0)# show statistics gem port 0/0 1 1 1
-----------------------------------------------------------------------------------
Port ID: 1
-----------------------------------------------------------------------------------
RX TX
packets :0 0
bytes :0 0
-----------------------------------------------------------------------------------
[Configuration case]
198
GPON OLT User Manual
[Configuration case]
199
GPON OLT User Manual
MulticastPackets : 88027 40
OversizePackets :0 0
Discards : 178 0
Errors :0 0
frames 64 octets : 21295 2774
frames 65 to 127 octets : 35878 1741
frames 128 to 255 octets : 17778 578
frames 256 to 511 octets : 31534 178
frames 512 to 1023 octets : 5440 383
frames 1024 to 1518 octets : 7117 509
Rate pps : 30 0
Utilization: 0.0 0.0
-----------------------------------------------------------------------------
15min: Configure the historical statistics interval for the upper link
interface to 15 minutes
15min |
1hour: The interval for collecting statistics on the upper interface is
1hour |
1hour
time
time: Configure the historical statistics interval of the upper interface
to any time. The value ranges from 30 to 3600
[Configuration case]
Case1: Configure the historical performance statistics interval of port GE1 to one hour.
OLT(config-ge-0/0)# statistics history port 1 interval 1hour
OLT(config-ge-0/0)#
7.6SNMP management
7.6.1 show snmp-agent sys-info
Command Syntax show snmp-agent (sys-info | config)
200
GPON OLT User Manual
[Configuration case]
OLT(config)#
[Configuration case]
201
GPON OLT User Manual
[Configuration case]
A.B.C.D IP address
[Configuration case]
Case1: Set an SNMP TRAP to aaaaa, IP address to 192.168.90.90, port number to 161, and
SNMP version to 2c
OLT(config)# snmp-agent trap aaaaa 192.168.90.90 161 version 2c
OLT(config)#
Case2: Delete an SNMP TRAP with IP 192.168.90.90
OLT(config)# no snmp-agent trap 192.168.90.90
OLT(config)#
202
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1 : Configure a secure mode based group with snmp proxy authentication, named test,
corresponding to all notification views.
OLT(config)# snmp-agent group v3 test authentication notify-view all
Applicable
config view
Views
203
GPON OLT User Manual
Applicable
config view
Views
204
GPON OLT User Manual
[Configuration case]
Case1:Configure the snmp agent entity access group as test1, map the security based group test,
and authentication mode
MD5 with password 12345678 and authentication mode des56 with password 111111111.
OLT(config)# snmp-agent usm-user v3 test1 test authentication-mode md5 12345678
privacy-mode des56 111111111
Command
show snmp-agent usm-user <user>
Syntax
Applicable
config view
Views
205
GPON OLT User Manual
[Configuration case]
Case1:View all entity access user information for OLT snmp proxy.
OLT(config)# show snmp-agent usm-user
User name
: test
Group name
: test
Authentication mode : md5
Authentication key
: 12345678
Privacy mode
: des56
Privacy key
: 12345678
User name
: test1
Group name
: test
Authentication mode : md5
Authentication key
: 12345678
Privacy mode
: des56
Privacy key
: 111111111
Total number : 2
206
GPON OLT User Manual
[Configuration case]
Case1: Configure the OLT with an aggregation group system priority of 3000
OLT(config)# lacp system priority 3000
OLT(config)#
In lacp packet sending mode, fast indicates fast and slow indicates
fast | slow
slow. The default value is slow
[Configuration case]
Case1: Configure the lacp packet sending mode of aggregation group 1 to fast
OLT(config-link-aggregation-1)# lacp timeout fast
207
GPON OLT User Manual
Using the "link-aggregation group <1-8>" command, you can add the
aggregation group
The "link-aggregation group <1-8> workmode {lacp-static | manual}"
Description
command creates a new aggregation group
Using the "no link-aggregation group <1-8>" command, you can
delete the aggregation group
[Configuration case]
8.1.4 load-balance
load-balance
Command Syntax (dest-mac|source-mac|source-dest-mac|dest-ip|source-ip|source-
dest-ip)
208
GPON OLT User Manual
[Configuration case]
Case1: Configure the informed unicast load balancing mode of aggregation group 1 to load
[Configuration case]
209
GPON OLT User Manual
8.1.6 port-priority
Command Syntax port-priority (ge|xge) F/S/P priority
[Configuration case]
[Configuration case]
210
GPON OLT User Manual
[Configuration case]
211
GPON OLT User Manual
212
GPON OLT User Manual
9 Device management
Device configuration
Status detection
Configuration Management
OLT upgrades
9.1Equipment configuration
9.1.1 end
Command Syntax end
This command is used to exit directly to enable view from any view
Description
other than enable view.
[Configuration case]
OLT#
9.1.2 exec-timeout
exec-timeout time
Command Syntax
no exec-timeout
213
GPON OLT User Manual
login timeout.
[Configuration case]
OLT(config)#
9.1.3 ip address
ip address ip-address (ip-address-mask | length of mask)
Command Syntax
no ip address
IP address. IP addresses are divided into five types. You can select an
appropriate IP subnet based on the actual situation. If the host
ip-address
address part is all 0 or all 1, it can not be used as a general IP
address.
[Configuration case]
OLT(config-interface-mgmt)#
Case2: Unconfigure the IP address of the out-of-band management interface of the OLT
OLT(config-interface-mgmt)# no ip address
OLT(config-interface-mgmt)#
214
GPON OLT User Manual
9.1.4 logout
Command Syntax logout
[Configuration case]
>>User name:
9.1.5 reboot
Command Syntax reboot
[Configuration case]
[Configuration case]
215
GPON OLT User Manual
OLT(config)#
Description This command is used to show the user execution timeout period.
[Configuration case]
OLT#
9.1.8 sysname
Command Syntax sysname name
[Configuration case]
test(config)#
216
GPON OLT User Manual
Applicable
Config view
Views
[Configuration case]
Case1:Telnet connection only supports AAA user authentication login.
OLT(config)#user login terminal-type telnet authentication-method aaa
9.2Status detection
9.2.1 fan speed mode
Command Syntax fan speed mode (auto | manual (level1 | level2 | level3 | level4))
217
GPON OLT User Manual
[Configuration case]
Case1: The cooling fan configured with OLT works in manual mode and the speed level is level
2.
OLT(config)# fan speed mode manual level2
OLT(config)#
9.2.2 ntp-service
Command Syntax ntp-service (server|client)(enable|disable)
Client or server. The client and server cannot be enabled at the same
(server|client)
time
[Configuration case]
[Configuration case]
218
GPON OLT User Manual
< > 180-600 NTP client follows server cycle (default :180).
[Configuration case]
Case1: Configure the server period followed by the NTP client to 300 seconds
OLT(config)#ntp-service sync-interval 300
OLT(config)#
Description This command is used to show the usage of the OLT CPU.
[Configuration case]
219
GPON OLT User Manual
This command is used to show the working status of the cooling fan
Description
of an OLT.
[Configuration case]
[Configuration case]
220
GPON OLT User Manual
Description This command is used to show the memory usage of the OLT.
[Configuration case]
OLT#
[Configuration case]
221
GPON OLT User Manual
[Configuration case]
OLT(config)#
[Configuration case]
This command is used to show the current time zone of the OLT
Description
system.
[Configuration case]
222
GPON OLT User Manual
This command is used to show the startup time and running working
Description
time of the OLT.
[Configuration case]
OLT#
[Configuration case]
9.2.15 time
Command Syntax time time
[Configuration case]
223
GPON OLT User Manual
OLT(config)#
<1-12> < 1-12 > The month in which daylight saving time begins or ends
(1st|2nd|3rd|4th|las
The week of the month in which daylight saving time begins or ends
t)
(sun|mon|tues|wed|
The day of the week in which daylight saving time begins or ends
thurs|fri|sat)
adjust HH:MM Adjust time < 00:01-03:00 >(Default :< 01:00 >)
[Configuration case]
Case1: Configure the start and end of daylight saving time, and the time of adjustment
OLT(config)# time dst start 1 2nd wed 02:11:11 end 3 4th tues 01:22:22 adjust 00:34
OLT(config)#
9.2.17 timezone
Command Syntax timezone gmt+/gmt- timezone
Time zone Time, in the format hh:mm, with a maximum of 18:00 for
timezone
the Eastern time zone and 18:00 for the Western time zone.
[Configuration case]
224
GPON OLT User Manual
OLT(config)#
9.3Config management
[Configuration case]
Case1:Turn on the time interval to automatically configure the upload server switch, and set the
time interval to 1 minute.
OLT(config)# auto-backup configuration interval-time enable 1
OLT(config)#
Command
auto-backup configuration absolute-time (enable <HH:MM>| disable)
Syntax
Applicable
Config view
Views
[Configuration case]
Case1:Turn on the absolute time automatic configuration upload server switch and set the time to
08:09.
OLT(config)# auto-backup configuration absolute-time enable 08:09
OLT(config)#
225
GPON OLT User Manual
Applicable
configview
Views
[Configuration case]
Case1 : Automatically upload the configuration to the FTP server with IP address 192.168.1.223,
username admin, password admin, and file name logback.
OLT(config)# auto-backup configuration ftp 192.168.1.223 admin admin logback
OLT(config)#
Command
auto-backup configuration tftp tftp-server-ip-address file-name
Syntax
Applicable
configview
Views
[Configuration case]
Case1 : Automatically configure and upload to the tftp server, with an FTP server IP address of
226
GPON OLT User Manual
Command
auto-save configuration absolute-time (enable <HH:MM>| disable)
Syntax
Applicable
configview
Views
[Configuration case]
Case1:Turn on the absolute time auto save switch and set the time to 08:09.
OLT(config)# auto-save absolute-time enable 08:09
OLT(config)#
Applicable
configview
Views
[Configuration case]
Case1:Turn on the time interval auto save switch and set the time interval to 1 minute.
OLT(config)# auto-save interval-time enable 1
OLT(config)#
227
GPON OLT User Manual
Format (gz|txt) File formats for backup configuration: gz format and txt format
The name of the backup profile, which you set yourself, does not
filename
need the file format name
[Configuration case]
Case1: Back up the configuration file of the device. The configuration file name is config, the
backup file type is gz, the IP address of the ftp server is 192.168.1.16, the ftp user name is
OLT(config)#
The name of the backup profile, which you set yourself, does not
filename
need the file format name
228
GPON OLT User Manual
[Configuration case]
Case1: backs up the configuration file of the device. The configuration file name is config, the
backup file type is gz, and the tftp server IP address is 192.168.5.202.
OLT# backup save-config format gz tftp 192.168.5.202 config
Start backup configuration files
The backup is successful
OLT#
9.3.9erase saved-config
Command Syntax erase saved-config
[Configuration case]
229
GPON OLT User Manual
The name of the backup profile, which you set yourself, does not
filename
need the file format name
[Configuration case]
Case1: Download the configuration file of the device from the server, the configuration file
name is config, the backup file type is gz, the IP address of the ftp server is 192.168.1.16, the
The name of the backup profile, which you set yourself, does not
filename
need the file format name
[Configuration case]
Case1: Download the configuration file of the device from the server, the configuration file
name is config, the backup file type is gz, and the tftp server IP address is 192.168.5.202.
OLT# load saved-config tftp 192.168.5.202 config
OLT#
9.3.12Save
Command Syntax save
[Configuration case]
230
GPON OLT User Manual
Applicable
config view
Views
Description 此命令用于查看自动保存配置
[Configuration case]
Case1:查看自动保存配置。
OLT(config)# show auto-save configuration config
System autosave interval switch: off
Autosave interval: 86400 minutes
System autosave time switch: off
Autosave time: 00:00
OLT(config)#
Command
show auto-backup configuration config
Syntax
Applicable
config view
Views
Description 此命令用于查看自动上传配置
[Configuration case]
Case1:查看自动上传配置设置。
OLT(config)# show auto-backup configuration config
auto-backup log ProtocolType: tftp
auto-backup log ip Server: 0:0:0:0
auto-backup log filename:
auto-backup log interval switch: off
auto-backup log interval: 86400 minutes
auto-backup log absolute time switch: off
231
GPON OLT User Manual
9.3.15show current-config
Command Syntax show current-config [(include|exclude) CMDSTR]
[Configuration case]
Case2: Show the OLT's current command line containing the live configuration of gpon
OLT# show current-config include gpon
ont-line-profile gpon profile-id 0 profile-name line-profile_0
ont-line-profile gpon profile-id 1 profile-name line-profile_1
232
GPON OLT User Manual
233
GPON OLT User Manual
PORTID Port id
[Configuration case]
Case1: Show the current real-time configuration of OLT gpon port 0/0/1
OLT(config)# show current-config section gpon 0/0/1
ont authmode 1 auto
ont policy-auth 1 match any sn-auth to mult-srv-profile profile-name
default-mult-srv-profile priority 0
OLT(config)#
Case2: Show the current live configuration of the ONU with id 5 under port 5 of gpon 0/0 on
the OLT
OLT(config)# show current-config section ont 0/0 5 5
ont add 5 5 sn-auth "RTKG11111111" mult-srv-profile profile-id 0
OLT(config)#
9.3.17show saved-config
Command Syntax show saved-config
Description This command is used to show the OLT configuration save file.
[Configuration case]
234
GPON OLT User Manual
9.4OLT upgrade
9.4.1 firmware switch
Command Syntax firmware switch
[Configuration case]
Description This command is used to copy OLT upgrade files uploaded to OLT
The original name of the copied OLT upgrade file, with a character
OLD-FILE-NAME
length of 1-64
The new name of the copied OLT upgrade file, with a character
NEW-FILE-NAME
length of 1-64
[Configuration case]
235
GPON OLT User Manual
Description This command is used to delete OLT upgrade files uploaded to OLT
[Configuration case]
Description This command is used to move OLT upgrade files uploaded to OLT
The original name of the moved OLT upgrade file, with a character
OLD-FILE-NAME
length of 1-64
[Configuration case]
This command is used to transfer the upgrade file of the OLT to the
Description
OLT.
236
GPON OLT User Manual
ip-address The ip address of the ftp or tftp server in the format X.X.X.X
User name for accessing the ftp server. The value ranges from 1 to 32
FTP-user-name
characters
Password for accessing the ftp server. The value ranges from 1 to 32
FTP-user-password
characters
The upgrade file name of the OLT. The value ranges from 1 to 64
FILE-NAME
characters, plus the extension of the OLT upgrade file
[Configuration case]
Case1: Transfers the upgrade file of the OLT to the OLT through tftp
OLT(config)# load file to flash tftp 192.168.5.155 V1.0.4_190307.img
OLT(config)#
[Configuration case]
Case1: Upgrade the OLT application with the program file name
name amdin, and password admin. When the OLT shows upgrade OK, reboot the OLT.
OLT(config)# load packetfile ftp 192.168.1.16 admin admin
New16Port_Image_V1.0.0_180530_1928.img
Broadcast message from root:
Upgrade is in process.
237
GPON OLT User Manual
[Configuration case]
and tftp server IP address 192.168.1.16. When the OLT shows upgrade OK, reboot the OLT.
OLT(config)# load packetfile tftp 192.168.1.16 New16Port_Image_V1.0.0_180530_1928.img
Broadcast message from root:
Upgrade is in process.
The download File [New16Port_Image_V1. 0.0 _180530_1928. Img]... OK
The File [New16Port_Image_V1. 0.0 _180530_1928. Img] upgrade... OK
[Configuration case]
firmware2 status :0
firmware2 version: 2.0.4
firmware2 build date : 22-06-28 05:18:37
238
GPON OLT User Manual
Description This command is used to show OLT upgrade files uploaded to OLT
[Configuration case]
Command
show usb file {file-name}
Syntax
Applicable
config view
Views
[Configuration case]
Case1:This command line allows the user to view the contents of all USB files.
OLT(config)# show usb file
---------------------------------------------------------------------------------------------------
file list:
239
GPON OLT User Manual
Command
usb file delete {file-name}
Syntax
Applicable
config view
Views
[Configuration case]
Case1:This command line allows the user to delete the USB config.txt file.
OLT(config)# usb file delete config.txt
----------------------------------------------------------------------------
Delete config.txt successfully!
----------------------------------------------------------------------------
OLT(config)#
240
GPON OLT User Manual
Command
load packetfile usb {file-name}
Syntax
Applicable
config view
Views
Description This command uses the image upgrade from a USB file.
[Configuration case]
Case1:Upgrade the device using FD1616SB1Image V3.0.0_231023_2048_X000.img from the USB file.
OLT(config)# load packetfile usb FD1616S_B1_Image_V3.0.0_231023_3048_X000.img
Load packetfile begins, please wait and notice the rate of progress
Command
load saved-config (gz |txt) usb {file-name}
Syntax
Applicable
config view
Views
Description This command is used to load configuration files from a USB file.
[Configuration case]
Case1:Load the device configuration file config.tar.gz from the USB file.
241
GPON OLT User Manual
Command
backup saved-config (gz |txt) usb {file-name}
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Used to upload the configuration file name config to USB in txt format.
OLT(config)# backup saved-config format txt usb config
Start backup configuration files
The backup is successful
OLT(config)#
Command
backup log usb {file-name}
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Used to upload the log file name log to USB.
OLT(config)# backup log usb log
Start backup log files
The backup is successful
OLT(config)#
242
GPON OLT User Manual
Command
load file to flash usb {file-name}
Syntax
Applicable
config view
Views
Description This command is used to transfer USB files to the device flash.
[Configuration case]
Case1:Transfer config.txt from USB to device flash.
OLT(config)# load file to flash usb config.txt
The load is successful
OLT(config)# show flash file
---------------------------------------------------------------------------------------------------
file list:
File Name Size(B) Creation Time
Attribute
---------------------------------------------------------------------------------------------------
config.txt 5416 2001/05/29 19:26:18
-rwx
img.tar 7884800 2001/04/01 18:42:37
-rw-
---------------------------------------------------------------------------------------------------
Files Total: 2
---------------------------------------------------------------------------------------------------
OLT(config)#
Command
show bbu state
Syntax
Applicable
config view
Views
[Configuration case]
Case1:View BBU information
243
GPON OLT User Manual
Applicable
config view
Views
244
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:BBU temperature high temperature alarm turned off
OLT(config)# bbu temperature threshold high-alarm disable
[Configuration case]
Case1: BBU power restart
OLT(config)# bbu reboot
245
GPON OLT User Manual
Command
bbu restore-factory
Syntax
Applicable
config view
Views
[Configuration case]
Case1:BBU power restoration default settings
OLT(config)# bbu restore-factory
Applicable
config view
Views
Description This command is used to transfer the upgrade file of OLT to OLT.
The username for accessing the FTP server, with a range of 1-32
FTP-user-name
characters
FTP-user-passw The access password for the FTP server, with a range of 1-32
ord characters
The upgrade file name for OLT, with a range of 1-64 characters, needs
FILE-NAME
to include the extension of the OLT upgrade file
[Configuration case]
Case1:Transferring OLT upgrade files to OLT using tftp method
OLT(config)# load file to flash tftp 192.168.5.155 V1.0.4_190307.img
OLT(config)#
246
GPON OLT User Manual
Command
bbu upgrade bbu-filename
Syntax
[Configuration case]
Case1:bbu upgrade
OLT(config)# show bbu state
-------------------------------------------------------------------------------------
Presence: normal
Version: V1
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged
Charge complete: yes
Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V
-------------------------------------------------------------------------------------
Current Supply voltage: 11.9V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -23.4(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 60.8(C)
OLT(config)# load file to flash tftp 192.168.5.155 PB0301.bin
OLT(config)# bbu upgrade PB0301.bin
OLT(config)# show bbu state
-------------------------------------------------------------------------------------
Presence: normal
Version: V2
Battery type: vrla battery
Battery supply status: not supply
Battery remain: 100.00% 14.5V
State of charge: not charged
Charge complete: yes
Battery low alarm threshold: 50.00% 11.0V
Battery protection alarm threshold: 25.00% 9.6V
247
GPON OLT User Manual
-------------------------------------------------------------------------------------
Current Supply voltage: 12.0V
Supply voltage low alarm threshold: 11.0V
Supply voltage high alarm threshold: 13.0V
Current temperature: 25.3(C)
Temperature low alarm admin: disable
Temperature low alarm threshold: -23.4(C)
Temperature high alarm admin: disable
Temperature high alarm threshold: 60.8(C)
248
GPON OLT User Manual
[Configuration case]
249
GPON OLT User Manual
Query interval. The value ranges from 2 to 3000. The default value is
interval
125.
[Configuration case]
OLT(config)#
Query the maximum response time. The value ranges from 1 to 25.
max-response
The default value is 10.
[Configuration case]
OLT(config)#
250
GPON OLT User Manual
[Configuration case]
Case1: Configure the IGMP mode in the ONT multicast profile to proxy
OLT(config)# igmp mode proxy
OLT(config)#
[Configuration case]
251
GPON OLT User Manual
OLT(config-multicast-vlan-100)#
[Configuration case]
OLT(config)#
They represent the start and end multicast IP addresses and form a
ip-addr
multicast range
[Configuration case]
Case1: Batch configure static multicast programs 239.1.1.1 to 239.2.2.2 and bind in program
252
GPON OLT User Manual
index 3
OLT(config-multicast-vlan-100)# igmp program add program-index 3 batch ip 239.1.1.1 to ip
239.2.2.2
OLT(config-multicast-vlan-100)#
[Configuration case]
OLT(config-multicast-vlan-100)#
[Configuration case]
253
GPON OLT User Manual
[Configuration case]
OLT(config)#
ge:uplink port
ge | lag | xge lag:link aggregation group
xge:10G uplink port
[Configuration case]
OLT(config-multicast-vlan-100)#
254
GPON OLT User Manual
[Configuration case]
max-count Query keyword. The value ranges from 1 to 10. The default value is 2.
[Configuration case]
OLT(config)#
special-query-interval-v
The value ranges from 100 to 10000. The default value is 10S
alue
[Configuration case]
255
GPON OLT User Manual
Case1: Configure the interval for sending IGMP query packets in the ONT multicast profile to 12
OLT(config)# igmp special-query-interval 12
OLT(config)#
Query the maximum response time. The value ranges from 100 to
max-response
10000. The default value is 10.
[Configuration case]
OLT(config)#
VLAN-ID The vlan of the static entry, with values ranging from <1-4094>
gpon: indicates the PON port. The value ranges from 0/0/1-16
gpon|ge|xge ge: connects to the upper port. The value ranges from 0/0/1-4
xge: upper-connected 10-gigabit port. The value ranges from 0/0/1-2
256
GPON OLT User Manual
1 to 8
[Configuration case]
10.1.17 multicast-vlan
Command Syntax multicast-vlan vlan-id
Multicast VLAN ID. You can create a multicast VLAN using its ID only
vlan-id
after the corresponding VLAN has been created.
[Configuration case]
Case1: Create multicast VLAN 100 and enter its corresponding multicast VLAN mode.
OLT(config)# multicast-vlan 100
OLT(config-multicast-vlan-100)#
gpon: indicates the PON port. The value ranges from 0/0/1-16
ge: connects to the upper port. The value ranges from 0/0/1-4
gpon|ge|xge
xge: upper-connected 10-gigabit port. The value ranges from
0/0/1-2
F/S Frame/Slot,<0-0>/<0-0>
257
GPON OLT User Manual
from 1 to 8
[Configuration case]
Description This command is used to show the formed multicast table entry
IP-address Ip-address: Show the multicast entry for the specified channel IP.
[Configuration case]
OLT(config)#
[Configuration case]
258
GPON OLT User Manual
-----------------------------------------------------------------------------
multicast-vlan 100
igmp multicast-unknown policy discard
igmp router-port ge 0/0/1
igmp member port gpon 0/0/2
igmp match group ip 224.1.1.1 to-ip 224.2.2.2
-----------------------------------------------------------------------------
OLT(config)#
259
GPON OLT User Manual
Using the "packet-filter" command, you can configure ACL rules for
a specified port and make them take effect. This command is used
when you need to use ACL rules to filter the traffic on a port.
Description
The "no packet-filter" command is used to cancel the ACL filtering
rules for a specified port. This command is used when you need to
delete an ACL filtering rule for a specified port.
< > 2000-5999 < 2000-5999 > Specifies the id of the ACL
ge:uplink port
ge | pon | xge pon:the pon port
xge:10G uplink port
acl:IPV4 acl
acl | acl6
acl6:IPV6 acl
260
GPON OLT User Manual
[Configuration case]
Case1: Configure ACL filtering rule with number 2000 for the incoming port direction of port 1
of GE.
OLT(config)# packet-filter inbound acl 2000 port ge 0/0 1
OLT(config)#
Description This command is used to show the QOS policy of a device port
ge:uplink port
ge|gpon|xge gpon:the pon port
xge:10G uplink port
261
GPON OLT User Manual
[Configuration case]
---------------------------------------------------------------
OLT(config)#
Description This command is used to show the policy applied to a device port
[Configuration case]
OLT(config)#
11.1.4 traffic-limit
traffic-limit (inbound|outbound) (acl | aclv6) acl-id [rule-id rule-id]
port (ge | gpon | xge) F/S port-list cir rate-value pir rate-value
Command Syntax exceed (yellow | red) (drop | remark-dscp)
no traffic-limit (inbound|outbound) (acl | aclv6) acl-id [rule-id
rule-id] port (ge | gpon | xge) F/S port-list
262
GPON OLT User Manual
ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port
F/S Frame/Slot
drop: to drop
(drop | reremark-dscp)
reremark: The value of the re-labeled DSCP
[Configuration case]
Case1: For packets from IP address 10.10.10.2 and packets from interface 1, the guaranteed
bandwidth is 1 Mbit/s and the average peak bandwidth is 100 Mbit/s. Traffic exceeding 1
Mbit/s is discarded.
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime
263
GPON OLT User Manual
OLT(acl-basic-2000)# exit
OLT(config)# traffic-limit inbound 2000 port ge 0/01 cir 1024 pir 102400 exceed red drop
OLT(config)#
11.1.5 traffic-mirror
traffic-mirror inbound (acl | aclv6) acl-id [rule-id rule-id] port(ge |
gpon | xge) port-list to (cpu | port (ge | gpon | xge) port-list)
Command Syntax
no traffic-mirror inbound (acl | aclv6) acl-id [rule-id rule-id]port(ge
| gpon | xge) port-list
Using the "traffic-mirror" command, you can configure the ACL for
traffic mirroring on a specified port and make it take effect. This
command is used when you need to use the ACL rule to mirror
Description traffic on a port.
The "no traffic-mirror" command is used to cancel ACL traffic
mirroring on a specified port. This command is used when you need
to delete the ACL traffic mirroring function of a specified port.
ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port
[Configuration case]
Case1: Mirrors the packet from port 1 with IP address 10.10.10.2 to port 2
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime
OLT(acl-basic-2000)# exit
OLT(config)# traffic-mirror inbound 2000 port ge 0/0 1 to ge 0/0 2
OLT(config)#
264
GPON OLT User Manual
11.1.6 traffic-redirect
traffic-redirect inbound (acl | aclv6) acl-id [rule-id rule-id] port
(ge | gpon | xge) port-list to (ge | xge) port-list
Command Syntax
no traffic-redirect inbound (acl | aclv6) acl-id [rule-id rule-id] port
(ge | gpon | xge) port-list
Using the "traffic-redirect" command, you can configure the ACL for
traffic redirection on a specified port and make it effective. This
command is used when you need to use ACL rules to redirect traffic
on a port.
Using the "no traffic-redirect" command, you can disable the ACL
traffic redirection on a specified port. This command is used when
you need to delete the ACL traffic mirroring function of a specified
Description
port.
acl-id id of an ACL
ge:uplink port
ge|pon|xge gpon:the pon port
xge:10G uplink port
[Configuration case]
Case1: Redirects the packet from port 1 with IP address 10.10.10.2 to port 2
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 2000
OLT(acl-basic-2000)# rule 2 permit source 10.10.10.2 0.0.0.0 time-range worktime
OLT(acl-basic-2000)# exit
OLT(config)# traffic-redirect inbound 2000 port ge 0/0 1 to ge 0/0 2
265
GPON OLT User Manual
OLT(config)#
11.1.7 traffic-statistic
traffic-statistic [clear-counters] (inbound | outbound) (acl | aclv6)
acl-id [rule-id rule-id] port (ge | gpon | xge) port-list
Command Syntax
no traffic-statistic [clear-counters] (inbound | outbound) [acl |
aclv6] acl-id [rule-id rule-id] port (ge | gpon | xge) port-list
[Configuration case]
Case1: Deletes the traffic collected by ge4 that matches acl 2000 rules.
OLT(config)# traffic-statistic clear-counters outbound 2000 port ge 0/0 4
OLT(config)#
266
GPON OLT User Manual
DHCP option82
DHCP relay
DHCP snooping
DHCP security-table
[Configuration case]
OLT(config-interface-vlanif-100)#
267
GPON OLT User Manual
[Configuration case]
OLT(config-interface-vlanif-100)#
[Configuration case]
OLT(config-interface-vlanif-100)#
268
GPON OLT User Manual
[Configuration case]
OLT(config-interface-vlanif-100)#
[Configuration case]
OLT(config)#
This command is used to configure the fill mode for the Opton82
Description
option
default: vlan+slot+ponid+onuid
default | common |
common: vlan+slot+ponid
extend
extend: hostname-chassis-slot-ponid-gemid-onuid
269
GPON OLT User Manual
[Configuration case]
Case1: Configure the fill mode for the option82 option to UNI+ONU MAC
OLT(config)# dhcp option82 format common
OLT(config)#
Create a custom option82 format item with the field data filled in
Description
ascii format.
[Configuration case]
Case1: Add a user-defined format with the name user1 and field data filled with hex. The cid
270
GPON OLT User Manual
drop Discard the DHCP message with the Option82 option directly
merge The DHCP packets with Option82 are merged and forwarded
[Configuration case]
Case1: indicates that the dhcp forwarding policy is based on the original forwarding policy
OLT(config)#dhcp option82 policy keep
OLT(config)#
keep Forward the DHCP message with the Option82 option of vlan as is
Replace the Option82 option in the DHCP packet with vlan and
replace
forward it
[Configuration case]
271
GPON OLT User Manual
OLT(config)#
[Configuration case]
[Configuration case]
272
GPON OLT User Manual
[Configuration case]
Case1: Configure server group 1. The network management ip address of the server is 10.1.1.1
OLT(config)# dhcp-relay server 1 ip 10.1.1.1
[Configuration case]
273
GPON OLT User Manual
[Configuration case]
[Configuration case]
ge:uplink port
ge | pon | xge pon:the pon port
xge:10G uplink port
274
GPON OLT User Manual
[Configuration case]
ge:uplink port
pon:the pon port
ge | pon | xge |lag
xge:10G uplink port
lag: the link aggregation group
[Configuration case]
[Configuration case]
275
GPON OLT User Manual
Delete the entry of the listening binding table for the specified IP
ip-address
address
276
GPON OLT User Manual
[Configuration case]
[Configuration case]
Case1: The dynamic entry is deleted 100s after it reaches the lease period
OLT(config)# dhcp security-table delete-time 100
OLT(config)#
IP-address The IP address of the statically bound entry the format is A.B.C.D
[Configuration case]
Case1: Add a statically bound DHCP security entry. The mac address is 00:00:00:00:11, and the
277
GPON OLT User Manual
ip address is 10.10.10.10
OLT(config)#dhcp security-table static 00:00:00:11 10.10.10.10
OLT(config)#
[Configuration case]
Ip-address Show the entry of the listening binding table for the specified IP
[Configuration case]
278
GPON OLT User Manual
12.6.1dhcp-server
Command
dhcp-server
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Enter the dhcp server configuration view
OLT(config)# dhcp-server
OLT(config-dhcp-server)#
279
GPON OLT User Manual
12.6.2dhcp-server vlanif
Command
dhcp-server vlanif vlan-id
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure dhcp server to be applied to vlanif111.
OLT(config-dhcp-server)# dhcp-server vlanif 111
OLT(config-dhcp-server)#
12.6.3dhcp-server ip-range
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure the IP address pool size of dhcp server to be 192.168.11.2~192.168.11.222.
OLT(config-dhcp-server)# dhcp-server ip-range 192.168.11.2 192.168.11.222
OLT(config-dhcp-server)#
12.6.4dhcp-server mask
Command
dhcp-server mask X.X.X.X
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
280
GPON OLT User Manual
12.6.5dhcp-server gateway
Command
dhcp-server gateway X.X.X.X
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure the gateway IP address of dhcp server to 192.168.11.1.
OLT(config-dhcp-server)# dhcp-server gateway 192.168.11.1
OLT(config-dhcp-server)#
12.6.6dhcp-server dns
Command
dhcp-server dns X.X.X.X
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure the DNS address of dhcp server to 8.8.8.8.
OLT(config-dhcp-server)# dhcp-server dns 8.8.8.8
OLT(config-dhcp-server)#
12.6.7dhcp-server nbns
Command
dhcp-server nbns X.X.X.X
Syntax
Applicable
dhcp-server view
Views
281
GPON OLT User Manual
[Configuration case]
Case1:Configure the nbns address of dhcp server to 9.9.9.9.
OLT(config-dhcp-server)# dhcp-server nbns 9.9.9.9
OLT(config-dhcp-server)#
12.6.8dhcp-server lease-time
Command
dhcp-server lease-time lease-time
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure the allocation lease time for dhcp server to 6000 seconds.
OLT(config-dhcp-server)# dhcp-server lease-time 6000
OLT(config-dhcp-server)#
12.6.9dhcp-server static-bind
Command
dhcp-server static-bind X.X.X.X HH:HH:HH:HH:HH:HH
Syntax
Applicable
dhcp-server view
Views
HH:HH:HH:HH:
Static binding of MAC address
HH:HH
[Configuration case]
Case1:Configure dhcp server to statically bind IP address 192.168.11.11 to a host with MAC address
00:00:00:11:11.
OLT(config-dhcp-server)# dhcp-server static-bind 192.168.11.11 00:00:00:00:11:11
OLT(config-dhcp-server)#
282
GPON OLT User Manual
12.6.10dhcp-server server-name
Command
dhcp-server server-name server-name
Syntax
Applicable
dhcp-server view
Views
[Configuration case]
Case1:Configure the dhcp server name to cdata.
OLT(config-dhcp-server)# dhcp-server server-name cdata
OLT(config-dhcp-server)#
12.6.11dhcp-server (enable|disable)
Command
dhcp-server (enable|disable)
Syntax
Applicable
dhcp-server view
Views
283
GPON OLT User Manual
12.6.12show dhcp-server
Command
show dhcp-server ip-pool status all
Syntax
Applicable
dhcp-server view、config view
Views
[Configuration case]
Case1:View the configuration of dhcp server and the allocation status of dhcp server address pool.
OLT(config)# show dhcp-server ip-pool status all
----------------------------------------------------------------------------------
Pool-name : vlanif 111
lease time : 6000
Server-name : cdata
DNS-server : 8.8.8.8
NBNS-server : 9.9.9.9
Position : interface
Gateway : 192.168.11.1
Mask : 255.255.254.0
Status : Enable
----------------------------------------------------------------------------------
Start End Total Used Idle(Expired) Conflict
----------------------------------------------------------------------------------
192.168.11.2 192.168.11.222 221 11 210(0) 0
--------------------------------------------------------------------------------
Network section :
----------------------------------------------------------------------------------
Index IP MAC Lease Status
----------------------------------------------------------------------------------
1 192.168.11.2 00:00:00:00:11:12 2022-12-27 15:58:37 Used
2 192.168.11.3 00:00:00:00:11:13 2022-12-27 15:58:37 Used
3 192.168.11.4 00:00:00:00:11:14 2022-12-27 15:58:37 Used
4 192.168.11.5 00:00:00:00:11:15 2022-12-27 15:58:37 Used
5 192.168.11.6 00:00:00:00:11:16 2022-12-27 15:58:37 Used
6 192.168.11.7 00:00:00:00:11:17 2022-12-27 15:58:37 Used
7 192.168.11.8 00:00:00:00:11:18 2022-12-27 15:58:38 Used
8 192.168.11.9 00:00:00:00:11:19 2022-12-27 15:58:38 Used
9 192.168.11.10 00:00:00:00:11:1a 2022-12-27 15:58:38 Used
10 192.168.11.11 00:00:00:00:11:11 -
Static-bind
284
GPON OLT User Manual
12.7 IPSG
portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4
Static IPSG rule ID, with a value range of<1-1024>, in the format
rulelist
of: 1,2-3,4
[Configuration case]
Case1:Bind static IPSG rule 1 to GE 0/0/1 port
OLT(config)# ip-source check binding static rule 1 port ge 0/0 1
OLT(config)#
[Configuration case]
Case1:Enable IPSG dynamic table entry function
OLT(config)# ip-source check dhcp dynamic enable
OLT(config)#
285
GPON OLT User Manual
portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4
[Configuration case]
Case1:Enable IPSG function for gpon 0/0/1 and gpon 0/0/2 ports
OLT(config)# ip-source check port gpon 0/0 1-2 enable
OLT(config)#
The MAC address part of the Ipsg rule, in the format XX: XX: XX:
MacAddress
XX: XX: XX: XX
[Configuration case]
Case1:Create a static IPSG rule with automatic ID, IP address 6.6.6.6, MAC address 00:00:00:00:00:11,
and VLAN of 100
OLT(config)# ip-source check static rule autoindex ip 6.6.6.6 mac 00:00:00:00:00:11 vlan
286
GPON OLT User Manual
100
OLT(config)#
portlist The list of ports bound to the ipsg rule, in the format of: 1,2-3,4
[Configuration case]
Case1:Display the IPSG rule rules bound to ports ge0/0/4
OLT(config)# show ip-source check brief port ge 0/0 4
-----------------------------------------------------------------------------
PORT Static/Dynamic Binding Table
-----------------------------------------------------------------------------
ge 0/0/4 1-2
-----------------------------------------------------------------------------
OLT(config)#
287
GPON OLT User Manual
The list of ports bound to the displayed IPSG rule, in the format
portlist
of: 1,2-3,4
288
GPON OLT User Manual
[Configuration case]
Case1:Display all IPSG rule information
OLT(config)# show ip-source check rule all
-------------------------------------------------------------------------------------
INDEX IP MAC VLAN TYPE PORT
-------------------------------------------------------------------------------------
1 1.1.1.1 -- -- Static ge 0/0 4
2 2.2.2.2 00:00:00:00:00:44 100 Static ge 0/0 4
3 6.6.6.6 00:00:00:00:00:11 100 Static --
-------------------------------------------------------------------------------------
total: 3
-------------------------------------------------------------------------------------
OLT(config)#
289
GPON OLT User Manual
<0 to 49 > Authentication server id. When configuring domain, use this id
[Configuration case]
Case1: Configure the RADIUS authentication server whose id is 0, IP is 192.168.10.1, shared key
13.1.2 radius
Command Syntax radius
290
GPON OLT User Manual
[Configuration case]
[Configuration case]
OLT(config-radius)#
< > 0 to 4 Authentication server id. When configuring domain, use this id
291
GPON OLT User Manual
[Configuration case]
Case1: Configure tacacs+ authentication server 0, whose IP address is 10.10.10.10, shared key
13.2.2 authorization
authorization server-id <0-4> ip SADDR share-key SECKEY [port
Command Syntax <1-65535>]
no authentication server-id <0-4>
< 0 to 4> id of the authorization server. When configuring domain, use this id
[Configuration case]
Case1: Configure tacacs+ authorization server with id 0, IP 10.10.10.10, shared key 123456, and
port 1024
OLT(config-tacacs+)#authorization server-id 1 ip 10.10.10.10 share-key ****** p
ort 1024
OLT(config-tacacs+)#
Case2: Delete the tacacs+ authorization server with id 1
OLT(config-tacacs+)#no authorization server-id 1
OLT(config-tacacs+)#
292
GPON OLT User Manual
[Configuration case]
==========================================================
TACC authorization enabled
---------------------------------------------------------
id server-status server-ip tcp-port
---------------------------------------------------------
1 Active 10.10.10.10 1024
----------------------------------------------------------
TACC accounting disabled
OLT(config-tacacs+)#
13.2.4 tacacs+
Command Syntax tacacs+
[Configuration case]
293
GPON OLT User Manual
[Configuration case]
13.3.2 aaa-protocol
Command Syntax aaa-protocol (radius|tacacs+)
[Configuration case]
13.3.3 domain
Command Syntax [no] domain DOMAIN-NAME
[Configuration case]
294
GPON OLT User Manual
13.3.4 radius
Command Syntax [no] radius authentication server-id <0-4>
[Configuration case]
DOMAIN-NAME Specify the domain name of the domain you want to query.
[Configuration case]
295
GPON OLT User Manual
=====
Domain Name : abc Domain Id :1
AAA Protocol : RADIUS User Name : Incomplete
Authentication : Enabled
OLT(config-aaa-domain-abc)#
13.3.6 tacacs+
Command Syntax [no] tacacs+ (authentication|authorize) server-id <0-4>
[Configuration case]
Case1: Configure the authentication server 0 to be added to the domain name default.
OLT(config-aaa-domain-default)#tacacs+ authentication server-id 0
OLT(config-aaa-domain-default)#
296
GPON OLT User Manual
13.3.7 username
Command Syntax username (complete | incomplete)
[Configuration case]
297
GPON OLT User Manual
14 ONT Management
This chapter includes the following topics:
port-id Specifies the PON port number of the newly added ONT. The value
298
GPON OLT User Manual
ranges from 1 to 16
ONT-id Specify the ONT number. The value ranges from 1 to 128
always: The ONU can authenticate the onu for unlimited times at any
always time. As long as each online authentication mode matches the
password, loid + loid-password, loid of the ONU.
[Configuration case]
Case1: Authenticates an ONT ONT 6, Loid as 12345678 on port pon1 and binds ONT line profile
multi-service profile 1.
OLT(config-gpon-0/0)# ont add 1 1 loid-auth 123456 mult-srv-profile profile-id 1
OLT(config-gpon-0/0)#
2022-05-15 14:13:25 PON 0/0/1 ONU 1: The ONT online
299
GPON OLT User Manual
Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16
ONT-id Specify the ONT number. The value ranges from 1 to 128
300
GPON OLT User Manual
always: The ONU can authenticate the onu for unlimited times at any
time. The ONU only needs to match the password, loid +
always
loid-password, or loid of the ONU according to the authentication
mode.
[Configuration case]
Case1: Authenticated an ONT whose ONT ID was 10, Loid was test and password was test on
port pon1 and bound the ONT line profile 5 and ONT service profile 5. The authentication mode
was always.
OLT(config-interface-gpon-0/0)# ont add 1 10 loid-auth test password-auth test
ont-lineprofile-id 5 ont-srvprofile-id 5 always
OLT(config-interface-gpon-0/0)#
Case2: Authenticated an ONT 1 whose ONT ID was 1. Loid as 123456 and password was 123456
301
GPON OLT User Manual
Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16
ONT-id Specify the ONT number. The value ranges from 1 to 128
always: The ONU can authenticate the onu for unlimited times at any
always time. As long as each online authentication mode matches the
password, loid + loid-password, loid of the ONU.
302
GPON OLT User Manual
[Configuration case]
Case1: Authenticates ont 3 on port pon1. The Pasword of sn is 12345678 and binds ONT line
303
GPON OLT User Manual
the SN reported by the ONT is the same as the configured SN. If the
SN is the same, the authentication succeeds and the ONT goes
online.
Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16
ONT-id Specify the ONT number. The value ranges from 1 to 128
[Configuration case]
Case1: Authenticate an ont whose ONT number is 2 and sn is XPON12345678 on port pon1 and
304
GPON OLT User Manual
Specifies the PON port number of the newly added ONT. The value
port-id
ranges from 1 to 16
ONT-id Specify the ONT number. The value ranges from 1 to 128
[Configuration case]
Case1: Authenticate an ont 4 on port pon1, whose sn is XPON12345678, Pasword is the ONT of
12345678, and bind the ONT line profile 0 and ONT service profile 0
OLT(config-gpon-0/0)# ont add 1 4 sn-auth XPON12345678 password-auth 12345678 o
nt-lineprofile-id 0 ont-srvprofile-id 0
OLT(config-gpon-0/0)#
Case1: Authenticate an ont 1 on port pon1, whose sn is 44443135B353EE6A, Pasword is the
305
GPON OLT User Manual
Specify the PON port number where you want to configure the ONT
port-id
authentication mode. The value ranges from 1 to 16
aaa Configure the aaa authentication mode for the specified PON port
[Configuration case]
Case1: Configure the ONT authentication mode of port pon1 to automatic authentication
OLT(config-interface-gpon-0/0)# ont authmode 1 auto
OLT(config-interface-gpon-0/0)#
306
GPON OLT User Manual
all Enable ONT automatic discovery for all PON ports on the OLT
[Configuration case]
Case1: Enables the ONT automatic discovery function of port PON1 on the OLT
OLT(config-interface-gpon-0/0)# ont autofind 1 enable
OLT(config-interface-gpon-0/0)#
all Enable ONT automatic discovery for all PON ports on the OLT
[Configuration case]
Case1: Enables the automatic discovery function of all ONTs on the OLT
OLT(config)# ont autofind all enable
OLT(config)#
307
GPON OLT User Manual
[Configuration case]
This command is used to add the specified ONT to the blacklist and
Description
then make the ONT authentication of the blacklist unsuccessful.
Add the specified ONT sn to the blacklist. The value can contain 12
SN-VALUE
characters in the format XXXXXXXXXXXX
This parameter specifies the length of the sn mask that the ONT sn is
SN-VALUE
added to the blacklist. The value ranges from 4 to 12
[Configuration case]
Case1: Add the ONT whose SN is test12345678 to the blacklist, and configure the mask length
of sn to 4
OLT(config-interface-gpon-0/0)# ont blacklist add sn test12345678 mask 4
OLT(config-interface-gpon-0/0)#
308
GPON OLT User Manual
Specify the id of the ONT to be removed from the blacklist, you can
index use the show ont blacklist to see what the ONT id is in the blacklist,
the value ranges from 1 to 128
[Configuration case]
Case1: Deletes the ONU device whose index is 1 from the device blacklist list
OLT(config-gpon-0/0)# ont blacklist delete
<1-128> Blacklist index. <U><1-128>
all All Blacklist entries
OLT(config-gpon-0/0)# ont blacklist delete 1
OLT(config-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
all Batch authenticate all found ONTs under the PON port.
309
GPON OLT User Manual
Always: ONU can go online at any time without limiting the number
always
of authentications
once-again once-aging: The ONU can only be authenticated online once within a
<1-10080> specified period of time, and the ONU will be cleared once offline
[Configuration case]
Case1: Identifies all discovered ONTs in port pon1 based on the sn and binds the line profile
OLT(config-interface-gpon-0/0)#
Case2: authenticate the ONT that was in the discovered state and loid as test from port pon1
310
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
This command is used to modify the line profile and service profile
Description
bound to the ONT on the PON port.
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
The name of the line profile, service profile, and multi-service profile.
profile-name
The value ranges from 1 to 16 characters
[Configuration case]
OLT(config-interface-gpon-0/0)#
Case2: Change the line profile and service profile of ONT1 under port PON1 to 5 and 5,
respectively
OLT(config-interface-gpon-0/0)# ont modify 1 1 ont-lineprofile-id 5 ont-srvprofile-id 5
OLT(config-interface-gpon-0/0)#
Case3: Change the multi-service profile bound to onu whose ID is 1 under pon1 to 1.
OLT(config-gpon-0/0)# ont modify 1 1 mult-srv-profile profile-id 1
OLT(config-gpon-0/0)#
311
GPON OLT User Manual
Specifies the PON port number of the ONT. The value ranges from
port-id
1 to 16
[Configuration case]
Case1: Change the authentication mode of ONT 1 under port PON1 to sn and sn to
xpon12345678
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type sn-auth xpon12345678
312
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Case2: Change the authentication mode of the first ONT from port PON1 to loid and loid to test
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type loid-auth test
OLT(config-interface-gpon-0/0)#
Case3: Change the authentication mode of ONT 1 on port PON1 to sn+password and loid and
OLT(config-interface-gpon-0/0)#
[Configuration case]
ONT-id Re-register the ONT with the specified ID on the specified PON port
all Batch re-register all ONTs under the specified PON port
313
GPON OLT User Manual
[Configuration case]
Show the slot number of the PON where the ONT is automatically
F/S
discovered
Check the port number of the PON where the ONT is located. The
port-id
value ranges from 1 to 16
[Configuration case]
314
GPON OLT User Manual
Vendor ID : xPON
Ont Version: HZ660.1A
Ont Software Version: V2.1.2
Equipment ID : ONT1
Last autofind time : Sat Jan 1 10:15:36 2000
-----------------------------------------------------------------------------
Total: 1
OLT(config-interface-gpon-0/0)#
[Configuration case]
This command is used to show the ONT status, including the ONT
Description
registration details, ONT binding profile information, and ONT port
315
GPON OLT User Manual
configuration.
This command is used to query information about the ONT, including
the current status of the ONT, the configuration of the ONT, and the
information about the ONT T-CONT.
Port: indicates the PON port number of the ONT on the OLT.
ONT ID: indicates the number of the ONT set by the user.
SN: indicates the sn of the ONT.
Control flag:
active: The ONT is in the active state. The ONT must be activated on
the OLT before it is allowed to go online.
deactive: The ONT is in the deactivated state. You can activate the
ONT by using the ont activate command when the ONT is
deactivated
Run state: Indicates the running status of the ONT. The value can be
online or offline. The value is online when the ONT is normally
online.
Config state: indicates the configuration status. After the ONT is
online, this status indicates whether the ONT configuration is
delivered and restored, and the completion of configuration delivery
and recovery. The value can be initial, failed, or Success.
initial: The ONT is being delivered or recovered.
failed: The ONT configuration failed to be delivered or restored.
Success: The ONT configuration is successfully delivered or restored.
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
Show the registration status of the ONT by specifying the LOID of the
by-loid LOID-VALUE
ONT. The value can contain 1 to 24 characters
by-password Show the registration status of the ONT by specifying the password
PASSWORD-VALUE under the SN of the ONT. It can contain 1-10 characters
316
GPON OLT User Manual
[Configuration case]
OLT(config-interface-gpon-0/0)#
Case2: See registration details for Pon2-port ONT3
OLT(config-interface-gpon-0/0)# show ont info 2 3
-----------------------------------------------------------------------------
F/S : 0/0
Port :2
ONT-ID :3
Control flag : active
Run state : online
Config state : success
Match state : match
DBA type : SR
Distance(m) :1
Validity mode : always
Authentic mode : sn-auth
SN : XPON12345678
Description :
Last up time : 2000-01-01 09:16:46
Last down time :
----------------------------------------------------------------------------
Line Profile-ID :6
Line Profile-name : 1530
----------------------------------------------------------------------------
FEC upstream : Disable
OMCC encrypt : Off
317
GPON OLT User Manual
Qos mode : PQ
Mapping mode : VLAN
----------------------------------------------------------------------------
<T-CONT 0> DBA-Profile ID : 0
---------------------------------------------------------------------------
<T-CONT 1> DBA-Profile ID : 6
<Gem ID 1> US-GEM-CAR : - DS-ENCRYPT-MODE : off
Mapping-ID VLAN Priority
1 101 -
----------------------------------------------------------------------------
Service Profile-ID :6
Service Profile-name : 12
----------------------------------------------------------------------------
Port-type Port-number Max-adaptive-number
---------------------------------------------------------------------------
ETH 4 -
POTS adaptive 2
CATV adaptive 1
----------------------------------------------------------------------------
MAC learning switch : enable
MAC aging time(s) : 300
Multicast mode : transparent
Multicast forward mode : transparent
Multicast forward VLAN : -
Native VLAN option : concern
----------------------------------------------------------------------------
Port Port Service-type Index S-VLAN S-PRI C-VLAN C-PRI ENCAP S-PRI
type ID POLICY
---------------------------------------------------------------------------
ETH 1 Translation 1 101 - 101 - - -
ETH 2 Translation 1 101 - 101 - - -
ETH 3 Translation 1 101 - 101 - - -
ETH 4 Translation 1 101 - 101 - - -
IPHOST 1 Transparent - - - - - - -
----------------------------------------------------------------------------
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
---------------------------------------------------------------------------
ETH 1 transparent - - unlimited
ETH 2 transparent - - unlimited
ETH 3 transparent - - unlimited
ETH 4 transparent - - unlimited
-----------------------------------------------------------------------------
318
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Case3: Show information for all online ONTs at port PON2
OLT(config-gpon-0/0)# show ont info all online
--------------------------------------------------------------------------------------------------------------------
F/S P ONT SN Control Run Config Match Last Desc
ID flag state state state down-cause
--------------------------------------------------------------------------------------------------------------------
0/0 1 3 XAHSF094DF86 Active Online success match --
--------------------------------------------------------------------------------------------------------------------
Total: 1, online: 1, deactive: 0, success: 1 , failed: 0
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
[Configuration case]
OLT(config-interface-gpon-0/0)#
319
GPON OLT User Manual
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
[Configuration case]
OLT(config-interface-gpon-0/0)#
[Configuration case]
OLT(config-interface-gpon-0/0)#
Case2:Delete all ONUs under PON1 port
OLT(config-interface-gpon-0/0)# ont delete 1 all
This command will delete all the ONTs in port. Are you sure to execute this command? (y/n):y
Number of ONTs that can be delete: 0, success: 0
OLT(config-interface-gpon-0/0)#
Case3:Delete all offline ONUs under PON1
OLT(config-interface-gpon-0/0)# ont delete 1 offline-list all
Total offline ONT(s):0 delete.
320
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
[Configuration case]
OLT(config-interface-gpon-0/0)#
Case2: Delete the description of ONT1 from port PON1
OLT(config-interface-gpon-0/0)# no ont description 1 1
OLT(config-interface-gpon-0/0)#
14.2.5ont reboot
Command
ont reboot port-id ( ONT-id |all)
Syntax
Applicable
GPon Interface View
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
321
GPON OLT User Manual
[Configuration case]
Case1:Restart ONT1 under PON1 port
OLT(config-interface-gpon-0/0)# ont reboot 1 1
OLT(config-interface-gpon-0/0)#
14.2.6ont restore-factory
Command
Syntax OLT(config-interface-gpon-0/0)# ont restore-factory Port-ID ONT-ID
Applicable
gpon view
Views
Specify the PON port number where ONT is located. Values range
Port-ID
from 1 to 16
The ONT ID of the ONT to be restored from the factory, with values
ONT-ID
ranging from 1 to 128
[Configuration case]
Case1:PON 16 port ONU1 restore factory mode
OLT(config-interface-gpon-0/0)# ont restore-factory 5 5
<cr> - Please press ENTER to execute command
14.2.7ont tr069-profile
Applicable
gpon view
Views
322
GPON OLT User Manual
[Configuration case]
Case1:Bind the first onu under pon1 to tr069 profile 10
OLT(config-gpon-0/0)# ont tr069-profile 1 1 ont-tr069profile-id 10
OLT(config-gpon-0/0)#
Command
show ont catv-info port-ID (ONT-id | all)
Syntax
Applicable
gpon view
Views
[Configuration case]
Case1:View CATV information for all ONUs in PON8
OLT(config-interface-gpon-0/0)#
323
GPON OLT User Manual
Command
show ont config-capability port-id ONT-id
Syntax
Applicable
Config view or gpon interface view
Views
The PON port number where ONT is located. Values range from 1 to
port-id
16
[Configuration case]
Case1:Query the user configuration capability set for ONT with ID 3 under port PON3.
vOLT(config-interface-gpon-0/0)# show ont config-capability 3 3
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :3
Number of ETH ports :0
Number of POTS ports :0
Number of CATV ports :1
Number of GEM ports :1
Number of T-CONTs :2
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
Command
show ont failed-config port-id ONT-id
Syntax
Applicable
Gpon interface view
Views
324
GPON OLT User Manual
This command is used to investigate the reason for the failure to view
Description
the configuration status of ONT.
The PON port number where ONT is located. Values range from 1 to
port-id
16
[Configuration case]
Case1:Query the reason for the failure of ONT configuration status with ID 1 under port PON3.
OLT(config-interface-gpon-0/0)# show ont failed-config 3 1
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :1
----------------------------------------------------------------------------
CATV port 1 : shutdown
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
[Configuration case]
325
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16.
Show the optical power information of all ONTs under the specified
all
PON port
[Configuration case]
Case1: Show the optical power information of the ONT 3 connected to port PON3.
OLT(config-interface-gpon-0/0)# show ont optical-info 3 1
-----------------------------------------------------------------------------
Frame/Slot : 0/0
Port :3
ONT-ID :1
Voltage(V) : 3.28
Tx optical power(dBm) : 2.73
Rx optical power(dBm) : -17.12
Laser bias current(mA) : 9.95
Temperature(C) : 35.24
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
326
GPON OLT User Manual
[Configuration case]
Case1: Check the status of all ports on the first ONU of PON8
OLT(config-interface-gpon-0/0)# show ont port state 8 1 eth all
-----------------------------------------------------------------------------
F/S P ONT Port Type Speed(Mbps) Duplex Link-State
----------------------------------------------------------------------------
0/0 8 1 1 GE - - down
0/0 8 1 2 - - - -
0/0 8 1 3 - - - -
0/0 8 1 4 - - - -
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
Show the number of ONT registrations and online under all PON
all
ports
[Configuration case]
Case1: Show the number of ONT registrations and online connections on port PON3.
OLT(config-interface-gpon-0/0)# show ont register-statistics 3
-----------------------------------------------------------------------------
F/S P Autofind Authenticated Online
327
GPON OLT User Manual
----------------------------------------------------------------------------
0/0 3 0 3 1
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
Show all ONT operation information under all PON ports or selected
all
PON ports
[Configuration case]
OLT(config-interface-gpon-0/0)#
brief Briefly Show the current status and quantity information of ONU
[Configuration case]
328
GPON OLT User Manual
-------------------------------------------------------------------------------------------
Total Info
-------------------------------------------------------------------------------------------
Offline :0
Deactive :0
Active :1
ConfigSuccess : 1
ConfigFailed :0
Configing :0
ConfigInit :0
MibReady :1
Unknown :0
-------------------------------------------------------------------------------------------
OLT(config-gpon-0/0)#
This command is used to query the ONT version. You can Show the
Description
software and hardware versions and manufacturer of the ONT.
Port number of the PON where the ONT is located. The value ranges
port-id
from 1 to 16.
This command shows the version information of all ONT files in the
all specified PON port. This command shows the brief version
information of the ONT file
[Configuration case]
329
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Description This command is used to enable or disable the security key function
[Configuration case]
14.3.2 key-exchange-interval
key-exchange-interval <1000-3600>
Command Syntax
no key-exchange-interval
[Configuration case]
330
GPON OLT User Manual
<1-128> The specified ont id, which ranges from 1 to 128 >.
SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.
[Configuration case]
OLT(config-gpon-0/0)#
Case2: Enables the ont of port 1 with sn DD15B353EE6A to transmit optical power.
OLT(config-gpon-0/0)# ont enable 1 sn DD15B353EE6A
OLT(config-gpon-0/0)# 2022-06-23 13:48:04 PON 0/0/1 ONU 1: The ONT online
OLT(config-gpon-0/0)#
This command is used to configure the auto aging switch for ONT
Description registration on a single port. By default, Auto aging switch (disable) is
disabled.
331
GPON OLT User Manual
[Configuration case]
Case1: Enables the automatic aging switch on the ONT under port PON1
OLT(config-gpon-0/0)# ont auto-aging 1 enable
OLT(config-gpon-0/0)#
This command is used to configure the auto aging switch for all ONT
Description
registrations. By default, the auto aging switch is disabled.
[Configuration case]
Case1: Turn on the automatic aging switch of all ONT under the PON port
OLT(config)# ont auto-aging all enable
Number of Ports that can be set: 4, success: 4
OLT(config)#
[Configuration case]
332
GPON OLT User Manual
[Configuration case]
333
GPON OLT User Manual
PORTID Specify the PON port number. The value ranges from 1 to 16
334
GPON OLT User Manual
(sn-auth | sn-passwor
d-auth | password-au Specifies the registration mode of the ont of the multi-service profile
th | loid-auth | loid-p matched by the current port.
assword-auth)
profile-id ONT Multi-service profile ID. The value ranges from 0 to 255
[Configuration case]
Case1: Bind multi-service profile 1 on pon 1 with matching rule sn RTKG, authentication mode
Description This command is used to open or close the ONT CATV port.
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
335
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
10:10 Mb/s
speed speed 100:100 MB /s
1000:1000Mb/s
336
GPON OLT User Manual
[Configuration case]
Case1: Enables flow control on the first Ethernet port on ONT1 of port PON1.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 flow-control enable
OLT(config-interface-gpon-0/0)#
Case2: Enables the auto-negotiation function of the first Ethernet port on PON1 ONT1.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 auto-neg
OLT(config-interface-gpon-0/0)#
Case3: Open the first port of PON1 ONT1
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 operational-state enable
OLT(config-interface-gpon-0/0)#
Case4: Configure the rate of the first Ethernet port of PON1 ONT1 to 1000Mb/s and in full
duplex mode.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 speed 1000 dulepx full
OLT(config-interface-gpon-0/0)#
Case5:Configure the first Ethernet port of PON1 port ONT1 to be in HGU mode.
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
337
GPON OLT User Manual
ONT-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
OLT(config-interface-gpon-0/0)#
This command is used to move the ONU out of the Rogue onu
Description
Automatic quarantine table.
SN-VALUE The SN number of the specified ONT, in length 12, 13, or 16.
[Configuration case]
Case1: Move the ONU of port 1 with sn RTKG11111111 out of the isolation table.
OLT(config-gpon-0/0)# ont re-enable 1 sn RTKG11111111
The onu no exit.
OLT(config-gpon-0/0)#
[Configuration case]
338
GPON OLT User Manual
OLT(config-interface-gpon-0/0)#
[Configuration case]
[Configuration case]
339
GPON OLT User Manual
This command is used to show the ont that is currently turned off for
Description
sending optical power.
[Configuration case]
Case1: Show the ONT off transmit optical power table entry.
OLT(config-gpon-0/0)# show ont disable-info
------------------------------------------------------
F/S Index Port ONT-ID SN
------------------------------------------------------
0/0 1 1 1 DD15B353EE6A
------------------------------------------------------
OLT(config-gpon-0/0)#
[Configuration case]
This command is used to show the ONT CATV and ETH port
Description
configurations.
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
340
GPON OLT User Manual
ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128
all The view is for all CATV port configurations for ONT
[Configuration case]
Case1: Show the CATV port configuration information for PON2 ONT2
OLT(config-interface-gpon-0/0)# show ont port attribute 2 2 catv all
-----------------------------------------------------------------------------
F/S P ONT ONT-Port Port-Switch
----------------------------------------------------------------------------
0/0 2 2 1 off
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128
[Configuration case]
Case1: Show the uplink and downlink bandwidth rate configurations for all ports of PON2 port
ONT2
OLT(config-interface-gpon-0/0)# show ont port car 2 2 eth all
-----------------------------------------------------------------------------
F/S P ONT Port Inbound Outbound
----------------------------------------------------------------------------
0/0 2 2 1 6 6
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
341
GPON OLT User Manual
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ONT-id ONT id of the ONT to be viewed. The value ranges from 1 to 128
Specifies the port id of the learned MAC address table on the ONT.
eth-port-id
The value ranges from 1 to 8
[Configuration case]
Case1: Show the MAC address table learned by port 1 of PON2 ONT2
OLT(config-interface-gpon-0/0)# show ont port learned-mac 2 2 eth 1
No mac address learned
OLT(config-interface-gpon-0/0)#
[Configuration case]
342
GPON OLT User Manual
MibReady :1
Unknown :0
-----------------------------------------------------------------------------
OLT(config-interface-gpon-0/0)#
14.3.22 transceiver-compat
transceiver-compat port-ID type (sps_43_48_h_hp_cde_sd_2013 |
sog_4321_psgb | lte_3680_m | source_photonics |
lte_3680_p_type_c_plus | any | any_reset_guard |
any_reset_preamble | wtd_rtxm_167_526_cplus |
wtd_rtxm_167_522_bplus | lte_3680_p_bc |
sogq_4321_psgb_c_plus | wtd_rtxm167_521 | lte3678 |
Command Syntax
sogp_4321_psga | lth_5308 | ltf_5308 | ltf_5308_e | ltf_5306 |
ltf_5308_b | sdds_st_xs_cp_cdfa | zj | pt | ansaoen_dp | hisilicon |
z_quick | tsuhan_ltd | dp | gpon_general_1 | gpon_general_2 |
gpon_general_3 | gpon_general_4 | gpon_general_5 |
gpon_general_6 | gpon_general_7 | gpon_general_8 |
gpon_general_9 | gpon_general_10 | gpon_general_11)
sps_43_48_h_hp_cde
_sd_2013 |
sog_4321_psgb |
lte_3680_m |
source_photonics |
lte_3680_p_type_c_p
lus | any |
any_reset_guard |
any_reset_preamble
All adaptation profiles of the optical module
|
wtd_rtxm_167_526_c
plus |
wtd_rtxm_167_522_
bplus |
lte_3680_p_bc |
sogq_4321_psgb_c_pl
us |
wtd_rtxm167_521 |
343
GPON OLT User Manual
lte3678 |
sogp_4321_psga |
lth_5308 | ltf_5308 |
ltf_5308_e | ltf_5306
| ltf_5308_b |
sdds_st_xs_cp_cdfa |
zj | pt | ansaoen_dp
| hisilicon | z_quick |
tsuhan_ltd | dp |
gpon_general_1 |
gpon_general_2 |
gpon_general_3 |
gpon_general_4 |
gpon_general_5 |
gpon_general_6 |
gpon_general_7 |
gpon_general_8 |
gpon_general_9 |
gpon_general_10 |
gpon_general_11
[Configuration case]
OLT(config-interface-gpon-0/0)#
344
GPON OLT User Manual
[Configuration case]
Case1: indicates the upgrade file name of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade file FD511G_F_So8S_V1.2.5_2110
14_11836_X000.img
OLT(config-ont-auto-upgrade-task-1)#
Write the transferred ONT upgrade file to flash for saving. If the ONT
to flash upgrade file is not written into the flash, the ONT upgrade file
disappears after the OLT is rebooted.
345
GPON OLT User Manual
[Configuration case]
Case1: Transfer the ONT upgrade file 111.tar to the OLT using ftp.
OLT(config)# load file ftp 192.168.5.111 test **** 111.tar
OLT(config)#
15.1.3 ont-auto-upgrade-task
ont-auto-upgrade-task task-id
Command Syntax
no ont-auto-upgrade-task (task-id | all)
The value ranges from 1 to 10. You can use the task number to
task-id
create, configure, and delete an ONT automatic upgrade task.
All ONT automatic upgrade task: deletes all existing ONT automatic
all
upgrade tasks.
[Configuration case]
Case1: Create an ONT automatic upgrade task and enter the ONT automatic upgrade task
Configuration view.
OLT(config)# ont-auto-upgrade-task 1
OLT(config-ont-auto-upgrade-task-1)#
Case2: Deletes an ONT automatic upgrade task based on task-ID.
OLT(config)# no ont-auto-upgrade-task 1
OLT(config)#
346
GPON OLT User Manual
15.1.4 ont-match
ont-match {vendor-id VENDOR | equipment-id EQUIPMENT |
Command Syntax
version VERSION}
[Configuration case]
Case1: Configure the ONT selection condition of the ONT automatic upgrade task. The vvendor
15.1.5 ont-upgrade
Command Syntax ont-upgrade (start | stop | pause | continue)
347
GPON OLT User Manual
[Configuration case]
F/S F/s Specifies the number of the slot where the ONT is to be deleted.
[Configuration case]
Case1: Delete the ONT device whose ONU numbers are 55-65 under PON port 1 in slot 0 of the
348
GPON OLT User Manual
file name for the ONT automatic upgrade task. The default file path is
"/mnt/user_space/". When the upgrade file name does not exist, the
ONT automatic upgrade task cannot be started.
ONT Automatic upgrade task Upgrade file name, which specifies the
FILENAME upgrade file to be used in the automatic upgrade task. The file name
string ranges from 1 to 80 characters.
[Configuration case]
Case1: indicates the upgrade file name of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade file FD511G_F_So8S_V1.2.5_2110
14_11836_X000.img
OLT(config-ont-auto-upgrade-task-1)#
15.1.8ont-upgrade mode
Command
ont-upgrade mode (batch | policy)
Syntax
Applicable
ont-auto-upgrade-task view
Views
The task mode is batch upgrade. After configuring this mode, the
batch
current upgrade task only upgrades ONTs that exist in the ONT list
The task mode is strategy upgrade. After configuring this mode, the
policy current upgrade task can upgrade ONTs that exist in the ONT list and
those that are about to be launched
[Configuration case]
Case1:Configure the upgrade file name for the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade file FD511G_F_So8S_V1.2.5_2110
14_11836_X000.img
OLT(config-ont-auto-upgrade-task-1)#
349
GPON OLT User Manual
15.1.9ont-upgrade select
Command Syntax ont-upgrade select F/S (all | port-list (ont-list | all ))
[Configuration case]
Case1: Select the ONT device whose ONU numbers are 12, 55-66, 77-88 under PON ports 1-2 in
15.1.10ont-upgrade start-time
ont-upgrade start-time (YYYY/MM/DD-HH:MM:SS | current)
Command Syntax
{end-time YYYY/MM/DD-HH:MM:SS}
Format of the task start time or task stop time. If the time value
YYYY/MM/DD-HH:M
entered by the command does not conform to the format, the
M:SS
command cannot be executed.
350
GPON OLT User Manual
[Configuration case]
Case1: Configure the start time and stop time of the ONT automatic upgrade task.
OLT(config-ont-auto-upgrade-task-1)# ont-upgrade start-time 2023/3/21-1:00:00 end-time
2023/3/21-22:00:00
OLT(config-ont-auto-upgrade-task-1)#
15.1.11show ont-auto-upgrade-task
Command Syntax show ont-auto-upgrade-task brief
[Configuration case]
Case1: Show the brief information about all ONT automatic upgrade tasks.
OLT(config)# show ont-auto-upgrade-task brief
----------------------------------------------------------------------------------------
task-ID status start-time end-time ont-select-total
----------------------------------------------------------------------------------------
1 none 2023-03-21 01:00:00 2023-03-21 22:00:00 0
2 none 2024-06-23 22:58:00 2024-06-24 01:58:00 0
3 none - - 0
----------------------------------------------------------------------------------------
ONT Automatic upgrade task ID. The value ranges from 1 to 10. It is
task-id used to show details about the ONT automatic upgrade task
corresponding to the task ID.
All ONT Automatic upgrade tasks, used to show the details of all
all
existing ONT automatic upgrade tasks.
[Configuration case]
351
GPON OLT User Manual
--------------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Task ID :2
Task Describe :
Creat Time : 2024-06-23 22:57:42
start Time : 2024-06-23 22:58:00
end Time : 2024-06-24 01:58:00
Task Status : none
Upgrade File Name :
ont-match vensor-id :
ont-macth equipment-id :
ont-math Version :
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-list
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
352
GPON OLT User Manual
This command is used to show the statistics of the ONT devices that
Description
are upgraded in all ONT automatic upgrade tasks.
[Configuration case]
Case1: Show the statistics of the upgraded ONT devices in all the ONT automatic upgrade tasks.
OLT(config)# show ont-auto-upgrade-task statisics all
----------------------------------------------------------------------------------------
task-ID total waiting loading fail success cancel
----------------------------------------------------------------------------------------
1 0 0 0 0 0 0
2 0 0 0 0 0 0
----------------------------------------------------------------------------------------
This command is used to show the upgrade status of the ONT device
to be upgraded in the ONT automatic upgrade task. This command
shows only the information about the ONT devices in the task to be
Description
upgraded. If the task is not started or no qualified ONT devices need
to be upgraded after the task is started, this command does not
show any information.
ONT Automatic upgrade task ID. The value ranges from 1 to 10. It is
task-id used to show the upgrade status of the ONT device corresponding to
the ONT automatic upgrade task.
All ONT Automatic upgrade tasks: Show the upgrade status of all
all
ONT automatic upgrade tasks.
[Configuration case]
Case1: Show the upgrade status of all ONT devices to be upgraded in the ONT automatic
upgrade task.
OLT(config)# show ont-auto-upgrade-task upgrade info all
--------------------------------------------------------------------------------------------------------
353
GPON OLT User Manual
----------------------------------------------------------------------------------------
Task-ID : 1
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent UpgradeTime
----------------------------------------------------------------------------------------
No ont is selected
----------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
Task-ID : 2
----------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent UpgradeTime
----------------------------------------------------------------------------------------
No ont is selected
----------------------------------------------------------------------------------------
--------------------------------------------------------------------------------------------------------
15.2.1ont-upgrade
Applicable
Config interface view
Views
Description This command is used to add or cancel upgrades for certain ONUs
Used to specify the port where ONT needs to be upgraded. The ONT
device is connected to the PON port of the OLT device. If the input
port-id
port number detects that it is not a PON port, the input port number
is invalid, and this command does not perform any operation.
filename The file name used for ONU upgrade, with a length of 1-80.
354
GPON OLT User Manual
[Configuration case]
Case1:Select the ONU ID 10-20 under PON port 2 in slot 0 for upgrading, with the upgrade file being
test.tar.
OLT(config)# ont-upgrade 0/0 2 10-20 test.tar
OLT(config)#
Case2:Cancel the ONU upgrade task for slot 0 and PON port 2 with ONU IDs 60-64
OLT(config)# no ont-upgrade 0/0 2 60-64
OLT(config)#
Command
show ont-upgrade manual (current | history) info
Syntax
Applicable
Config view
Views
history The list of upgraded ONTs will be added from the current upgrade list.
[Configuration case]
Case1:View the ONT upgrade information currently being upgraded.
OLT(config)# show ont-upgrade manual current info
----------------------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status Percent(%) UpgradeTime
FailReason
----------------------------------------------------------------------------------------------------
0 1 11 DC31-B3243900 downloading 1 -
0 1 12 DC31-B3241800 downloading 1 -
0 1 13 DC31-B3240800 downloading 2 -
----------------------------------------------------------------------------------------------------
[Configuration case]
Case2:View the completed ONT upgrade information.
FD1604S_B0(config)# show ont-upgrade manual history info
----------------------------------------------------------------------------------------------------
Slot-ID Port-ID ONT-ID SN Status UpgradeTime
FailReason Filename
----------------------------------------------------------------------------------------------------
0 1 13 DC31-B3240800 success 2023/10/26-20:14:43
355
GPON OLT User Manual
asdf.tar
0 1 12 DC31-B3241800 success 2023/10/26-20:14:53
asdf.tar
0 1 11 DC31-B3243900 success 2023/10/26-20:14:58
asdf.tar
----------------------------------------------------------------------------------------------------
356
GPON OLT User Manual
Description This command is used to turn on or off the pots port of the ONT
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
OLT(config-interface-gpon-0/0)#
357
GPON OLT User Manual
Description The ONU pots port service is bound to the pots profile
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
Case1: Bind the first voice ONU1 port from port PON1 to pots-profile profile 1.
OLT(config-gpon-0/0)# pstnport electric 5 1 1 pots-profile profile-id 1
Error: sippstnuser pots profile modify fail
OLT(config-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
Case1: Show the configuration and status of the first voice interface ONU1 in port PON1.
OLT(config-interface-gpon-0/0)# show sippstnuser attribute 1 1 pots 1
358
GPON OLT User Manual
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
Case1: Adds the first ONU1 pots port under the PON1 port.
OLT(config-interface-gpon-0/0)# sippstnuser add 1 1 1
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
359
GPON OLT User Manual
Case1: Deletes the first ONU1 pots port from port PON1.
OLT(config-interface-gpon-0/0)# sippstnuser del 1 1 1
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
OLT(config-interface-gpon-0/0)#
360
GPON OLT User Manual
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
Description This command is used to turn on or off the pots port of the ONT
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
Case1: Change the user name and password of the first voice interface ONU1 in port PON1 to
361
GPON OLT User Manual
Specify the PON port number where the ONT is located. The value
port-id
ranges from 1 to 16
ont-id ONT id of the ONT to be configured. The value ranges from 1 to 128
[Configuration case]
[Configuration case]
362
GPON OLT User Manual
16.2.2 impedance
Command Syntax impedance impedance-value
Value range:
0:6:00 Ohms
1:900 Ohms
impedance-value 2: C1=150 nF, R1=750 Ohm, R2=270 Ohm
3: C1=115 nF, R1=820 Ohm, R2=220 Ohm
4: C1=230 nF, R1=1050 Ohm, R2=320 Ohm
Default value: 2.
[Configuration case]
Case1: Configure the impedance of the POTS port in ONTPOTS port profile 1 to Type 2.
OLT(config-pots-profile-1)# impedance 2
16.2.3 ont-pots-profile
ont-pots-profile gpon {profile-id profile-id |profile-name
Command Syntax profile-name}
no ont-pots-profile (profile-id profile-id |profile-name profile-name)
ONT POTS port profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. When the profile ID is not specified, the
system automatically assigns the minimum free profile number. POTS
profile-id
port profile 0 is the default profile. If the ONT does not specify a
bound POTS port profile, the profile automatically matches the
default profile
The ONT POTS port profile name can contain 1 to 32 characters. The
profile-name
default profile name is pots_profile_x, where the "x" is the actual
363
GPON OLT User Manual
profile number.
[Configuration case]
Case1: Create and enter the ONT POTS port profile with ID 1.
OLT(config)# ont-pots-profile gpon profile-id 1
OLT(config-pots-profile-1)#
Case2: Delete ONTPOTS port profile 1 from the OLT.
OLT(config)# no ont-pots-profile profile-id 1
OLT(config-pots-profile-1)#
16.2.4 pots-side-signaling
Command Syntax pots-side-signaling pots-side-signaling-value
This command is used to configure the signaling type for POTS ports
Description
in the ONTPOTS port profile.
Value: 1, 2, 3, 4, 5, or 6.
1: Loop start indicates the loop start signal (when the AB line loops
back, it indicates the off-hook, when the AB line is disconnected, it
indicates the hang up, generally used for home phones).
2: Ground start indicates a ground start signal (monitors whether the
Ring line's potential is close to the ground potential (ground indicates
off-hook), generally used for PBXS or trunks).
3: Loop reverse battery indicates loop reverse battery signaling (POTS
pots-side-signaling-val
port with polarity reversal function, generally used for phones with
ue
billing function).
4: Coin first refers to the port that receives a coin phone, and a coin
must be inserted before making a call.
5: Dial tone first refers to the port that receives the pay phone. You
can play the dial tone before the pay phone is placed.
6: Multi-party refers to the port that connects multiple phones on
one line.
Default value: 1.
[Configuration case]
Case1: Configure the signaling type of POTS ports in ONT POTS port profile 1 to 1.
OLT(config-pots-profile-1)# pots-side-signaling 1
364
GPON OLT User Manual
16.2.5 rxgain
Command Syntax rxgain rxgain-value
[Configuration case]
Case1: Configure the receiving gain of POTS ports in ONT POTS port profile 1 to 0dB.
OLT(config-pots-profile-1)# rxgain 24
profile-id Show information about the POTS port profile with the specified id.
profile-name Show the POTS port profile information with the specified name.
[Configuration case]
Case1: Show information about all ONT POTS port profiles on the OLT.
OLT(config)# show ont-pots-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 pots-profile_0 0
1 pots-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------
365
GPON OLT User Manual
OLT(config)#
[Configuration case]
Tx gain : 0(dB)
Rx gaim : 0(dB)
16.2.8 txgain
Command Syntax txgain txgain-value
[Configuration case]
366
GPON OLT User Manual
Case1: Configure the send gain of POTS ports in ONT POTS port profile 1 to 0dB.
OLT(config-pots-profile-1)# txgain 24
[Configuration case]
16.3.2 ont-digitmap-profile
ont-digitmap-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-digitmap-profile (profile-id profile-id |profile-name
profile-name)
ONT digital map profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. Ont If no profile ID is specified, the system
profile-id automatically assigns the minimum idle profile number. Digitmap
profile 0 is the default profile. ONT automatically matches digitmap
profile 0 if no binding digitmap profile is specified.
367
GPON OLT User Manual
[Configuration case]
Case1: Create and enter the ONT digital map profile with ID 1.
OLT(config)# ont-digitmap-profile gpon profile-id 1
OLT(config-digitmap-profile-1)#
16.3.3 critical-dial-time
Command Syntax critical-dial-time critical-dial-time-value
[Configuration case]
Case1: When setting an exact match in ONT Digitmap profile 1, the digitmap timer has a
16.3.4 partial-dial-time
Command Syntax partial-dial-time partial-dial-time-value
This command is used to set the timeout duration of the digital timer
Description for ONT during partial matching (the number pressed by the user is
only partially consistent with the format in the digitmap).
[Configuration case]
Case 1: When setting partial matching in ONT Digitmap profile 1, the digitmap timer has a
368
GPON OLT User Manual
16.3.5 digitmap-format
Command Syntax digitmap-format digitmap-format-value
Value range:
h.248: indicates the digitmap in H248 format
ncs: indicates the digitmap in ncs format
digitmap-format-valu
not_defined: indicates the digitmap inside the ONT
e
vendor_specific: indicates the digitmap in the manufacturer-defined
format
Default value: h.248.
[Configuration case]
Case 1: Configure the format of the ONT digital map in profile 1 to h.248.
OLT(config-digitmap-profile-1)# digitmap-format h248
16.3.6 token
token token-index token-value
Command Syntax
no token token-index
The content of the subdigital graph scheme, that is, the number
token-value
matching rule. The length of the string that can be entered is 1-27
[Configuration case]
369
GPON OLT User Manual
OLT(config-digitmap-profile-1)#
profile-id Show the digitmap profile information for the specified id.
profile-name Show the digitmap profile information for the specified name.
[Configuration case]
[Configuration case]
370
GPON OLT User Manual
Profile-name : digitmap-profile_1
Binding times :0
----------------------------------------------------------------------------
dial-plan-id dial-plan-token
---------------------------------------------------------------------------
1 X.L
OLT(config-pots-profile_1)#
[Configuration case]
16.4.2 bridged-line-agent
bridged-line-agent bridged-line-agent-uri
Command Syntax
no bridged-line-agent
371
GPON OLT User Manual
Bridged line Indicates the address of the agent server for the service.
bridged-line-agent-uri
The default value is null and contains 1-63 characters.
[Configuration case]
Case1: Configure the IP address of the Bridged server in the ONT SIP proxy profile 1 to
192.168.2.202.
OLT(config-sipagent-profile-1)# bridged-line-agent 192.168.2.202
OLT(config-sipagent-profile-1)#
16.4.3 commit
Command Syntax commit
[Configuration case]
16.4.4 conf-factory
conf-factory conf-factory-uri
Command Syntax
no conf-factory
372
GPON OLT User Manual
[Configuration case]
Case1: Configure the address of the conference factory (conference server) to 192.168.6.201.
OLT(config-sipagent-profile-1)# conf-factory 192.168.6.201
OLT(config-sipagent-profile-1)#
16.4.5 ont-sipagent-profile
ont-sipagent-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-sipagent-profile (profile-id profile-id |profile-name
profile-name)
ONT SIP proxy profile ID, which uniquely identifies a profile. The
value ranges from 0 to 16. When the profile ID is not specified, the
system automatically assigns the minimum idle profile number. The
profile-id
ONT SIP proxy profile 0 is the default profile. If the ONT does not
specify a binding proxy profile, the profile 0 is automatically
matched.
[Configuration case]
Case1: Creates and accesses the ONT SIP proxy profile whose ID is 1.
OLT(config)# ont-sipagent-profile gpon profile-id 1
OLT(config-sipagent-profile-1)#
16.4.6 outbound-server
Command Syntax outbound-server outbound-server-uri
373
GPON OLT User Manual
no outbound-server
[Configuration case]
Case1: Configure the IP address of the SIP outgoing proxy server in ONT SIP Proxy profile 1 to
192.168.2.205.
OLT(config-sipagent-profile-1)# outbound-server 192.168.2.205
OLT(config-sipagent-profile-1)#
16.4.7 outbound-server-port
Command Syntax outbound-server-port outbound-server-port-value
outbound-server-port- Port number of the SIP outbound proxy server. The default value is 0
value and the value ranges from 0 to 65535.
[Configuration case]
Case1: Configure the port number of the SIP outgoing proxy server in ONT SIP Proxy profile 1 to
3090.
OLT(config-sipagent-profile-1)# outbound-server-port 3090
OLT(config-sipagent-profile-1)#
16.4.8 proxy-server
proxy-server proxy-server-uri
Command Syntax
no proxy-server
374
GPON OLT User Manual
SIP proxy server address. The value is a string. The default value is
proxy-server-uri
empty. The value can be 1 to 63 characters in length.
[Configuration case]
Case1: Configure the IP address of the SIP proxy server in ONT SIP Proxy profile 1 to
192.168.2.201.
OLT(config-sipagent-profile-1)# proxy-server 192.168.2.201
OLT(config-sipagent-profile-1)#
16.4.9 proxy-server-port
Command Syntax proxy-server-port proxy-server-port-value
proxy-server-port-valu Proxy server port number. The default value is 0 and the value ranges
e from 0 to 65535.
[Configuration case]
Case1: Configure the SIP proxy server port number to 3070 in ONT SIP Proxy profile 1.
OLT(config-sipagent-profile-1)# proxy-server-port 3070
OLT(config-sipagent-profile-1)#
This command is used to configure the DSCP priority for media RTP
Description packets. DSCP is an IP QoS policy, which ensures that packets with
higher priorities are preferentially forwarded.
DSCP priority of media RTP packets. The default value is 46 and the
rtp-dscp-value
value ranges from 0 to 63.
[Configuration case]
375
GPON OLT User Manual
Case1: Configure the DSCP priority of media RTP packets in ONT SIP proxy profile 1 to 46.
OLT(config-sipagent-profile-1)# rtp dscp 46
OLT(config-sipagent-profile-1)#
The minimum port number of a media RTP packet. The default value
min-rtp-port
is 50000. The value ranges from 1 to 65535.
The maximum port number of a media RTP packet. The default value
max-rtp-port
is 60000 and the value ranges from 1 to 65535.
[Configuration case]
Case1: Configure the range of port numbers available for RTP sessions in ONT SIP Proxy profile
1 to 55000-65000.
OLT(config-sipagent-profile-1)# rtp port 55000 65000
OLT(config-sipagent-profile-1)#
[Configuration case]
Case1: Configure the registration validity of the SIP registration server in ONT SIP Proxy profile
1 to 600 seconds.
OLT(config-sipagent-profile-1)# registration expiration 600
OLT(config-sipagent-profile-1)#
376
GPON OLT User Manual
[Configuration case]
Case1: Configure the refresh registration start time for the SIP registration server in ONT SIP
registration-server-po SIP proxy server port number, the default value is 0 and the value
rt-value ranges from 0 to 65535.
[Configuration case]
Case1: Configure the SIP proxy server port number to 3080 in ONT SIP Proxy profile 1.
OLT(config-sipagent-profile-1)# registration server-port 3080
OLT(config-sipagent-profile-1)#
377
GPON OLT User Manual
address or domain name of the SIP registration server in the ONT SIP
proxy profile.
The "no registration server-uri" command cancels the user
configuration and sets the SIP registration server address value to
"0".
[Configuration case]
Case1: Configure the IP address of the SIP registration server in ONT SIP Proxy profile 1 to
192.168.2.203.
OLT(config-sipagent-profile-1)# registration server-uri 192.168.2.203
OLT(config-sipagent-profile-1)#
all Show all the ONT SIP proxy profile information on the OLT
profile-id Show the ONT SIP proxy profile information for the specified id.
profile-name Show the ONT SIP proxy profile information for the specified name.
[Configuration case]
378
GPON OLT User Manual
[Configuration case]
Proxy server :
Rtp
Dscp : 46
Signal
Port : 5070
Dscp : 24
Registration
Server :
379
GPON OLT User Manual
Port :0
Expiration : 0(s)
Voice mail
Server :
Conf fatcory :
Auth realm :
Outbound server :
[Configuration case]
Case1: Configure the DSCP priority of the ONT SIP proxy profile 1 to 24.
380
GPON OLT User Manual
This command is used to configure the UDP/TCP port number for SIP
Description
signaling.
The UDP/TCP port number of the SIP signaling. The default value is
signal-port-value
5070 and the value ranges from 1 to 65535.
[Configuration case]
Case1: Configure the UDP/TCP port number for SIP signaling in ONT SIP Proxy profile 1 to 5071.
OLT(config-sipagent-profile-1)# signal port 5071
OLT(config-sipagent-profile-1)#
[Configuration case]
Case1: Configure the transmission protocol type of the ONT SIP proxy profile 1 to tcp.
OLT(config-sipagent-profile-1)# signal transfer-mode tcp
OLT(config-sipagent-profile-1)#
381
GPON OLT User Manual
[Configuration case]
Case1: Configure the IP address of the Voicemail server in ONT SIP Proxy profile 1 to
192.168.2.204.
OLT(config-sipagent-profile-1)# voicemail server-uri 192.168.2.204
OLT(config-sipagent-profile-1)#
[Configuration case]
Case1: Configure the validity period of the voicemail subscription in ONT SIP Proxy profile 1 to
3600.
OLT(config-sipagent-profile-1)# voicemail subscription-expiration 3600
OLT(config-sipagent-profile-1)#
[Configuration case]
382
GPON OLT User Manual
OLT(config-sipright-profile_1)#
16.5.2 call-hold
Command Syntax call-hold (enable|disable)
This command is used to set call hold permission in the ONT SIP
Description service data profile. By default, call Hold permission is enabled
(enable).
[Configuration case]
Case1: Enables the call hold right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-hold enable
OLT(config-sipright-profile_1)#
16.5.3 call-park
Command Syntax call-park (enable|disable)
[Configuration case]
Case1: disables the call park right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-park disable
OLT(config-sipright-profile_1)#
16.5.4 call-transfer
Command Syntax call-transfer (enable|disable)
Description This command is used to set call transfer permission in the ONT SIP
383
GPON OLT User Manual
[Configuration case]
Case1: Disables the call transfer right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-transfer disable
OLT(config-sipright-profile_1)#
16.5.5 call-waiting
Command Syntax call-waiting (enable|disable)
[Configuration case]
Case1: Enables the call waiting right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# call-waiting enable
OLT(config-sipright-profile_1)#
16.5.6 conference
Command Syntax conference (enable|disable)
[Configuration case]
Case1: Disables the conference call permission in ONT SIP service data profile 1.
384
GPON OLT User Manual
16.5.7 do-not-disturb
Command Syntax do-not-disturb (enable|disable)
This command is used to configure the call DND right in the ONT SIP
Description
service data profile. By default, the call DND right is disabled.
[Configuration case]
Case1: disables the Do Not disturb (DND) right in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# do-not-disturb disable
OLT(config-sipright-profile_1)#
16.5.8 hotline
Command Syntax hotline (enable hotline-num HOTLINE-NUM |disable)
[Configuration case]
Case1: Disables the hotline service in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# hotline disable
OLT(config-sipright-profile_1)#
16.5.9 mwi
Command Syntax mwi (enable|disable)
385
GPON OLT User Manual
[Configuration case]
Case1: Disables the message waiting indicator permission in ONT SIP service data profile 1.
OLT(config-sipright-profile_1)# mwi disable
OLT(config-sipright-profile_1)#
16.5.10 ont-siprightflag-profile
ont-siprightflag-profile gpon {profile-id profile-id |profile-name
profile-name}
Command Syntax
no ont-siprightflag-profile (profile-id profile-id |profile-name
profile-name)
ONT SIP service data profile ID, which uniquely identifies a profile.
The value ranges from 0 to 16. When the profile ID is not specified,
the system automatically assigns the minimum idle profile number.
profile-id
ONT SIP service data profile 0 is the default profile. If no binding data
profile is specified at the ONT, the profile 0 is automatically matched
with the profile.
ONT SIP service data profile name. The value can contain 1 to 64
profile-name characters. The default profile name is sipright_x, where the actual
profile number is used as the "x".
[Configuration case]
Case1: Create and enter the ONT SIP service data profile with ID 1.
OLT(config)# ont-siprightflag-profile gpon profile-id 1
OLT(config-sipright-profile_1)#
386
GPON OLT User Manual
profile-id Show SIP service data profile information for the specified id.
profile-name Show SIP service data profile information for the specified name.
[Configuration case]
Case1: Show all ONT SIP service data profile information on the OLT.
OLT(config)# show ont-siprightflag-profile all
-----------------------------------------------------------------------------
Profile-ID Profile-name Binding times
----------------------------------------------------------------------------
0 sipright-profile_0 0
1 sipright-profile_1 0
-----------------------------------------------------------------------------
Total: 2
-----------------------------------------------------------------------------
OLT(config)#
[Configuration case]
387
GPON OLT User Manual
Conference : disable
Mwi : disable
Hotline : disable
Hotline numbers :
16.5.13 three-party
Command Syntax three-party (enable|disable)
[Configuration case]
388
GPON OLT User Manual
Applicable
Gpon interface view
Views
This command is used to set the exact match in the ONT number
graph (the number pressed by the user)
Description
The timeout duration of the number graph timer is exactly the same
as the format in the discrete number graph.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
critical-dial-time
Value range: 1-65535. Unit: ms. Default value: 4000.
-value
[Configuration case]
Case1:When setting the exact match in the ONT graph discrete 1, the timeout duration of the graph
timer is 4000
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 critical-dial-time 4000
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
389
GPON OLT User Manual
partial-dial-time
Value range: 1-65535. Unit: ms. Default value: 16000.
-value
[Configuration case]
Case 1:When setting partial matching in ONT graph discrete 1, the timeout duration of the graph
timer is 16000.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 partial-dial-time 16000
Applicable
Gpon interface view
Views
This command is used to set the number chart format in the ONT
Description
number chart.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
Value range:
h. 248: Refers to the number chart in H248 format
Ncs: represents a numerical graph in ncs format
digitmap-format
Not_defined: Indicates the use of ONT's internal numerical graph
-value
Vendor_specific: represents a numerical graph in a manufacturer
defined format
Default value: H.248.
[Configuration case]
Case 1:Set the format of the ONT graph in Discrete 1 to H.248.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 digitmap-format h248
390
GPON OLT User Manual
Command
sippstnuser digitmap port-id ont-id token token-index token-value
Syntax
Applicable
Gpon interface view
Views
Token is used to add a sub graph scheme to the specified ONT graph
discretization. Subgraph scheme
Description The content is the number matching rules.
No token is used to delete sub graph schemes in the specified ONT
graph discretization.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
The content of the sub number graph scheme, namely the number
token-value
matching rules. The input string length is 1-27
[Configuration case]
Case 1:Set the sub graph scheme in the ONT number graph discrete 1 to 8888XXXX.
OLT(config-gpon-0/0)# sippstnuser digitmap 1 1 token 1 8888XXXX
Command
show sippstnuser digitmap port-id ont-id
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
391
GPON OLT User Manual
dial-plan-id dial-plan-token
-----------------------------------------------------------------------------------
1 X.L
-----------------------------------------------------------------------------------
OLT(config-gpon-0/0)#
Command
sippstnuser ipconfig port-id ont-id auth-realm realm
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
392
GPON OLT User Manual
Applicable
Gpon interface view
Views
The bridged line agent command is used to configure the proxy server
address for the "bridged line" service. When configuring this service
Description
on ONT, a subscription message needs to be sent to the server. The
proxy server address can be an IP address or a domain name.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
bridged-line-age The proxy server address for the "Bridged line" service. The default
nt-uri value is empty and the character length is 1-63.
[Configuration case]
Case1:Set the IP address of the proxy server for the "Bridged line" service in ONT SIP proxy discrete
1 to 192.168.2.202.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 bridged-line-agent 192.168.2.202
Command
sippstnuser ipconfig port-id ont-id conf-factory conf-factory-uri
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
393
GPON OLT User Manual
[Configuration case]
Case1:Configure the address of the conference factory (conference server) to 192.168.6.201.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 conf-factory 192.168.6.201
Applicable
Gpon interface view
Views
The registration server uri command is used to set the address of the
Description SIP outbound proxy server in the ONT SIP proxy discrete, which can
be an IP address or domain name.
outbound-server SIP outbound proxy server address, string type, default value is
-uri empty, and the input string length is 1-63.
[Configuration case]
Case1 : Set the IP address of the SIP outbound proxy server in ONT SIP proxy discrete 1 to
192.168.2.205.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 outbound-server 192.168.2.205
Applicable
Gpon interface view
Views
The outbound server port command is used to set the port number
Description
of the SIP outbound proxy server in the ONT SIP proxy discrete.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
outbound-server The port number of the SIP outbound proxy server, with a default
-port-value value of 0 and a value range of 0-65535.
394
GPON OLT User Manual
[Configuration case]
Case1:Set the port number of the SIP outbound proxy server in ONT SIP proxy discrete 1 to 3090.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 outbound-server-port 3090
Command
sippstnuser ipconfig port-id ont-id proxy-server proxy-server-uri
Syntax
Applicable
Gpon interface view
Views
The proxy server command is used to set the ONT SIP proxy discrete
Description
SIP proxy server IP address or domain name.
SIP proxy server address, string type, default value is empty, and the
proxy-server-uri
input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the SIP proxy server in ONT SIP proxy discrete 1 to 192.168.2.201.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 proxy-server 192.168.2.201
Applicable
Gpon interface view
Views
The proxy server port command is used to set the port number of the
Description
proxy server in the ONT SIP proxy discrete.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
proxy-server-por The proxy server port number, with a default value of 0 and a value
t-value range of 0-65535.
[Configuration case]
Case1:Set the port number of the SIP proxy server in ONT SIP proxy discrete 1 to 3070.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 1 proxy-server-port 3070
395
GPON OLT User Manual
Command
sippstnuser ipconfig port-id ont-id rtp dscp rtp-dscp-value
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
The minimum port number for media RTP messages, with a default
min-rtp-port
value of 50000 and a value range of 1-65535.
The maximum port number for media RTP messages, with a default
max-rtp-port
value of 60000 and a value range of 1-65535.
396
GPON OLT User Manual
[Configuration case]
Case1:Set the range of port numbers that can be used for RTP sessions in ONT SIP proxy discrete 1
to 55000-65000.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 rtp port 55000 65000
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
397
GPON OLT User Manual
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
The refresh registration start time of the SIP registration server, with a
expiration-value
default value of 0 and a value range of 1-65535, measured in seconds.
[Configuration case]
Case1:Set the refresh registration start time of the SIP registration server in ONT SIP proxy discrete 1
to 300 seconds.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration rereg-head-start-time 300
Applicable
Gpon interface view
Views
The proxy server port command is used to set the ONT SIP proxy
Description
discrete SIP registration server port number.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
registration-serv The SIP proxy server port number, with a default value of 0 and a
er-port-value value range of 0-65535.
398
GPON OLT User Manual
[Configuration case]
Case1:Set the port number of the SIP proxy server in ONT SIP proxy discrete 1 to 3080.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration server-port 3080
Applicable
Gpon interface view
Views
The registration server uri command is used to set the address of the
Description SIP registration server in the ONT SIP proxy discrete, which can be an
IP address or domain name.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
registration-serv SIP registration server address, string type, default value is empty,
er-uri and the input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the SIP registration server in ONT SIP proxy discrete 1 to 192.168.2.203.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 registration server-uri 192.168.2.203
Command
show sippstnuser ipconfig port-id ont-id
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
399
GPON OLT User Manual
[Configuration case]
Case1:View all ONT SIP proxy discrete information on OLT.
OLT(config-gpon-0/0)# show sippstnuser ipconfig 1 1
----------------------------------------------------------------------------
Proxy server :
Proxy server port :0
Rtp
Min port : 50000
Max port : 60000
Dscp : 46
Signal
Transfer mode : UDP
Port : 5070
Dscp : 24
Registration
Server :
Port :0
Expiration : 0(s)
Rereg head start time : 0(s)
Voice mail
Server :
Subscription expiration : 0(s)
Conf fatcory :
Bridged line agent :
Auth realm :
Outbound server :
Outbound server port :0
OLT(config-gpon-0/0)#
Command
sippstnuser ipconfig port-id ont-id signal dscp signal-dscp-value
Syntax
Applicable
Gpon interface view
Views
400
GPON OLT User Manual
[Configuration case]
Case1:Set the DSCP priority of the signaling message in the ONT SIP proxy discrete 1 to 24.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal dscp 24
Command
sippstnuser ipconfig port-id ont-id signal port signal-port-value
Syntax
Applicable
Gpon interface view
Views
This command is used to configure the UDP/TCP port number for SIP
Description
signaling.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
signal-port-valu The UDP/TCP port number for SIP signaling, with a default value of
e 5070 and a value range of 1-65535.
[Configuration case]
Case1:Set the UDP/TCP port number for SIP signaling in ONT SIP proxy discrete 1 to 5071.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal port 5071
Command
sippstnuser ipconfig port-id ont-id signal transfer-mode (tcp|udp)
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
401
GPON OLT User Manual
[Configuration case]
Case1:Set the transmission protocol type of signaling in ONT SIP proxy discrete 1 to TCP.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 signal transfer-mode tcp
Applicable
Gpon interface view
Views
The voicemail server uri command is used to set the address of the
Voicemail server in the ONT SIP proxy discrete, which can be an IP
Description address or domain name.
The no voicemail server uri command cancels user configuration and
sets the Voicemail server address value to "0".
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
voicemail-server Voicemail server address, string type, default value is empty, and the
-uri input string length is 1-63.
[Configuration case]
Case1:Set the IP address of the Voicemail server in the ONT SIP proxy discrete 1 to 192.168.204.
OLT(config-gpon-0/0)# sippstnuser ipconfig 1 1 voicemail server-uri 192.168.2.204
Applicable
Gpon interface view
Views
The proxy server port command is used to set the validity period of
Description
the voicemail subscription.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
402
GPON OLT User Manual
Command
sippstnuser rightflag port-id ont-id call-hold (enable|disable)
Syntax
Applicable
Gpon interface view
Views
This command is used to set the call hold permission in the discrete
Description
ONT SIP service data, which is enabled by default.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
Command
sippstnuser rightflag port-id ont-id call-park (enable|disable)
Syntax
Applicable
Gpon interface view
Views
403
GPON OLT User Manual
This command is used to set the call residency permission in the ONT
Description
SIP service data discretization, which is disabled by default.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Disable the call residency permission in ONT SIP service data discrete 1.。
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-park disable
Command
sippstnuser rightflag port-id ont-id call-transfer (enable|disable)
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Disable call forwarding permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-transfer disable
Command
sippstnuser rightflag port-id ont-id call-waiting (enable|disable)
Syntax
404
GPON OLT User Manual
Applicable
Gpon interface view
Views
This command is used to set the call waiting permission in the ONT
Description
SIP service data discretization, which is enabled by default.
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Enable call waiting permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 call-waiting enable
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Disable ONT SIP service data discrete 1 telephone conference access.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 conference disable
405
GPON OLT User Manual
Command
sippstnuser rightflag port-id ont-id do-not-disturb (enable|disable)
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Disable hotline service permissions in ONT SIP service data discrete 1.
406
GPON OLT User Manual
Command
sippstnuser rightflag port-id ont-id mwi (enable|disable)
Syntax
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
[Configuration case]
Case1:Disable the message waiting instruction permission in ONT SIP service data discrete 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 mwi disable
Command
show sippstnuser rightflag port-id ont-id
Syntax
Applicable
Gpon interface view
Views
This command is used to view the current SIP service data discrete
Description
configuration
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
407
GPON OLT User Manual
Conference : disable
Mwi : disable
Hotline : disable
Hotline numbers :
Applicable
Gpon interface view
Views
Specify the PON port number where ONT is located. Values range
port-id
from 1 to 16
408
GPON OLT User Manual
[Configuration case]
Case1:Enable third-party call permissions in ONT SIP service data profile 1.
OLT(config-gpon-0/0)# sippstnuser rightflag 1 1 three-party enable
409
GPON OLT User Manual
17 WAN configuration
This chapter includes the following topics:
410
GPON OLT User Manual
[Configuration case]
Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv4, and mode DHCP.
OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 ipv4 dhcp
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, vlan id 11, vlan priority 3, protocol ipv4, mode
411
GPON OLT User Manual
412
GPON OLT User Manual
[Configuration case]
Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv4-ipv6, ipv4 protocol
mode pppoe, username of PPPoE account username, password, v6 mode, address mode
default atuo.
OLT(config-gpon-0/0)# ont wan 1 5 1 vlan 11 priority 3 ipv4-ipv6 pppoe username username
password password v6
OLT(config-gpon-0/0)#
413
GPON OLT User Manual
[Configuration case]
Case1: On port 0/0/1, configure wan1 on ONT 5, vlan 11, protocol ipv6, v6 mode default
414
GPON OLT User Manual
Applicable
GPON view
Views
This command is used to add or modify a bridging wan, configure the basic
properties of the bridging wan, and when adding a bridging wan, its optional
Description
properties are the default options. When modifying a bridging wan, its optional
properties remain unchanged.
Configure the management VLAN for ONT. After configuration, only the configured
vlan-id VLAN packets are allowed to pass through the WAN connection, with a value range
of 1-4094. Among them, 4077-4094 is occupied and unavailable by the system.
Configure the priority of managing VLANs on ONT and take effect on ONT. The
priority higher the priority value, the higher its priority, with a range of values from 0 to 7.
The default value is 0.
In untag mode, after configuration, WAN connections can only be made through
untag
packets without VLAN.
[Configuration case]
Case1:Under port 0/0/1, configure wan1 for ONT 5, vlan for 11, and mode for bridge.
415
GPON OLT User Manual
416
GPON OLT User Manual
[Configuration case]
Case1: On port 0/0/1, configure wan1 on ONT 5 with the service type tr069.
OLT(config-gpon-0/0)# ont wan 1 5 1 option service-type tr069
OLT(config-gpon-0/0)#
Case2: On port 0/0/1, configure wan1 on ONT 5, configure the service type to internet+tr069,
enable multicast and configure the multicast vlan to 20, bind lan1 and lan3.
OLT(config-Gspoon-0/0)# ont wan 1 5 1 option service-type tr069-internet igmp-proxy 20
binding eth 1,3
OLT(config-gpon-0/0)#
[Configuration case]
Case1: Show the WAN configuration of ONT 1 on port 0/0/1 saved on OLT.
OLT(config-gpon-0/0)# show ont wan config 1 1
-----------------------------------------------------------------------------
WAN ID :1
417
GPON OLT User Manual
WAN Name : --
Version : IPv4
Connect mode : route
Connect type : Internet
VLAN mode : tag
VLAN id :1
VLAN priority :3
IGMP proxy : enable
MVLAN id :1
MTU : 1500
DSP mode : DHCP
Bridge port binding : eth-1,
IPv4 address : 192.168.0.1
IPv4 mask : 255.255.255.0
IPv4 gateway : 192.168.0.1
IPv4 primary DNS : 8.8.8.8
IPv4 secondary DNS : 114.114.114.114
-----------------------------------------------------------------------------
[Configuration case]
418
GPON OLT User Manual
VLAN priority : --
IGMP proxy : enable
MVLAN id : --
MTU : 1500
DSP mode : DHCP
Bridge mode : --
Bridge port binding : eth-1,
Automatically get IPv6 address : dhcpv6
DHCPv6 prefix delegation : disable
IPv6 address : --
IPv6 mask : --
IPv6 gateways : --
Automatically get DNS address : slaac
IPv6 primary DNS :-
IPv6 primary DNS :-
-----------------------------------------------------------------------------
Applicable
gponview
Views
The ont wan profile command is used to bind a wan profile to onu,
Description
which must already exist.
[Configuration case]
Case1:Create WAN profile 1.
OLT(config)# ont-wan-profile gpon profile-id 1
419
GPON OLT User Manual
OLT(config-ont-wanprofile-1)#
17.2.2ont-wan-profile
ont-wan-profile gpon {profile-id profile-id | profile-name
Command profile-name}
Syntax no ont-wan-profile (profile-id profile-id | profile-name
profile-name)
Applicable
Config view
Views
17.2.3wan ipv4
wan wan-index vlan (vlan-id [priority priority] | untag) ipv4
(dhcp | pppoe username username password password | static ip
Command
ip-addr mask mask-addr gateway gateway-addr pri-dns pri-dns
Syntax
slave-dns slave-dns )
no wan wan-index
Applicable
WAN profile view
Views
420
GPON OLT User Manual
unchanged.
The no wan command is used to delete the wan configuration.
421
GPON OLT User Manual
OLT(config-ont-wanprofile-1)#
17.2.4wan ipv4-ipv6
wan wan-index vlan (vlan-id [priority priority] | untag) ipv4-ipv6
(dhcp | pppoe username username password password | static ip
Command
ip-addr mask mask-addr gateway gateway-addr pri-dns pri-dns
Syntax
slave-dns slave-dns )
v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]
Applicable
WAN profile view
Views
422
GPON OLT User Manual
17.2.5wan ipv6
wan wan-index vlan (vlan-id [priority priority] | untag) ipv6
Command
[pppoe username username password password]
Syntax
v6 [auto|slaac|dhcpv6] [dns (auto|slaac|dhcpv6) ]
Applicable
WAN profile view
Views
423
GPON OLT User Manual
unchanged.
[Configuration case]
Case1:In WANprofile1, configure the VLAN of wan1 to 11, the protocol to ipv6, and the v6 mode to
default (address mode defaults to atuo).
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 ipv6 v6
OLT(config-ont-wanprofile-1)#
Case2:In WANprofile1, configure wan1 with a vlan id of 11, vlan priority of 3, protocol of ipv6, mode
of pppoe, username of PPPoE account with password, default address mode of atuo in v6 mode.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 priority 3 ipv6 pppoe username username
password password v6
OLT(config-ont-wanprofile-1)#
424
GPON OLT User Manual
17.2.6wan bridge
Command
wan wan-index vlan (vlan-id [priority priority] | untag) bridge
Syntax
Applicable
WAN profile view
Views
[Configuration case]
Case1:Configure wan1's vlan to 11 and mode to bridge in WANprofile1.
OLT(config-ont-wanprofile-1)# wan 1 vlan 11 bridge
OLT(config-ont-wanprofile-1)#
17.2.7wan option
wan wan-index option
{mtu mtu | service-type (internet | other | tr069-internet |
tr069-voice-internet | voice-internet) | multicast (multicast-vlan-id |
Command disable) | binding {eth eth-port-list | ssid ssid-port-list | 5g-ssid
Syntax 5G-ssid-port-list} }
425
GPON OLT User Manual
Applicable
WAN profile view
Views
Service type, default value is tr069 voice internet. When the service
type is tr069, voice cannot bind ports and configure igmp proxy with
type
tr069 voice. When bridging WAN, the service type can only be
configured as internet or other.
426
GPON OLT User Manual
Command
show ont-wan-profile current
Syntax
Applicable
WAN profile view
Views
427
GPON OLT User Manual
Command
show ont-wan-profile gpon all
Syntax
Applicable
Config view、enable view
Views
[Configuration case]
Case1:View brief information on all wanprofiles.
OLT(config)#show ont-wan-profile gpon all
------------------------------------------------------------------------------------
Profile-ID Profile-name Binding times
------------------------------------------------------------------------------------
1 wan-profile_1 0
-------------------------------------------------------------------------------------
428
GPON OLT User Manual
Total: 1
Applicable
Config view、enable view
Views
[Configuration case]
Case1:View detailed WAN configuration for wanprofile1.
OLT(config)# show ont-wan-profile gpon profile-id 1
-----------------------------------------------------------------------------
Profile-ID :1
Profile-name : wan-profile_1
Binding times : 0
-------------------------------------------------------------------------------------
WAN ID :1
WAN Name : --
Version : IPv4/IPv6
Connection status : enable
Connect mode : route
Connect type : --
VLAN mode : tag
VLAN id : 10
VLAN priority :0
IGMP proxy : disable
MVLAN id : --
MTU : --
DSP mode : PPPoE
Bridge mode : --
Bridge port binding :
PPPoE service name :
PPPoE username : 111111111122
429
GPON OLT User Manual
18 WIFI Config
18.1 .1ont wifi
ont wifi port-id onu-id
{band-steering|2.4g ssid-index |5g ssid-index }
(disable|enable ssid username[open | password password
Command authentication (wpa-psk | wpa2-psk | wpa2psk-wpapsk)
Syntax encryption(tkip | aes | tkip-aes)]* [broadcast
{enable|disable}|user-limit number]*)
no ont wifi port-id onu-id
Applicable
GPON view
Views
Configure the basic WiFi properties. ONU already has default values
Description at the factory, and OLT issues a modification to the relevant
parameters.
band-steering|2 WiFi frequency bands 2.4g and 5g, combined with dual frequency
.4g|5g switching.
430
GPON OLT User Manual
[Configuration case]
Case1 : Under port 0/0/1, configure the Wi Fi 5g ssid index 1 of ONT 5 with ssid 11111111 and
password 222222222.
OLT(config-gpon-0/0)# ont wifi 1 5 5g 1 enable ssid 11111111 password 22222222
OLT(config-gpon-0/0)#
Case2:Under the 0/0/1 port, configure to disable the 2.4g ssid1 wifi for ONT 5.
Case3:Under port 0/0/1, configure ONT 5's wifi dual band integration to enable ssid broadcasting,
username 11111111, password 222222222, using WPA2-PSK authentication AES encryption
algorithm, with a maximum number of 16 users
431
GPON OLT User Manual
Applicable
GPON view
Views
432
GPON OLT User Manual
5g:
20:20MHz
40: 40MHz
80:80MHz
160:160MHz
auto
5g:
36, 40, 44, 48, 52, 56, 60, 64, 100, 104, 108, 112, 116, 120, 124, 128,
132, 136, 140, 144, 149, 153, 157, 161, 165
SGI enable
sgi
Enable: enable
Disable: Close
WPS enable
wps
Enable: enable
Disable: Close
WMM enable
wmm
Enable: enable
Disable: Close
[Configuration case]
Case1:Configure the ONT 5's WiFi 2.4g mode to 802.11n on port 0/0/1.
433
GPON OLT User Manual
Case2:Under port 0/0/1, configure ONT 5's WiFi 2.4g mode to 802.11n with a bandwidth of 20MHz.
Applicable
GPON view
Views
434
GPON OLT User Manual
Applicable
GPON view
Views
Case1:Under port 0/0/5, restore the WIFI configuration of ONT 1 to its default value.
435
GPON OLT User Manual
19 Log management
This chapter includes the following topics:
[Configuration case]
Case1: Configure buffer log file The logging level is level 1 and requires immediate action
OLT(config)# logging buffer alert
OLT(config)#
436
GPON OLT User Manual
[Configuration case]
Case1: Save logs to the ftp server. The IP address of the ftp server is 192.168.1.223, the user
name is admin, the password is admin, and the file name is logback.
OLT(config)# backup log-file tftp 192.168.1.223 logback
Start backup log files
The backup is successful
OLT(config)#
[Configuration case]
437
GPON OLT User Manual
Description This command is used to clear all saved system log files.
[Configuration case]
[Configuration case]
Case1: The configuration Standard Output (console) logging level is 1 and requires immediate
action
438
GPON OLT User Manual
[Configuration case]
Case1: Configuration Terminal (monitor) logging is at level 1 and requires immediate action
OLT(config)# logging monitor alert
OLT(config)#
439
GPON OLT User Manual
[Configuration case]
[Configuration case]
This command is used to show buffer logs. You can filter buffer logs
Description based on different conditions. By default, the log level is info, the log
module category is all, and the log length is 1024.
Configure the logging level to view buffer logs. After setting, view
level logs whose level does not exceed the set level. The value ranges from
0 to 6, and the default is 6.
440
GPON OLT User Manual
Configure the module category for viewing buffer logs. After setting,
modid view logs of the corresponding module category. The value ranges
from 0 to 31. By default, view logs of all module categories.
Configure the buffer length to Show the buffer log, the value range is
size
1-1024, the default is 1024.
[Configuration case]
19.1.10 syslog
Command Syntax syslog (enable | disable)
This command is used to enable or disable whether OLT logs are sent
Description
to the server.
[Configuration case]
Case1: Configure the OLT log not to send logs to the server.
OLT(config)# syslog disable
OLT(config)#
441
GPON OLT User Manual
[Configuration case]
[Configuration case]
Case1: Configuring a system log with a logging level of 1 requires immediate action
OLT(config)# syslog severity alert
OLT(config)#
442
GPON OLT User Manual
Command
auto-backup log absolute-time (enable <HH:MM>| disable)
Syntax
Applicable
Config view
Views
This command is used to switch on and off the automatic log upload
Description
server in absolute time.
[Configuration case]
Case1:Turn on the absolute time automatic log upload server switch and set the time to 08:09.
OLT(config)# auto-backup log absolute-time enable 08:09
OLT(config)#
Command
auto-backup log interval-time (enable interval| disable)
Syntax
Applicable
Config view
Views
This command is used to switch on and off the automatic log upload
Description
server at periodic intervals.
443
GPON OLT User Manual
Applicable
Config view
Views
This command is used to set the FTP mode for automatic log upload
Description
servers.
[Configuration case]
Case1:Automatically upload logs to the FTP server with IP address 192.168.1.223, username admin,
password admin, and file name logback.
OLT(config)# auto-backup log ftp 192.168.1.223 admin admin logback
OLT(config)#
Command
auto-backup log tftp tftp-server-ip-address file-name
Syntax
Applicable
Config view
Views
This command is used to set the automatic log upload server's tftp
Description
mode.
[Configuration case]
Case1:Automatically upload logs to the tftp server with an IP address of 192.168.1.223 and a file
name of logback.
OLT(config)# auto-backup log tftp 192.168.1.223 logback
444
GPON OLT User Manual
OLT(config)#
Command
show auto-backup log config
Syntax
Applicable
Config view
Views
Description This command is used to view the automatic upload log configuration
[Configuration case]
Case1:View automatic upload log configuration.
OLT(config)# show auto-backup log config
auto-backup log ProtocolType: tftp
auto-backup log ip Server: 0:0:0:0
auto-backup log filename:
auto-backup log interval switch: off
auto-backup log interval: 86400 minutes
auto-backup log absolute time switch: off
auto-backup log absolute time: 00:00
OLT(config)#
445
GPON OLT User Manual
20.1.1alarm alarmlevel
Command
OLT(config)# alarm alarmlevel alarmid alarmlevel
Syntax
Applicable
Config view
Views
[Configuration case]
Case1:Set alarm number 100102 to level error.
OLT(config)# alarm alarmlevel 100102 2
OLT(config)#
Description This command is used to clear the history of all alarm entries
[Configuration case]
446
GPON OLT User Manual
20.1.3alarm jitter-interval
Command Syntax alarm jitter-interval < 0-60 >
< 0-60 > The value ranges from 1 to 60, in seconds. 0 indicates disable
[Configuration case]
[Configuration case]
OLT(config)#
447
GPON OLT User Manual
[Configuration case]
20.1.6alarm report
Command Syntax alarm report port-list switch
[Configuration case]
Command
show alarm list alarmlevel alarmlevel list
Syntax
Applicable
config view
Views
448
GPON OLT User Manual
[Configuration case]
Case1:View alarms with an error level.
OLT(config)# show alarm alarmlevel 2 list
------------------------------------------------------------------------------------
AlarmId Output Level Def Level Name
100102 Yes Err Err The board reset
100105 Yes Err Err The fan is abnormal
100107 Yes Err Err The device power fault
100205 Yes Err Err Rogue Onu detected
100307 Yes Err Err The performance statistics value
exceeds the warning threshold
100308 Yes Err Err The performance statistics value lower
than the warning threshold
100401 Yes Err Err The Ethernet port loop detected
1000201 Yes Err Err Loss of signal(LOS)
1000202 Yes Err Err The backbone fiber on the port in Type
B protection group is broken or the expected optical signal is not detected
1000203 Yes Err Err This tranceiver is not adapted,The
default type will be used
1000204 Yes Err Err The RX received power of the optical
port is higher than the alarm upper threshold or lower than the alarm lower threshold
1000205 Yes Err Err The TX output power of the optical
port is higher than the alarm upper threshold or lower than the alarm lower threshold
1000206 Yes Err Err The bias current of the optical port is
higher than the alarm upper threshold or lower than the alarm lower threshold
1000207 Yes Err Err The voltage of the optical port is
higher than the upper alarm threshold or lower than the alarm lower threshold
1000208 Yes Err Err The temperature of the optical port is
higher than the alarm upper threshold or lower than the alarm lower threshold
1000501 Yes Err Err Loss of signal for ONU(LOSi)
1000502 Yes Err Err Loss of frame for ONU(LOFi)
1000507 Yes Err Err ONU does not react correctly after
deactive or disable(DFi)
1000510 Yes Err Err The ONT Rx power exceeds the low
alarm threshold
1000511 Yes Err Err The ONT Rx power exceeds the high
alarm threshold
1000512 Yes Err Err The ONT Tx power exceeds the low
alarm threshold
1000513 Yes Err Err The ONT Tx power exceeds the high
alarm threshold
1000517 Yes Err Err The ONT bias current exceeds the
449
GPON OLT User Manual
alarm threshold
1000519 Yes Err Err The ONT voltage exceeds the alarm
threshold
1000521 Yes Err Err The ONT temperature exceeds the
alarm threshold
---------------------------------
Command
OLT(config)# show alarm active alarmlevel alarmlevel [detail]
Syntax
Applicable
config view
Views
This command is used to view the current alarm entry based on the
Description
alarm level
[Configuration case]
Case1:View active alarm entries with an error level.
OLT(config)# show alarm active alarmlevel 2
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
100105 2001-05-31 01:39:28 Err Board: 0/0 The fan is abnormal
total number : 1
OLT(config)#
Applicable
config view
Views
This command is used to view the current alarm entry based on the
Description
port and slot
450
GPON OLT User Manual
[Configuration case]
Case1:View the current alarm data of gpon port 1.
OLT(config)# show alarm active alarmparameter gpon 0/0/1
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
1000203 2001-05-31 01:59:27 Err PON 0/0/1 This tranceiver is not
adapted,The default type will be used
total number : 1
OLT(config)#
[Configuration case]
451
GPON OLT User Manual
Command
show alarm history alarmlevel alarmlevel [detail]
Syntax
Applicable
config view
Views
[Configuration case]
Case1:View alarm history records with an error level.
OLT(config)# show alarm history alarmlevel 2
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
------------------------------------------------------------------------------------
total number : 0
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:View the historical alarm data of gpon port 1.
OLT(config)# show alarm history alarmparameter gpon 0/0/1
------------------------------------------------------------------------------------
AlarmId Time Level Instance Name
452
GPON OLT User Manual
------------------------------------------------------------------------------------
1000203 2001-05-31 01:59:27 Err PON 0/0/1 This tranceiver is not
adapted,The default type will be used
total number : 1
OLT(config)#
[Configuration case]
[Configuration case]
453
GPON OLT User Manual
20.2.1event eventlevel
Command
OLT(config)# event eventlevel eventid eventlevel
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Set event number 1100201 to level error.
OLT(config)# alarm alarmlevel 1100201 2
OLT(config)#
454
GPON OLT User Manual
Description This command is used to clear basic information about all events
[Configuration case]
This command is used to set how all events are output in the
command line terminal. When the status is enable, all events can be
Description
output in the command line. Otherwise the reverse is true. The
default value is disable.
[Configuration case]
OLT(config)#
[Configuration case]
455
GPON OLT User Manual
OLT(config)#
20.2.5event report
Command Syntax event report port-list ( enable | disable )
enable: On
enable | disable
disable: off
[Configuration case]
Command
show event list eventlevel eventlevel list
Syntax
Applicable
config view
Views
[Configuration case]
Case1:View event records with an error level.
OLT(config)# show event eventlevel 2 list
------------------------------------------------------------------------------------
EventId Output Level Def Level Name
113001 Yes Err Warning The ONT online
1100101 Yes Err Warning Pon drv connection succeeded
------------------------------------------------------------------------------------
456
GPON OLT User Manual
Command
show event history eventlevel eventlevel [detail]
Syntax
Applicable
config view
Views
[Configuration case]
Case1:View alarm history records with an error level.
OLT(config)# show event history eventlevel 2
------------------------------------------------------------------------------------
EventId Time Level Instance Name
------------------------------------------------------------------------------------
total number : 0
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:View historical event data for gpon port 1.
OLT(config)# show event history eventparameter gpon 0/0/1
------------------------------------------------------------------------------------
EventId Time Level Instance Name
457
GPON OLT User Manual
------------------------------------------------------------------------------------
1100201 2001-05-31 01:59:26 Warning PON 0/0/1 Sfp plugged
1100202 2001-05-31 01:59:19 Warning PON 0/0/1 Sfp unplugged
1100201 2001-05-31 01:58:07 Warning PON 0/0/1 Sfp plugged
total number : 3
OLT(config)#
Description This command is used to show historical information about the event
[Configuration case]
Description This command is used to show the basic information about the event
[Configuration case]
458
GPON OLT User Manual
459
GPON OLT User Manual
This command is used to configure the default access rule for iptable.
The default access rule is the rule with the lowest priority for iptable
access rules. If other access rules cannot match IP connection
Description
requests, the default access rule will match them. The default access
rules can be modified but not deleted, and other iptable rules can be
created, modified, and deleted.
When the default access rule for iptables is' allow ', it indicates that
the firewall defaults to all IP connections. By configuring the deny
permit
access rules of other iptables together, it can achieve blacklist
functionality.
[Configuration case]
Case1:Configure the default access rule for iptable to allow all IP connections.
OLT(config)# service default policy permit
OLT(config)#
460
GPON OLT User Manual
Description This command is used to show the default access rules for iptables.
[Configuration case]
This command is used to add, delete, modify, and check the access
rules of iptable. The access rules of iptable are used to configure
Description
whether to allow IP addresses within the IP range to pass through
the firewall.
add|insert|delete|m Add, delete, modify, and check firewall rules for specific device login
odify methods.
clear Clear all firewall rules for specific device login methods.
The rule number used to specify the specific device login method for
rule-id
firewall rules, with a range of 1-10. This number uniquely
461
GPON OLT User Manual
permit Allow IP addresses within the IP range to pass through the firewall
[Configuration case]
Case1:Add an access rule for telnet device login methods that allows IP addresses from
This command is used to show the firewall access rules for specific
Description
login methods.
[Configuration case]
462
GPON OLT User Manual
OLT(config)#
telnet|ssh|http|https
Device login method.
|snmp
service-port Configure the port number used for specific device login methods.
[Configuration case]
Case1:Enable SSH device login method and configure the UDP port number used for SSH device
[Configuration case]
----------------------------------------------------------------------------
SERVICE PORT DEFAULT PORT STATUS
telnet 23 23 enable
ssh 27 22 enable
463
GPON OLT User Manual
http 80 80 enable
https 443 443 enable
snmp 161 161 disable
----------------------------------------------------------------------------
21.3.3 telnet
Command Syntax telnet A.B.C.D {service-port}
Description This command is used to remotely log in to the device using telnet.
service-port Configure the port number used for specific device login methods.
[Configuration case]
464
GPON OLT User Manual
22 Lldp protocol
22.1.1lldp enable
Command lldp (enable| disable)
Syntax lldp port (ge | pon | xge) F/S PORTLIST (enable| disable)
Applicable
config view
Views
[Configuration case]
Case1:Enable LLDP globally.
OLT(config)# lldp enable
OLT(config)#
Case2:Disable LLDP on uplink port ge1
OLT(config)# lldp port ge 0/0 1 disable
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:Configure the function initialization delay time to 10S
OLT(config)# lldp timer reinit-delay 10
OLT(config)#
465
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:Configure the lldp message sending period to 10S
OLT(config)# lldp timer tx-interval 10
Applicable
config view
Views
[Configuration case]
Case1:Configure the minimum delay for sending LLDP packets to 5S.
OLT(config)# lldp timer tx-delay 5
OLT(config)#
22.1.5lldp notification-interval
Applicable
config view
Views
Description Configure the minimum delay time for LLDP to report alarms
466
GPON OLT User Manual
[Configuration case]
Case1:Configure the alarm delay time to 10S
OLT(config)# lldp timer notification-interval 10
OLT(config)#
22.1.6lldp hold-multipliter
Applicable
config view
Views
[Configuration case]
Case1:Configure the survival time coefficient to 2
OLT(config)# lldp hold-multipliter 2
OLT(config)#
22.1.7lldp fast-count
Applicable
config view
Views
Description Configure the number of LLDP packets that can be quickly sent
[Configuration case]
Case1:Configure the number of fast-sending messages to 5
OLT(config)# lldp fast-count 5
OLT(config)#
467
GPON OLT User Manual
Command lldp port (ge | pon | xge) F/S PORTLIST admin-status (disable
Syntax | txrx | tx | rx)
Applicable
config view
Views
Description Configure the port's working mode, the default is txrx mode
[Configuration case]
Case1:Configure the LLDP working mode of uplink port ge 1 to tx
OLT(config)# lldp port ge 0/0 1 admin-status tx
OLT(config)#
Command lldp port (ge | pon | xge) F/S PORTLIST notification (enable|
Syntax disable)
Applicable
config view
Views
Description Configure the LLDP alarm function of the port. Disabled by default
[Configuration case]
Case1:Configure the LLDP alarm function for the uplink port ge 1
OLT(config)# lldp port ge 0/0 1 notification enable
468
GPON OLT User Manual
OLT(config)#
lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
port- description | system-name | system-description |
system-capabilities |management-address)
Command
Syntax no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
port- description | system-name | system-description |
system-capabilities |management-address)
Applicable
config view
Views
port-
Description of the port.
description
system-descript
Description of the system.
ion
system-capabili The main functions of the system and the functions that have been
ties enabled.
management-a Management address, and the interface number and OID (Object
ddress Identifier) corresponding to the address.
[Configuration case]
Case1:Configure the uplink port ge 1 to publish all types of basic-tlv LLDP packets.
OLT(config)# lldp port ge 0/0 1 tlv-enable basic-tlv all
OLT(config)#
469
GPON OLT User Manual
lldp port (ge | pon | xge) F/S PORTLIST tlv-enable dolt1-tlv (all |
port-vlan-id | protocol-vlan-id | vlan-name)
Command no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all |
Syntax port-vlan-id | protocol-vlan-id | vlan-name)
Applicable
config view
Views
[Configuration case]
Case1:Configure the uplink port ge 1 to publish LLDP packets of dot1-tlv all types
OLT(config)# lldp port ge 0/0 1 tlv-enable dot1-tlv all
OLT(config)#
lldp port (ge | pon | xge) F/S PORTLIST tlv-enable dolt1-tlv (all |
Command mac-physic | power | link-aggregation | max-frame-size)
Syntax no lldp port (ge | pon | xge) F/S PORTLIST tlv-enable blasic-tlv (all
| mac-physic | power | link-aggregation | max-frame-size)
Applicable
config view
Views
470
GPON OLT User Manual
The speed and duplex status of the port, whether the port supports
mac-physic auto-negotiation, whether the auto-negotiation function is enabled,
and the current speed and duplex status.
Command
show lldp configuration
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Checking LLDP Configuration Information
OLT(config)# show lldp configuration
-------------------------------------------------------------------------------------
LLDP agent : Nearest-Bridge
Global status of LLDP : Enable
Fast count :3
Reinit delay :2
Hold multiplier :4
Transmit interval : 10
471
GPON OLT User Manual
Transmit delay :2
Notification interval :5
Command
show lldp tlv-config port (ge | pon | xge)F/S/P
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Check the LLDP tlv configuration information of the uplink port ge 2
OLT(config)# show lldp tlv-config port ge 0/0/2
-------------------------------------------------------------------------------------
LLDP tlv-config of ge0/0/2 :
472
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:View the device information
OLT(config)# show lldp local-info
-------------------------------------------------------------------------------------
Global LLDP local-information :
473
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:View all neighbor information of the device
OLT(config)# show lldp neighbor-info all
-------------------------------------------------------------------------------------
LLDP neighbor-information of ge0/0/2 :
Neighbor : 1
ChassisID/subtype : 00:0E:C6:38:65:B8 /MAC address
PortID/subtype : 00:0E:C6:38:65:B8 /MAC address
Capabilities : UnKnow
Expired time : 3601s
-------------------------------------------------------------------------------------
Case2:View the neighbor information of the uplink port ge 2
OLT(config)# show lldp neighbor-info port ge 0/0/2
-------------------------------------------------------------------------------------
ge0/0/2 has 1 neighbors
Neighbor index :1
Chassis ID type : MAC address
474
GPON OLT User Manual
Chassis ID : 00:0E:C6:38:65:B8
Port ID type : MAC address
Port ID : 00:0E:C6:38:65:B8
Port description :
System name :
System description :
System capabilities supported : UnKnow
System capabilities enabled : UnKnow
Management address type : Other
Management address :
Management address interface type :
Management address interface ID :0
Management address OID :0
Expired time : 3601s
475
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:Check the LLDP packet statistics of the device
OLT(config)# show lldp statistics
-------------------------------------------------------------------------------------
LLDP statistics global Information :
Number of neighbors :1
LLDP frames transmitted : 921
LLDP frames received : 18
LLDP frames discarded :0
LLDP error frames :0
LLDP TLVs discarded :0
LLDP TLVs unrecognized : 18
LLDP neighbor information aged out :0
-------------------------------------------------------------------------------------
OLT(config)#
476
GPON OLT User Manual
Applicable
config view
Views
[Configuration case]
Case1:Clear LLDP packet statistics of the device
OLT(config)# reset lldp neighbor-info
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:Clear LLDP packet statistics
OLT(config)# reset lldp statistics
OLT(config)#
477
GPON OLT User Manual
23 Qos
23.1 Dot1p Mapping profile
23.1.1dot1p-mapping-table
Applicable
config view
Views
[Configuration case]
Case1:Create a Dot1p mapping profile with Profile id 1.
OLT(config)# dot1p-mapping-table table-id 1
OLT(config-dot1p-mapping-table-1)#
23.1.2dot1p cos-queue
Command
dot1p <0-7> cos-queue <0-7>
Syntax
Applicable
dot1p-mapping-table view
Views
478
GPON OLT User Manual
[Configuration case]
Case1:Modify the configuration of the Dot1p mapping profile. The packets with dot1p priority 2
enter queue 3.
OLT(config-dot1p-mapping-table-2)# dot1p 2 cos-queue 3
23.1.3show dot1p-mapping-table
Applicable
config view
Views
[Configuration case]
Case1:Check the profile configuration of the Dot1p mapping profile with Profile id 0.
FD1604S-B0(config)# show dot1p-mapping-table table-id 0
---------------------------------------------------------------
Dot1p mapping table ID: 0
Dot1p mapping table name: default-dot1p-mapping-table
Binding times : 10
---------------------------------------------------------------
---------------------------------------------------------------
Priority Cos
---------------------------------------------------------------
0 0
1 1
2 2
3 3
4 4
5 5
6 6
7 7
---------------------------------------------------------------
479
GPON OLT User Manual
23.2.1dscp-mapping-table
Applicable
config view
Views
[Configuration case]
Case1:Create a DSCP mapping profile with Profile id 6.
OLT(config)# dscp-mapping-table table-id 6
OLT(config-dscp-mapping-table-6)#
23.2.2dscp cos-queue
Command
dscp<0-63> cos-queue <0-7>
Syntax
Applicable
dscp-mapping-table view
Views
[Configuration case]
Case1:Modify the packets with priority 36 of the DSCP mapping profile to enter queue
2.
OLT(config-dscp-mapping-table-6)# dscp 36 cos-queue 2
480
GPON OLT User Manual
23.2.3show dscp-mapping-table
Applicable
config view
Views
[Configuration case]
Case1:Check the profile configuration of the DSCP mapping profile with profile ID 0.
FD1604S-B0(config)# show dscp-mapping-table table-id 0
---------------------------------------------------------------
Dscp mapping table ID: 0
Dscp mapping table name: default-dscp-mapping-table
Binding times : 10
---------------------------------------------------------------
---------------------------------------------------------------
Priority Cos
---------------------------------------------------------------
0 0
1 0
2 0
3 0
4 0
5 0
6 0
7 0
8 1
9 1
10 1
11 1
12 1
13 1
14 1
15 1
16 2
17 2
481
GPON OLT User Manual
18 2
19 2
20 2
21 2
22 2
23 2
24 3
25 3
26 3
27 3
28 3
29 3
30 3
31 3
32 4
33 4
34 4
35 4
36 4
37 4
38 4
39 4
40 5
41 5
42 5
43 5
44 5
45 5
46 5
47 5
48 6
49 6
50 6
51 6
52 6
53 6
54 6
55 6
56 7
57 7
58 7
59 7
60 7
482
GPON OLT User Manual
61 7
62 7
63 7
---------------------------------------------------------------
FD1604S-B0(config)#
23.3.1qos-scheduler-profile
Applicable
config view
Views
483
GPON OLT User Manual
23.3.2queue-scheduler
Applicable
qos-scheduler-profile view
Views
<1-100> The weight value of the queue configuration, the value range is 1-100
[Configuration case]
Case1:Configure queue 2 to work in lpq mode.
OLT(config-qos-scheduler-profile-1)# queue-scheduler 2 lpq
Case2:Configure queue 3 to work in pq mode and set the maximum bandwidth to 1024 kbps.
OLT(config-qos-scheduler-profile-1)# queue-scheduler 3 pq bandwidth pir 1024
484
GPON OLT User Manual
23.3.3show qos-scheduler-profile
Applicable
qos-scheduler-profile view
Views
[Configuration case]
Case1:View the current profile configuration.
OLT(config)# show qos-scheduler-profile profile-id 1
---------------------------------------------------------------
Qos scheduler profile ID: 1
Qos scheduler profile name: qos-scheduler-profile_1
Binding times :0
-------------------------------------------------------------
Queue Id Mode Cir Pir Weight
0 LPQ 0 0 0
1 LPQ 0 0 0
2 LPQ 0 0 0
3 LPQ 0 0 0
4 LPQ 0 0 0
5 LPQ 0 0 0
6 WFQ 0 0 20
7 PQ 1000 10000 0
---------------------------------------------------------------
485
GPON OLT User Manual
Applicable
ge/xge/pon view
Views
[Configuration case]
Case1:Bind the dscp mapping profile with profile ID 3 to GE port 1.
OLT(config-ge-0/0)# qos-mapping port 1 to dscp-mapping-table table-id 3
Applicable
ge/xge/pon view
Views
486
GPON OLT User Manual
[Configuration case]
Case1:GE port 1 is bound to the dot1p mapping profile with profile id 3.
OLT(config-ge-0/0)# qos-mapping port 1 to dot1p-mapping-table table-id 3
23.4.3qos-remark dscp
Command
qos-remark port PORTID dscp remark (enable|disable)
Syntax
Applicable
ge/xge/pon view
Views
23.4.4qos-remark dot1p
Command
qos-remark port PORTID dot1p remark (enable|disable)
Syntax
Applicable
ge/xge/pon view
Views
487
GPON OLT User Manual
23.4.5port trust-mode
Command
port PORTID trust-mode (dot1p|dscp|both)
Syntax
Applicable
ge/xge/pon view
Views
Dot1p: When the trust mode is dot1p, the port in the incoming
direction of the message will map the dot1p priority of the message
to the corresponding internal priority according to the dot1p priority
mapping table bound to the port based on the dot1p priority carried
by the message, and enter the specified queue. If the message is a
message without vlan untag, the message will be mapped to the
internal priority of priority 0 according to the configuration in the
dot1p priority mapping table bound to the port, and enter the
specified queue.
Dscp: When the trust mode is dscp, the port in the incoming direction
(dot1p|dscp|bo of the message will map the dscp priority of the message to the
th) corresponding internal priority according to the dscp priority
mapping table bound to the port based on the dscp priority carried
by the message, and enter the specified queue.
Both: When the trust mode is both, if the dscp mapping profile bound
to the port is valid, the port in the incoming direction will map the
message according to the dscp priority carried by the message and
the dscp priority mapping table bound to the port; if the dscp
mapping profile bound to the port is 0 (invalid dscp mapping profile),
the message in the incoming direction will be mapped according to
the internal priority of the dot1p mapping profile bound to the port.
The port trusts dot1p priority by default.
[Configuration case]
Case1:Change the trust mode of GE1 port to both.
OLT(config-ge-0/0)# port 1 trust-mode both
Command
show port PORTID qos config
Syntax
488
GPON OLT User Manual
Applicable
ge/xge/pon view
Views
[Configuration case]
Case1:Check the QoS configuration of GE 1 port.
OLT(config-ge-0/0)# show port 1 qos config
---------------------------------------------------------------
Port : ge 0/0/1
Dot1p mapping table ID :3
Dscp mapping table ID :3
Port trust mode : Both
Dot1p remark switch : disable
Dscp remark switch : enable
Qos Profile ID :0
---------------------------------------------------------------
23.4.7port qos-scheduler-profile
Applicable
ge/xge/gpon view
Views
profile-name Qos scheduling profile name, the length supports 1-32 characters.
[Configuration case]
Case1:GE1 口绑定 Profile id 为 1 的队列 profile。
OLT(config-ge-0/0)# port 1 qos-scheduler-profile profile-id 1
489
GPON OLT User Manual
24 PPPoe
24.1.1show pppoe agent config
Command
show pppoe agent config
Syntax
[Configuration case]
490
GPON OLT User Manual
Command
pppoe agent (enable | disable)
Syntax
[Configuration case]
491
GPON OLT User Manual
Command
pppoe agent policy (drop|keep|replace)
Syntax
Applicable
config view
Views
Command
show pppoe agent format all
Syntax
[Configuration case]
Case1:View the circuit-id and remote-id format information of the global configuration
492
GPON OLT User Manual
Applicable
config view
Views
493
GPON OLT User Manual
default:vlan+slot+ponid+onuid
default | common |
common:vlan+slot+ponid
extend
extend:hostname-chassis-slot-ponid-gemid-onuid
[Configuration case]
Case1:The filling format of the configuration information field is vlan+slot+ponid
OLT(config)# pppoe agent format common
OLT(config)#
pppoe agent (trust | untrust) port (ge | xge | pon) F/S port-list
Command
Syntax
pppoe agent (trust | untrust) port lag PORTID
Applicable
config view
Views
Description This command is used to configure the PPPoE snooping trusted port.
The port list to be configured has a value range of 1-16 and a format
port-list
of 1,6-7,8.
494
GPON OLT User Manual
[Configuration case]
Case1:Configure uplink ge port 1-2 as a trusted port
OLT(config)# pppoe snooping trust port ge 0/0 1-2
Case2:Configure aggregation port 1 as a trusted port
OLT(config)#pppoe snooping trust port lag 1
25 MSTP
25.1.1stp (enable|disable)
Applicable
config view
Views
OLT(config)#
25.1.2stp mode
Command
OLT(config)# stp mode (mstp|rstp|stp)
Syntax
Applicable
config view
Views
495
GPON OLT User Manual
OLT(config)#
25.1.3stp priority
Command
OLT(config)# stp [ instance <instance-id> ] priority <prioritty-id>
Syntax
Applicable
config view
Views
instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.
[Configuration case]
Case1:Set the priority of the switching device in spanning tree protocol instance 5 to 4096.
OLT(config)# stp instance 5 priority 4096
OLT(config)#
Command
OLT(config)# stp timer forward-delay <time-value>
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Set the Forward-Delay time of the switching device to 19.
OLT(config)# stp timer forward-delay 19
OLT(config)#
496
GPON OLT User Manual
Command
OLT(config)# stp timer hello <time-value>
Syntax
Applicable
config view
Views
The specified switching device sends BPDU interval value, the value
time-value
range is 1-10
[Configuration case]
Case1:Configure the switching device to send BPDUs at an interval of 6 seconds.
OLT(config)# stp timer hello 6
OLT(config)#
Command
OLT(config)# stp timer max-age <time-value>
Syntax
Applicable
config view
Views
BPDU aging time value on the specified switch port, the value range is
time-value
6-40
[Configuration case]
Case1:Set the BPDU aging time on the switch port to 21.
OLT(config)# stp timer max-age 21
OLT(config)#
25.1.7stp max-hops
Command
OLT(config)# stp max-hops <hops-value>
Syntax
497
GPON OLT User Manual
Views
[Configuration case]
Case1:Set the maximum number of hops in the spanning tree in the MST region to 24.
OLT(config)# stp max-hops 24
OLT(config)#
25.1.8stp transmit-limit
Command
OLT(config)# stp transmit-limit <packet-number>
Syntax
Applicable
config view
Views
Specifies the maximum number of BPDUs sent per second. The value
packet-number
range is 1-10.
[Configuration case]
Case1:Set the maximum number of BPDUs that the device can send within the Hello time period to
5.
OLT(config)# stp transmit-limit 5
OLT(config)#
Command
OLT(config)# stp bpdu-protection (enable|disable)
Syntax
Applicable
config view
Views
498
GPON OLT User Manual
OLT(config)#
Command
OLT(config)# stp bpdu-filter (enable|disable)
Syntax
Applicable
config view
Views
enable: Enable the BPDU filter function on the edge port of the
device
enable|disable
disable: Disable the BPDU filter function on the edge port of the
device
[Configuration case]
Case1:Enable the BPDU filter function on the edge port of the device.
OLT(config)# stp bpdu-filter enable
OLT(config)#
499
GPON OLT User Manual
Command
OLT(config)# stp recovery interval <time-value>
Syntax
Applicable
config view
Views
Description This command is used to configure the error timeout recovery time.
time-value The specified error timeout recovery time ranges from 30 to 86400.
[Configuration case]
Case1The configuration error timeout recovery time is 40s.
OLT(config)# stp recovery interval 40
OLT(config)#
25.1.12stp region-configuration
Command
OLT(config)# stp region-configuration
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Enter the MST region view.
OLT(config)# stp region-configuration
OLT(stp-region)#
25.1.13stp pathcost-standard
Command
OLT(config)# stp pathcost-standard {dot1d|dot1t|legacy}
Syntax
Applicable
config view
Views
500
GPON OLT User Manual
Specifies that the path cost calculation method is the IEEE 802.1t
dot1t standard method. Use this parameter when you need to set the
device's network path calculation standard to IEEE 802.1t.
Specifies the Huawei calculation method for path cost values. Use this
legacy parameter when you need to set the device's network path
calculation standard to Huawei's proprietary algorithm.
[Configuration case]
Case1:Set the path cost calculation standard to Huawei's calculation method.
OLT(config)# stp pathcost-standard legacy
OLT(config)#
25.1.14region-name
Command
OLT(stp-region)# region-name <name>
Syntax
Applicable
mst view
Views
[Configuration case]
Case1:Set the MST domain name of the switching device to huawei.
OLT(stp-region)# region-name huawei
OLT(stp-region)#
25.1.15revision-level
Command
OLT(stp-region)# revision-level <level>
Syntax
Applicable
mst view
Views
501
GPON OLT User Manual
Specifies the MSTP revision level of the switching device. The value
level
range is 0-65535.
[Configuration case]
Case1:Set the MSTP revision level of the switching device to 65535.
OLT(stp-region)# revision-level 65535
OLT(stp-region)#
25.1.16instance vlan
Command
OLT(stp-region)# instance <instance-id> vlan <vlan-list>
Syntax
Applicable
mst view
Views
instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.
vlan-list VLAN ID, the value is 1-4094. The format can be 1, 11-27, 100
[Configuration case]
Case1:Map VLAN 1 to spanning tree instance 7.
OLT(stp-region)# instance 7 vlan 1
OLT(stp-region)#
Applicable
config view
Views
502
GPON OLT User Manual
instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.
cost-value Specifies the path cost of the port. The value range is 1-200000000
[Configuration case]
Case1:Set the port path cost of ge 0/0 1 on instance 3 to 2000.
OLT(config)# stp port ge 0/0 1 instance 3 cost 2000
OLT(config)#
Applicable
config view
Views
instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.
[Configuration case]
Case1:Set the priority of port ge 0/0 1 in instance 3 to 32.
OLT(config)# stp port ge 0/0 1 instance 3 port-priority 32
OLT(config)#
503
GPON OLT User Manual
Applicable
config view
Views
OLT(config)#
504
GPON OLT User Manual
Views
OLT(config)#
Applicable
config view
Views
505
GPON OLT User Manual
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:Perform the mCheck operation on port ge 0/0 1 to enable it to work in MSTP mode.
OLT(config)# stp port ge 0/0 1 mcheck
OLT(config)#
Applicable
config view
Views
506
GPON OLT User Manual
restricted port, it will not be selected as the root port of the CIST or
any MSTI, even if it has the best spanning tree priority vector. After
the root port is selected, such a port will be selected as a backup
port.
no stp port restricted-role is used to restore the port to the default
configuration. The role restricted mode is disabled by default.
[Configuration case]
Case1:Configure port ge 0/0 1 as a role-restricted port.
OLT(config)# stp port ge 0/0 1 restricted-role
OLT(config)#
Applicable
config view
Views
[Configuration case]
Case1:Configure port ge 0/0 1 as a TCN restricted port.
OLT(config)# stp port ge 0/0 1 restricted-tcn
OLT(config)#
507
GPON OLT User Manual
25.1.25show stp
Applicable
config view
Views
instance-id Specifies the spanning tree instance ID, which ranges from 0 to 7.
F/S/P Specifies the spanning tree instance ID, which ranges from 0 to 7.
[Configuration case]
Case1:Query detailed MSTP information.
OLT(config)# show stp
OLT(config)#
Command
OLT(config)# show stp region-configuration
Syntax
Applicable
config view
Views
[Configuration case]
Case1:Query the configuration information of the MSTP region.
OLT(config)# show stp region-configuration
Oper configuration
Region name :e067b3000002
Revision level :0
508
GPON OLT User Manual
OLT(config)#
509