GPON OLT (P1201 2.0) - User Manual - Command Line Operation Manual - V2.0 20220901
GPON OLT (P1201 2.0) - User Manual - Command Line Operation Manual - V2.0 20220901
GPON OLT (P1201 2.0) - User Manual - Command Line Operation Manual - V2.0 20220901
1U4P/1U8P/1U16P
---Command Line
Operation Manual
Version : V2.0
Content
1. READ INSTRUCTIONS ...................................................................................................................... 1
5.1. CHECK THE WORKING STATUS OF THE OLT COOLING FAN ........................................................................... 22
5.2. VIEW THE REAL-TIME OPERATING TEMPERATURE OF THE OLT .................................................................... 22
5.3. VIEW THE MEMORY USAGE OF THE OLT ................................................................................................ 23
5.4. TIME TO CONFIGURE THE OLT ............................................................................................................. 23
5.5. CHECK THE TIME OF THE OLT .............................................................................................................. 23
5.6. CONFIGURING TEMPERATURE THRESHOLDS FOR THE OLT SYSTEM.............................................................. 24
5.7. VIEW TEMPERATURE THRESHOLDS FOR OLT SYSTEMS ............................................................................... 24
5.8. VIEW THE START-UP TIME AND OPERATING HOURS OF THE OLT .................................................................. 25
5.9. CONFIGURING A NETWORK TIME (NTP) SERVER .................................................................................... 25
5.10. DELETE NETWORK TIME (NTP) SERVER .............................................................................................. 25
5.11. CONFIGURE THE MAXIMUM RECORDED VALUE OF PERFORMANCE STATISTICS ............................................... 26
5.12. VIEW SESSION INFORMATION FOR NETWORK TIME (NTP) SERVERS .......................................................... 26
5.13. CONFIGURE THE OLT SYSTEM TIME ZONE ............................................................................................ 27
5.14. VIEW THE CURRENT TIME ZONE OF THE OLT SYSTEM .............................................................................. 27
5.15. VIEW THE SPECIFIED MAC ADDRESS INFORMATION ................................................................................ 28
5.16. VIEW OLT STATIC MAC ADDRESS....................................................................................................... 28
5.17. VIEW OLT CPU USAGE .................................................................................................................... 29
5.18. VIEW OLT POWER STATUS ...................................................................................................... 30
5.19. VIEW THE HISTORY INFORMATION OF THE MOST RECENTLY ENTERED COMMANDS OF THE OLT
............................................................................................................................................................ 30
9. VLAN ............................................................................................................................................ 51
10. IPV4............................................................................................................................................ 62
11. IPV6............................................................................................................................................ 64
Format Significance
Bold Command keywords (the part that remains
unchanged in the command and must be typed
in) are represented in bold font
Italic Command-line arguments (the part of the
command that must be replaced by an actual
value) are in italics
[] Parts enclosed in [] are optional when used
(x|y|...) means to choose one of two or more options
[x|y|...] Indicates one or no choice from two or more
options
<x-y> means to choose one of the numbers from x to
y
$ Indicates that the next line is the comment
content
Format Significance
characters with angle brackets Indicates the key name. For example, <Enter>,
<Tab>, <Backspace>, <a>, <?>, etc. respectively
indicate carriage return, tab, backspace,
lowercase letter a, ?
<Key 1+Key 2> It means pressing several keys on the keyboard
at the same time. For example, <Ctrl+Alt+A>
means pressing the three keys "Ctrl", "Alt" and
"A" at the same time
<Key 1,Key 2> It means press the first key first, release it, and
then press the second key. For example, <Alt,
F> means press the <Alt> key first, release it
and then press the <F> key
Notation convention
This book also uses various striking signs to indicate the places that should be paid special
attention during the operation. The meanings of these signs are as follows:
Caution, Attention: Remind the matters that should be paid attention to in the
page 1_
operation. Improper operation may cause
WARNING: Special attention should be paid to the notes after this sign, and improper
operation may cause personal injury.
Instructions, hints, tips, thinking: Make necessary additions and explanations to the
description of the operation content.
Noun convention
OLT : Indicates the 1U4P/1U8P/1U16P system, including the uplink port connected to the switch
and other uplink devices, and the main switch processing module.
PON : Indicates the PON protocol processing module and the PON port connected to the ONT .
Precautions
command lines described in the documentation are all case- sensitive on the OLT.
If you encounter a command that cannot be entered or prompts an error, you can use the
question mark "?" to see what the format of the following command is.
Incomplete commands can be completed by pressing the "Tab" key.
1U4P/1U8P/1U16P are box OLTs with only one board, so the command to enter PON board
mode is interface gpon 0/0
page 2_
2.Command Line Interface View
View and view switching
Note: This command line environment is divided into multiple views including:
view view : hereinafter referred to as view view or user mode, enter the password after
power on,
Only the simplest commands can be executed in this mode. The view looks like: OLT >
enable view : hereinafter referred to as enable view or privileged mode, enter enable from
view mode
Command to enter, this mode has higher permissions than view . The view looks like: OLT#
config view : hereinafter referred to as config view or global configuration mode, from
enable
Mode input config to enter, the view looks like: OLT (config)#
ge interface view : hereinafter referred to as ge / gigabit interface view / mode, you can
enter interface ge 0/0 from the config view to enter: the view is such as: OLT( config
-interface-ge -0/0 )#
xge interface view : hereinafter referred to as xge / 10 Gigabit interface view / mode, you
can enter interface xge 0/0 from the config view to enter: the view is such as: OLT( config
-interface-xge -0/0 )#
gpon interface view : hereinafter referred to as gpon interface view / mode, you can enter
interface gpon 0/0 from the config view to enter: the view is such as: OLT( config- interface-
gpon -0/0 )#
vlanif Layer 3 interface view : You can enter interface vlanif vlanID from the config view to
enter: the view is such as: OLT( config -interface-vlanif- 1 ) #
Management interface MGMT view: You can enter interface mgmt from the config view to
enter: the view is such as: OLT( config - interface-mgmt)#
multicast-vlan view : You can enter multicast-vlan vlanid from the config view to enter:
The view is such as: OLT( config -multicast-vlan-100)#
link-aggregation view: you can enter interface link-aggregation from the config view to
enter: the view is such as: OLT(config-interface-aggregation)#
page 3_
2.1. Command line view overview
Console interface
(1U4PON&1U8PON&1U1
6PON bits per second:
115200) PuTTY
Data Pull:8 (telnet)
Parity:none
Stop bit:1
data flow control:none) Login
Username:
Password:
View interface
OLT>
enable
Enable interface
OLT#
config
Global configuration
mode OLT(config)#
page 4_
2.1.1.Enter Enable view
Command
OLT> enable
syntax
Function
Enter the enable view from the view view .
Description
【Configuration case】
Case: Enter the enable view from the view view:
OLT> enable
OLT#
Command
Command syntax
syntax
Function
Enter the config view from the enable view
Description
<FrameID/SlotI
Chassis ID/Slot ID, the fixed value is 0/0
D>
【Configuration case】
Case 1: Enter the vlanif 100 view from the config view:
OLT(config)# interface vlanif 100
page 5_
OLT(config-interface-vlanif-100)#
OLT(config-interface-ge-0/0)# exit
Case 3: Enter the epon interface view from the config view:
OLT(config)# interface epon 0/0
OLT(config-interface-epon-0/0)#
Command
OLT(config)# acl <acl ID>
syntax
Function
Enter the acl view from the config view .
Description
【Configuration case】
Case 1: Enter the basic acl view from the config view:
OLT(config)# acl 2000
ACL ID Create OK!
OLT(acl-basic-2000)#
OLT(acl-adv-3000)#
Case 3: Enter the link acl view from the config view:
OLT(config)# acl 5000
OLT(acl-link-5000)#
page 6_
Command
OLT(config)# multicast-vlan <multicast-vlan ID>
syntax
Function
Enter the multicast-vlan view from the config view .
Description
<multicast-vlan
Multicast vlan ID, the value range can be 1-4094
ID>
【Configuration case】
Case 1: Enter the multicast-vlan 100 view from the config view:
OLT(config)# multicast-vlan 100
OLT(config-multicast-vlan-100)#
Command
OLT(config)# exit
syntax
Function
Exit to the previous view from any view .
Description
【Configuration case】
Case 1: Exit from the config view to the enable view:
OLT(config)# exit
OLT#
3.Equipment upgrade
Function This command is used to upgrade the OLT software version. This
Description command can only be used under the root account .
page 7_
<ftp-server-ip> IP address of the FTP server
<user-password
Password set on the FTP server
>
【Configuration case】
Case 1: Upgrade the OLT application, the program file name is
New16Port_Image_V1.0.0_180530_1928.img, the ftp server IP address is 192.168.1.16, the ftp
user name is amdin, and the password is admin. After the OLT displays upgrade OK, restart 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.
File [ New16Port_Image_V1.0.0_180530_1928.img ] download .......... OK
File [ New16Port_Image_V1.0.0_180530_1928.img ] upgrade .......... OK
Command
OLT(config)# load packetfile tftp <tftp-server-ip><file-name>
syntax
Function This command is used to upgrade the OLT software version. This
Description command can only be used under the root account .
【Configuration case】
Case 1: Upgrade the OLT application, the file name is
New16Port_Image_V1.0.0_180530_1928.img, and the tftp server IP address is 192.168.1.16.
After the OLT displays upgrade OK, restart 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.
File [ New16Port_Image_V1.0.0_180530_1928.img ] download ..................... OK
File [ New16Port_Image_V1.0.0_180530_1928.img ] upgrade ............. OK
page 8_
3.2.O LT automatic upgrade
OLT(config)# load file to flash {ftp <ip-address> < ftp - user - name >
Command
< FTP - user - password > < FILE-NAME >} | { tftp <ip-address> <
syntax
FILE-NAME >}
Function This command is used to transfer the upgrade file of the OLT to the
Description OLT .
ftp Use the ftp protocol to transfer the ONT upgrade file to the OLT
<ip-address> The ip address of the ftp or tftp server, in the format XXXX
< FTP - user - The access user name of the ftp server, the value range is 1-32
name > characters
< FTP - user - The access password of the ftp server, the value range is 1-32
password > characters
OLT , the value range is 1-64 characters, and the extension of the OLT
< FILE-NAME >
upgrade file needs to be added
【Configuration case】
Case 1: Use tftp to transfer the upgrade file of OLT to OLT
OLT(config)# load file to flash tftp 192.168.5.155 V1.0.4_190307.img
Command
OLT(config)# show flash file
syntax
Function This command is used to view the OLT upgrade file uploaded to the
Description OLT
【Configuration case】
Case 1: View the uploaded OLT upgrade file
page 9_
OLT(config)# show flash file
-------------------------------------------------- --------------------------
file list:
File Name Size(B) Creation Time Attribute
-------------------------------------------------- --------------------------
V1.0.5_190701.img 20512256 2019/10/16 09:22:24 +0000 -rw
-------------------------------------------------- --------------------------
Files Total: 1
-------------------------------------------------- --------------------------
Command
OLT(config)# flash file delete < FILE-NAME >
syntax
Function This command is used to delete the OLT upgrade file uploaded to the
Description OLT
【Configuration case】
Case 1: Delete the uploaded OLT upgrade file
OLT(config)# flash file delete V1.0.5_190701.img
Delete V1.0.5_190701.img successfully!
Command
OLT(config)# olt autoupdate image < FILE-NAME > time < time >
syntax
Function This command is used to configure the OLT automatic upgrade file
Description and time
OLT , the value range is 1-64 characters, and the extension of the OLT
< FILE-NAME >
upgrade file needs to be added
【Configuration case】
Case 1: Configure OLT to automatically upgrade to version 1.0.4 at 7:00 pm on 2019-10-11
OLT(config)# olt autoupdate image V1.0.4_190307.img time 2019/10/11-19:00:00
page 10_
Command
OLT(config)# no olt autoupdate config
syntax
【Configuration case】
Case 1: Delete the OLT automatic upgrade configuration file
OLT(config)# no olt autoupdate config
Command
OLT(config)# show olt autoupdate config
syntax
【Configuration case】
Case 1: View the OLT automatic upgrade configuration file
OLT(config)# show olt autoupdate config
Configuration olt autoupdate switch : disable
Configuration olt autoupdate time : --
Configuration olt autoupdate image : --
Command
OLT(config)# olt autoupdate {enable|disable}
syntax
【Configuration case】
Case 1: Enable OLT automatic upgrade function
page 11_
OLT(config)# olt autoupdate enable
Command
OLT(config)# show version
syntax
【Configuration case】
Case 1: View device version information.
OLT(config)# show version
Hardware version : V3.0
Firmware version : V1.0.0 (Wed, 30 May 2018 19:25:46 +0800)
OLT(config)#
the OLT
Command
OLT(config)# show progress load
syntax
【Configuration case】
Case 1: Check the loading progress.
OLT(config)# show progress load
-------------------------------------------------- ---------------------------------------
Transmit Protocol : FTP
FTP Server : 0.0.0.0
FTP User Name :
FTP Password :
Transmit FileName :
Transmit Action : Unknown
page 12_
Transmit Status : Idle
Transmit Progress : 0%
-------------------------------------------------- ---------------------------------------
OLT(config)#
4.Device management
Command
OLT(config)# reboot
syntax
Function This command is used to restart the OLT. Only the root user group has
Description this permission.
【Configuration case】
Case 1: Restart the OLT.
OLT(config)# reboot
Please check whether data has saved,
the unsaved data will lose if reboot system.
Are you sure to reboot system? (y|n):
Function These two commands are used to restore the OLT to the factory, and
Description only the root user group has this permission.
【Configuration case】
Case 1: Initialize the OLT.
OLT(config)# erase saved-config
This command will clear the active board data that has been saved
Please remember to backup the system configuration data
Are you sure to continue? (y/n):
OLT(config)# reboot
page 13_
Please check whether data has saved,
the unsaved data will lose if reboot system.
Are you sure to reboot system? (y/n):
<ip-address-ma
Subnet mask. The format is XXXX
sk>
<length of
Subnet mask length, the value is 0-32
mask>
【Configuration case】
Case 1: Configure the IP address of the OLT's out-of-band management interface as
192.168.5.68 and the subnet mask length as 24.
OLT(config-interface-mgmt)# ip address 192.168.5.68 24
OLT(config-interface-mgmt)#
page 14_
IP address. IP addresses are divided into five categories. Users can
select the appropriate IP subnet according to the actual situation.
<ip-address>
When the host address part is all 0 or all 1, it has a special effect and
cannot be used as a general IP address.
<ip-address-ma
Subnet mask. The format is XXXX
sk>
<length of
Subnet mask length, the value is 0-32
mask>
【Configuration case】
Case 1: Configure the IP address of the vlanif virtual interface of the OLT as 192.168.100.1
and the subnet mask as 255.255.255.0.
OLT(config-interface-vlanif-100)# ip address 192.168.100.1 255.255.255.0
OLT(config-interface-vlanif-100)#
Command
OLT(config)# show interface mgmt
syntax
【Configuration case】
Case 1: View the IP address, MTU, and interface Mac address of the OLT's out-of-band
management interface.
OLT(config)# show interface mgmt
Description : Outband management interface
The Maximum Transmit Unit is 1500 bytes
Internet Address is 192.168.5.68, netmask 255.255.255.0
Hardware address is E0:67:B3:00:00:A1
Receive 1211697 packets, 110976849 bytes
Transmit 1010970 packets, 181111550 bytes
OLT(config)#
page 15_
Command
OLT(config)# show device
syntax
Function This command is used to query the model, mac address, SN, and
Description manufacturer name of the OLT.
【Configuration case】
Case 1: View the device information of the OLT.
OLT(config)# show device
-------------------------------------------------- ---------------------------------------
Device model : New16Port
Device MAC address : E0:67:B3:00:00:A1
Device serial-number : AF2101-160130001
Device vendor name : XPON
-------------------------------------------------- ---------------------------------------
Command
OLT(config)# exec-timeout <time>
syntax
【Configuration case】
Case 1: Configure the execution timeout to 36000 seconds.
OLT(config)# exec-timeout 36000
OLT(config)#
Command
OLT(config)# show exec-timeout
syntax
Function This command is used to view the user execution timeout time.
page 16_
Description
【Configuration case】
Case 1: View the user execution timeout.
OLT# show exec-timeout
Timeout: 36000s
OLT#
Command
OLT(config)# logout
syntax
Function
This command is used to exit the current system.
Description
【Configuration case】
Case 1: Exit the current system.
OLT# logout
>>User name:
Command
OLT(config)# end
syntax
Function This command is used to exit directly to the view view from other
Description views other than the vlew view.
【Configuration case】
Case 1: Exit from the config view to the view view.
OLT(config)# end
OLT>
page 17_
syntax
Function This command is used to configure the IP address of the DNS server
Description of the OLT.
【Configuration case】
Case 1: The IP address of the DNS server of the OLT is 192.168.5.1.
OLT(config)# dns server 192.168.5.1
OLT(config)#
Command
OLT(config)# no dns server <ip-addr>
syntax
Function This command is used to delete the system domain name server. No
Description parameter is used to delete the preferred and alternate DNS servers.
【Configuration case】
Case 1: Delete the DNS server with the OLT IP address 192.168.5.1.
OLT(config)#no dns server 192.168.5.1
OLT(config)#
Command
OLT(config)# show dns server
syntax
Function This command is used to view the IP address of the DNS server of the
Description OLT.
【Configuration case】
Case 1: View the IP address of the OLT's DNS server.
OLT(config)# show dns server
page 18_
IPv4 DNS Servers :
Domain-server IpAddress
1 192.168.5.1
OLT(config)
Command
OLT(config)# show license
syntax
Function This command is used to view the license file information in the
Description current system
【Configuration case】
Case 1: View the license file of the OLT
OLT(config)# show license
License : 254a18babd1df261f949026af31ed4bc2af3c4e8dcb98c962283cb8f8d512bbd
Max pon port : 8
Effective pon port : 8
Time limit : Unlimited
OLT(config)#
page 19_
4.16.file deletion
Command
OLT(config)# sysname <name>
syntax
Function This command is used to configure the name of the OLT displayed on
Description the command line of the OLT.
<name> The network name of the OLT, which supports 1-16 characters.
【Configuration case】
Case 1: Configure the network name of the OLT as test.
OLT(config)# sysname test
test(config)#
Command
OLT(config)# ping <DESTINATION>| < ip >
syntax
Function
between the device and the target host
Description
page 20_
categories. Users can choose the appropriate IP subnet according to
the actual situation. When the host address part is all 0 or all 1, it has
a special effect and cannot be used as a general IP address. The
format is xxxx.
【Configuration case】
target IP address 192.168.5.50 on the OLT
OLT(config)# ping 192.168.5.50
PING 192.168.5.50 (192.168.5.50): 56 data bytes
64 bytes from 192.168.5.50: seq=0 ttl=64 time=0.449 ms
64 bytes from 192.168.5.50: seq=1 ttl=64 time=0.379 ms
64 bytes from 192.168.5.50: seq=2 ttl=64 time=0.365 ms
64 bytes from 192.168.5.50: seq=3 ttl=64 time=0.612 ms
OLT(config)#
Command
OLT(config)# traceroute < DESTINATION >
syntax
Function Through traceroute, you can know what path the information takes
Description from the computer to the host on the other end of the Internet.
【Configuration case】
Traceroute target IP address 192.168.5.50 on OLT
OLT(config)# traceroute 192.168.5.50
traceroute to 192.168.5.50 (192.168.5.50), 30 hops max, 38 byte packets
1 192.168.5.50 0.954 ms 0.473 ms 0.189 ms
OLT(config)#
page 21_
5.Condition monitoring
Command
OLT(config)# show fan
syntax
Function This command is used to view the working status of the cooling fan of
Description the OLT.
【Configuration case】
Case 1: Check the working status of the cooling fan of the OLT.
OLT# show fan
-------------------------------------------------- ---------------------------------------
FAN[1] status: Normal (6660RPM)
FAN[2] status: Normal (6660RPM)
FAN[3] status: Normal (6720RPM)
FAN[4] status: Normal (6780RPM)
-------------------------------------------------- ---------------------------------------
OLT#
Command
OLT(config)# show temperature
syntax
【Configuration case】
Case 1: View the real-time operating temperature of the OLT.
OLT# show temperature
The temperature of the board: 45.0(C)
OLT#
page 22_
5.3.View the memory usage of the OLT
Command
OLT(config)# show memory
syntax
Function
This command is used to view the memory usage of the OLT.
Description
【Configuration case】
Case 1: Check the memory usage of the OLT.
OLT# show memory
-------------------------------------------------- ---------------------------------------
Total memory: 1012MB
Free memory: 745MB
Utilization: 27%
-------------------------------------------------- ---------------------------------------
OLT#
Command
OLT(config)# time <time>
syntax
Function
This command is used to configure the time of the OLT.
Description
【Configuration case】
Case 1: Time to configure OLT.
OLT(config)# time 2018/06/22-15:35:59
OLT(config)#
Command
OLT(config)# show time
syntax
page 23_
Function
This command is used to view the time of the OLT.
Description
【Configuration case】
Case 1: Check the time of OLT.
OLT(config)# show time
2018-06-22 15:36:18 +00:00
OLT(config)#
Command
OLT(config)# temperature threshold high-temperature value
syntax
Case 1: Configure the maximum temperature threshold of the OLT system to be 40°C.
OLT(config)# temperature threshold high-temperature 40
OLT(config)#
Command
OLT(config)# show temperature threshold
syntax
Function This command is used to view the temperature threshold of the OLT
Description system.
【Configuration case】
page 24_
OLT(config)#
Command
OLT(config)# show uptime
syntax
Function This command is used to view the startup time and running time of
Description the OLT.
【Configuration case】
Case 1: Check the startup time and running working time of the OLT.
OLT# show uptime
System up time : 0 day 17 hour 29 minute 47 second
System boot time : Thu Sep 7 17:20:33 2017
OLT#
Function This command is used to configure the network time NTP server of
Description the OLT.
<ip-addr> The IP address of the network time server, in the format of XXXX
【Configuration case】
Case 1: Configure the OLT NTP server address as 202.120.2.101
OLT(config)# ntp-service unicast-service 202.120.2.101
OLT(config)#
page 25_
Applicable view config view
Function This command is used to delete the network time NTP server of the
Description OLT.
<ip-addr> The IP address of the network time server, in the format of XXXX
【Configuration case】
Case 1: Delete the OLT NTP server address as 202.120.2.101
OLT(config)# no ntp-service unicast-service 202.120.2.101
OLT(config)#
statistics
Function This command is used to configure the maximum record value of OLT
Description performance statistics.
Case 1: The maximum statistic value of the performance statistic function configured with a
time interval of 24 hours is 6 .
OLT(config)# statistics max-record 24hour 6
OLT(config)#
Command
OLT(config)# show ntp-service session
syntax
page 26_
Function This command is used to view the session information of the network
Description time NTP server of the OLT.
【Configuration case】
Case 1: View the session information of the OLT NTP server
OLT(config)# show ntp-service session
clock source: 202.120.2.101
clock stratum: 0
clock status: configured
reference clock ID: 0.0.0.0
reach: 0
current poll: 64 secs
now: 0
offset: +0.000000ms
delay: 0.000000
disper: 0.000000
OLT(config)#
Command
OLT(config)# timezone gmt+/gmt- <timezone>
syntax
Set the system time zone to be the east time zone or the west time
zone. "GMT+" indicates the Eastern Time Zone, that is, the local time
Function
is faster than Greenwich Mean Time, and "GMT-" indicates the
Description
Western Time Zone, that is, the local time is slower than Greenwich
Mean Time.
Time zone time, the format is hh:mm, the maximum value of the east
<timezone> time zone is 18:00, and the maximum value of the west time zone is
18:00.
【Configuration case】
Case 1: Configuring the OLT system time zone
OLT(config)# timezone gmt+ 08:00
OLT(config)#
page 27_
Command
OLT(config)# show timezone
syntax
Function This command is used to view the current time zone of the OLT
Description system.
【Configuration case】
Case 1: View the current time zone of the OLT system
OLT(config)# show timezone
The current time zone: GMT+08:00
OLT(config)#
Command
OLT(config)# show location <mac-addr>
syntax
Function This command is used to view information about the local mac
Description address of the OLT.
【Configuration case】
Case 1: View the information of the OLT local mac address E0:56:43:A9:B4:1A
OLT(config)# show location E0:56:43:A9:B4:1A
-------------------------------------------------- ---------------------------------------
Total: 2
-------------------------------------------------- ---------------------------------------
MAC VLAN Port MAC-Type
-------------------------------------------------- ---------------------------------------
E0:56:43:A9:B4:1A 100 cpu static
E0:56:43:A9:B4:1A 200 cpu static
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show mac-address static [(include|exclude) STRING]
syntax
page 28_
Applicable view config view
Function
static MAC addresses learned by the OLT .
Description
【Configuration case】
static mac addresses learned by the OLT .
OLT(config)# show mac-address static
-------------------------------------------------- ---------------------------------------
Total: 5
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
E0:67:B3:00:00:05 300 - cpu - - static
E0:67:B3:00:00:05 400 - cpu - - static
E0:B7:63:00:00:46 1 - cpu - - static
E0:67:B3:00:00:05 500 - cpu - - static
E0:67:B3:12:EB:F6 100 - ge0/0/1 - - static
-------------------------------------------------- ---------------------------------------
Command
OLT(config)# show cpu
syntax
Function
This command is used to view the usage of OLT CPU.
Description
【Configuration case】
Case 1: View OLT CPU usage
OLT(config)# show cpu
-------------------------------------------------- ---------------------------------------
Utilization: 54%
Load Average(1min) : 8.11
Load Average(5min) : 8.38
Load Average(15min) : 8.39
-------------------------------------------------- ---------------------------------------
page 29_
OLT(config)#
Command
OLT(config)# show power state
syntax
Function
This command is used to view the power status of the OLT device
Description
【Configuration case】
Case 1: View OLT Power Status
OLT(config)# show power state
-------------------------------------------------- ---------------------------------------
Slot-ID WorkStatus
-------------------------------------------------- ---------------------------------------
1 not working
2 working
Command
OLT(config)# show history
syntax
【Configuration case】
Case 1: View the historical information of the most recent OLT input commands
OLT(config)# show history
enable
config
exec-timeout 36000
exit
show dns server
show cpu
OLT(config)#
page 30_
6.Configuration management
Function
Back up the OLT configuration
Description
<server-ip-addr
ftp server ip address
ess>
<user-password
ftp user password
>
【Configuration case】
Case 1: Backup the configuration file of the device, the configuration file name is config, the
backup file type is gz, the ftp server IP address is 192.168.1.16, the ftp user name is amdin, and
the password is admin.
OLT(config)# backup configuration format gz ftp 192.168.1.16 admin admin config
Start backup configuration files
The backup is successful
OLT(config)#
page 31_
Description
<server-ip-addr
tftp server ip address
ess>
【Configuration case】
Case 1: The configuration file of the backup device, the configuration file name is config, the
backup file type is gz, and the IP address of the tftp server is 192.168.5.202.
OLT# backup configuration format gz tftp 192.168.5.202 config
Start backup configuration files
The backup is successful
OLT#
Function
Restoring the OLT configuration
Description
<server-ip-addr
ftp server ip address
ess>
<user-password
ftp user password
>
【Configuration case】
Case 1: Download the configuration file of the device, the configuration file name is config ,
the backup file format is gz , the ftp server IP address is 192.168.1.16, the ftp user name is amdin,
page 32_
and the password is admin.
OLT(config)# load configuration format gz ftp 192.168.1.16 admin admin config
The new configuration file will overwrite the old one
Are you sure to load new configuration file? (y/n):y
Start loading configuration
The loading is successful!
Function
Back up the configuration file of the OLT
Description
<server-ip-addr
tftp server ip address
ess>
【Configuration case】
Case 1: Download the configuration file of the device, the name of the configuration file is
config, the format of the backup file is gz, and the IP address of the tftp server is 192.168.1.16.
OLT(config)# load configuration format gz tftp 192.168.1.16 config
The new configuration file will overwrite the old one
Are you sure to load new configuration file? (y|n):y
Start loading configuration
The loading is successful!
OLT(config)#
page 33_
alarm or configuration or log . Save to this computer
enable/disable enable: Enable the automatic periodic backup alarm function
disable: Disable the automatic periodic backup alarm function
{ alarm | Alarm: alarm
configuration | log } Configuration: configuration
Log: log
【Configuration case】
Case 1: Enable automatic periodic backup alarm function
OLT(config)# auto-backup period alarm enable
page 34_
log } Configuration: Set the automatic backup configuration information to the
server with the specified ip address
Log: Set up automatic backup log information to the server with the
specified ip address
【Configuration case】
Case 1: Set up automatic backup alarm information to the server with the specified ip
address 193.168.5.163
Command
OLT(config)# show current-config
syntax
【Configuration case】
Case 1: View the current real-time configuration file of the OLT
OLT(config)# show current-config
Current configuration:
!
spanning-tree enable
spanning-tree timer max-age 6
spanning-tree timer forward-delay 30
spanning-tree timer hello 1
spanning-tree priority 4096
!
interface ge 0|0
spanning-tree edged-port 1 enable
spanning-tree priority 1 16
spanning-tree cost 1 1600
spanning-tree mcheck 1 enable
exit
page 35_
Command
OLT(config)# save
syntax
Function This command is used to save the configuration file of the current
Description device.
【Configuration case】
Case 1: Save the current real-time configuration file of the OLT
OLT(config)# save
The percentage of saved data is: 0%
The percentage of saved data is: 4%
The percentage of saved data is: 9%
The percentage of saved data is: 13%
The percentage of saved data is: 18%
The percentage of saved data is: 22%
The percentage of saved data is: 27%
The percentage of saved data is: 31%
The percentage of saved data is: 36%
The percentage of saved data is: 40%
The percentage of saved data is: 45%
The percentage of saved data is: 68%
The percentage of saved data is: 81%
The percentage of saved data is: 95%
The percentage of saved data is: 100%
OLT(config)#
Command
OLT(config)# erase saved-config
syntax
【Configuration case】
Case 1: Delete the configuration save file
OLT# erase saved-config
This command will clear the active board data that has been saved
please rememb
er to backup the system configuration data
page 36_
Are you sure to continue? (y | n)[n]: y
Command
OLT(config)# show saved-config
syntax
Function
This command is used to view the OLT configuration save file.
Description
【Configuration case】
Case 1: View the OLT configuration save file
OLT(config)# show saved-config
#Saving user: root
#Saving time: 2017-03-20 19:00:02+0800
spanning-tree enable
spanning-tree timer max-age 6
spanning-tree timer forward-delay 30
spanning-tree timer hello 1
spanning-tree priority 4096
interface ge 0|0
spanning-tree edged-port 1 enable
spanning-tree priority 1 16
spanning-tree cost 1 1600
spanning-tree mcheck 1 enable
exit
page 37_
OLT(config)# autosave interval on
page 38_
Function This command is used to configure the autosave feature
Description
HH:MM HH:MM: refers to the time of automatic saving, in hours and minutes
【Configuration case】
Case 1 : Set the auto save time to 13:35
OLT(config)# autosave time configuration 13:35
7.User Management
This command is used to add a new user, a new user password, and
the groups to which the new user belongs are root, admin, and guest.
root: The user has all permissions on the device.
Function admin: The user has configuration and view permissions, but does
Description not have the permissions to restart, upgrade, save configuration,
and view users.
guest: The user has the functions of viewing configuration and
backup.
<user-password
Set username and password
>
admin|guest| The permissions to which the new user belongs, including root,
root admin, and guest
【Configuration case】
Case 1: Create a new admin user, the user name is test, and the password is test
OLT(config)# user add test test admin
OLT(config)#
7.2.delete users
Command
OLT(config)# user delete <name>
syntax
page 39_
Applicable view config view
Function This command is used to delete the created user. Note that the root
Description user cannot be deleted .
【Configuration case】
Case 1: Delete the user whose username is test.
OLT(config)# user delete test
OLT(config)#
Command
OLT(config)# user [ <user-name> ] password <user-password>
syntax
<user-password
password to change
>
【Configuration case】
Case 1: Change the password of user 111 to 123456
olt(config)# user 111 password ******
olt(config)#
Command
OLT(config)# show user
syntax
Function
This command is used to query all created users of the device.
Description
【Configuration case】
page 40_
Case 1: View all created users of OLT
OLT(config)# show user
-------------------------------------------------- ---------------------------------------
User Group
-------------------------------------------------- --------------------------
root root
yao guest
test admin
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show client
syntax
Function
This command is used to check information about user login.
Description
【Configuration case】
Case 1: View OLT logged in user information
OLT(config)# show client
ID Access-Type User-Name IP-Address Login-Time
-------------------------------------------------- --------------------------
>32 Telnet root 192.168.5.67 03:52:47
46 Telnet root 192.168.5.20 00:07:45
OLT(config)#
Command
OLT(config)# client kick-off <client-id>
syntax
Function
This command is used to force a telnet logged in user offline.
Description
【Configuration case】
page 41_
Case 1: Forcibly kick 44 logged-in users offline
OLT# client kick-off 44
The user has been kicked off successfully
OLT#
8.SNMP configuration
Command
OLT(config)# service snmp {enable|disable }
syntax
The OLT can be managed by EMS only if the function of the SNMP
Function
agent is enabled. After disabling this function, the OLT cannot be
Description
managed by EMS.
【Configuration case】
Command
OLT(config)# show snmp-agent status
syntax
Function
This command is used to view the status of the snmp function.
Description
【Configuration case】
Case 1: View the status of the OLT snmp function
OLT(config)# show snmp-agent status
Snmp agent status: Enable
OLT(config)#
page 42_
Command
OLT(config)# snmp-agent community read <community-name>
syntax
Function This command is used to configure the name of the snmp read
Description community.
【Configuration case】
Case 1: Configure the read community of the snmp agent as public
OLT(config)# snmp-agent community read public
Command
OLT(config)# show snmp-agent community read
syntax
Function This command is used to view the information of the snmp read
Description community.
【Configuration case】
Case 1: View the read community information of OLT snmp
OLT(config)# show snmp-agent community read
-------------------------------------------------- ---------------------------------------
Community-Name VACM-Name View-Name
-------------------------------------------------- --------------------------
public default all
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# snmp-agent community write <community-name>
syntax
Function This command is used to configure the name of the snmp write
page 43_
Description community.
<community-na Write the name of the community, 1-32 characters are supported.
me> Usually set to private
【Configuration case】
Case 1: Configure the write community of the snmp agent as private
OLT(config)# snmp-agent community write private
OLT(config)#
Command
OLT(config)# show snmp-agent community write
syntax
Function This command is used to view the information of the snmp write
Description community.
【Configuration case】
Case 1: View the write community information of OLT snmp
OLT(config)# show snmp-agent community write
-------------------------------------------------- ---------------------------------------
Community-Name VACM-Name View-Name
-------------------------------------------------- --------------------------
private default all
-------------------------------------------------- ---------------------------------------
OLT(config)#
Mode-Based Groups
page 44_
notify-view Specifies the notification view corresponding to this group name.
【Configuration case】
Case 1: Configure a security mode-based group with authentication for the snmp agent. The
group name is test, which corresponds to all notification views.
OLT(config)# snmp-agent group v3 test authentication notify-view all
OLT(config)#
Function This command is used to configure the security mode based group of
Description snmp agent without authentication.
【Configuration case】
Case 1: Configure a security mode-based group without authentication for the snmp agent.
The group name is test, which corresponds to all read views.
OLT(config)# snmp-agent group v3 test noauth read-view all
page 45_
OLT(config)#
【Configuration case】
Case 1: Configure a security mode-based group hidden by the snmp agent. The group name
is test, which corresponds to all read-write views.
OLT(config)# snmp-agent group v3 test privacy write-view all
OLT(config)#
Command
OLT(config)# snmp-agent sys-info description <description>
syntax
【Configuration case】
Case 1: Configure the description information of the snmp agent system as test
page 46_
OLT(config)# snmp-agent sys-info description test
OLT(config)#
Command
OLT(config)# snmp-agent sys-info location <location>
syntax
【Configuration case】
Case 1: Configure the location information of the snmp proxy system as test1
OLT(config)# snmp-agent sys-info location test1
OLT(config)#
Command
OLT(config)# snmp-agent sys-info contact <contact>
syntax
【Configuration case】
Case 1: Configure the contact information of the snmp proxy system as test2
OLT(config)# snmp-agent sys-info contact test2
OLT(config)#
Command
OLT(config)# snmp-agent sys-info name <name>
syntax
page 47_
Applicable view config view
【Configuration case】
Case 1: Configure the name information of the snmp agent system as test3
OLT(config)# snmp-agent sys-info name test3
OLT(config)#
Command
OLT(config)# show snmp-agent sys-info
syntax
Function This command is used to view the information of the snmp proxy
Description system.
【Configuration case】
Case 1: View the information of the OLT snmp agent system
OLT(config)# show snmp-agent sys-info
The name of this managed node:
test3
OLT(config)#
page 48_
Applicable view config view
Function This command is used to configure the IP address of the snmp agent
Description to receive alarms.
<port> The port number for receiving alarms, the value range is 1-65535
<community-na
Community name, supports 1-32 characters
me>
【Configuration case】
Case 1: Configure the snmp alarm receiving address as 192.168.5.185, the host name as test,
the port number as 563, and the community as public
OLT(config)# snmp-agent trap test 192.168.5.185 563 public
OLT(config)#
Command
OLT(config)# show snmp-agent trap
syntax
Function This command is used to view the information about the receiving
Description address of the snmp agent alarm.
【Configuration case】
Case 1: View the information about the receiving address of the OLT snmp agent alarm.
OLT(config)# show snmp-agent trap
-------------------------------------------------- ---------------------------------------
Index Host-Name IP-Address Port Community-Name
-------------------------------------------------- --------------------------
1 test 192.168.5.185 563 public
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 49_
OLT(config)# snmp-agent usm-user v3 <user-name> <group-id>
Command
authentication-mode md5 <md5-password> privacy-mode des56
syntax
<des56-password>
This command is used to configure the snmp proxy entity access user
mapping to the security group, and set the authentication mode and
Function
password. The authentication mode is an optional parameter. Note:
Description
Before this, you need to create a snmp-agent based security mode
group.
<md5-password
User authentication password, password length is 8-64 characters
>
<des56-passwor
56-bit DES encrypted password, password length is 8-64 characters
d>
【Configuration case】
Case 1: Configure the snmp-agent entity access group as test1, map the group test based on
the security mode, the authentication mode is md5 and the password is 12345678 and the
authentication mode is des56, and the password is 111111111.
OLT(config)# snmp-agent usm-user v3 test1 test authentication-mode md5 12345678
privacy-mode des56 111111111
OLT(config)#
Command
OLT(config)# show snmp-agent usm-user [ <user> ]
syntax
Function This command is used to view the access user information of the
Description snmp proxy entity.
【Configuration case】
page 50_
Case 1: View all entity access user information of the OLT snmp agent.
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
Total number : 2
OLT(config)#
Case 2: View the information about the entity access user test of the OLT snmp agent.
OLT(config)# show snmp-agent usm-user test
User name : test
Group name : test
Authentication mode : md5
Authentication key: 12345678
Privacy mode : des56
Privacy key: 12345678
9.VLAN
9.1.1.Create VLAN
Command
OLT(config)# vlan < vlan -list > _
syntax
Function
This command is used to create single or bulk VLANs.
Description
page 51_
【Configuration case】
Case 1: Create vlan 100.
OLT(config)# vlan 100
Create vlan successfully: 100
OLT(config)#
OLT(config)#
9.1.2.delete VLAN
Command
OLT(config)# no vlan < vlan - list >
syntax
Function
This command is used to delete a single or bulk VLAN.
Description
【Configuration case】
Case 1: Delete vlan 100.
OLT(config)# no vlan 100
Delete vlan successfully: 100
OLT(config)#
OLT(config)#
Command
OLT(config)# vlan - name < vlan -list > <vlan-name>
syntax
page 52_
Function
This command is used to configure the name of the vlan .
Description
<vlan- name > The name of the Vlan, the length is 1-17
【Configuration case】
Case 1: Configure the name of vlan 100 as test.
OLT(config)# vlan-name 100 test
OLT(config)#
OLT(config)#
Command
OLT(config)# no vlan-name <vlan-list>
syntax
Function
This command is used to clear the name of the vlan .
Description
<vlan-list> Clear the vlan id of the vlan name , the value can be 1- 4094
【Configuration case】
Case 1: Clear the name of vlan 100.
OLT(config)# no vlan-name 100
OLT(config)#
OLT(config)#
Command
OLT(config)# show vlan {<vlan-ID>|<all>}
syntax
page 53_
Applicable view config view
Function
This command is used to view the information of vlan.
Description
<vlan- ID > View the vlan id of the vlan information, the value can be 1-4094
【Configuration case】
Case 1: View the information of vlan 100.
OLT(config)# show vlan 100
-------------------------------------------------- ---------------------------------------
Vlan-ID: 100 Vlan-Name: vlan100
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 54_
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
Vlan-ID: 103 Vlan-Name: vlan103
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
Vlan-ID: 104 Vlan-Name: vlan104
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
Vlan-ID: 105 Vlan-Name: vlan105
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
Vlan-ID: 200 Vlan-Name: vlan200
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
Vlan-ID: 304 Vlan-Name: vlan304
Untagged-Ports: -
Tagged-Ports: -
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show vlan translate all
syntax
Function
Use this command to view vlan conversion list information.
Description
【Configuration case】
Case 1: View the VLAN translation list information.
OLT(config)# show vlan translate all
Error: There is no vlan translate entry!
OLT(config)#
9.2.VLAN policy
page 55_
9.2.1.VLAN based on MAC address
Command
OLT(config)# mac-vlan <mac-address> <vlan-id> <priority>
syntax
This command is used to add mac-vlan. When the packet entering the
Function OLT does not carry a tag, if the destination address is the same as the
Description configured mac address, the packet will be tagged with the
corresponding vlan and priority.
【Configuration case】
Case 1: Create a mac-vlan, where the mac address is 13:20:12:08:97:23, the vlan is 100, and
the priority is 0
OLT(config)# mac-vlan 13:20:12:08:97:23 100 0
OLT(config)#
Command
OLT(config)# show mac-vlan all
syntax
Function
This command is used to view all mac-vlan entries.
Description
【Configuration case】
Case 1: View all mac-vlan entries
OLT(config)# show mac-vlan all
-------------------------------------------------- ---------------------------------------
index mac-address vlan priority
1 13:20:12:08:97:23 100 0
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 56_
9.2.3.Delete MAC-VLAN entry
Command
OLT(config)# no mac-vlan {<mac-address> | <all>}
syntax
Function
This command is used to remove the mac-vlan entry
Description
【Configuration case】
Case 1: Delete the mac-vlan entry with the mac address 13:20:12:08:97:23
OLT(config)# no mac-vlan 13:20:12:08:97:23
OLT(config)#
OLT(config)#
<priority> priority.
【Configuration case】
page 57_
Case 1: Create ip-subnet-vlan, where the IP address is 192.168.5.34, the subnet mask length
is 24, the vlan is 100, and the priority is 0
OLT(config)# ip-subnet-vlan 192.168.5.34 24 100 0
OLT(config)#
Command
OLT(config)# show ip-subnet-vlan all
syntax
Function
This command is used to view all ip-subnet-vlan entries.
Description
【Configuration case】
Case 1: View all ip-subnet-vlan entries
OLT(config)# show ip-subnet-vlan all
-------------------------------------------------- ---------------------------------------
ip-address netmask vlan priority
192.168.5.0 255.255.255.0 100 0
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# no ip-subnet-vlan <ip-addr> {<length-mask>|<mask>}
syntax
Function
This command is used to delete the ip-subnet-vlan entry
Description
【Configuration case】
Case 1: Delete the IP-Subnet-VLAN entry with IP address 192.168.5.34 and subnet mask
length 24
OLT(config)# no ip-subnet-vlan 192.168.5.34 24
page 58_
OLT(config)#
<protocol-index
protocol-vlan index, the value range is 1-16
>
<ethertype id> Ethernet type number, the value range and format are 0x0001-0xffff.
【Configuration case】
Case 1: Create an index 1, the mode is Ethernet protocol, bind the GE1 port to index 1, and
add it to vlan100.
OLT(config)# protocol-vlan 1 mode ethernetii etype 0x8100
page 59_
OLT(config-interface-ge-0/0)# protocol-vlan 1 add port 1 100
OLT(config-interface-ge-0/0)#
Command
OLT(config)# show protocol-vlan all
syntax
Function
This command is used to view all protocol-vlan entries.
Description
【Configuration case】
Case 1: View all protocol-vlan entries.
OLT(config)# show protocol-vlan all
-------------------------------------------------- ---------------------------------------
index frame ethtype port vlan id
1 ethii unknow (0x8100)
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# no protocol-vlan <protocol-index>
syntax
Function
This command is used to delete a protocol-vlan entry.
Description
【Configuration case】
Case 1: Delete the protocol-vlan entry with protocol index 1.
OLT(config)# no protocol-vlan 1
OLT(config)#
page 60_
9.4.VLAN-based service user-bridge configuration
Command
OLT( config )# vlan VLAN-LIST user-bridge (enable|disable)
syntax
enable Enable
disable de-enable
【Configuration case】
Case 1: Configure the onu under the pon port in vlan100 to communicate with each other
OLT(config)# vlan 100 user-bridge enable
Set vlan user-bridge successfully:
100
OLT(config)#
enable Enable
disable de-enable
page 61_
【Configuration case】
OLT(config-interface-gpon-0/0)#
10.IPv4
【Configuration case】
Case 1: Create VLAN interface 2 .
OLT (config) # interface vlan-interface 2
OLT(config-interface-vlanif-2)#
page 62_
【Configuration case】
Case 1: Configure the description information of the VLAN interface .
OLT(config)# interface vlan-interface 2
OLT(config-interface-vlanif-2)# description vlanif2_to_floor2
Subnet mask length, that is, the number of consecutive "1"s in the
ip-mlen
mask, ranging from 0 to 32
【Configuration case】
Case 1: Configure the interface IP and mask length .
OLT(config)# interface vlan-interface 2
OLT(config-interface-vlanif-2)# ip address 10.11.2.47 16
Command
OLT(config)# show interface vlanif [vlan-id]
syntax
page 63_
vlan-id VLAN interface id, the value range is 1-4094
【Configuration case】
Case 1: Display all VLAN interface information .
OLT(config)# show interface vlanif 100
OLT(config)#
11.IPv6
11.1.IPv6 configuration
Command
OLT( config-interface-vlanif-100 )# ipv6 {enable|disable}
syntax
page 64_
【Configuration case】
Case 1: Enable IPv6 on interface vlanif 100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ipv6 enable
Use the ipv6 address command to configure the IPv6 address on the
specified interface.
Function Use the no ipv6 address command to delete the IPv6 address on the
Description specified interface.
no ipv6 address all is used to delete all IPv6 addresses under the
specified interface.
The format is X:X::X:X The total length is 128 bits, usually divided into
ipv6-address 8 groups, each group is in the form of 4 hexadecimal numbers (for
example: 3ffe::123:3)
Specifies the prefix length of the IPv6 address. The prefix length of
prefix-length the loopback interface is 128, and the prefix length of the vlanif
interface is 1~(128-2)
【Configuration case】
Case 1: Configure the IPv6 address of interface vlanif100 as 3ffe::123:1/48 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ipv6 enable
OLT(config-interface-vlanif-100)# ipv6 address 3ffe::123:1/48
page 65_
loopback port, and network management port
The format is X:X::X:X The total length is 128 bits, usually divided into
ipv6-address 8 groups, each group is in the form of 4 hexadecimal numbers (eg:
3ffe::123:3), the prefix must match FE80: :/10.
【Configuration case】
Case 1: Configure the link-local address fe80::345:1 of interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ipv6 enable
OLT(config-interface-vlanif-100)# ipv6 address fe80::345:1 link-local
Command
OLT( config )# show ipv6 interface brief
syntax
Function This command is used to view brief information of all IPv6 related
Description interfaces.
【Configuration case】
Case 1: View brief information about all current IPv6-related interfaces in the config view .
OLT(config)# show ipv6 interface brief
Interface IPv6 Address/Prefixlen Status Protocol Description
page 66_
-------------------------------------------------- --------------------------------
Mgmt0/0 fe80::e267:b3ff:fe00:152/64 UP UP --
InLoop0 ::1/128 UP UP --
Vlanif100 2001::1:1/64 DOWN DOWN --
Vlanif200 456::1:1/48 DOWN DOWN --
Vlanif500 Unassigned DOWN DOWN --
11.2.NDP configuration
Use the ndp static command to configure static NDP entries in the
NDP mapping table.
Use the no ndp static ipv6-addr command to delete the static NDP
entry of the specified IPv6 address.
Use the no ndp static all command to delete all static NDP entries.
have to be aware of is:
The static NDP entry is always valid during the normal working
hours of the device. When the VLAN interface corresponding to the
NDP entry of a device is deleted or the IPv6 address is modified, the
Function corresponding static NDP entry will be deleted.
Description The parameter vlan-id is used to specify the VLAN corresponding
to the NDP entry. The vlan-id must be the ID of the VLAN that has
been created by the 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.
When the parameters vlan-id and ipv6-address are specified, the
IPv6 address of the VLAN interface corresponding to the parameter
vlan-id must belong to the same network segment as the IPv6
address specified by the parameter ipv6-address (it is sufficient to
match any ipv6 address).
mac-addr The MAC address part of the NDP entry, in the format H:H:H:H:H:H
VLAN to which the static NDP entry belongs. The value ranges from 1
vlan-id
to 4094.
page 67_
port-type Port type, including gpon|ge|lag|xge type
【Configuration case】
Case 1: Configure the IPv6 address as 2001::1:5, the corresponding MAC address is
12:34:45:56:67:78, and the port ge 0/0/2 belongs to VLAN 100 .
OLT(config)# ndp static 2001::1:5 12:34:45:56:67:78 vid 100 port ge 0/0/2
OLT(config)#
Use the reset ndpdynamic all command to clear all dynamic ndp.
The reset ndpdynamic ipv6 ipv6-address command can be used to
clear the dynamic ndp of the specified IPv6 address.
Function
reset ndpdynamic port port-type F/S/P is used to clear the dynamic
Description
ndp on the specified port.
reset ndpdynamic vlanif vlan-id is used to clear the dynamic ndp on
the specified vlanif.
VLAN to which the static NDP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: Clear all dynamic ndp .
OLT(config)# reset ndp dynamic all
OLT(config)#
page 68_
Command OLT( config )# show ndp { all | dynamic | static}
syntax OLT( config )# show ndp vlanif vlan-id
The show ndp all command line is used to display all ndp entries.
The show ndp dynamic command line is used to display all dynamic
ndp entries.
Function
The show ndp static command line is used to display all static ndp
Description
entries.
The show arp vlanif vlan-id command line is used to display the ndp
entry of the specified vlanif.
VLAN to which the static NDP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: View all ndp entries on the device .
OLT(config)# show ndp all
OLT(config)#
Use the ndp age-time command to configure the NDP aging time.
Function
Use the no ndp age-time command to restore the default aging time
Description
of NDP.
page 69_
The default aging time is 600 seconds (10 minutes).
【Configuration case】
Case 1: Configure the ndp aging time to 10 minutes .
OLT(config)# ndp aging-time 600
OLT(config)#
Command
OLT( debug )# show ndp history
syntax
Function
This command is used to view the history information of NDP
Description
【Configuration case】
Case 1: View ndp history information .
OLT(debug)# show ndp history
11.3.IPv6 routing
11.3.1.Ping command
page 70_
Command
OLT( config )# ping DESTINATION
syntax
Function The ping command is used to test the network reachability between
Description the device and the target host.
【Configuration case】
Case 1: Ping the target IPv6 address 2001::1:6/64 .
OLT(config)# ping 2001::1:6
PING 2001::1:6 (2001::1:6): 56 data bytes
64 bytes from 2001::1:6: seq=0 ttl=64 time=9.072 ms
64 bytes from 2001::1:6: seq=1 ttl=64 time=1.258 ms
64 bytes from 2001::1:6: seq=2 ttl=64 time=1.262 ms
64 bytes from 2001::1:6: seq=3 ttl=64 time=1.357 ms
prefixlen The prefix length of the IPv6 address, in dotted decimal format
nexthop Specifies the IPv6 address of the next hop of the route
Specifies the priority of the static route. The value ranges from 1 to
preference
255. The default value is 10.
【Configuration case】
Case 1: Configure a static route, the destination address is 2001::1:6/64, and the next hop is
page 71_
3ffe::123:3 .
OLT(config)# ipv6 route 2001::1:5/64 3ffe::123:3
OLT(config)#
Command
OLT( config )# show ipv6 route [verbose]
syntax
【Configuration case】
Case 1: Display summary information of currently active routes in the routing table .
OLT(config)# show ipv6 route
Routing Table : Public
Route Flags: R - relay, D - download to fib
Destination/Prefixlen Proto Pre Cost Flags NextHop Interface
-------------------------------------------------- -------------------------------------------------- --
::1/128 direct 0 0 D ::1 InLoop0
456::/48 direct 0 0 D 456::1:1 Vlanif200
456::1:1/128 direct 0 0 D ::1 Vlanif200
2001::/64 static 63 0 3ffe::123:1 Vlanif100
2001::/64 static 10 0 3ffe::123:1 Vlanif100
2001::/64 direct 0 0 D 2001::1:1 Vlanif100
2001::1:1/128 direct 0 0 D ::1 Vlanif100
3ffe::/48 direct 0 0 D 3ffe::123:1 Vlanif100
3ffe::123:1/128 direct 0 0 D ::1 Vlanif100
page 72_
fe80::/10 direct 0 0 D ::
OLT(config)#
Command OLT( config )# show ipv6 route protocol l < protocol > [ verbose ]
syntax
protocol Specify the protocol type, including direct, ospf6, ripng, static, bgp
【Configuration case】
Case 1: Display summary information of all directly connected routes .
OLT(config)# show ipv6 route protocol direct
Route Flags: R - relay, D - download to fib
Destination/Prefixlen Proto Pre Cost Flags NextHop Interface
-------------------------------------------------- -------------------------------------------------- --
::1/128 direct 0 0 D ::1 InLoop0
300::/64 direct 0 0 D 300::1 Vlanif300
300::1/128 direct 0 0 D ::1 Vlanif300
400::/64 direct 0 0 D 400::1 Vlanif600
400::1/128 direct 0 0 D ::1 Vlanif600
fe80::/10 direct 0 0 D ::
OLT(config)#
12.ARP configuration
page 73_
OLT(config)# reset arp dynamic vlanif vlan-id
Use the reset arp dynamic all command to clear all dynamic arps.
The reset arp dynamic ip ip-address command can be used to clear
the dynamic arp of the specified IP address.
Function
reset arp dynamic port port-type port-num is used to clear the
Description
dynamic arp on the specified port.
reset arp dynamic vlanif vlan-id is used to clear the dynamic arp on
the specified vlanif.
VLAN to which the static ARP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: Clear all dynamic arps .
OLT(config)# reset arp dynamic all
OLT(config)#
Use the arp static command to configure static ARP entries in the ARP
mapping table. Use the no arp static ip-addr command to delete
static ARP entries of the specified IP address. Use the no arp static all
command to delete all static ARP entries.
have to be aware of is:
Function
The static ARP entry is always valid during the normal working
Description
hours of the device. When the VLAN interface corresponding to the
ARP entry of a device is deleted or the IP address is changed, the
corresponding static ARP entry will be deleted.
The parameter vlan-id is used to specify the VLAN corresponding
to the ARP entry. The vlan-id must be the ID of the VLAN that has
page 74_
been created by the 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.
When the parameters vlan-id and ip-address are specified, the IP
address of the VLAN interface corresponding to the parameter vlan-id
must belong to the same network segment as the IP address specified
by the parameter ip-address.
mac-addr The MAC address part of the ARP entry, the format is H:H:H:H:H:H
VLAN to which the static ARP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: Configure the IP address as 10.11.100.199 and the corresponding MAC address as
01:02:03:04:05:06, which belongs to the port ge 0/0/2 of VLAN 2 .
OLT(config)# arp static 10.11.100.199 01:02:03:04:05:06 vid 2 port ge 0/0/2
The show arp all command line is used to display all arp entries.
The show arp dynamic command line is used to display all dynamic
arp entries.
Function
The show arp static command line is used to display all static arp
Description
entries.
The show arp vlanif vlan-id command line is used to display the arp
entries of the specified vlanif.
VLAN to which the static ARP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: View all arp entries on the device .
OLT(config)# show arp all
arp entry max num: 2048
page 75_
arp entry current: 2
IP address Mac address VLAN F/S/P Type AgeTime
101.0.0.3 E0:67:B3:00:00:02 300 ge0/0/1 Dynamic 569
101.0.0.6 E0:67:B3:00:00:09 300 ge0/0/1 Static --
Use the arp age time set command to configure the ARP aging time.
Use the no arp age time set command to restore the default ARP
Function
aging time. The default aging time is 600 seconds (10 minutes).
Description
Description of change: Old command line arp age time set <value>
vlanif <vlanid>.
VLAN to which the static ARP entry belongs. The value ranges from 1
vlan-id
to 4094.
【Configuration case】
Case 1: Configure the arp aging time to 10 minutes .
OLT(config)# arp age time set 600
OLT(config)#
Command
OLT(config)# show arp age time
syntax
Function
This command is used to check the aging time of ARP.
Description
【Configuration case】
Case 1: View the aging time of the configured arp .
OLT(config)# show arp age time
arp aging time: 600 s
OLT(config)#
page 76_
Command
OLT(config)# arp mac address change check {enable | disable}
syntax
【Configuration case】
Case 1: Enable the device ARP MAC address change check function .
OLT(config)# arp mac address change check enable
OLT(config)#
Command
OLT(config)# arp quick-update {enable | disable}
syntax
【Configuration case】
Case 1: Enable the fast update function of device ARP .
OLT(config)# arp quick-update enable
OLT(config)#
page 77_
syntax
【Configuration case】
Case 1: Enable the gratuitous ARP learning function of the device .
OLT(config)# arp gratuitous arp learning enable
OLT(config)#
Command
OLT(config)# arp gratuitous arp send {enable | disable}
syntax
【Configuration case】
Case 1: Enable the free ARP periodic sending function of the device .
OLT(config)# arp gratuitous arp send enable
OLT(config)#
Function Use the arp max num set command to configure the limit of ARP
Description entries on the specified Vlanif. Use the no arp max num set command
page 78_
to cancel the ARP entry limit on the specified vlanif.
There is no limit to the number of ARP learning on the default Vlanif
interface.
【Configuration case】
Case 1: Configure the limit number of ARP entries on the specified vlanif2 to be 100 .
OLT(config)# arp max num set 100 vlanif 2
OLT(config)#
Command
OLT(config)# show arp config
syntax
【Configuration case】
Case 1: View the configuration information of arp .
OLT(config)# show arp config
OLT(config)#
page 79_
syntax OLT(config)# arp inner-sub-vlan-proxy {enable | disable} vlanif
vlan-id
【Configuration case】
Case 1: Configure the ARP proxy function in the VLAN on the specified Vlanif2 .
OLT(config)# arp inner-sub-vlan-proxy enable vlanif 2
OLT(config)#
The show arp proxy state vlanif vlan-id command can be used to view
Function the ARP proxy function on the specified Vlanif.
Description The show arp proxy state vlanif all command can be used to view the
ARP proxy functions on all Vlanifs on the device.
【Configuration case】
Case 1: View the intra-VLAN and inter-VLAN proxy ARP functions of all Vlanifs on the device .
OLT(config)# show arp proxy state vlanif all
vlanif1 arp_proxy: disable inner_sub_vlan_arp_proxy: disable
vlanif2 arp_proxy: disable inner_sub_vlan_arp_proxy: enable
page 80_
vlanif3 arp_proxy: disable inner_sub_vlan_arp_proxy: disable
OLT(config)#
Command
OLT(config)# arp detect {enable|disable}
syntax
【Configuration case】
Case 1: Enable the ARP detection function .
OLT(config) # arp detect enable
OLT(config) #
Command
OLT(config)# arp detect trust port port-type F/S P
syntax
【Configuration case】
Case 1: Configure port ge 0/0 1 as a trusted port for ARP inspection .
OLT(config) # arp detect trust port ge 0/0 1
OLT(config) #
page 81_
Command
OLT(config)# no arp detect trust port port-type F/S P
syntax
Function This command is used to cancel the trusted port of ARP detection. It
Description can be used only after the ARP detection function is enabled.
【Configuration case】
Case 1: Cancel port ge 0/0 1 as a trusted port for ARP detection .
OLT(config) # no arp detect trust port ge 0/0 1
OLT(config) #
Command
OLT(config)# arp detect statistics {enable|disable}
syntax
【Configuration case】
Case 1: Enable ARP inspection statistics .
OLT(config) # arp detect statistics enable
OLT(config) #
Command
OLT(config)# show arp detect config
syntax
page 82_
【Configuration case】
Case 1: Query the configuration of the ARP inspection function .
OLT(config)# show arp detect config
-------------------------------------------------- ---------------------------------------
Switch arp detect status: enable
-------------------------------------------------- ---------------------------------------
PORT ARP Trusted
-------------------------------------------------- ---------------------------------------
ge0/0/1 No
ge0/0/2 No
ge0/0/3 No
ge0/0/4 No
xge0/0/1 No
xge0/0/2 No
pon0/0/1 No
pon0/0/2 No
pon0/0/3 No
pon0/0/4 No
pon0/0/5 No
pon0/0/6 No
pon0/0/7 No
pon0/0/8 No
-------------------------------------------------- ---------------------------------------
Command OLT(config)# show arp detect statistics { brief | all | port port-type F/S
syntax P}
【Configuration case】
page 83_
Case 1: Query the ARP inspection statistics of port ge 0/0 1 .
OLT(config)# show arp detect statistics port ge 0/0 1
-------------------------------------------------- ---------------------------------------
ge0/0/1 Drop packets: 5
Total: 1
-------------------------------------------------- ---------------------------------------
Command
OLT(config)# clear arp detect statistics { all | port port-type F/S P }
syntax
【Configuration case】
Case 1: Clear all ARP inspection statistics .
OLT(config) # clear arp detect statistics all
OLT(config) #
Command
OLT(config-interface-ge-0/0)# shutdown <port-list>
syntax
page 84_
Applicable view GE View
Function
This command is used to disable the specified GE uplink port.
Description
【Configuration case】
Case 1: Disable the GE1, GE2, and GE3 uplink ports of the OLT.
OLT(config-interface-ge-0/0)# shutdown 1-3
OLT(config-interface-ge-0/0)#
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# no shutdown <port-list>
syntax
Function
This command is used to enable the specified GE uplink port.
Description
【Configuration case】
Case 1: The GE1, GE2, and GE3 uplink ports of the OLT are enabled.
OLT(config-interface-ge-0/0)# no shutdown 1-3
OLT(config-interface-ge-0/0)#
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# port-name <port-ID> <name>
syntax
page 85_
Applicable view GE View
Function
This command is used to name the port for user management.
Description
【Configuration case】
Case 1: Name the GE1 port as test.
OLT(config-interface-ge-0/0)# port-name 1 test
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# no port-name <port-ID>
syntax
Function
This command is used to restore the port name to the default value.
Description
【Configuration case】
Case 1: Restore the name of the GE1 port to the default value.
OLT(config-interface-ge-0/0)# no port-name 1
OLT(config-interface-ge-0/0)#
electrical port
Command
OLT(config-interface-ge-0/0)# auto-neg <port-list> {enable|disable}
syntax
page 86_
the maximum port rate can reach 1000M. In the case of disabling, the
speed and working mode of the port are the default values of the
system or the manually set values (that is, the mandatory mode).
【Configuration case】
Case 1: Enable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)#auto-neg 1 enable
OLT(config-interface-ge-0/0)#
Case 2: Disable the auto-negotiation function of the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)#auto-neg 5 disable
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# duplex <port-list> {full|half}
syntax
【Configuration case】
Case 1: Configure the GE1 uplink port of the OLT to be in half-duplex mode.
OLT(config-interface-ge-0/0)# duplex 1 half
OLT(config-interface-ge-0/0)#
page 87_
13.1.7.Configure the speed of the uplink electrical port
Command
OLT(config-interface-ge-0/0)# speed <port-list> {10|100}
syntax
Function This command is used to set the speed of the Ethernet port, so that
Description the port works at the set speed.
10: 10Mbs
10|100 100: 100Mbs
Among them, 1000Mbs only supports auto-negotiation mode.
【Configuration case】
Case 1: Configure the GE1 uplink port of the OLT to have a rate of 100Mbs.
OLT(config-interface-ge -0/0 )# speed 5 100
OLT(config-interface-ge -0/0 )#
uplink port
Function The Frame-max command is used to set the maximum frame length
Description for port transmission. The system default value is 1518.
<frame-max-val
Value range: 328~12288.
ue>
【Configuration case】
Case 1: Configure the frame-max of the GE1 port to 1600.
OLT(config-interface-ge-0/0)# frame-max 1 1600
OLT(config-interface-ge-0/0)#
page 88_
13.1.9.Restore the default value of the maximum frame length for
Command
OLT(config-interface-ge -0/0 )# no frame-max <port-list>
syntax
【Configuration case】
Case 1: Restore the maximum transmission frame length of the GE1 port to the default value
of 1518.
OLT(config-interface-ge-0/0)#no frame-max 1
OLT(config-interface-ge-0/0)#
Function This command is used to enable or disable the Ethernet port flow
Description control function .
【Configuration case】
Case 1: Enable the flow control function of the GE1 port of the OLT.
OLT(config-interface-ge -0/0 )# flow-control 1 enable
OLT(config-interface-ge -0/0 )#
uplink port
page 89_
Command OLT(config-interface-ge -0/0 )# mac-address learning port <port-
syntax list > {enable|disable}
Function This command is used to enable or disable the Mac address learning
Description function of the GE uplink port.
<port-list> Port list to be configured, the value range is 1-4, the format is 1, 2-3, 4
【Configuration case】
Case 1: Enable the Mac address learning function of the GE1 port.
OLT(config-interface-ge-0/0)# mac-address learning port 1 enable
OLT(config-interface-ge-0/0)#
all|egress|ingre all: The mirroring source port sends and receives bidirectional
page 90_
ss packets. Completely copy and output the packets received and sent
by the mirroring source port to the mirroring destination port.
egress: The packets sent by the mirroring source port. Completely
copy and output the packets sent by the mirroring source port to the
mirroring destination port.
ingress: Received packets of the mirroring source port. Completely
copy and output the packets received by the mirroring source port to
the mirroring destination port.
【Configuration case】
Case 1: Mirror the outbound and inbound packets of the GE3 port to the GE1 port.
OLT(config-interface-ge-0/0)# mirror src-port 3 dst-port ge 0/0/1 all
OLT(config-interface-ge-0/0)#
port
Command
OLT(config-interface-ge -0/0 )# no mirror src-port <src-port-id>
syntax
【Configuration case】
Case 1: Remove the configuration of the GE3 port mirroring function.
OLT(config-interface-ge-0/0)# no mirror src-port 3
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge -0/0 )# show mirror
syntax
page 91_
Description mirroring function of the Ethernet port.
【Configuration case】
Case 1: View the configuration information of the OLT port mirroring function.
OLT(config-interface-ge-0/0)#show mirror
-------------------------------------------------- ---------------------------------------
Destination port:ge0/0/3
OLT(config-interface-ge-0/0)#
Statistics
page 92_
10:rx-1024to1518octets: Received packets with a frame length of
1024-1518 bytes
13:rx-oversizes: Packets with too long messages when receiving
20:rx-discards: Packets discarded when receiving
23:tx-octets: bytes of the sent message
24:tx-frames: frames sent
25:tx-bcasts: broadcast packets sent
26:tx-mcasts: multicast packets sent
27: tx-64octets: packets with a frame length of 64 bytes sent
28:tx-65to127octets: packets with a frame length of 65-127 bytes
sent
29:tx-128to255octets: packets with a frame length of 128-255 bytes
sent
30:tx-256to511octets: packets with a frame length of 256-511 bytes
sent
31:tx-512to1023octets: packets with a frame length of 512-1023
bytes sent
32:tx-1024to1518octets: packets with a frame length of 1024-1518
bytes sent
35: tx-oversizes: Packets that are too long when sent
42: tx-discards: Packets discarded when sent
<upper-threshol
Upper threshold, the range is 0-4294967295
d>
<lower-threshol
Lower threshold, the range is 0-4294967295
d>
【Configuration case】
Case 1: The upper limit and lower limit of the number of frames received by statistics on the
GE1 port are 50000 and 500.
OLT(config-interface-ge-0/0)# statistics port 1 threshold 35 50000 500
OLT(config-interface-ge-0/0)#
page 93_
Description configuration information of the GE uplink port.
【Configuration case】
Case 1: View the performance statistics threshold configuration information of the GE1 port.
OLT(config-interface-ge-0/0)# show statistics port 1 threshold
TX oversize frames : upper: 50000 lower: 500
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge -0/0 )# reset statistics port <port-ID>
syntax
【Configuration case】
Case 1: Clear the performance statistics of the GE1 port.
OLT(config-interface-ge-0/0)# reset statistics port 1
OLT(config-interface-ge-0/0)#
page 94_
【Configuration case】
Case 1: Enable the 15-minute performance statistics function of the GE1 port.
OLT(config-interface-ge-0/0)# statistics port 1 15min enable
OLT(config-interface-ge-0/0)#
【Configuration case】
Case 1: Enable the 24-hour performance statistics function of the GE1 port.
OLT(config-interface-ge-0/0)# statistics port 1 24hour enable
OLT(config-interface-ge-0/0)#
uplink port
【Configuration case】
Case 1: View the performance statistics of the GE1 port for the current 15 minutes.
OLT(config-interface-ge-0/0)# show statistics port 1 current-15min
page 95_
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-04 16:39:56+08:00
Total elapsed seconds in this interval : 237
-------------------------------------------------- ---------------------------------------
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0|0)#
port
page 96_
Function This command is used to view the current 24-hour performance
Description statistics of GE uplink ports.
【Configuration case】
Case 1: View the current 24-hour performance statistics of the GE1 port.
OLT(config-interface-ge-0/0)# show statistics port 1 current-24hour
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-04 16:39:56+08:00
Total elapsed seconds in this interval : 371
-------------------------------------------------- ---------------------------------------
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
page 97_
13.5.8.View the performance statistics of the uplink port in the past
15 minutes
The number of intervals, ranging from 1 to 96. That is, when it is set
<interval-numb
to 2, it is to view the performance statistics of the past 30 minutes,
er>
and when it is set to 3, it is 45 minutes, and so on.
【Configuration case】
Case 1: View the performance statistics of the GE1 port in the past 15 minutes.
OLT(config-interface-ge-0/0)# show statistics port 1 historic-15min 1
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-04 16:39:56+08:00
Interval number of historical 15 minutes : 1
The data for this interval is valid
Total monitored seconds in the historic interval : 900
-------------------------------------------------- ---------------------------------------
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
page 98_
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
24 hours
【Configuration case】
Case 1: View the performance statistics of the GE1 port in the past 24 hours.
OLT(config-interface-ge-0/0)# show statistics port 5 historic-24hour 1
The data for this interval is invalid!
OLT(config-interface-ge-0/0)#
Uplink Port
page 99_
Command OLT(config-interface-ge -0/0 )# traffic-suppress <port-ID> broadcast
syntax {enable|disable} pps <value>
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
【Configuration case】
Case 1: Enable the broadcast storm suppression function of the GE1 port and set the pulse
per second value to 14000 pps.
OLT(config-interface-ge-0/0)# traffic-suppress 1 broadcast enable pps 14000
OLT(config-interface-ge-0/0)#
Ports
page 100_
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
【Configuration case】
Case 1: Enable the unknown multicast storm suppression function on the GE1 port and set
the pulse per second value to 14000 pps.
OLT(config-interface-ge-0/0)# traffic-suppress 1 unknown-multicast enable pps 14000
OLT(config-interface-ge-0/0)#
Ports
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
【Configuration case】
Case 1: Enable the unknown unicast storm suppression function of the GE1 port and set the
pulse per second value to 14000 pps.
OLT(config-interface-ge-0/0)# traffic-suppress 1 non-unicast enable pps 14000
OLT(config-interface-ge-0/0)#
page 101_
uplink port
Function This command is used to configure a rate limit value for a port to limit
Description the rate in the downstream or upstream direction of the port.
Rate, the value range is 64-10240000, the unit is Kbps. Ports are not
<rate>
rate-limited by default.
【Configuration case】
Case 1: The downlink rate of the GE1 port is limited to 102400 Kpbs.
OLT(config-interface-ge-0/0)# port-rate 1 egress 102400
OLT(config-interface-ge-0/0)#
uplink port
【Configuration case】
Case 1: Remove the downlink speed limit function of the GE1 port.
OLT(config-interface-ge-0/0)# no port-rate 1 egress
OLT(config-interface-ge-0/0)#
page 102_
13.7.3.Configure the bandwidth of the uplink and downlink rate
Function This command is used to configure the bandwidth of the rate limiting
Description function in the downstream or upstream direction of the port .
【Configuration case】
Case 1: Configure the upstream rate bandwidth of the GE1 port to be 10 % of the interface
bandwidth .
OLT(config-interface-ge-0/0)# port-rate 1 ingress bandwidth 10
OLT(config-interface-ge-0/0)#
page 103_
ingress: upstream direction
【Configuration case】
Case 1: Configure the burst size of the upstream direction of the GE1 port to 100Kbps .
OLT(config-interface-ge-0/0)# port-rate 1 ingress burst-size 100
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# show port-rate <port-list>
syntax
Function This command is used to view the upstream and downstream rate
Description limit configuration information of the port.
【Configuration case】
Case 1: View the upstream and downstream speed limit configuration information of GE1
port.
OLT(config-interface-ge-0/0)# show port-rate 1
Traffic shaping:
-------------------------------------------------- ---------------------------------------
port egress ingress
ge0/0/1 123000 0
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# isolate <port-list> {enable|disable }
syntax
page 104_
Description isolation from other ports. When the port isolation function is
enabled, the port will not be able to communicate with other ports.
Disabled by default
enable: Enable the isolation function of this port from other ports
enable|disable
disable: Disable the isolation function of this port from other ports
【Configuration case】
Case 1: Enable the isolation function between the GE1 port and other ports.
OLT(config-interface-ge-0/0)# isolate 1 enable
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# show port isolate
syntax
【Configuration case】
Case 1: View the isolation configuration information of the OLT port.
OLT(config-interface-ge-0/0)# show port isolate
Isolate amongpon port :
pon0/0/1 pon0/0/2 pon0/0/3 pon0/0/4 pon0/0/5
pon0/0/6 pon0/0/7 pon0/0/8 pon0/0/9 pon0/0/10
pon0/0/11 pon0/0/12 pon0/0/13 pon0/0/14 pon0/0/15
pon0/0/16
Isolate among uplink ports : -
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# spanning-tree cost <port-ID> <cost>
syntax
page 105_
Applicable view GE View
【Configuration case】
Case 1: The cost of configuring the fast spanning tree of the GE1 uplink port of the OLT is
2000.
OLT(config-interface-ge-0/0)# spanning-tree cost 1 2000
OLT(config-interface-ge-0/0)#
This command is used to configure the spanning tree edge port of the
GE uplink port of the OLT. If the user designates a port as an edge
Function port, when the port transitions from the blocking state to the
Description forwarding state, the port can be quickly migrated without waiting for
the delay time. The user can only set the port connected to the
terminal as an edge port. Default is non-edge port.
【Configuration case】
Case 1: Configure the GE1 uplink port of the OLT as an edge port.
OLT(config-interface-ge-0/0)# spanning-tree edged-port 1 enable
OLT(config-interface-ge-0/0)#
page 106_
Command OLT(config-interface-ge-0/0)# spanning-tree point-to-point
syntax <port-ID> {auto|true|false }
【Configuration case】
Case 1: Configure the point-to-point link connection function of the GE1 uplink port of the
OLT to true.
OLT(config-interface-ge-0/0)# spanning-tree point-to-point 1 true
OLT(config-interface-ge-0/0)#
port
page 107_
in the spanning tree. within the spanning tree. If all the Ethernet
ports of the bridge use the same priority parameter value, the
priority of the Ethernet port depends on the index number of the
Ethernet port.
Port priority, the value range is 0-240, and the step size is 16. The
<port-priority>
default value is 128.
【Configuration case】
Case 1: Configure the spanning tree priority of the GE1 uplink port of the OLT to be 160.
OLT(config-interface-ge-0/0)# spanning-tree priority 1 160
OLT(config-interface-ge-0/0)#
Access: Access type ports can only belong to one VLAN, and are
generally used to connect to computer ports;
Trunk : Trunk type ports can allow multiple VLANs to pass through,
and can receive and send packets of multiple VLANs. They are
access|hybrid|t
generally used for ports connected between switches;
runk
Hybrid : Hybrid type ports can allow multiple VLANs to pass through,
can receive and send packets of multiple VLANs, can be used to
connect between switches, and can also be used to connect users'
computers.
【Configuration case】
Case 1: Configure the VLAN mode of the GE1 uplink port of the OLT to Access mode.
OLT(config-interface-ge-0/0)# vlan mode 1 access
page 108_
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# vlan native-vlan <port-list> <vlan-ID>
syntax
Port number to be configured, the value range is 1-4, the format can
<port-list>
be 1, 2-3, 4
【Configuration case】
Case 1: Configure the Native VLAN of the GE1 uplink port of the OLT to 10.
OLT(config-interface-ge-0/0)# vlan native-vlan 1 10
OLT(config-interface-ge-0/0)#
Function This command is used to configure the native VLAN priority of the GE
Description uplink port of the OLT. The default is 0.
Port number to be configured, the value range is 1-4, the format can
<port-list>
be 1, 2-3, 4
【Configuration case】
Case 1: Configure the priority of the Native VLAN of the GE1 uplink port of the OLT to be 1.
OLT(config-interface-ge-0/0)# vlan native-vlan-priority 1 1
OLT(config-interface-ge-0/0)#
page 109_
13.10.4.Enable or disable the native-vlan of the uplink port
Function
Enable or disable the native-vlan of the port.
Description
【Configuration case】
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# vlan access <port-ID> <vlan-id>
syntax
【Configuration case】
Case 1: Configure the access VLAN of the GE1 uplink port of the OLT to 100.
OLT(config-interface-ge-0/0)# vlan access 1 100
OLT(config-interface-ge-0/0)#
page 110_
syntax {tagged|untagged} <vlan-list>
tagged: Packets outgoing from the port with the corresponding vlan
Tagged|untagge
tag
d
untagged: strip the vlan tag from the packets outgoing from the port
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Add a hybrid VLAN of 10-15 untagged to the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# vlan hybrid 1 untagged 10-15
ge0/0/1: hybrid vlan added, failed: 0, success: 6
OLT(config-interface-ge-0/0)#
Case 2: Add a hybrid VLAN tag of 101 to the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# vlan hybrid 1 tagged 101
ge0/0/1: hybrid vlan added, failed: 0, success: 1
OLT(config-interface-ge-0/0)#
This command is used to delete the hybrid VLAN of the GE uplink port
Function
of the OLT. See Appendix 1 for details on how the port handles
Description
packets in each Vlan mode.
tagged: Packets outgoing from the port with the corresponding vlan
Tagged|untagge
tag
d
untagged: strip the vlan tag from the packets outgoing from the port
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
page 111_
【Configuration case】
Case 1: Delete the hybrid VLAN tag of 10-15 on the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# no vlan hybrid 1 tagged 10-15
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# vlan trunk <port-ID> <vlan-list>
syntax
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Add trunk VLANs 10-15 to the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# vlan trunk 1 10-15
ge0/0/1: trunk vlan allowed , failed: 0, success: 6
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# no vlan trunk <port-ID> <vlan-list>
syntax
This command is used to delete the trunk VLAN of the GE uplink port
Function
of the OLT. See Appendix 1 for details on how the port handles
Description
packets in each Vlan mode.
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Delete the trunk VLAN of the GE1 uplink port of the OLT to be 10-15.
OLT(config-interface-ge-0/0)# no vlan trunk 1 10-15
page 112_
OLT(config-interface-ge-0/0)#
【Configuration case】
Case 1: The original VLAN 10 of the GE1 uplink port of the OLT is converted to the new VLAN
11, and the priority is converted to 3.
OLT(config-interface-ge-0/0)# vlan translate 1 10 11 3
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# no vlan translate <port-list> <vlan-id>
syntax
Function This command is used to delete the translate VLAN of the GE uplink
Description port of the OLT.
【Configuration case】
Case 1: Delete the vlan10 used for translation on the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# no vlan translate 1 10
page 113_
OLT(config-interface-ge-0/0)#
This command is used to bind a protocol VLAN index to the port and
Function
port VLAN. First, you need to create a protocol-vlan in the config
Description
view.
<protocol-index
The index of the protocol VLAN, the value range is 1-16.
>
【Configuration case】
Case 1: Bind the GE1 port to the protocol vlan index 1 and add it to vlan100.
OLT(config-interface-ge-0/0)#protocol-vlan 1 add port 1 100
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface-ge-0/0)# show port state {<port-ID> | all}
syntax
【Configuration case】
Case 1: View the attributes and status information of all GE uplink ports on the OLT.
page 114_
OLT(config-interface-ge-0/0)# show port state all
-------------------------------------------------- ---------------------------------------
Port Optic Pvid Auto Speed Dup Flow Learn Enable Link Frame
Status Nego /Mbps lex Ctrl Max
-------------------------------------------------- ---------------------------------------
ge0/0/1 absence 101 enable 100 full on enable enable on 1518
ge0/0/2 absence 1 enable 1000 full on enable enable off 1518
ge0/0/3 absence 55 enable 1000 full off enable enable off 1518
ge0/0/4 absence 1 enable 1000 full on enable enable off 1518
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
Case 2: View the attributes and status information of the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# show port state 1
-------------------------------------------------- ---------------------------------------
Port name : ge0/0/1
Current port state : enable
Current link state : UP
The maximum frame size: 1518
Link speed : autonegotiation(100 Mbps)
Link duplex : autonegotiation(FULL)
Flow-control : on
Maximum number of learned l2 entries : unlimited
Broadcasts stormcontrol : 12334(pps)
Unknow multicasts stormcontrol : disable
Unknow unicasts stormcontrol : 150(pps)
-------------------------------------------------- ---------------------------------------
Native-vlan: 101 Link-type: Access Priority: 0
Untagged VLAN ID :
101
-------------------------------------------------- ---------------------------------------
Statistics 15 minute status : disable
Statistics 24 hour status : disable
OLT(config-interface-ge-0/0)#
page 115_
13.11.2.View the VLAN information of the uplink port
Command
OLT(config-interface-ge-0/0)# show port vlan <port-ID>
syntax
Function This command is used to view the VLAN information of the GE uplink
Description port of the OLT.
<port-ID> Port-ID: The port number to be viewed, the value range is 1-4
【Configuration case】
Case 1: View the VLAN information of the GE1 uplink port of the OLT.
OLT(config-interface-ge-0/0)# show port vlan 1
-------------------------------------------------- ---------------------------------------
Port: ge0/0/1 Mode: Access Native-Vlan: 101 Priority: 0
-------------------------------------------------- ---------------------------------------
Tagged-Vlan:
-
-------------------------------------------------- ---------------------------------------
Untagged-Vlan:
101
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
optical port
Command
OLT(config-interface-ge-0/0)# show ddm-info <port-ID>
syntax
Function This command is used to view the optical power information of the
Description optical port connected to the OLT.
【Configuration case】
Case 1: Check the optical power information of the GE1 uplink optical port of the OLT.
OLT(config-interface-ge-0/0)# show ddm-info 1
-------------------------------------------------- ---------------------------------------
page 116_
Temperature(C): 37.6
Supply Voltage(V): 3.32
TX Bias current(mA) : 32
TX power(dBm) : -4.03
RX power(dBm) : -15.49
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
Command
OLT(config-interface- gpon -0/0)# shutdown <port-list>
syntax
Function This command is used to disable the specified PON port or all PON
Description ports.
Port list to be configured, the value range is 1-16 , the format is 1, 3-5,
<port-list>
8.
【Configuration case】
Case 1: Disable the PON1, PON2, and PON3 ports of the OLT.
OLT(config-interface-gpon-0/0)# shutdown 1-3
OLT(config-interface-gpon-0/0)#
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface- gpon -0/0)# no shutdown <port-list>
syntax
page 117_
Applicable view gpon view
Function
This command is used to enable the specified PON port.
Description
Port list to be configured, the value range is 1-16 , the format is 1, 3-5,
<port-list>
8.
【Configuration case】
Case 1: Enable the PON 1, PON2, and PON3 ports of the OLT.
OLT(config-interface-gpon -0/0)# no shutdown 1-3
OLT(config-interface-gpon -0/0)#
OLT(config-interface-gpon -0/0)#
Command
OLT(config-interface-gpon -0/0)# port-name <port-ID> <name>
syntax
Function
This command is used to name the port for user management.
Description
【Configuration case】
Case 1: Name the PON1 port as test.
OLT(config-interface-gpon-0/0)# port-name 1 test
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon-0/0)# no port-name <port-ID>
syntax
page 118_
Applicable view gpon view
Function
This command is used to restore the port name to the default value.
Description
【Configuration case】
Case 1: Restore the name of the PON1 port to the default value.
OLT(config-interface-gpon -0/0)# no port-name 1
OLT(config-interface-gpon -0/0)#
port
Function This command is used to set the maximum frame length for port
Description transmission. The system default is 1518.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
<frame-max-val
The value range of Frame-max: 328~2048.
ue>
【Configuration case】
Case 1: Configure the frame-max of the PON1 port to 1600.
OLT(config-interface- g pon-0 / 0)# frame-max 1 1600
Command
OLT(config-interface-gpon -0/0 )# no frame-max <port-list>
syntax
Function This command is used to restore the MTU value of the port to the
page 119_
Description system default value of 1518.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Restore the MTU of the PON1 port to the default value of 1518.
OLT(config-interface- g pon-0 / 0)# no mtu 1
【Configuration case】
Case 1: Enable the PON1 port to automatically detect the ONU long light-emitting function.
OLT(config-interface- g pon-0 / 0)# anti-rogueont auto-detect 1 enable
page 120_
OLT(config-interface- gpon -0 / 0)#
【Configuration case】
Case 1: Manually configure the PON1 port to detect the ONU long light-emitting function.
OLT(config-interface- g pon-0 / 0)# anti-rogueont manual-detect 1
【Configuration case】
Case 1: View all PON ports automatically detect ONU long light function information.
OLT(config-interface-gpon-0/0)# show anti-rogueont auto-detect switch
-------------------------------------------------- ---------------------------------------
F/S Port Switch Interval(min)
-------------------------------------------------- --------------------------
0/0 1 enable 15
0/0 2 enable 15
page 121_
0/0 3 enable 15
0/0 4 enable 15
0/0 5 enable 15
0/0 6 enable 15
0/0 7 enable 15
0/0 8 enable 15
0/0 9 enable 15
0/0 10 enable 15
0/0 11 enable 15
0/0 12 enable 15
0/0 13 enable 15
0/0 14 enable 15
0/0 15 enable 15
0/0 16 enable 15
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
PON port
Function
Configuring the automatic isolation function under the PON port
Description
【Configuration case】
Case 1: Enable PON1 automatic isolation function
OLT(config-interface-gpon-0/0)# anti-rogueont auto-isolate 1 enable
Set Pon 1 Success
OLT(config-interface-gpon-0/0)#
page 122_
OLT(config-interface-gpon-0/0)#
Function
Check the status of the automatic isolation function of the PON port
Description
【Configuration case】
Case 1: Check the status of the automatic isolation function of the PON port
OLT(config-interface-gpon-0/0)#
Function This command is used to enable or disable the flow control function
Description of the PON port .
page 123_
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Enable the flow control function of the PON1 port of the OLT.
OLT(config-interface- g pon-0 / 0)# flow-control 1 enable
<src-port-id> Port number of the mirroring source port, ranging from 1 to 16.
Port number of the mirror destination port, ge: the value range is
<F/S/P>
0/0/1 - 0/0/4; xge: the value range is 0/0/1 - 0/0/2
page 124_
【Configuration case】
Case 1: Mirror the outbound and inbound packets of the PON1 port to the GE2 port.
OLT(config-interface- g pon-0 / 0)# mirror src-port 1 dst-port ge 00 |2 all
Command
OLT(config-interface-gpon -0/0 )# no mirror src-port <src-port-id>
syntax
<src-port-id> Port number of the mirroring source port, the value range is 1-16 .
【Configuration case】
Case 1: Remove the mirroring function configuration of the PON1 port.
OLT(config-interface- g pon-0 / 0)# no mirror src-port 1
Command
OLT(config-interface-gpon -0/0 )# show mirror
syntax
【Configuration case】
Case 1: View the configuration information of the OLT port mirroring function.
OLT(config-interface-gpon-0/0)# show mirror
-------------------------------------------------- ---------------------------------------
Destnation port: ge0/0/1
page 125_
OLT(config-interface-gpon-0/0)#
Function
Enable or disable the native-vlan of the port.
Description
【Configuration case】
OLT(config-interface-gpon -0/0)#
This command is used to configure the native VLAN of the PON port
Function
of the OLT, and the default is 1. See Appendix 1 for details on how the
Description
port handles packets in each Vlan mode.
【Configuration case】
Case 1: Configure the Native VLAN of the PON 1 port of the OLT to 10.
OLT(config-interface- gpon -0/0)# vlan native-vlan 1 10
page 126_
14.6.3.Configure the Trunk VLAN of the PON port
Command
OLT(config-interface- gpon -0/0)# vlan trunk <port-list> <vlan-list>
syntax
This command is used to configure the trunk VLAN of the PON port of
Function
the OLT. See Appendix 1 for details on how the port handles packets
Description
in each Vlan mode.
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Command
OLT(config-interface-gpon -0/0)# show port vlan <port-ID>
syntax
Function This command is used to view the VLAN information of the PON port
Description of the OLT.
<port-ID> Port-ID: The port number to be viewed, the value range is 1-8
【Configuration case】
Case 1: View the VLAN information of the PON1 port of the OLT.
OLT(config-interface- g pon-0/0)# show port vlan 1
-------------------------------------------------- ---------------------------------------
Port: pon0/0/1 Mode: Access Native-Vlan: 1 Priority: 0
-------------------------------------------------- ---------------------------------------
Tagged-Vlan:
-
-------------------------------------------------- ---------------------------------------
Untagged-Vlan:
page 127_
1
-------------------------------------------------- ---------------------------------------
OLT(config-interface-epon-0/0)#
interval of 15 minutes
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Enable the 15-minute performance statistics function of the PON1 port.
OLT(config-interface- g pon-0 / 0)# statistics port 1 15min enable
interval of 24 hours
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
page 128_
enable: enable 24-hour performance statistics
enable|disable
disable: disable the 24-hour performance statistics function
【Configuration case】
Case 1: Enable the 24-hour performance statistics function of the PON1 port.
OLT(config-interface- g pon-0 / 0)# statistics port 1 24hour enable
Statistics
Function This command is used to configure the threshold of the PON port
Description performance statistics function.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
page 129_
26:tx-mcasts: multicast packets sent
27: tx-64octets: packets with a frame length of 64 bytes sent
28:tx-65to127octets: packets with a frame length of 65-127 bytes
sent
29:tx-128to255octets: packets with a frame length of 128-255 bytes
sent
30:tx-256to511octets: packets with a frame length of 256-511 bytes
sent
31:tx-512to1023octets: packets with a frame length of 512-1023
bytes sent
32:tx-1024to1518octets: packets with a frame length of 1024-1518
bytes sent
35: tx-oversizes: Packets that are too long when sent
42: tx-discards: Packets discarded when sent
<upper-threshol
Upper threshold, the range is 0-4294967295
d>
<lower-threshol
Lower threshold, the range is 0-4294967295
d>
【Configuration case】
Case 1: The upper limit of the number of frames received by statistics on the PON port is
50000, and the lower limit is 500.
OLT(config-interface-gpon -0/0)# statistics port 1 threshold 35 50000 500
OLT(config-interface-gpon -0/0)#
Command
OLT(config-interface-gpon -0/0 )# reset statistics port <port-ID>
syntax
Function This command is used to clear the performance statistics of the PON
Description port.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-ID>
8.
【Configuration case】
Case 1: Clear the performance statistics of the PON1 port.
OLT(config-interface-gpon -0/0)# reset statistics port 1
page 130_
OLT(config-interface-gpon -0/0)#
port
Function
the performance statistics of the PON port in the current 15 minutes .
Description
【Configuration case】
Case 1: View the performance statistics of the PON1 port for the current 15 minutes.
OLT(config-interface- g pon-0 / 0)# show statistics port 1 current-15min
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-01 08:59:05+08:00
Total elapsed seconds in this interval : 619
-------------------------------------------------- ---------------------------------------
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
page 131_
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
port
【Configuration case】
Case 1: View the current 24-hour performance statistics of the PON1 port.
OLT(config-interface- g pon-0 / 0)# show statistics port 1 current-24hour
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-01 09:00:23+08:00
Total elapsed seconds in this interval : 724
-------------------------------------------------- ---------------------------------------
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
page 132_
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
minutes
Function
the performance statistics of the PON port in the past 15 minutes .
Description
The number of intervals, ranging from 1 to 96. That is, when it is set
<interval-numb
to 2, it is to view the performance statistics of the past 30 minutes,
er>
and when it is set to 3, it is 45 minutes, and so on.
【Configuration case】
Case 1: View the performance statistics of the PON1 port in the past 15 minutes.
OLT(config-interface- g pon-0 / 0)# show statistics port 1 historic-15min 1
-------------------------------------------------- ---------------------------------------
Start time of this interval : 2000-01-01 08:59:05+08:00
Interval number of historical 15 minutes : 1
The data for this interval is valid
Total monitored seconds in the historic interval : 900
-------------------------------------------------- ---------------------------------------
page 133_
RX octets : 0
RX frames : 0
RX unicast frames : 0
RX broadcast frames : 0
RX multicast frames : 0
RX discard frames : 0
RX error frames : 0
RX oversize frames : 0
RX frames 64 octets : 0
RX frames 65 to 127 octets : 0
RX frames 128 to 255 octets : 0
RX frames 256 to 511 octets : 0
RX frames 512 to 1023 octets : 0
RX frames 1024 to 1518 octets : 0
TX octets : 0
TX frames : 0
TX unicast frames : 0
TX broadcast frames : 0
TX multicast frames : 0
TX discard frames : 0
TX error frames : 0
TX oversize frames : 0
TX frames 64 octets : 0
TX frames 65 to 127 octets : 0
TX frames 128 to 255 octets : 0
TX frames 256 to 511 octets : 0
TX frames 512 to 1023 octets : 0
TX frames 1024 to 1518 octets : 0
-------------------------------------------------- ---------------------------------------
hours
Function
the performance statistics of the PON port in the past 24 hours .
Description
page 134_
The number of intervals, ranging from 1 to 7. That is, when it is set to
<interval-numb
2, it is to view the performance statistics of the past 48 hours, and
er>
when it is set to 3, it is 72 hours, and so on.
【Configuration case】
Case 1: View the performance statistics of the PON1 port in the past 24 hours.
OLT(config-interface- g pon-0 / 0)# show statistics port 1 historic-24hour 1
The data for this interval is invalid!
【Configuration case】
Case 1: View the performance statistics threshold configuration information of the PON1
port.
OLT(config-interface-gpon -0/0)# show statistics port 1 threshold
TX oversize frames : upper: 50000 lower: 500
OLT(config-interface-gpon -0/0)#
Command
OLT(config-interface-gpon -0/0 )# show statistics pon-mac <port-ID>
syntax
Function
View the pon-mac traffic statistics under the port
Description
page 135_
【Configuration case】
Case 1: View pon-mac traffic statistics under pon1
OLT(config-interface-gpon-0/0)# show statistics pon-mac 1
-------------------------------------------------- ---------------------------------------
Rx rate (kbps): 0 Tx rate (kbps): 0
-------------------------------------------------- ---------------------------------------
Upstream Downstream
-------------------------------------------------- --------------------------
frames 0 773
bytes 0 131521
frames 64 0 132
frames 65-127 0 469
frames 128-255 0 80
frames 256-511 0 46
frames 512-1023 0 12
frames 1024-1518 0 34
frames 1519-2047 0 0
frames 2048-4095 0 0
frames 4096-9216 0 0
frames 9217-16383 0 0
good frames 0 736
unicast frames 0 0
multicast frames 0 541
broadcast frames 0 195
pause frames 0 0
pfc frames 0 0
jabber frames 0 0
fcs errors 0 0
control frames 0 0
oversize frames 0 0
fragmented frames 0 0
error frames 0 -
vlan frames 0 578
double vlan frames 0 0
runt frames 0 0
underrun frames 0 -
unsupported opcode - 0
unsupported da - 0
alignment errors - 0
length out of range - 37
code errors - 0
mtu check errors - 0
promiscuous frames - 0
truncated frames - 0
page 136_
undersize frames - 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon -0/0 )# reset statistics pon-mac <port-ID>
syntax
Function
Reset the pon-mac traffic statistics under the port
Description
【Configuration case】
Case 1: Reset PON-MAC 1 traffic statistics
OLT(config-interface-gpon-0/0)# reset statistics pon-mac 1
OLT(config-interface-gpon-0/0)#
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
page 137_
【Configuration case】
Case 1: Enable the broadcast storm suppression function of the PON1 port and set the pulse
per second value to 14000 pps.
OLT(config-interface-gpon -0/0)# traffic-suppress 1 broadcast enable pps 14000
OLT(config-interface-gpon -0/0)#
Port
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
【Configuration case】
Case 1: Enable the unknown multicast storm suppression function of the PON1 port and set
the pulse per second value to 14000 pps.
OLT(config-interface-gpon-0/0)# traffic-suppress 1 unknown-multicast enable pps
14000
OLT(config-interface-gpon -0/0)#
Port
page 138_
syntax unknown-unicast {enable|disable} pps <value>
The number of pulses per second, the value range is 1-1488100, the
<value>
unit is pps
【Configuration case】
Case 1: Enable the unknown unicast storm suppression function of the PON1 port and set
the pulse per second value to 14000 pps.
OLT(config-interface-gpon -0/0)# traffic-suppress 1 unknown-unicast enable pps 14000
OLT(config-interface-gpon -0/0)#
Function This command is used to configure a rate limit value for a port to limit
Description the rate in the downstream or upstream direction of the port.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
<rate> Rate, the value range is 64-10240000, the unit is Kbps. Ports are not
page 139_
rate-limited by default.
【Configuration case】
Case 1: The downstream rate of the PON1 port is limited to 102400 Kpbs.
OLT(config-interface-gpon-0/0)# port-rate 1 egress 102400
OLT(config-interface-gpon-0/0)#
PON port
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Remove the downlink rate limit function of the PON1 port.
OLT(config-interface-gpon -0/0)# no port-rate 1 egress
OLT(config-interface-gpon -0/0)#
Function This command is used to configure the bandwidth of the rate limiting
Description function in the downstream or upstream direction of the port .
page 140_
egress: Downlink direction
egress/ingress
ingress: upstream direction
【Configuration case】
Case 1: Configure the upstream rate bandwidth of the PON1 port to be 10 % of the interface
bandwidth .
OLT( config-interface-gpon -0/0 )# port-rate 1 ingress bandwidth 10
OLT(config-interface-gpon -0/0)#
【Configuration case】
Case 1: Configure the burst size of the upstream direction of the PON1 port to 100Kbps .
OLT(config-interface-gpon -0/0)# port-rate 1 ingress burst-size 100
OLT(config-interface-gpon -0/0)#
page 141_
Command
OLT(config-interface-gpon -0/0)# show port-rate <port-list>
syntax
Function This command is used to view the upstream and downstream rate
Description limit configuration information of the port.
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Check the upstream and downstream speed limit configuration information of PON1
port.
OLT(config-interface- g pon-0 / 0)# show port-rate 1
Traffic shaping:
-------------------------------------------------- ---------------------------------------
port egress ingress
pon0 / 0 / 1 0 0
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
enable: Enable the isolation function of this port from other ports
enable|disable
disable: Disable the isolation function of this port from other ports
【Configuration case】
Case 1: Enable the isolation function between the PON1 port and other ports.
OLT(config-interface-gpon -0/0)# isolate 1 enable
page 142_
OLT(config-interface-gpon -0/0)#
Command
OLT(config-interface-gpon -0/0)# show port isolate
syntax
【Configuration case】
Case 1: View the isolation configuration information of the OLT port.
OLT(config-interface-gpon-0/0)# show port isolate
Isolate amongpon port :
pon0/0/1 pon0/0/2 pon0/0/3 pon0/0/4 pon0/0/5
pon0/0/6 pon0/0/7 pon0/0/8 pon0/0/9 pon0/0/10
pon0/0/11 pon0/0/12 pon0/0/13 pon0/0/14 pon0/0/15
pon0/0/16
Isolate among uplink ports : -
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon -0/0)# show port state {<port-ID> | all}
syntax
Function
the attribute information of the PON port of the OLT .
Description
page 143_
0/0 1 absence 1 off en en 1518 down dis AS 962400
0/0 2 normal 1 on en en 1518 up en MS 961376
0/0 3 normal 1 on en en 1518 down en MS 961632
0/0 4 absence 1 on en en 1518 down dis AS 962400
0/0 5 absence 1 on en en 1518 down dis AS 962400
0/0 6 absence 1 on en en 1518 down dis AS 962400
0/0 7 absence 1 on en en 1518 down dis AS 962400
0/0 8 absence 1 on en en 1518 down dis AS 962400
0/0 9 absence 1 on en en 1518 down dis AS 962400
0/0 10 absence 1 on en en 1518 down dis AS 962400
0/0 11 absence 1 on en en 1518 down dis AS 962400
0/0 12 absence 1 on en en 1518 down dis AS 962400
0/0 13 absence 1 on en en 1518 down dis AS 962400
0/0 14 normal 1 on en en 1518 up dis AS 962144
0/0 15 absence 1 on en en 1518 down dis AS 962400
0/0 16 absence 1 on en en 1518 down dis AS 962400
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Case 2: View the attributes and status information of the PON1 port of the OLT.
OLT(config-interface-gpon-0/0)# show port state 1
Frame/Slot : 0/0
Port : 1
Optical Module status : absence
Admin state : enable
Link state : down
Auto find : disable
Policy authentication : enable
Authentication mode : auto to sn-auth
Available bandwidth : 962400(Kbps)
Anti-rogueont auto-detect : enable
OLT(config-interface-gpon-0/0)#
page 144_
14.11.2.the optical power information of the OLT P ON port
Command
OLT(config-interface-gpon -0/0)# show port ddm-info <port-ID>
syntax
【Configuration case】
Case 1: Check the optical power information of the PON1 port of the OLT.
OLT(config-interface-gpon-0/0)# show port ddm-info 1
-------------------------------------------------- ---------------------------------------
Temperature(C): 37.2
Supply Voltage(V): 3.37
TX Bias current(mA) : 25
TX power(dBm): 3.96
RX power(dBm) : -17.25
-------------------------------------------------- --------------------------
Vendor : OEM
Product name : D24364-SSCA
Version : 10
Serial number : D160531100012
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function This command is used to specify the black hole MAC address entry. If
Description the source MAC address or destination MAC address of a packet is
page 145_
equal to the MAC address of the black hole MAC address entry, the
switch discards the packet.
【Configuration case】
Case 1: Configure the black hole mac address of vlan 100 as 00:00:00:12:34:56.
OLT(config)# mac-address black-hole vlan 100 00:00:00:12:34:56
OLT(config)#
Function This command is used to delete the specified black hole MAC address
Description entry.
【Configuration case】
Case 1: Delete the black hole mac address 00:00:00:12:34:56 of vlan100.
OLT(config)# no mac-address black-hole vlan 100 00:00:00:12:34:56
OLT(config)#
Table Entries
page 146_
ge: uplink port
ge|xge
xge: uplink 10 Gigabit port
Port list to be configured, the value range is 1-16 , the format is 1, 6-7,
<port-list>
8.
【Configuration case】
Case 1: Configure the maximum number of mac addresses learned by the uplink ge1 port to
be 500.
OLT(config)# mac-address limit port ge 0 / 0 1 500
OLT(config)#
This command is used to configure the static MAC address of the OLT.
Function After the configuration is successful, the device does not need to
Description learn the MAC address and forwards data directly based on the static
MAC address.
【Configuration case】
page 147_
Case 1: Bind the mac address e0:67:b3:12:eb:f6 and the ge1 port to vlan100.
OLT(config)# mac-address static port ge 0 / 0 /1 vlan 100 e0:67:b3:12:eb:f6
OLT(config)#
Case 2: Bind the mac address e0:67:b3:12:eb:f8 to the xge1 port and vlan100.
OLT(config)# mac-address static port xge 0 / 0 / 1 vlan 100 e0:67:b3:12:eb:f8
OLT(config)#
Case 3: Bind the mac address e0:67:b3:12:eb:f9 and the lag1 group to vlan100.
OLT(config)# mac-address static port lag 1 vlan 100 e0:67:b3:12:eb:f9
OLT(config)#
Function
This command is used to delete the static MAC address of the OLT.
Description
【Configuration case】
Case 1: Delete the static mac address e0:67:b3:12:eb:f6 that binds the ge1 port to vlan100.
OLT(config)# no mac-address static port ge 0 / 0 /1 vlan 100 e0:67:b3:12:eb:f6
OLT(config)#
Case 2: Delete the static mac address e0:67:b3:12:eb:f8 that binds the xge1 port to vlan100.
page 148_
OLT(config)# no mac-address static port xge 0 / 0 / 1 vlan 100 e0:67:b3:12:eb:f8
OLT(config)#
Case 3: Delete the static MAC address e0:67:b3:12:eb:f9 bound to vlan100 in aggregation
group 1.
OLT(config)# no mac-address static port lag 1 vlan 100 e0:67:b3:12:eb:f9
OLT(config)#
Command
OLT(config)# mac-address time r { <aging-time> | no-aging }
syntax
This command is used to set the aging time of dynamic entries in the
system MAC address table. After the MAC address aging time is set
successfully, it will take effect immediately. The system regularly
checks the dynamic MAC address. If the system does not send or
Function
receive any packets carrying the source MAC address within the aging
Description
period, the corresponding MAC address will be deleted from the MAC
address table. . Periodic aging of dynamic MAC addresses can release
MAC address table resources and prevent the system from failing to
learn new MAC addresses.
< aging-time >: MAC address aging time, the value range is
<aging-time> | 10-1000000 , the unit is seconds .
no-aging no-aging : Set the MAC address to not age. Use this parameter when
you do not need to enable the MAC address aging function .
【Configuration case】
Case 1: Set the aging time of the mac address to 1000 seconds.
OLT(config)# mac-address timer 1000
OLT(config)#
Command
OLT(config)# mac-address flush { all | dynamic | black-hole | static }
syntax
page 149_
Description learned by the OLT.
【Configuration case】
Case 1: Clear all mac addresses learned by the OLT.
OLT(config)# mac-address flush all
OLT(config)#
【Configuration case】
Case 1: Clear all mac addresses learned by the OLT GE1 port.
OLT(config)# mac-address flush port ge 0 / 0 / 1 all
OLT(config)#
page 150_
OLT
Function This command is used for various types of MAC addresses learned by
Description the OLT under vlan.
【Configuration case】
Case 1: Clear all mac addresses learned by the OLT under VLAN 100.
OLT(config)# mac-address flush vlan 100 all
OLT(config)#
Command
OLT(config)# show mac-address all
syntax
Function This command is used to view all the MAC addresses learned by the
Description OLT.
【Configuration case】
Case 1: View all the mac addresses learned by the OLT.
OLT(config)# show mac-address all
-------------------------------------------------- ---------------------------------------
Total: 1
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
E0:67:B3:00:00:A2 1 - cpu - - static
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 151_
15.11.MAC addresses of OLT
Command
OLT(config)# show mac-address black - hole
syntax
Function This command is used to view all black hole MAC addresses of the
Description OLT.
【Configuration case】
Case 1: View all black hole mac addresses of the OLT.
OLT(config)# show mac-address black-hole
-------------------------------------------------- ---------------------------------------
Total: 1
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
00:00:00:12:34:56 100 - cpu - - blackhol
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show mac-address dynamic
syntax
Function This command is used to view all dynamic MAC addresses learned by
Description the OLT.
【Configuration case】
Case 1: View all dynamic mac addresses learned by OLT.
OLT(config)# show mac-address dynamic
-------------------------------------------------- ---------------------------------------
Total: 27
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
E4:A4:71:49:9E:31 101 - ge0/0/1 - - dynamic
48:A9:D2:52:98:11 101 - ge0/0/1 - - dynamic
page 152_
00:00:00:00:00:0A 55 8 pon0/0/14 1 3 dynamic
30:B4:9E:42:A0:1C 101 - ge0/0/1 - - dynamic
08:00:45:00:00:40 101 - ge0/0/1 - - dynamic
F0:C8:50:3D:F9:56 101 - ge0/0/1 - - dynamic
98:CA:33:85:EE:A0 101 - ge0/0/1 - - dynamic
E0:67:B3:39:A5:06 101 - ge0/0/1 - - dynamic
F4:06:69:B3:75:6D 101 - ge0/0/1 - - dynamic
5C:AD:CF:23:31:7B 101 - ge0/0/1 - - dynamic
C0:D0:12:D2:AF:1B 101 - ge0/0/1 - - dynamic
AC:61:EA:EF:CF:DF 101 - ge0/0/1 - - dynamic
00:00:00:00:00:09 55 - ge0/0/3 - - dynamic
E0:06:E6:98:2F:54 101 - ge0/0/1 - - dynamic
00:DB:DF:9C:FA:0E 101 - ge0/0/1 - - dynamic
9C:F3:87:B8:04:72 101 - ge0/0/1 - - dynamic
A8:6B:AD:54:C8:E3 101 - ge0/0/1 - - dynamic
3C:95:09:4F:30:D1 101 - ge0/0/1 - - dynamic
48:BF:6B:BD:F6:50 101 - ge0/0/1 - - dynamic
FC:D8:48:C8:9C:60 101 - ge0/0/1 - - dynamic
B8:81:98:78:36:10 101 - ge0/0/1 - - dynamic
E0:67:B3:00:00:A1 101 - ge0/0/1 - - dynamic
F8:62:14:3F:78:E0 101 - ge0/0/1 - - dynamic
A4:CA:A0:C0:C7:18 101 - ge0/0/1 - - dynamic
40:33:1A:CD:3E:89 101 - ge0/0/1 - - dynamic
40:83:1D:D5:78:8D 101 - ge0/0/1 - - dynamic
FC:7C:02:2F:AC:57 101 - ge0/0/1 - - dynamic
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show mac-address port gpon F / S / P
syntax
Function This command is used to view the MAC address learned by the PON
Description port of the OLT
【Configuration case】
Case 1: View the mac address learned by the PON2 port
OLT(config)# show mac-address port gpon 0/0/2
-------------------------------------------------- ---------------------------------------
page 153_
Total: 1
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
E0:67:B3:51:03:AD 101 3 pon0/0/2 4 2 dynamic
-------------------------------------------------- ---------------------------------------
OLT(config)#
OLT
Command
OLT(config)# show mac-address port ge F / S / P
syntax
Function This command is used to view the MAC address learned by the GE
Description port of the OLT.
【Configuration case】
Case 1: Check the MAC address learned by the GE1 port.
OLT(config)# show mac-address port ge 0/0/1
-------------------------------------------------- ---------------------------------------
Total: 28
-------------------------------------------------- ---------------------------------------
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
30:B4:9E:42:A0:1C 101 - ge0/0/1 - - dynamic
00:60:F3:21:43:D2 101 - ge0/0/1 - - dynamic
F0:C8:50:3D:F9:56 101 - ge0/0/1 - - dynamic
98:CA:33:85:EE:A0 101 - ge0/0/1 - - dynamic
E0:67:B3:39:A5:06 101 - ge0/0/1 - - dynamic
F4:06:69:B3:75:6D 101 - ge0/0/1 - - dynamic
5C:AD:CF:23:31:7B 101 - ge0/0/1 - - dynamic
C0:D0:12:D2:AF:1B 101 - ge0/0/1 - - dynamic
AC:61:EA:EF:CF:DF 101 - ge0/0/1 - - dynamic
E0:06:E6:98:2F:54 101 - ge0/0/1 - - dynamic
00:DB:DF:9C:FA:0E 101 - ge0/0/1 - - dynamic
page 154_
9C:F3:87:B8:04:72 101 - ge0/0/1 - - dynamic
A8:6B:AD:54:C8:E3 101 - ge0/0/1 - - dynamic
B0:52:16:28:26:D7 101 - ge0/0/1 - - dynamic
48:BF:6B:BD:F6:50 101 - ge0/0/1 - - dynamic
FC:D8:48:C8:9C:60 101 - ge0/0/1 - - dynamic
B8:81:98:78:36:10 101 - ge0/0/1 - - dynamic
E0:67:B3:00:00:A1 101 - ge0/0/1 - - dynamic
38:37:8B:D6:C0:3A 101 - ge0/0/1 - - dynamic
A4:CA:A0:C0:C7:18 101 - ge0/0/1 - - dynamic
A4:71:74:01:E8:98 101 - ge0/0/1 - - dynamic
40:33:1A:CD:3E:89 101 - ge0/0/1 - - dynamic
40:83:1D:D5:78:8D 101 - ge0/0/1 - - dynamic
3C:95:09:50:4C:E5 101 - ge0/0/1 - - dynamic
FC:7C:02:2F:AC:57 101 - ge0/0/1 - - dynamic
-------------------------------------------------- ---------------------------------------
OLT(config)#
OLT
Command
OLT(config)# show mac-address port xge F / S / P
syntax
Function This command is used to view the MAC address learned by the X GE
Description port of the OLT.
【Configuration case】
Case 1: Check the mac address learned by the XGE1 port.
OLT(config)# show mac-address port xge 0/0/1
There is not any MAC address record!
OLT(config)#
Command OLT(config)# show mac-address port lag { < Manual group ID> | <
page 155_
syntax Lacp group ID> }
Function This command is used to view the MAC addresses learned by the port
Description aggregation group of the OLT.
【Configuration case】
Case 1: View the mac address learned by manual port aggregation group 1.
OLT(config)# show mac-address port lag 1
There is not any MAC address record!
OLT(config)#
Command
OLT(config)# show mac-address static
syntax
Function
This command is used to view all static MAC addresses of O LT .
Description
【Configuration case】
Case 1: View all static mac addresses of OLT.
OLT(config)#
page 156_
Command
OLT(config)# show mac-address timer
syntax
Function This command is used to check the MAC address aging time of the
Description OLT .
【Configuration case】
Case 1: Check the aging time of the mac address of the OLT.
OLT(config)# show mac-address timer
MAC aging time: 300s
OLT(config)#
VLAN
Command
OLT(config)# show mac-address vlan <vlan-id>
syntax
Function This command is used to view the MAC address of the OLT under the
Description specified vlan .
【Configuration case】
Case 1: Check the mac address of OLT under vlan 101.
OLT(config)# show mac-address vlan 101
-------------------------------------------------- ---------------------------------------
Total: 32
-------------------------------------------------- ---------------------------------------
MAC VLAN Sport Port Onu Gemid MAC-Type
-------------------------------------------------- ---------------------------------------
E4:A4:71:49:9E:31 101 - ge0/0/1 - - dynamic
48:A9:D2:52:98:11 101 - ge0/0/1 - - dynamic
30:B4:9E:42:A0:1C 101 - ge0/0/1 - - dynamic
E0:67:B3:06:02:08 101 - ge0/0/1 - - dynamic
98:CA:33:85:EE:A0 101 - ge0/0/1 - - dynamic
E0:67:B3:39:A5:06 101 - ge0/0/1 - - dynamic
E0:67:B3:00:5B:71 101 - ge0/0/1 - - dynamic
F4:06:69:B3:75:6D 101 - ge0/0/1 - - dynamic
page 157_
5C:AD:CF:23:31:7B 101 - ge0/0/1 - - dynamic
C0:D0:12:D2:AF:1B 101 - ge0/0/1 - - dynamic
E0:06:E6:98:2F:54 101 - ge0/0/1 - - dynamic
08:00:45:00:00:43 101 - ge0/0/1 - - dynamic
00:DB:DF:9C:FA:0E 101 - ge0/0/1 - - dynamic
04:79:70:8F:35:D6 101 - ge0/0/1 - - dynamic
9C:F3:87:B8:04:72 101 - ge0/0/1 - - dynamic
A8:6B:AD:54:C8:E3 101 - ge0/0/1 - - dynamic
B0:52:16:28:26:D7 101 - ge0/0/1 - - dynamic
40:4D:7F:01:E2:39 101 - ge0/0/1 - - dynamic
3C:95:09:4F:30:D1 101 - ge0/0/1 - - dynamic
48:BF:6B:BD:F6:50 101 - ge0/0/1 - - dynamic
FC:D8:48:C8:9C:60 101 - ge0/0/1 - - dynamic
B8:81:98:78:36:10 101 - ge0/0/1 - - dynamic
E0:67:B3:00:00:A1 101 - ge0/0/1 - - dynamic
38:37:8B:D6:C0:3A 101 - ge0/0/1 - - dynamic
F8:62:14:3F:78:E0 101 - ge0/0/1 - - dynamic
A4:CA:A0:C0:C7:18 101 - ge0/0/1 - - dynamic
E0:56:43:A9:B4:19 101 - ge0/0/1 - - dynamic
A4:71:74:01:E8:98 101 - ge0/0/1 - - dynamic
40:33:1A:CD:3E:89 101 - ge0/0/1 - - dynamic
40:83:1D:D5:78:8D 101 - ge0/0/1 - - dynamic
3C:95:09:50:4C:E5 101 - ge0/0/1 - - dynamic
FC:7C:02:2F:AC:57 101 - ge0/0/1 - - dynamic
-------------------------------------------------- ---------------------------------------
OLT(config)#
Function This command is used to add or delete the static route of the OLT.
Description Only one default static route can be configured.
page 158_
IP address. IP addresses are divided into five categories. Users can
choose the appropriate IP subnet according to the actual situation.
ip-address
When the host address part is all 0 or all 1, it has a special effect and
cannot be used as a general IP address. The format is xxxx.
gateway-addr
Gateway IP address, in the format xxxx.
ess
【Configuration case】
Case 1: Configure the static default route of the OLT, the gateway is 192.168.2.253
OLT(config)# ip route 0.0.0.0 0.0.0.0 192.168.5.253
OLT(config)#
Command
OLT(config)# show ip route
syntax
Function
This command is used to view the routing information on the OLT
Description
【Configuration case】
Case 1: View routing information on the OLT
OLT(config)# show ip route
Routing Table : Public
page 159_
101.0.0.3/32 direct 0 0 D 127.0.0.1 Vlanif300
127.0.0.1/32 direct 0 0 D 127.0.0.1 InLoop0
management port
Command
OLT(config-interface-mgmt)# default gateway ABCD
syntax
【Configuration case】
Case 1: Configure the default gateway of the mgmt port as 192.168.10.1
OLT(config-interface-mgmt)# default gateway 192.168.10.1
Function Use the router rip command to enable the specified RIP process in
Description the system view.
page 160_
Use the no router rip command to disable the specified RIP process.
By default, the RIP process is disabled.
【Configuration case】
Case 1: Enable the RIP process .
OLT(config)# router rip
OLT(config)#
RIP process
Command
OLT( config )# show ip rip
syntax
Function This command is used to view the current running status and
Description configuration information of the RIP process.
【Configuration case】
Case 1: View the current running status and configuration information of the RIP process in
the config view .
OLT# show ip rip
OLT(config)# show ip rip
-------------------------------------------------- -------------
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
-------------------------------------------------- -------------
Network Next Hop Metric From Tag Time
R(n) 1.1.1.1/32 101.0.0.1 2 101.0.0.1 0 02:49
Command
OLT( config )# show ip rip status
syntax
Function This command is used to view the current running status and detailed
page 161_
Description information of the RIP process.
【Configuration case】
Case 1: View the current running status and detailed information of the RIP process in the
config view .
OLT#config
OLT(config)# show ip rip status
-------------------------------------------------- ------------
Routing Protocol is "rip"
Sending updates every 30 seconds with +/-50%, next due in 5 seconds
Timeout after 180 seconds, garbage collect after 120 seconds
Outgoing update filter list for all interface is not set
Incoming update filter list for all interface is not set
Default redistribution metric is 1
Redistributing: direct
Default version control: send version 2, receive any version
Interface Send Recv Key-chain
eth1.100 2 1 2
Routing for Networks:
101.0.0.0/24
102.0.0.0/24
Routing Information Sources:
Gateway BadPackets BadRoutes Distance Last Update
101.0.0.1 0 0 120 00:00:08
Distance: (default is 120)
process
Command
OLT( config )# show ip rip summary
syntax
【Configuration case】
Case 1: View the current route aggregation information of the RIP process in the config
page 162_
view .
OLT(config)# show ip rip summary
-------------------------------------------------- ------------------
Codes: R - RIP, C - connected, S - Static, O - OSPF, B - BGP
Sub-codes:
(n) - normal, (s) - static, (d) - default, (r) - redistribute,
(i) - interface
-------------------------------------------------- ------------------
4.0.0.0/8, Classfulsumm
R(n) 4.4.4.4/32, metric 2, nexthop 102.0.0.3
10.0.0.0/8, Classfulsumm
R(n) 10.0.0.0/24, metric 2, nexthop 102.0.0.3
15.0.0.0/8, Classfulsumm
R(n) 15.5.5.5/32, metric 2, nexthop 102.0.0.3
102.0.0.0/8, Classfulsumm
D(i) 102.0.0.0/24, metric 0, nexthop 0.0.0.0
103.0.0.0/8, Classfulsumm
R(n) 103.0.0.0/24, metric 1, nexthop 102.0.0.3
106.0.0.0/8, Classfulsumm
R(n) 106.0.0.0/24, metric 2, nexthop 102.0.0.3
7.7.0.0/16, Ifsumm, Vlanif200
D(r) 7.7.2.7/32, metric 0, nexthop 0.0.0.0
D(r) 7.7.3.7/32, metric 0, nexthop 0.0.0.0
D(r) 7.7.7.7/32, metric 0, nexthop 0.0.0.0
Command
OLT( config )# show rip neighbor
syntax
【Configuration case】
Case 1: View the current neighbor information of the RIP process in the config view .
OLT(config)# show rip neighbor
-------------------------------------------------- -------------------------------------------------- ---
IP Address Interface Type Last-Heard-Time
-------------------------------------------------- -------------------------------------------------- ---
102.0.0.3 vlanif200 2 00:00:19
Number of broadpackets : 0
page 163_
Number of multicastpackets :68
Number of badroutes : 0
【Configuration case】
Case 1: Specify RIP to globally send and receive RIP-2 packets .
OLT(config)#router rip
OLT(config-router)# version 2
timeout timer Specifies the route aging time, in the range of 5-86400, in seconds
Garbage The time at which the specified route is deleted from the routing
page 164_
collection timer table (garbage collection time defined in the standard) ranges from 5
to 86400, in seconds
【Configuration case】
Case 1: Set the value of each timer of RIP .
OLT(config)#router rip
OLT(config-router)# timers rip 35 170 240
【Configuration case】
Case 1: Enable equal-cost routing .
OLT(config)#router rip
OLT(config-router)# allow-ecmp
【Configuration case】
Case 1: Enable to send the default route to neighbors .
OLT(config)#router rip
OLT(config-router)# default-information originate metric 5
page 165_
16.5.10.Configure the default cost of imported routes
【Configuration case】
Case 1: Set the cost of imported routes to 4 .
OLT(config)#router rip
OLT(config-router)# default metric 4
Specifies the priority of the route. Integer form, the value range is 1
distance
to 255. The default value is 120
【Configuration case】
Case 1: Configure the priority of the RIP route as 90 .
page 166_
OLT(config)#router rip
OLT(config-router)# distance 90
【Configuration case】
Case 1: Enable RIP routing on the specified network segment 101.0.0.0 .
OLT(config)#router rip
OLT(config-router)# network 10.0.0.0/8
page 167_
notation
【Configuration case】
Case 1: Set the neighbor IP address to 10.1.1.1 .
OLT(config)#router rip
OLT(config-router)# neighbor 10.1.1.1
【Configuration case】
Case 1: Set the specified interface vlanif100 to the inhibited state .
OLT(config)#router rip
OLT(config-router)# passive-interface Vlanif100
Case 2 : Set all interfaces to inhibit state .
OLT(config)#router rip
OLT(config-router)# passive-interface default
page 168_
The no redistribute command is used to cancel the import of routes
from other routing protocols.
By default, routes are not imported from other routing protocols.
【Configuration case】
Case 1: Import the IS-IS routing protocol and set its cost to 7 .
OLT(config)#router rip
OLT(config-router)# redistribute isis metric 7
Case 1: Import the ospf route that passes the routing policy abc, and set its cost to 7. When
specifying the imported route, specify the routing policy name as abc .
OLT(config)#router rip
OLT(config-router)# redistribute ospf metric 7 route-map abc
【Configuration case】
Case 1: Configure the automatic aggregation function .
OLT(config)#router rip
OLT(config-router)# rip summary
page 169_
Use the ip rip send version command to configure the RIP version of
the packets sent by the interface. Specifies to send RIP version 1 or 2,
Function
or 1 and 2 packets in broadcast mode.
Description
Use the no rip version command to restore the default configuration.
By default, an interface only sends RIP-2 packets.
【Configuration case】
Case 1: Configure interface vlanif 100 to send RIP-2 packets .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ip rip send version 2
interface
Use the ip rip receive version command to configure the RIP version
of packets received by an interface. Specifies to receive RIP version 1
Function
or 2, or 1 and 2 packets in broadcast mode.
Description
Use the no rip version command to restore the default configuration.
By default, an interface receives RIP-1 and RIP-2 packets.
【Configuration case】
Case 1: Configure interface vlanif 100 to receive RIP-2 and RIP-1 packets .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ip rip receive version 2 1
page 170_
Applicable view Interface view
【Configuration case】
Case 1: Enable the split horizon function on the interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ip rip split-horizon
【Configuration case】
Case 1: Enable the poison inversion function on the interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ip rip split-horizon poison-reverse
page 171_
manual aggregation on an interface.
By default, manual aggregation is disabled on an interface.
Specifies the network address and subnet mask to enable RIP. The
network-addres
address must be the address of the natural network segment, in
s
dotted decimal form
avoid-feedback Forbid the same aggregated route to be learned from this interface
【Configuration case】
Case 1: Enable the manual aggregation function on the interface vlanif200 .
OLT(config)# interface vlanif 200
OLT(config-interface-vlanif-200)# ip rip summary-address 7.7.0.0/16
configuration
Command
OLT( config-router )# show rip ip interface brief
syntax
Function This command is used to view brief information about the interface
Description status and configuration.
【Configuration case】
Case 1: View brief messages of interface status and configuration .
OLT(config)#router rip
OLT(config-router)# show rip ip interface brief
Interface IP Address/Mask Protocol
--------------------------------------------
mgmt0/0 192.168.20.27/24 UP
loopback3 7.7.3.7/32 UP
loopback2 7.7.2.7/32 UP
loopback1 7.7.7.7/32 UP
inLoop0 127.0.0.1/32 UP
vlanif200 102.0.0.7/24 UP
---------------------------------------------
page 172_
syntax
Function This command is used to view the interface status and configuration
Description details.
【Configuration case】
Case 1: View the status and configuration details of the specified interface eth1.100 .
OLT(config)#router rip
OLT(config-router)# show rip ip interface verbose eth1.100
-------------------------------------------------- ---------
Vlanif100 eth1.100 current state: UP
Internet Address is 101.0.0.1/24
Internet Address is fe80::e267:b3ff:fe00:152/64
The Maximum Transmit Unit is 1500 bytes
Index: 131172 Knetindex: 7
Network : enables
Interface :disable
Running :yes
Send :version 2
Receive :version 1&2
Auth_type :none
Auth_str : null
Key_chain :null
Md5_auth_len: 20
Recv_badpackets : 0
Recv_badroutes: 0
Sent_updates :4
Passive :no
-------------------------------------------------- ------------
Command
OLT# show ospf
syntax
page 173_
Applicable view enable view
Function This command is used to view the current running status and
Description configuration information of the OSPF process.
【Configuration case】
Case 1: View the current running status and configuration information of the OSPF process .
OLT # show ospf
OLT #
ospf command to start the specified OSPF process in the system view.
Function
no Use the ospf command to shut down the specified OSPF process.
Description
By default, the OSPF process is disabled .
【Configuration case】
Case 1: Start the OSPF process .
OLT(config)# ospf
OLT(config-ospf)#
page 174_
16.6.3.Querying OSPF Border Router Information
Command
OLT(config)# show ospf border-routers
syntax
Function
This command is used to display OSPF border router information.
Description
【Configuration case】
Case 1: View OSPF border router information in the config view .
OLT (config) # show ospf border-routers
OLT (config) #
process
Function This command is used to view the current link state database
Description information of the OSPF process.
page 175_
opaque-link Display information about Opaque-LSA connected locally
self-originate View the router LSA connected to the physical port of the router
【Configuration case】
Case 1: View the current link state database information of the OSPF process in the config
view .
OLT (config) # show ospf lsdb
OLT (config) #
Command
OLT(config)# show ospf interface [INTERFACE]
syntax
page 176_
Function This command is used to view the interface details of the OSPF
Description process.
【Configuration case】
Case 1: View the interface details of the OSPF process in the config view .
OLT(config)# show ospf interface
vlanif100 is down
ifindex 131172, MTU 1500 bytes, BW 0 Kbit <BROADCAST,MULTICAST>
OSPF not enabled on this interface
vlanif3000 is up
ifindex 134072, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST>
OSPF not enabled on this interface
vlanif2000 is down
ifindex 133072, MTU 1500 bytes, BW 0 Kbit <BROADCAST,MULTICAST>
OSPF not enabled on this interface
vlanif1000 is down
ifindex 132072, MTU 1500 bytes, BW 0 Kbit <BROADCAST,MULTICAST>
OSPF not enabled on this interface
vlanif500 is down
ifindex 131572, MTU 1500 bytes, BW 0 Kbit <BROADCAST,MULTICAST>
OSPF not enabled on this interface
vlanif300 is up
ifindex 131372, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST>
OSPF not enabled on this interface
vlanif200 is down
ifindex 131272, MTU 1500 bytes, BW 0 Kbit <BROADCAST,MULTICAST>
OSPF not enabled on this interface
vlanif10 is up
ifindex 131082, MTU 1500 bytes, BW 0 Kbit <UP,BROADCAST,RUNNING,MULTICAST>
OSPF not enabled on this interface
loopback1 is up
ifindex 65537, MTU 16436 bytes, BW 0 Kbit <UP,LOOPBACK,RUNNING>
OSPF not enabled on this interface
--More ( Press 'Q' to quit )--
Command
OLT(config)# show ospf peer [ip-address|IFNAME|all|verbose [all]]
syntax
page 177_
Function This command is used to view the current neighbor information of
Description the OSPF process.
【Configuration case】
Case 1: View the current neighbor information of the OSPF process in the config view .
OLT (config) # show ospf peer
Neighbor ID Pri State Dead Time Address Interface RXmtL RqstL DBsmL
OLT (config) #
Command
OLT(config)# show ospf route
syntax
Function
This command is used to view the routing table of the OSPF process.
Description
【Configuration case】
Case 1: View the routing table of the OSPF process in the config view .
OLT (config) # show ospf route
page 178_
=========== OSPF external routing table ===========
N E1 12.12.12.0/24 [11] tag: 1
via 102.0.0.3, eth1.400
OLT (config) #
16.6.8.Configure area
【Configuration case】
Case 1: Create a backbone area area 1 .
OLT(config-ospf)# area 1
OLT(config-ospf-area-0.0.0.1)#
【Configuration case】
Case 1: Adjust the OSPF cost reference value to 200 .
OLT(config)# ospf
page 179_
OLT(config-ospf)# bandwidth-reference 200
cost The cost of republishing the route. The value range is 1~16777214
【Configuration case】
Case 1: Forcibly advertise a default route .
OLT(config-ospf)# default-route-advertise always
OLT(config-ospf)#
page 180_
【Configuration case】
Case 1: Set the cost of imported routes to 4 .
OLT(config-ospf)# default cost 1
OLT(config-ospf)#
external The cost of republishing the route. The value range is 1~16777214
Specifies the priority of all routes from one area to another, the
inter-area
default value is 110
Intra-area Specifies the priority of routes in the area, the default value is 110
【Configuration case】
Case 1: Configure the priority of OSPF external routes to 90 .
OLT(config)# ospf
OLT( config-ospf )# preference ospf external 90
page 181_
The max-cost router-lsa command is used to advertise the LSA of its
Function
own SPF database with the maximum metric value, and neighbors
Description
will naturally choose other paths with lower cost.
【Configuration case】
Case 1: The router advertises the LSA of its own SPF database with the maximum metric
value of 65535 .
OLT(config)# ospf
OLT( config-ospf )# max-cost router-lsa on-startup 65535
【Configuration case】
Case 1: Import the IS-IS routing protocol and set its cost to 7 .
OLT(config)# ospf
OLT( config-ospf )# import-route isis metric 7
page 182_
16.6.15.Configure the IP address of the OSPF neighbor
【Configuration case】
Case 1: Set the neighbor IP address to 10.1.1.1 .
OLT(config)# ospf
OLT( config-ospf )# peer 10.1.1.1
The router-id command is used to set the router id of the current ospf
Function process.
Description The no router-id command is used to restore the default router id.
By default, the router id is selected from the interface IP address.
【Configuration case】
Case 1: Configure the router id as 1.1.1.1 .
OLT(config)# ospf
page 183_
OLT( config-ospf )# router-id 1.1.1.1
【Configuration case】
Case 1: Set the specified interface vlanif100 to the inhibited state .
OLT(config)# ospf
OLT( config-ospf )# silent-interface Vlanif100
Case 2 : Set all interfaces to inhibit state .
OLT(config)# ospf
OLT( config-ospf )# passive-interface default
page 184_
These values ensure that frequent SPF calculations will not be
performed when the network changes frequently, and CPU resources
are protected.
By default, the delay time is 5s, and the spf interval time is 10s
The delay time from receiving the change for the first time to SPF
Delay1
calculation, the value range is <0-600000>
【Configuration case】
Case 1: Modify the delay time to 10s, the SPF calculation interval to 20s, and the maximum
interval to 100s .
OLT(config)# ospf
OLT( config-ospf )# spf-schedule-interval 10 20 100
16.6.19.route summary
<mask> mask
page 185_
ip-address Convert the address range to this address announcement
【Configuration case】
Case 1: Summarize the 102.0.10.0 network segment in this area (area 1) .
OLT(config)# ospf
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# abr-summary 102.0.10.0 255.255.255.0
【Configuration case】
Case 1: Configure the cost value to 10 .
OLT(config)# ospf
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# default-cost 10
page 186_
ip-mask wildcard mask
【Configuration case】
Case 1: Enable the ospf protocol on the 102.0.0.3 interface network segment .
OLT(config)# ospf
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# network 102.0.0.3 0.0.0.255
The nssa command is used to configure the local area as nssa area
related settings.
Function
Use the no nssa command to cancel the nssa configuration in the
Description
local area.
By default, no special area is configured for this area.
【Configuration case】
Case 1: Configure this area (area 1) as an nssa area .
OLT(config)# ospf
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# nssa
page 187_
Use the stub command to configure this area as the stub area related
settings.
Function
Use the no stub command to cancel the stub configuration in this
Description
area.
By default, no special area is configured for this area.
【Configuration case】
Case 1: Configure this area (area 1) as a stub area .
OLT(config)# ospf
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# stub
dead The time interval when the neighbor is declared dead, the value
range is <1-65535>
hello Time interval between HELLO packets, the value range is <1-65535>
retransmit The time interval for retransmission of lost lsa, the value range is
<1-65535>
【Configuration case】
Case 1: Virtually connect this area (area 1) to 1.1.1.1 .
OLT(config)# ospf
page 188_
OLT( config-ospf )# area 1
OLT( config-ospf -area-0.0.0.1)# virtual-peer 1.1.1.1
COST Set the interface cost value, the value range is <1-65535>
【Configuration case】
Case 1: Configure the interface cost as 1 on the interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf cost 1
【Configuration case】
Case 1: Modify the port priority to 10 on the interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf dr-priority 10
page 189_
Applicable view Interface view
【Configuration case】
Case 1: Disable mtu mismatch detection on interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf mtu-ignore
protocol
Use the ospf network command to specify the network type of the
interface under OSPF.
Function Use the no ospf network command to cancel the specified network
Description type.
By default, the network type is not specified, and the network type is
determined according to the actual situation.
【Configuration case】
Case 1: On the interface vlanif100, specify that the interface is a broadcast multi-access
page 190_
network under the OSPF protocol .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf network broadcast
Use the ospf timer dead command to set the neighbor dead time.
The no ospf timer dead command restores the default expiration
Function
time.
Description
By default, the failure time of a neighbor is 4 times the time for
sending a hello packet.
【Configuration case】
Case 1: Set the neighbor failure time to 20s on the interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf timer dead 20
Use the ospf timer hello command to modify the interval for sending
hello packets.
Use the no ospf timer hello command to restore the default sending
Function
interval.
Description
By default, the interval for sending Hello packets on P2P and
Broadcast interfaces is 10 seconds; the interval for sending Hello
packets on P2MP and NBMA interfaces is 30 seconds.
【Configuration case】
Case 1: Modify the hello packet sending interval to 5s on interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf timer hello 5
page 191_
16.6.31.Configure the interval for retransmission of lost link status
Use the ospf timer retransmit command to modify the interval for
retransmitting the lost link status.
Function The no ospf timer retransmit command is used to restore the default
Description interval for retransmitting the lost link state.
By default, 5 seconds is specified for the retransmission of the link
state advertisement to the adjacent nodes of the interface.
retransmit-inter Time interval for retransmission of lost link status, value range
val <3-65535>
【Configuration case】
Case 1: The time interval for modifying the retransmission lost link status on the interface
vlanif100 is 10 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf timer retransmit 10
transmit-delay-i LSA sending delay, the value ranges from 1 to 65535, the default
nterval value is 1 second
transmit-delay-i
page 192_
nterval
【Configuration case】
Case 1: Configure the OSPF interface LSA sending delay as 3s on interface vlanif100 .
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# ospf transmit-delay 3
Command
OLT(config)# igmp fast-leave {on|off}
syntax
【Configuration case】
Case 1: Enable the quick leave function of igmp of OLT
OLT(config)# igmp fast-leave on
OLT(config)#
page 193_
17.2.the mode of IGMP
Command
OLT(config)# igmp mode {snooping|proxy|disable}
syntax
Function
This command is used to configure the mode of IGMP
Description
【Configuration case】
Case 1: Configure the IGMP mode of the OLT as proxy
OLT(config)# igmp mode proxy
OLT(config)#
page 194_
Description
page 195_
command to confirm whether the user is watching the program. If
no report message is received from the user, it is considered that
the user is not watching the program, and the system will no
longer send the program. The program stream is sent to the user
to avoid wasting bandwidth due to the user receiving the multicast
stream without watching the program.
【Configuration case】
Case 1: Configure the specific group query times of igmp proxy as 1, the general group query
interval as 250, the general group maximum response time as 10, and the robustness coefficient
as 2:
OLT(config)# igmp proxy sp_count 1
OLT(config)#
Packets
Command
OLT(config)#igmp policy {discard|pass}
syntax
【Configuration case】
Case 1: Set unknown multicast protocol packets to discard
OLT(config)# igmp policy discard
page 196_
OLT(config)#
Command
OLT(config)# igmp querier (enable|disable)
syntax
Function
enable/disable igmp querier
Description
Command
OLT(config)# show igmp config
syntax
【Configuration case】
Case 1: Query the configuration information of igmp.
OLT(config)# show igmp config
-------------------------------------------------- ---------------------------------------
Global config:
Igmp mode : proxy
Igmp policy : Discard
Fast leave : On
-------------------------------------------------- ---------------------------------------
Proxy config:
Robustness count : 2
General query max response time(s) : 10
General query interval(s) : 125
Specific query interval(ms) : 1000
page 197_
Specific query count : 2
Specific query max response time(ms): 800
Source ip of the proxy : 192.168.1.253
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command OLT(config)# show igmp group {all |ip-address <IP address> |vlan <
syntax vlan -id>}
Function
This command is used to view the formed multicast entries
Description
<IP-address> IP-address: View the multicast entry of the specified channel IP.
【Configuration case】
Case 1: View all multicast entries of the OLT
OLT(config)# show igmp group all
ERROR : There is not any group address record.
OLT(config)#
Command OLT(config)# igmp static-group ip < IP address> vlan <VLAN ID> port
syntax [gpon|ge|xge] <F/S> <port -list >
Function
Configure igmp static table
Description
<IP address> Static entry multicast IP address, the format is: ABCD
<VLAN ID> The vlan of the static entry, the value range is <1-4094>
page 198_
F/S/P FrameID/SlotID , <0-0>/<0-0>
【Configuration case】
Command
OLT(config)# show igmp static-group ( all | ip < IP address> )
syntax
Function
This command is used to view igmp static group entries
Description
<IP address> Only show entries whose ip is A:B:C:D in the format A:B:C:D
【Configuration case】
Case 1: View the igmp static group entry whose multicast address is 224.1.1.1
OLT(config)# show igmp static-group ip 224.1.1.1
-------------------------------------------------- ---------------------------------------
Index IP-Address Mac_Address Vlan MemberPort
1 224.1.1.1 01:00:5e:01:01:01 100 ge0/0/1
-------------------------------------------------- ---------------------------------------
Total Static Groups: 1
Command
OLT(config)# multicast-vlan <vlan-id>
syntax
Multicast VLAN ID. Only after the corresponding VLAN is created, its
<vlan-id>
ID can be used to create a multicast VLAN.
【Configuration case】
page 199_
Case 1: Create multicast VLAN 100 and enter its corresponding multicast VLAN mode.
OLT(config)# multicast-vlan 100
OLT(config-multicast-vlan-100)#
【Configuration case】
Case 1: Configure a static multicast program and bind it to program index 1
OLT(config-multicast-vlan-100)# igmp program add program-index 1 ip 224.3.3.3
OLT(config-multicast-vlan-100)#
page 200_
Represent the start and end multicast IP addresses respectively,
<ip-addr>
forming a multicast range
【Configuration case】
Case 1: Configure static multicast programs 239.1.1.1 to 239.2.2.2 in batches and bind them
to program 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】
Case 1: Delete static multicast program index 2
OLT(config-multicast-vlan-100)# igmp program delete program-index 2
OLT(config-multicast-vlan-100)#
Command
OLT(config)# show igmp program (all | program-index < index >)
syntax
Function
View program library
Description
< index > The entry index number, the range is 1-2000
page 201_
【Configuration case】
Function
This command is used to configure the routing port of igmp
Description
【Configuration case】
Case 1: Configure the ge1 port as a routing port
OLT(config-multicast-vlan-100)# igmp router-port ge 0/0/1
OLT(config-multicast-vlan-100)#
Function
This command is used to view the routing port of igmp.
Description
【Configuration case】
Case 1: View the routing port of multicast VLAN 100
OLT(config-multicast-vlan-100)# show igmp router-port vlan 100
VID : 100
Router: ge0/0/1
OLT(config-multicast-vlan-100)#
page 202_
Multicast Service Flows
【Configuration case】
Case 1: Configure the unknown multicast suppression policy to discard.
OLT(config-multicast-vlan-100)# igmp multicast-unknown policy discard
OLT(config-multicast-vlan-100)#
Service Flows
【Configuration case】
Case 1: Check the unknown multicast service flow suppression policy.
OLT(config-multicast-vlan-100)# show igmp multicast-unknown policy vlan 100
Unknown multicast policy is discard.
OLT(config-multicast-vlan-100)#
page 203_
system
Command
OLT( config )# show system multicast-group info
syntax
Function
View the current multicast group information of the system.
Description
【Configuration case】
Group Count : 3
-------------------------------------------------- ---------------------------------------
Tips: first choose the group of the smaller [Using-count] value to release
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 204_
【Configuration case】
Case 1: View the information of multicast vlan 100.
OLT(config)# show multicast-vlan 100
-------------------------------------------------- ---------------------------------------
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)#
【Configuration case】
Case 1: Enable the MSTP function of the specified port ge 0/0 1 .
OLT(config) # stp port ge 0/0 1 enable
OLT(config) #
page 205_
Switching Devices
Command
OLT(config)# stp mode (mstp|rstp|stp)
syntax
【Configuration case】
Case 1: Configure the spanning tree protocol working mode of the switching device as mstp .
OLT(config) # stp mode mstp
OLT(config) #
Command
OLT(config)# stp [ instance <instance-id> ] priority <prioritty-id>
syntax
instance-id Specifies the spanning tree instance ID, the value range is 0-7
【Configuration case】
Case 1: Configure the priority of the switching device in the specified spanning tree protocol
instance 5 as 4096 .
OLT(config) # stp instance 5 priority 4096
OLT(config) #
Device
Command
OLT(config)# stp timer forward-delay <time-value>
syntax
page 206_
Applicable view config view
time-value The specified Forward-Delay time value, the value range is 4-30
【Configuration case】
Case 1: Configure the Forward-Delay time of the switching device to be 19 .
OLT(config) # stp timer forward-delay 19
OLT(config) #
sends BPDUs
Command
OLT(config)# stp timer hello <time-value>
syntax
Function This command is used to configure the interval at which the switching
Description device sends BPDUs, that is, the time value of the timer Hello Timer.
Specifies the time interval for sending BPDUs by the switching device.
time-value
The value ranges from 1 to 10.
【Configuration case】
Case 1: Configure the time interval for the switching device to send BPDUs to be 6s .
OLT(config) # stp timer hello 6
OLT(config) #
Command
OLT(config)# stp timer max-age <time-value>
syntax
time-value BPDU aging time value on the specified switching device port, the
page 207_
value range is 6-40
【Configuration case】
Case 1: Configure the BPDU aging time on the port of the switching device to 21 .
OLT(config) # stp timer max-age 21
OLT(config) #
Command
OLT(config)# stp max-hops <hops-value>
syntax
hops-value The specified maximum jump value, the value range is 6-40
【Configuration case】
Case 1: Configure the maximum number of hops for the spanning tree in the MST region to
24 .
OLT(config) # stp max-hops 24
OLT(config) #
Command
OLT(config)# stp transmit-limit <packet-number>
syntax
Specifies the maximum number of BPDUs sent per second, the value
packet-number
range is 1-10
【Configuration case】
page 208_
Case 1: Configure the maximum number of BPDUs sent by the device within the Hello time
to 5 .
OLT(config) # stp transmit-limit 5
OLT(config) #
Command
OLT(config)# stp bpdu-protection {enable|disable}
syntax
【Configuration case】
Case 1: Enable the BPDU protection function of the device .
OLT(config) # stp bpdu-protection enable
OLT(config) #
Command
OLT(config)# stp bpdu-filter {enable|disable}
syntax
enable: enable the edge port of the device to enable the BPDU filter
enable|disable
function
page 209_
disable: Disable the edge port of the device and enable the BPDU
filter function
【Configuration case】
Case 1: Enable the BPDU filter function on the edge port of the device .
OLT(config) # stp bpdu-filter enable
OLT(config) #
Command
OLT(config)# stp recovery interval <time-value>
syntax
Function
This command is used to configure the error timeout recovery time.
Description
【Configuration case】
Case 1: Configuration error timeout recovery time is 40s .
OLT(config) # stp recovery interval 40
OLT(config) #
Command
OLT(config)# stp region-configuration
syntax
Function
This command is used to enter the MST domain view.
Description
【Configuration case】
Case 1: Enter the MST domain view .
OLT(config)# stp region-configuration
OLT(stp-region)#
page 210_
Command
OLT(config)# stp pathcost-standard {dot1d|dot1t|legacy}
syntax
This command is used to set the path cost calculation standard. Use
this command when the path calculation standard on the entire
Function network is inconsistent and the path cost calculation standard of the
Description device needs to be consistent with the path calculation standard of
the entire network. After the path cost calculation standard is
set, the path cost is calculated using the set standard .
The calculation method for specifying the path cost value is the IEEE
802.1d-1998 standard method . Use this parameter when you need
dot1d
to set the network path calculation standard of the device to IEEE
802.1D .
The calculation method of the specified path cost value is the IEEE
dot1t 802.1t standard method. Use this parameter when the network path
calculation standard of the device needs to be set to IEEE 802.1t.
The calculation method of the specified path cost value is the Huawei
calculation method. Use this parameter when the network path
legacy
calculation standard of the device needs to be set to Huawei's
proprietary algorithm.
【Configuration case】
Case 1: Set the path cost calculation standard to Huawei's calculation method .
OLT(config) # stp pathcost-standard legacy
OLT(config) #
Command
OLT( stp-region )# region-name <name>
syntax
Function This command is used to configure the MST domain name of the
Description switching device.
【Configuration case】
Case 1: Configure the MST domain name of the switching device as huawei.
page 211_
OLT(stp-region) # region-name huawei
OLT(stp-region) #
Command
OLT( stp-region )# revision-level <level>
syntax
Function This command is used to configure the MSTP revision level of the
Description switching device.
【Configuration case】
Case 1: The MSTP revision level of the switch device is configured to be 65535.
OLT( stp-region ) # revision-level 65535
OLT(stp-region) #
instance
Command
OLT( stp-region )# instance <instance-id> vlan <vlan-list>
syntax
Function This command is used to map the specified VLAN to the specified
Description spanning tree instance.
instance-id Specifies the spanning tree instance ID, the value range is 0-7
vlan-list VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Map the specified VLAN 1 to the specified spanning tree instance 7.
OLT( stp-region ) # instance 7 vlan 1
OLT(stp-region) #
page 212_
OLT( config )# stp port (ge |xge) PORT_LIST [ instance
<instance-id> ] cost <cost-value>
Command
OLT( config )# stp port lag
syntax
("SA_PORT_CMD_STR"|"LACP_PORT_CMD_STR")[ instance
<instance-id> ] cost <cost-value>
Function This command is used to configure the port path cost of the specified
Description port on the specified spanning tree.
instance-id Specifies the spanning tree instance ID, the value range is 0-7
cost-value Path cost of the specified port, the value range is 1-200000000
【Configuration case】
Case 1: Configure the port path cost of the specified port ge 0/0 1 on instance 3 to be 2000.
OLT( config ) # stp port ge 0/0 1 instance 3 cost 2000
OLT( config ) #
tree instance
page 213_
instance-id Specifies the spanning tree instance ID, the value range is 0-7
【Configuration case】
Case 1: 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 ) #
【Configuration case】
Case 1: Configure port ge 0/0 1 as an edge port.
OLT( config ) # stp port ge 0/0 1 edged-port enable
OLT( config ) #
page 214_
18.20.Configure point-to-point links
【Configuration case】
Case 1: Set the link connected to the current Ethernet port ge 0/0 1 as a point-to-point link.
OLT( config ) # stp port ge 0/0 1 point-to-point force-true
OLT( config ) #
page 215_
{enable|disable}
【Configuration case】
Case 1: Enable the BPDU protection function of the edge port of port ge 0/0 1.
OLT( config ) # stp port ge 0/0 1 bpdu-protection enable
OLT( config ) #
【Configuration case】
Case 1: Perform mCheck operation on port ge 0/0 1 to make it work in MSTP mode.
OLT( config ) # stp port ge 0/0 1 mcheck
OLT( config ) #
page 216_
syntax OLT( config )# no stp port (ge |xge) PORT_LIST restricted-role
OLT( config )# stp port lag
("SA_PORT_CMD_STR"|"LACP_PORT_CMD_STR") restricted-role
OLT( config )# no stp port lag
("SA_PORT_CMD_STR"|"LACP_PORT_CMD_STR") restricted-role
【Configuration case】
Case 1: Configure port ge 0/0 1 as a role-restricted port.
OLT( config ) # stp port ge 0/0 1 restricted-role
OLT( config ) #
stp The port restricted -tcn command is used to configure the port as
a TCN restricted port. When a TCN topology change notification is
Function received, the received topology change notification and topology
Description change will not be propagated to other ports.
no stp port restricted -tcn is used to restore the port to its default
configuration. By default, TCN restricted mode is disabled.
page 217_
【Configuration case】
Case 1: Configure port ge 0/0 1 as a TCN restricted port.
OLT( config ) # stp port ge 0/0 1 restricted-tcn
OLT( config ) #
instance-id Specifies the spanning tree instance ID, the value range is 0-7
【Configuration case】
Case 1: Query the details of MSTP.
OLT( config ) # show stp
OLT( config ) #
Command
OLT( config )# show stp region-configuration
syntax
【Configuration case】
page 218_
Case 1: Query the configuration information of the MSTP domain.
OLT( config ) # show stp region-configuration
Oper configuration
Region name :e067b3000002
Revision level:0
OLT( config ) #
19.1.1.Set the time period in which the ACL applies relative time
page 219_
Function
This command is used to set the time period of relative time.
Description
<time-name> Time period name, which is referenced when configuring ACL rules
The start time of the relative time period, in the format of HH:MM.
Together with end-time to determine a time range, days defines the
<start-time>
effective date of the time range, and the three parameters together
determine a relative time period.
The end time of the relative time period, in the format of HH:MM. .
Together with start-time to determine a time range, days defines the
<end-time>
effective date of the time range, and the three parameters together
determine a relative time period.
Days: The specific dates of the relative time period. The optional
parameters are the following:
Mon: Monday
Tue: Tuesday
Wed: Wednesday
Thu: Thursday
<days>
Fri: Friday
Sat: Saturday
Sun: Sunday
daily: seven days of the week
weekend: Saturday and Sunday
working-day: Monday to Friday
【Configuration case】
Case 1: Configure a relative time period named worktime, which takes effect from 8:00 to
18:30 every Monday.
OLT(config)# time-range worktime 08:00 to 18:30 mon
OLT(config)#
19.1.2.the time period for which the ACL applies absolute time
Function
This command is used to set the period of absolute time.
Description
<time-name> The name of the time period, which is referenced when configuring
page 220_
ACL rules.
The start time and date of the absolute time period, in the format
<start-time>
HH:MM YYYY/MM/DD.
Absolute time period end time and date in the format HH:MM
<end-time>
YYYY/MM/DD.
【Configuration case】
Case 1: Configure an absolute time period named test, which takes effect from 8:40 on May
1, 2017 to 18:00 on December 7, 2017
OLT(config)# time-range test from 8:40 2017/5/1 to 18:00 2017/12/7
OLT(config)#
Command
OLT(config)# # no time-range {< time-name>|<all>}
syntax
Function
This command is used to delete the configured time period.
Description
Time period name, enter the name of the time period to be deleted,
<time-name>
all means all configured time periods.
【Configuration case】
Case 1: Delete the time period with the time period name test
OLT(config)# no time-range test
OLT(config)#
Command
OLT(config)# show time-range {< time-name>|<all>}
syntax
Function
This command is used to view the configured time period.
Description
Time period name, enter the time period name to be viewed, all
<time-name>
means all configured time periods.
page 221_
【Configuration case】
Case 1: View the time period with the time period name test
OLT(config)# show time-range test
Current time is 2017-12-07 11:40 Thursday
Time-range : test(Active)
From 2017-05-01 08:40 to 2017-12-07 18:00
OLT(config)#
Function
This command is used to set absolute time
Description
<name> Time name, refer to this name when configuring ACL rules
【Configuration case】
Function
This command is used to create and delete ACLs.
Description
page 222_
ACL IDs to be created and deleted:
<2000-2999> basic acl
<acl-id>
<3000-4999> advanced acl
<5000-5999> link acl
【Configuration case】
Case 1: Create basic acl 2001
OLT(config)# acl 2001
ACL ID Create OK!
OLT(acl-basic-2001)#
OLT(acl-adv-3000)#
OLT(acl-link-5000)#
OLT(config)#
Command
OLT( acl-basic-2000 )# acl name <name>
syntax
Function
Configure acl name
Description
page 223_
【Configuration case】
ACL rule ID. The larger the ACL ID, the higher the priority. The value
<rule-id>
range is 1-16.
Inverse mask; the IP address and the inverse mask are used together
to match the host of the network number. The inverse mask is a
wildcard mask, which tells the device which bit should be matched
<sour-wildcard>
by marking 0 and 1. In the reverse mask, addresses whose
corresponding bits are 1 are ignored in the comparison, and 0s must
be checked
【Configuration case】
Case 1: During the worktime period, the designated port 1 can only receive packets from the
IP address 10.10.10.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 working-day
OLT(acl-basic-2000)# rule 1 deny source any time-range working-day
OLT(acl-basic-2000)# exit
page 224_
OLT(config)# packet-filter inbound 2000 port ge 0/0 1
OLT(config)#
Command
OLT(acl-basic-2000)# show current
syntax
Function
This command is used to view the current acl configuration.
Description
【Configuration case】
Case 1: View the current configuration of the basic acl 2000
OLT(acl-basic-2000)# show current
OLT(acl-basic-2000)#
Command
OLT(acl-basic-2000)# no rule <rule-ID>
syntax
【Configuration case】
Case 1: Remove rule 1 of basic acl 2000
OLT(acl-basic-2000)# no rule 1
OLT(acl-basic-2000)#
page 225_
OLT(acl-adv-3000)#
When the parameter protocol is TCP, the command format based on
IPv4 is :
rule rule-id {permit| deny} tcp {[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>] |[time-range <time-range-name>]}
When the parameter protocol is other than TCP, UDP, and ICMP, the
command format based on IPv4 is:
rule <rule-id> {permit | deny} <protocol-ID> {[soure <ip-address>
<sour-wildcard>] | any] | [destination <ip-address>
<sour-wildcard> | any] | [precedence <procedence-value> ] |
[dscp <dscp-value>] |[time-range <time-range-name>]}
page 226_
Applicable view adv acl view
<rule-id> ACL rule ID. The larger the ACL ID, the higher the priority.
Inverse mask; the IP address and the inverse mask are used together
to match the host of the network number. The inverse mask is a
wildcard mask, which tells the device which bit should be matched
<sour-wildcard>
by marking 0 and 1. In the reverse mask, addresses whose
corresponding bits are 1 are ignored in the comparison, and 0s must
be checked
<time-range-nam
Set the time period for ACL to take effect
e>
page 227_
mobile node.
【Configuration case】
Case 1: Create an advanced ACL to match all icmp packets;
OLT(acl-adv-3000)# rule 1 permit icmp
OLT(acl-adv-3000)#
Command
OLT(acl-adv-3000)# show current
syntax
Function
This command is used to view the current acl configuration.
Description
【Configuration case】
Case 1: View the current configuration of the advanced acl 3000
OLT(acl-adv-3000)# show current
OLT(acl-adv-3000)#
This command is used to delete the current acl rule or modify the
Function
content of the rule. Note: ACL rules applied to a port need to be
Description
unapplied from the port before they can be deleted.
【Configuration case】
Case 1: Delete the source IP in rule 1 of advanced acl 3000
page 228_
OLT(acl-adv-3000)# no rule 1 source
OLT(acl-adv-3000)#
The rule command is used to create ACL rules in Acl-link mode. Use
this command to formulate ACL rules based on link layer
information such as the source MAC address, source VLAN ID, Layer
Function 2 protocol type, and destination MAC address of packets. After the
Description ACL rule is successfully created, you can use the packet-filter
command to reference the rule to filter packets. Or used in
conjunction with QoS policies to provide service quality assurance
for specific packets.
<rule-id> ACL rule ID. The larger the ACL ID, the higher the priority.
<source> The source MAC address field of matching packets in the ACL
The inverse mask of the mac address, the inverse mask is the
wildcard mask, which tells the device which bit should be matched
<mac-wildcard> by marking 0 and 1. In the reverse mask, addresses whose
corresponding bits are 1 are not matched (ignored) in the
comparison, and those whose bits are 0 must be checked;
<time-range-nam
Set the time period for ACL to take effect
e>
<inner-cos-value
Match the cos value of the inner vlan of the Layer 2 packet
>
page 229_
<vlan-id> Match the vlanid value of the outer vlan
<inner-cos-value
Match the cos value of the inner vlanid
>
【Configuration case】
Case 1: During the worktime period, the designated port 1 can only receive packets from the
destination mac address 22-22-22-22-22-22.
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(config)# acl 5000
OLT(acl-link-5000)# rule 2 permit destination 22:22:22:22:22:22 00 : 00 : 00 : 0 0: 00 :
00
OLT(acl-link-5000)# rule 1 deny destination 22:22:22:22:22:22 FF : FF : FF : FF : FF : FF
OLT(acl-link-5000)#exit
OLT(config)# packet-filter inbound 5000 port ge 0|0 1
OLT(config)#
Command
OLT(acl-link-5000)# show current
syntax
Function
This command is used to view the current acl configuration.
Description
【Configuration case】
Case 1: View the current configuration of the link acl 5000
OLT(acl-link-5000)# show current
OLT(acl-link-5000)#
Command
OLT(acl-link-5000)# no rule <rule-ID>
syntax
page 230_
Applicable view acl-link view
This command is used to delete the current acl rule or modify the
Function
content of the rule. Note: ACL rules applied to a port need to be
Description
unapplied from the port before they can be deleted.
【Configuration case】
Case 1: Delete rule 1 of link acl 5000
OLT(acl-link-5000)# no rule 1
OLT(acl-link-5000)#
Command
OLT(config)# show acl {<acl-id> | all |detail [<acl-id>|all]}
syntax
Function
This command is used to view the configured acl.
Description
detail details
【Configuration case】
Case 1: Query all ACLs of the device
OLT(config)# show acl all
OLT(config)#
page 231_
Command
OLT( acl-basic-2000 )# rule <rule-id> {up|down|move to <rule-id >}
syntax
Applicable view basic acl view, adv acl view, link acl view
【Configuration case】
Case 1: Change the rule id from 1 to 3 in ACL 2000
OLT(acl-basic-2000)# rule 1 move to 3
OLT(acl-basic-2000)#
page 232_
rule of the specified port. Use this command when you need to
delete the ACL filtering rule of the specified port.
【Configuration case】
Case 1: During the worktime period, the designated port 1 can only receive packets from the
IP address 10.10.10.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)# rule 1 deny source any time-range work time
OLT(acl-basic-2000)# exit
OLT(config)# packet-filter inbound 2000 port ge 0|0 1
OLT(config)#
20.1.2.Modify the DSCP value of the traffic matching the ACL rule
page 233_
<port-list> port list
【Configuration case】
Case 1: During the worktime period, re-mark DSCP for the packets from the IP address
10.10.10.2
is 43.
OLT(config)# time-range worktime 8:00 to 18:00 working-day
OLT(acl-basic-2000)# exit
OLT(config)#
【Configuration case】
Case 1: During the worktime period, mirror the packets with the IP address 10.10.10.2 from
port 1 to port 2
page 234_
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)#
page 235_
reremark-dscp> reremark: The value of the remarked DSCP
【Configuration case】
Case 1: During the worktime period, for the packets from the IP address 10.10.10.2 and the
incoming packets from interface 1, the guaranteed bandwidth is 1M, the average peak
bandwidth is 100M, and the traffic exceeding the guaranteed bandwidth of 1M 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
OLT(acl-basic-2000)# exit
OLT(config) # t raffic- limit inbound 2000 port ge 0/0 1 cir 1024 pir 102400 exceed red
drop
OLT(config)#
20.1.5.Add the outer VLAN of the traffic matching the ACL rule
【Configuration case】
Case 1: During the worktime period, to the packets with the IP address 10.10.10.2 from port
1, add the packets whose outer layer is vlan10.
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
page 236_
OLT(acl-basic-2000)# exit
OLT(config)# traffic-outervlan inbound 2000 port ge 0/0/ 1 vlan 10
OLT(config)#
【Configuration case】
Case 1: Convert the vlan of the incoming data flow from port 1 of rule 2 of acl 2000 to 19.
OLT(config)# t raffic-translate inbound 2000 rule-id 2 port ge 0/0/1 vlan 19
OLT(config)#
page 237_
<rule-id> Rule ID in ACL
【Configuration case】
Case 1: During the worktime period, for the packets with the IP address 10.10.10.2 from
port 1, the priority of the VLAN assigned to the packets is 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-priority inbound 2000 port ge 0/0 1 remark-priority 2
OLT(config)#
(Redirect the packets matching the ACL rule under the specified
port or port list to other ports for forwarding. After the
configuration is successful, the port will no longer forward the
redirected packets, but will forward the redirected destination
port instead. Pay attention to the configuration of the port
VLAN. .)
page 238_
<port-list> port list
【Configuration case】
Case 1: During the worktime period, redirect the packets with the IP address 10.10.10.2
from port 1 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
OLT(config)#
20.1.9.Modify the TOS value of the traffic matching the ACL rule
【Configuration case】
Case 1: During the worktime period, the tos value of the packets with the IP address
10.10.10.2 from port 1 is modified to 3.
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-tos inbound 2000 rule-id 2 port ge 0/0 1 remark-tos 3
OLT(config)#
page 239_
OLT(config)# traffic-statistic clear-counters
Command syntax {inbound|outbound} <acl-id> rule-id <rule-id> port {ge | gpon
| xge} <port-list>
【Configuration case】
Case 1: Delete the traffic that matches the acl 2000 rule counted on the ge4 port.
OLT(config)# traffic-statistic clear-counters outbound 2000 port ge 0/0 4
OLT(config)#
【Configuration case】
Case 1: View all filtering policies applied to the device
OLT(config)# show packet-filter all
-------------------------------------------------- ---------------------------------------
inbound acl 2000 port ge 0/0 1 running
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 240_
traffic-redirect|traffic-translate|} port {ge|gpon|xge}
<port-list>
Function Description This command is used to view the QOS policy of the device port
【Configuration case】
Case 1: View all QOS policies of ge1 port
OLT(config)# show qos info all port ge 0/0/1
traffic-tos on ge 0/0/1:
Inbound:
Matches: acl 2000 rule 1 running
Remark-tos : 3
OLT(config)#
Function Description This command is used to configure the global QOS mode
【Configuration case】
Case 1: Configure QOS based on device mode
OLT(config)# qos global mode device-based
OLT(config)#
page 241_
Applicable view config view
【Configuration case】
Case 1: The mapping method of the configuration queue is 802.1p priority.
OLT(config)# qos cosq-map mode cos
OLT(config)#
802.1p priorities
【Configuration case】
Case 1: Configure the mapping table between system queues and 802.1p priorities.
OLT(config)# qos cosq-map cos0 1 cos2 0 cos3 2 cos4 1 cos1 3 cos5 0 cos6 2 cos7 3
OLT(config)#
page 242_
OLT(config)# qos queue-scheduler wrr <queue0-weight
queue1-weight queue2-weight queue3-weight >
OLT(config)# qos queue-scheduler bandwidth cos0
<bandwidth> cos1 <bandwidth> cos2 <bandwidth> cos3
<bandwidth>
page 243_
packets in the low-priority queue may not be served for a long
time when PQ scheduling is used.
queue0-weight|queue1-weight|queue2-weight|queue3-weight
Set the weight of each queue. The system supports 4 queues
(queue 0-queue 3), and the sum of the weights of the 4 queues
is 100.
OLT(config)#
【Configuration case】
Case 1: View the queue scheduling mode currently used by the system.
OLT(config)# show qos queue-scheduler
-------------------------------------------------- ---------------------------------------
Queue Scheduler Mode WRR Weight Bandwidth(kbps)
-------------------------------------------------- ---------------------------------------
0 WRR 20 -
1 WRR 30 -
page 244_
2 WRR 35 -
3 WRR 15 -
-------------------------------------------------- ---------------------------------------
OLT(config)#
【Configuration case】
Case 1: Configure the mapping method of the ge1 queue as 802.1p priority.
OLT(config)# qos global mode port-based
page 245_
OLT(config)#
priorities
【Configuration case】
Case 1: Configure the mapping table between the pon1 queue and the 802.1p priority.
OLT(config)# qos cosq-map port-based gpon 0/0 1 mode cos
OLT(config)# qos cosq-map port-based gpon 0/0 1 to-pbits cos cos0 0 cos1 3 cos2 2
cos3 1 cos4 2 cos5 1 cos6 3 cos7 2
OLT(config)#
Function This command is used to configure the mapping 802.1P priority of the
Description port queue
<dscp_list> Port queue list , the range is 0-6 3 , the format is: 1, 3-5 , 8
【Configuration case】
page 246_
Case 1: Configure the priority of queue 1 of the mapped uplink port ge1 to be 5
OLT(config)# qos cos-map port-based ge 0/0 1 to-pbits diffserv 1 5
page 247_
Robin) mode. When applying this mode, you need to configure a
weight for each queue (the weight indicates the proportion of
resources acquired), and schedule among the queues in turn
according to the weight to ensure that each queue receives a
certain service. Each queue has the same priority but different
weights. The greater the weight, the longer the queue will take
to obtain scheduling. This ensures that the lowest-priority queue
obtains at least a certain amount of bandwidth, and avoids that
packets in the low-priority queue may not be served for a long
time when PQ scheduling is used.
queue0-weight|queue1-weight|queue2-weight|queue3-weight
Set the weight of each queue. The system supports 4 queues
(queue 0-queue 3), and the sum of the weights of the 4 queues
is 100.
【Configuration case】
Case 1: Configure the scheduling mode of the pon1 queue as WRR, where the weights of
queues 0–3 are 20 25 30 25
OLT(config)# qos queue-scheduler port-based gpon 0/0 1 wrr 20 25 30 25
OLT(config)#
【Configuration case】
Case 1: View the queue scheduling mode currently used by pon1.
page 248_
OLT(config)# show qos queue-scheduler port-based gpon 0/0/1
-------------------------------------------------- ---------------------------------------
Queue Scheduler Mode WRR Weight Bandwidth(kbps)
-------------------------------------------------- ---------------------------------------
0 WRR 20 -
1 WRR 25 -
2 WRR 30 -
3 WRR 25 -
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 249_
DSCP threshold information list of user IP packets, the range is
dscp-list
0-63, the format is 1,3-5
【Configuration case】
Case 1: Configure the mapping of DSCP 1 queue to 802.1p priority 1.
OLT(config)# dscp-to-pbits 1 1
OLT(config)#
Command
OLT( config )# tos-to-pbits <tos list> <802.1p priority>
syntax
This command is used to set the tos priority mapping 802.1p priority.
Function
It needs to be used when the QoS policy mode of the IP is configured
Description
on the device as tos.
<802.1p
802.1p priority
priority>
【Configuration case】
Case 1: Set tos priority 0 to map to 802.1p priority 0
OLT(config)# tos-to-pbits 0 0
21.1.1.Configuring DHCP-Snooping
page 250_
function. After enabling, the trusted/untrusted port
function, MAC address detection function, DHCP packet
rate limit function of untrusted port , port recovery
function, option82 function, ARP dynamic monitoring
function and ARP fast reply function are also enabled.
【Configuration case】
Case 1: Enable dhcp-snooping
OLT(config)# dhcp-snooping enable
OLT(config)#
【Configuration case】
Case 1: View the configuration of dhcp-snooping
OLT(config)# show dhcp-snooping configuration
-------------------------------------------------- ---------------------------------------
DHCP Snooping Configurations
-------------------------------------------------- ---------------------------------------
Switch DHCP Snooping status : Enable
DHCP Snooping verification of hwaddr status : Disable
DHCP Snooping option82 status : Disable
DHCP Snooping option82 policy : Keep
DHCP Snooping option82 format : Type4(ONU+OLT MAC)
DHCP Snooping database wirte-delay time : 7200(s)
Switch ARP dectection status : Disable
Switch ARP reply-fast status : Disable
page 251_
-------------------------------------------------- ---------------------------------------
ge0/0/1 No 300
ge0/0/2 No 300
ge0/0/3 No 300
ge0/0/4 No 300
xge0/0/1 No 300
xge0/0/2 No 300
pon0/0/1 No 300
pon0/0/2 No 300
pon0/0/3 No 300
pon0/0/4 No 300
pon0/0/5 No 300
pon0/0/6 No 300
pon0/0/7 No 300
pon0/0/8 No 300
pon0/0/9 No 300
pon0/0/10 No 300
pon0/0/11 No 300
pon0/0/12 No 300
pon0/0/13 No 300
pon0/0/14 No 300
pon0/0/15 No 300
pon0/0/16 No 300
lag1 No 300
lag2 No 300
lag3 No 300
lag4 No 300
lag5 No 300
lag6 No 300
lag7 No 300
lag8 No 300
lagL9 No 300
lagL10 No 300
lagL11 No 300
lagL12 No 300
lagL13 No 300
lagL14 No 300
lagL15 No 300
lagL16 No 300
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 252_
Command syntax OLT(config)# dhcp-snooping vlan <vlan-lis>
【Configuration case】
Case 1: Add monitoring vlan100
OLT(config)# dhcp-snooping vlan 100
OLT(config)#
【Configuration case】
Case 1: Add uplink port ge1 as a dhcp-snooping trusted port.
OLT(config)# dhcp-snooping trust port ge 0/0 1
OLT(config)#
page 253_
Applicable view config view
【Configuration case】
Case 1: Enable dhcp-snooping chaddr-check function
OLT(config)# dhcp-snooping chaddr-check enable
OLT(config)#
【Configuration case】
Case 1: Limit the rate of receiving DHCP request packets on the ge1 port to 1024pps
OLT(config)# dhcp-snooping limit-rate 1024 port ge 0/0 1
OLT(config)#
page 254_
Command syntax OLT(config)# dhcp-snooping option82 enable|disable
【Configuration case】
Case 1: Enable the function of DHCP option 82.
OLT(config)# dhcp-snooping option82 enable
OLT(config)#
【Configuration case】
Case 1: Configure the forwarding policy of dhcp to forward according to the original
forwarding policy
OLT(config)#dhcp-snooping option82 policy keep
OLT(config)#
page 255_
21.1.9.Configuring DHCP-Snooping option82 Vlan Forwarding
Policy
Replace the Option82 option in the DHCP packet with vlan , and
replace
then forward it
【Configuration case】
Case 1: Configure the forwarding policy of DHCP-Snooping vlan 10 as keep
OLT(config)# dhcp-snooping option82 vlan-policy 10 keep
OLT(config)#
page 256_
【Configuration case】
Case 1: Configure the padding mode of option82 as UNI+ONU MAC
OLT(config)# dhcp-snooping option82 format type1
OLT(config)#
Create a custom option82 format item, the field data of this item
Function Description
is filled in ascii format.
【Configuration case】
Case 1: Create an option82 format item of custom type ascii, name test01, and rid vlan
OLT(config)# dhcp-snooping option82 format add ascii name test01 rid vlan
Create a custom option82 format item, the field data of this item
Function Description
is filled in hex format.
page 257_
quotes as delimiters.
Keywords: hostname, oltmac, vlan, chassis, frame, slot, point,
gemid, onusn.
Format: "hostname: ' hostname frame/slot/ponid.onuid:vlan",
length 1-128
【Configuration case】
Case 1: Create an option82 format item of custom type hex, name test02, and rid slot
OLT(config)# dhcp-snooping option82 format add hex name test02 rid slot
【Configuration case】
Case 1: Delete the custom option format item named test02
OLT(config)# dhcp-snooping option82 format delete name test02
page 258_
Format: "hostname: ' hostname frame/slot/ponid.onuid:vlan",
length 1-128
【Configuration case】
Case 1: Modify the sub-option cid of the custom option format item test01 to ponid
OLT(config)# dhcp-snooping option82 format modify name test01 cid ponid
The MAC address of the static binding entry, the format is:
<MAC address>
AA:BB:CC:DD:EE:FF
<IP address> The IP address of the static binding entry, in the format: ABCD
<VLAN ID> The vlan of the static binding entry, the value range is <1-4094>
【Configuration case】
Case 1: Add a static binding entry with the mac address of 00:0f:1f:c5:10:08, the ip address
of 192.168.1.101, the vlan of 100, and the port of ge2.
OLT(config)# dhcp-snooping binding 00:0f:1f:c5:10:08 192.168.1.101 100 port ge 0/0/2
OLT(config)#
page 259_
all Delete all entries in the listening binding table:
IP-address Delete the entry of the listening binding table of the specified IP
【Configuration case】
Case 1: Delete all bound listening entries
OLT(config)# dhcp-snooping bind-table clear all
OLT(config)#
This command is used to set the delay time for writing the DHCP
snooping binding table to flash. After the DHCP snooping
Function Description
binding table is updated, it will be written to flash after waiting
for the set time.
<Delay time> Delay writing time, the value range is 240-86400, the unit is S.
【Configuration case】
Case 1: Set the DHCP snooping binding table to update 4 minutes after the update occurs
OLT(config)# dhcp-snooping bind-table write-delay 240
OLT(config)#
table
page 260_
This command is used to set the deletion time of dynamic
entries in the DHCP snooping binding table. When the lease
Function Description
time is reached, the dynamic table entry will not be deleted
immediately, but will be deleted after a delay to the set time.
【Configuration case】
Case 1: The dynamic table entry is deleted 100s after the lease period is reached
OLT(config)# dhcp-snooping bind-table delete-time 100
OLT(config)#
【Configuration case】
Case 1: Write the DHCP snooping binding table to flash immediately
OLT(config)# dhcp-snooping bind-table write-to-flash
OLT(config)#
<IP address> Upload binding entries to the IP address of the TFTP server
【Configuration case】
Case 1: Write the DHCP snooping binding table to the flash immediately and upload it to the
TFTP server 192.168.1.1
OLT(config)# dhcp-snooping bind-table save-to-tftp 192.168.1.1
page 261_
OLT(config)#
【Configuration case】
Case 1: Display all binding information of DHCP Snooping
OLT(config)# show dhcp-snooping bind-table all
-------------------------------------------------- ---------------------------------------
database entries count: 1 database entries delete time: 100 (s)
-------------------------------------------------- ---------------------------------------
MacAddress IpAddress Vlan Port onuid gemid Lease(s) Type Status
-------------------------------------------------- ---------------------------------------
00:0F:1F:C5:10:08 192.168.1.101 100 pon0/0/2 0 0 - Static Valid
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 262_
record can be found in the DHCP Snooping entry, the ARP
request packet will not be forwarded to the upstream network,
but will be based on Entry information quickly responds to ARP
requests, thereby reducing ARP broadcast packets.
【Configuration case】
Case 1: Enabling the dhcp-snooping arp-reply-fast function
OLT(config)# dhcp-snooping arp-reply-fast enable
OLT(config)#
21.2.1.Configure DHCP-Client
【Configuration case】
Case 1: Enable the DHCP client function of interface vlanif100
OLT(config-interface-vlanif-100)# dhcp-client enable
OLT(config-interface-vlanif-100)#
page 263_
【Configuration case】
Case 1: Enable the renew switch of interface vlanif100.
OLT(config-interface-vlanif-100)# dhcp-client renew
OLT(config-interface-vlanif-100)#
【Configuration case】
Case 1: Release the IP of interface vlanif100
OLT(config-interface-vlanif-100)# dhcp-client release
OLT(config-interface-vlanif-100)#
【Configuration case】
Case 1: Configure the option60 information of the dhcp-client of vlanif100 as "test".
page 264_
OLT(config-interface-vlanif-100)# dhcp-client option60 test
OLT(config-interface-vlanif-100)#
【Configuration case】
Case 1: Query the basic information of all dhcp client-enabled interfaces
OLT(config)# show dhcp-client
-------------------------------------------------- -------------------------
Index Name FSM IP|MASK Leased Until Time
-------------------------------------------------- -------------------------
1 vlanif100 INIT -|- -
-------------------------------------------------- -------------------------
OLT(config)#
【Configuration case】
Case 1: View the DHCP-Client option60 information configured on all Layer 3 interfaces
OLT(config)# show dhcp-client option60
-------------------------------------------------- -------------------------
VLANIF OPTION60
-------------------------------------------------- -------------------------
100 tests
-------------------------------------------------- -------------------------
OLT(config)#
page 265_
21.3.DHCP- Server function configuration
【Configuration case】
Case 1: Enable dhcp- server function
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# dhcp-server enable
Function Description This command is used to configure the address pool size.
【Configuration case】
Case 1: Configure the address pool size of vlanif 100 to be 1.1.1.1 to 1.1.1.10.
OLT(config)# interface vlanif 100
OLT(config-interface-vlanif-100)# dhcp-server ip-range 1.1.1.1 1.1.1.10
Function Description This command is used to view the allocation status of the
page 266_
Dhcp-Server address pool.
【Configuration case】
Case 1: Check the allocation status of the dhcp-server address pool.
【Configuration case】
Case 1: Configure the subnet mask assigned by dhcp-server to be 255.255.255.0.
OLT(config)# dhcp-server
page 267_
dhcp-server.
【Configuration case】
Case 1: Configure the gateway address of dhcp-server as 1.1.1.1.
OLT(config)# dhcp-server
time
【Configuration case】
Case 1: Configure dhcp-server to allocate a minimum lease time of 60s.
OLT(config)# dhcp-server
XXXX ip address
【Configuration case】
page 268_
Case 1: Configure dhcp-server to bind IP address and mac address statically.
OLT(config)# dhcp-server
【Configuration case】
Case 1: Configure the DNS address of dhcp-server as 192.168.10.1.
OLT(config)# dhcp-server
【Configuration case】
Case 1: Configure the name of dhcp-server as dhcp1.
OLT(config)# dhcp-server
page 269_
Applicable view config view
【Configuration case】
Case 1: Enable dhcp-relay function
OLT(config)# dhcp-relay enable
【Configuration case】
Case 1: Configure the service address of the dhcp-relay of vlan interface 100 to
192.168.100.1
OLT(config)# dhcp-relay vlanif 100 server 192.168.100.1
page 270_
【Configuration case】
Case 1: Delete the vlan interface 100 of the dhcp-relay server
OLT(config)# no dhcp-relay vlanif 100
【Configuration case】
Case 1: View dhcp-relay configuration information
OLT(config)# show dhcp-relay configuration
-------------------------------------------------- ---------------------------------------
Switch DHCP Relay status : Enable
-------------------------------------------------- ---------------------------------------
Vlanif Vlanif-Ip Vlanif-netmask Server-Ip
-------------------------------------------------- ---------------------------------------
101 - - 192.168.101.1
-------------------------------------------------- ---------------------------------------
22.1.AAA mode
【Configuration case】
Case 1: Enter aaa mode.
OLT(config)# aaa
OLT(config-aaa)#
page 271_
22.1.2.View AAA configuration information
【Configuration case】
Case 1: View aaa configuration information.
OLT(config-aaa)# show aaa configuration
-------------------------------------------------- ---------------------------------------
AAA configuration information :
-------------------------------------------------- ---------------------------------------
Domain-delimiter : @
Domain : total: 255 used: 1
Authentication-scheme : total: 16 used: 1
Local-user : total: 1024 used: 1
Radius-server template : total: 128 used: 0
Tac-plus-server template : total: 128 used: 0
AAA-access-user : total: 32768 used: 0
-------------------------------------------------- ---------------------------------------
OLT(config-aaa)#
【Configuration case】
Case 1: Configure the domain name separator as '\' .
page 272_
OLT(config-aaa)# domain-delimiter \
OLT(config-aaa)#
【Configuration case】
Case 1: Configure the authentication mode as local authentication.
OLT(config-aaa-authen-hw)# authentication-mode local
OLT(config-aaa-authen-hw)#
page 273_
22.3.1.Create local user (based on AAA mode )
Function
This command is used to configure local users based on AAA mode.
Description
USERNAME username
USER-PASSWOR
user password
D
【Configuration case】
Case 1: Configure a local user aa based on AAA mode, and set its user type to onu user .
OLT(config-aaa)# local-user aa password ****** service-type onu
OLT(config-aaa)#
Case 2 : Configure a local user hw based on AAA mode, and set its user type to terminal user
and its terminal level to 5 .
OLT(config-aaa)# local-user hw password ****** service-type terminal level 5
OLT(config-aaa)#
Command
OLT( config -aaa )# local-user USERNAME level <level-value>
syntax
Function
This command is used to set the local user level.
Description
USERNAME username
page 274_
USER-PASSWOR
user password
D
【Configuration case】
Case 1: Set the terminal level of the local user hw to 10 .
OLT(config-aaa)# local-user hw level 10
OLT(config-aaa)#
Function
This command is used to set the local user type.
Description
【Configuration case】
Case 1: Set the user type of the local user hw to the onu user type .
OLT(config-aaa)# local-user hw service-type onu
OLT(config-aaa)#
Function
This command is used to delete a local user.
Description
USERNAME username
page 275_
【Configuration case】
Case 1: View all local users .
OLT(config-aaa)# show local-user all
-------------------------------------------------- ---------------------------------------
No. Username Service-type Level Online
-------------------------------------------------- ---------------------------------------
1 hhh X - 0
2 hw O - 0
-------------------------------------------------- ---------------------------------------
Note : Service-type T--Terminal, X--Dot1x, O--ONU, U--Unknown
OLT(config-aaa)#
Command
OLT( config )# [no] radius-server template TEMPLATE-NAME
syntax
TEMPLATE-NA
RADIUS server template view name
ME
【Configuration case】
Case 1: Create a RADIUS server template named ra .
OLT(config)# radius-server template ra
Info: Create a new radius server template!
OLT(config-radius-ra)#
page 276_
Function
This command is used to configure the RADIUS authentication server.
Description
【Configuration case】
Case 1: Configure the IP of the RADIUS primary authentication server as 192.168.10.1 and
the port number as 1024 .
OLT(config-radius-ra)# radius-server authentication 192.168.10.1 port 1024
OLT(config-radius-ra)#
Command
OLT(config-radius-ra) # no radius-server authentication [secondary]
syntax
【Configuration case】
Case 1: Clear the configuration of the RADIUS authentication server .
OLT(config-radius-ra)# no radius-server authentication 192.168.10.1 port 1024
OLT(config-radius-ra)#
Server
Command
OLT(config-radius-ra) # radius-server shared-key USER-PASSWORD
syntax
Function This command is used to configure the shared key of the RADIUS
Description authentication server.
page 277_
USER-PASSWOR
Shared key that needs to be set
D
【Configuration case】
Case 1: Configure the shared key of the RADIUS authentication server as 123456789 .
OLT(config-radius-ra)# radius-server shared-key ******
OLT(config-radius-ra)#
NAS-IP-Address field
VLAN_CMD_ST
vlanif interface id
R
【Configuration case】
Case 1: Specify the ip address of vlanif 1024 as the filling address of the NAS-IP-Address field
of the packet sent to the RADIUS server .
OLT(config-radius-ra)# radius-server source-interface vlanif 1024
OLT(config-radius-ra)#
domain name
page 278_
This command is used to specify whether the username field of
Function packets sent to the RADIUS server carries the domain name. (Note: If
Description the username itself does not have a domain name, even if
domain-included is configured, it will not have a domain name).
【Configuration case】
Case 1: Configure the username field of the specified packet sent to the RADIUS server to
carry the domain name .
OLT(config-radius-ra)# radius-server user-name domain-included
OLT(config-radius-ra)#
Command
OLT(config) # show radius-server (all|template TEMPLATE-NAME)
syntax
Function
This command is used to query radius configuration information.
Description
【Configuration case】
Case 1: Query radius configuration information .
OLT(config)# show radius-server all
-------------------------------------------------- ---------------------------------------
Server-template-name : ra
Shared-secret-key : 48<159=26
Domain-included : Yes
Server-source-interface : vlanif1024
User-level : vendor_id:- tlv_type:-
Primary-authentication-server : 192.168.10.1:1024
Secondary-authentication-server : 0.0.0.0:0
Bind-counter : 0
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 279_
Command
OLT( config )# [no] tac-plus-server template TEMPLATE-NAME
syntax
TEMPLATE-NA
tacacs+server template view name
ME
【Configuration case】
Case 1: Create a tacacs+server template named tac1 .
OLT(config)# tac-plus-server template tac1
Info: Create a new tacacs plus server template!
OLT(config-tac-plus-tac1)#
Function
This command is used to configure the RADIUS authentication server.
Description
A.BCD tacacs+server ip
【Configuration case】
Case 1: Configure the IP of the tacacs+ authentication server as 192.168.10.1 and the port
number as 1024 .
OLT(config-tac-plus-tac1)# tac-plus-server authentication 192.168.10.1 port 1024
OLT(config-tac-plus-tac1)#
page 280_
Command OLT(config-tac-plus-tac1) # tac-plus-server shared-key
syntax USER-PASSWORD
Function This command is used to configure the shared key of the tacacs+
Description authentication server.
USER-PASSWOR
Shared key that needs to be set
D
【Configuration case】
Case 1: Configure the shared key of the tacacs+ authentication server as 123456789 .
OLT(config-tac-plus-tac1)# tac-plus-server shared-key *********
OLT(config-tac-plus-tac1)#
VLAN_CMD_ST
Vlanif interface id
R
【Configuration case】
Case 1: Specify the ip address of vlanif 2048 as the filling address of the remote_addr field of
the message sent to the tacacs-plus server .
OLT(config-tac-plus-tac1)# tac-plus-server source-interface vlanif 2048
OLT(config-tac-plus-tac1)#
name
page 281_
Command OLT(config-tac-plus-tac1) # [no] tac-plus-server user-name
syntax domain-included
This command is used to specify whether the user field of the packet
Function sent to the tacacs-plus server carries a domain name (Note: If the
Description user name itself does not carry a domain name, even if
domain-included is configured, it does not carry a domain name).
【Configuration case】
Case 1: Configure the user field of the specified packet sent to the tacacs-plus server to carry
the domain name .
OLT(config-tac-plus-tac1)# tac-plus-server user-name domain-included
OLT(config-tac-plus-tac1)#
Command
OLT(config) # show tac-plus-server (all|template EMPLATE-NAME)
syntax
Function
This command is used to query tacacs+ configuration information.
Description
【Configuration case】
Case 1: Query tacacs+ configuration information .
OLT(config)# show tac-plus-server all
-------------------------------------------------- ---------------------------------------
Server-template-name : 1
Shared-secret-key : 48<159
Domain-included : Yes
Server-source-interface : mgmt
Authentication-server : 0.0.0.0:0
Bind-counter : 0
-------------------------------------------------- ---------------------------------------
22.6.Domain configuration
22.6.1.Create domain
page 282_
Command
OLT( config -aaa )# [no] domain DOMAIN-NAME
syntax
【Configuration case】
Case 1: Create a domain named domain1 .
OLT(config-aaa)# domain domain1
Info: Create a new domain!
OLT(config-aaa-domain-domain1)#
Command
OLT( config -aaa )# authentication-scheme SCHEME-NAME
syntax
Function
This command is used to bind the authentication template.
Description
【Configuration case】
Case 1: Bind an authentication template named a .
OLT(config-aaa)# authentication-scheme a
Info: Create a new authentication scheme!
OLT(config-aaa-authen-a)#
Command
OLT( config-aaa-domain-domain1 )# radius-server TEMPLATE-NAME
syntax
page 283_
Function
This command is used to bind a RADIUS server template.
Description
TEMPLATE-NA
Name of the bound RADIUS server template.
ME
【Configuration case】
Case 1: Bind the RADIUS server template named ra .
OLT(config-aaa-domain-domain1)# radius-server ra
OLT(config-aaa-domain-domain1)#
Function
This command is used to bind the tacacs plus server template.
Description
TEMPLATE-NA
Binding tacacs plus server template name
ME
【Configuration case】
Case 1: Bind a tacacs plus server template named tac1 .
OLT(config-aaa-domain-domain1)# tac-plus-server tac1
OLT(config-aaa-domain-domain1)#
Command
OLT(config) # show domain (all|DOMAIN-NAME)
syntax
Function
This command is used to query domain configuration information.
Description
DOMAIN-NAME Specifies the domain name of the domain that needs to be queried.
【Configuration case】
page 284_
Case 1: Query the configuration information of all domains .
OLT(config-aaa)# show domain all
-------------------------------------------------- ---------------------------------------
No. Domain-name Online
-------------------------------------------------- ---------------------------------------
1 default 0
2 ddd 0
3 eee 0
4 domain1 0
-------------------------------------------------- ---------------------------------------
OLT(config-aaa)#
23.802.1X function
Command
OLT( config-interface-ge-0/0 )# dot1x PORT-LIST (enable | disable)
syntax
Applicable view GE interface view or XGE interface view or gpon interface view
【Configuration case】
Case 1: Enable dot1x of port G1 port .
OLT(config)# interface ge 0/0
OLT(config-interface-ge-0/0)# dot1x 1 enble
Command
OLT( config )# dot1x {enable | disable}
syntax
page 285_
【Configuration case】
Case 1: Enable 802.1x(dot1x) .
OLT(config)# dot1x enable
OLT(config)#
interface
Applicable view GE interface view or XGE interface view or gpon interface view
The access user is authenticated based on the mac address, that is, all
macbased access users under the port need to be authenticated separately.
When a user goes offline, only the user cannot use the network.
Indicates that the access user is authenticated based on the port, that
is, as long as the first user under the port is authenticated
portbased successfully, other access users can use network resources without
authentication, but when the first user goes offline, other users will
also Denied access to the network.
In the ONU-based access control mode, that is, as long as the first
user under the ONU is authenticated successfully, other access users
can use network resources without authentication, but when the first
onubased user goes offline, other users will also be blocked. refuse to use the
Internet. (Note: This access control method is controlled by turning
ON/OFF the ONU service flow on the 8022 sdk on EPON OLT, and by
turning on/off all service-ports of ONU on GPON OLT)
【Configuration case】
Case 1: Configure the 802.1x access control method on the GE1 port as macbased .
OLT(config)# interface ge 0/0
page 286_
Command
OLT( config-interface-ge-0/0 )# show dot1x PORT-LIST
syntax
Applicable view GE interface view or XGE interface view or gpon interface view
【Configuration case】
Case 1: View the configuration information of the GE1 port .
OLT(config-interface-ge-0/0)# show dot1x 1
-------------------------------------------------- ---------------------------------------
IEEE 802.1x: disable
Authentication method : chap
Port-control : auto
Port-method : macbased
User-max-number : 256
Port-state : common
User-online-number : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-ge-0/0)#
Applicable view GE interface view or XGE interface view or gpon interface view
page 287_
authorized state, allowing users to access network resources. This is
also the most commonly used state.
【Configuration case】
Case 1: Configure the authorization status of the GE1 port as authorized-force.
OLT(config)# interface ge 0/0
OLT(config-interface-ge-0/0)#
Function
This command is used to display
Description
【Configuration case】
Case 1: Display.
OLT(config)# interface gpon 0/0
Applicable view GE interface view or XGE interface view or gpon interface view
page 288_
Function This command is used to configure the maximum number of accesses
Description to the specified port.
【Configuration case】
Case 1: Configure the maximum access quantity of G1 port to 100 .
OLT(config)# interface ge 0/0
OLT(config-interface-ge-0/0)#
Function This command is used to display the access user information of the
Description specified port or all ports.
【Configuration case】
Case 1: Display the access user information of the G1 port .
OLT(config)# interface ge 0/0
OLT(config-interface-ge-0/0)#
Case 2 : View the access user information of all ports in the config view .
OLT(config)# show dot1x access-user all
No access users!
OLT(config)#
page 289_
Command OLT( config-interface-ge-0/0 )# dot1x authentication-method
syntax PORT-LIST {chap | eap}
Applicable view GE interface view or XGE interface view or gpon interface view
【Configuration case】
Case 1: Configure the authentication control mode of the G1 port as chap termination
mode .
OLT(config)# interface ge 0/0
OLT(config-interface-ge-0/0)#
Command
OLT( config )# dot1x timeout supp-timeout <value>
syntax
【Configuration case】
Case 1: Configure the client authentication timeout timer to 30 seconds .
OLT(config)# dot1x timeout supp-timeout 30
OLT(config)#
page 290_
23.1.11.Configuring the Authentication Server Timeout Timer
Command
OLT( config )# dot1x timeout server-timeout <value>
syntax
【Configuration case】
Case 1: Configure the authentication server timeout timer to 10 seconds .
OLT(config)# dot1x timeout server-timeout 10
OLT(config)#
Command
OLT( config )# dot1x timeout reauth-period <value>
syntax
【Configuration case】
Case 1: Configure the period value of the periodic re-authentication timer to be 7200
seconds .
OLT(config)# dot1x timeout reauth-period 7200
OLT(config)#
page 291_
Command
OLT( config )# dot1x re-authentication {enable | disable}
syntax
【Configuration case】
Case 1: Enable the periodic re-authentication timing function .
OLT(config)# dot1x re-authentication enable
OLT(config)#
Command
OLT( config )# dot1x quiet-period {enable | disable}
syntax
【Configuration case】
Case 1: Enable the silent function .
OLT(config)# dot1x quiet-period enable
OLT(config)#
Command
OLT( config )# dot1x timeout quiet-period <value>
syntax
Function This command is used to configure the time value of the silent timer.
page 292_
Description By default, the silent timer is 60 seconds.
【Configuration case】
Case 1: Configure the time value of the silent timer to be 7200 seconds .
OLT(config)# dot1x timeout quiet-period 7200
OLT(config)#
【Configuration case】
Case 1: View part of the current 802.1x configuration information .
OLT(config)# show current-config section dot1x
interface ge 0/0
dot1x port-control 1 authorized-force
dot1x user-max 1 100
OLT(config)#
Case 2 : View the current 802.1x configuration information including user .
OLT(config)# show current-config section dot1x include us e r
dot1x user-max 1 100
OLT(config)#
Command
OLT( config )# show dot1x
syntax
page 293_
Applicable view config view
Function
This command is used to display 802.1x configuration information.
Description
【Configuration case】
Case 1: Display 802.1x configuration information .
OLT(config)# show dot1x
-------------------------------------------------- ---------------------------------------
IEEE 802.1x: disable
ReAuthEn : disable
QuietEn : disable
ReAuth-period(s) : 7200
Supp-timeout(s) : 30
Server-timeout(s) : 30
quiet-period(s) : 60
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# ip-source check port port-type F/SP
syntax
port. IPSG is short for IP Source Guard. IPSG can prevent attacks that
Function The IPSG function is based on the binding table (DHCP dynamic and
Description static binding table) to check the matching of IP packets. When the
indicates that the user is a legitimate user, and the packet is allowed
page 294_
to be normal. Otherwise, it is regarded as an attack packet, and the IP
packet is discarded.
【Configuration case】
Case 1: Enable the IPSG function of the specified port ge 0/0 1 .
OLT(config) # ip-source check port ge 0/0 1
OLT(config) #
Command
OLT(config)# no ip-source check port port-type F/S P
syntax
Function This command is used to disable the IPSG function of the specified
Description port.
【Configuration case】
Case 1: Disable the IPSG function of the specified port ge 0/0 1 .
OLT(config) # no ip-source check port ge 0/0 1
OLT(config) #
page 295_
table function, you need to enable dhcp-snooping.
【Configuration case】
Case 1: Enable IPSG dynamic table binding function .
OLT(config) # ip-source check dhcp-snooping dynamic enable
OLT(config) #
The MAC address part of the IPSG static entry, in the format
mac-addr
H:H:H:H:H:H
vlan-id VLAN of the IPSG static entry, the value range is 1 to 4094
【Configuration case】
Case 1: Configure IPSG static rules .
OLT(config) # ip-source check static autoindex ip 10.1.1.10
OLT(config) #
page 296_
Command OLT(config)# no ip-source check check static rule ( index| all)
syntax OLT(config)# no ip-source check check static rule entry-list
entry-list The id number of the IPSG entry (for example, 1,1-98,100). <1-1024>
【Configuration case】
Case 1: Delete all IPSG static rules .
OLT(config) # no ip-source check static rule all
OLT(config) #
Function This command is used to apply a static IPSG rule or a specified range
Description to the specified port.
entry-list The id number of the IPSG entry (for example, 1,1-98,100). <1-1024>
【Configuration case】
Case 1: Apply IPSG static rule rule 1 to the specified port ge 0/0 1,3-4 .
OLT(config) # ip-source check binding static rule 1 port ge 0/0 1,3-4
OLT(config) #
Case 2 : Apply IPSG static rule rule 1-10 to the specified port ge 0/0 1 .
OLT(config) # ip-source check binding port ge 0/0 1 static rule 1-10
page 297_
OLT(config) #
Function This command is used to release the IPSG static rule of the specified
Description port.
entry-list The id number of the IPSG entry (for example, 1,1-98,100). <1-1024>
【Configuration case】
Case 1: Release the IPSG static rule rule 1 of the specified port ge 0/0 1 .
OLT(config) # no ip-source check binding static rule 1 port ge 0/0 1
OLT(config) #
Case 2 : Release the IPSG static rule rule 1-10 of the specified port ge 0/0 1 .
OLT(config) # no ip-source check binding static rule port ge 0/0 1 1-10
OLT(config) #
Function
This command is used to query IPSG entries.
Description
page 298_
static IPSG static rule entry
The MAC address part of the IPSG static entry, in the format
mac-addr
H:H:H:H:H:H
vlan-id VLAN of the IPSG static entry, the value range is 1 to 4094
【Configuration case】
Case 1: Query all IPSG entries .
OLT(config)# show ip-source check rule all
-------------------------------------------------- ---------------------------------------
INDEX IP MAC VLAN TYPE PORT
-------------------------------------------------- ---------------------------------------
1 101.0.0.3 -- -- Static ge0/0/1
-------------------------------------------------- ---------------------------------------
Total: 1
-------------------------------------------------- ---------------------------------------
Function
Command
OLT(config)# show ip-source check config
syntax
【Configuration case】
Case 1: Query the configuration of port ge 0/0 1IPSG function .
OLT(config)# show ip-source check config
ip-source check
dhcp-snooping dynamic : disable
-------------------------------------------------- ---------------------------------------
page 299_
PORT IP Source Check
-------------------------------------------------- ---------------------------------------
pon0/0/1 disable
pon0/0/2 disable
pon0/0/3 disable
pon0/0/4 disable
pon0/0/5 disable
pon0/0/6 disable
pon0/0/7 disable
pon0/0/8 disable
ge0/0/1 enable
ge0/0/2 disable
ge0/0/3 disable
ge0/0/4 disable
xge0/0/1 disable
xge0/0/2 disable
-------------------------------------------------- ---------------------------------------
Function This command is used to query the binding table information of the
Description specified port or all ports.
【Configuration case】
Case 1: Query the IPSG binding table information of the specified port ge 0/0 1 .
OLT(config)# show ip-source check brief port ge 0/0 1
-------------------------------------------------- ---------------------------------------
PORT Static/Dynamic Binding Table
-------------------------------------------------- ---------------------------------------
ge0/0/1 1
-------------------------------------------------- ---------------------------------------
25.loop monitoring
page 300_
25.1.Globally enable loop monitoring function
Command
OLT(config)# loopback-detection {enable|disable}
syntax
Function This command is used to globally enable or disable the loop detection
Description function
【Configuration case】
Case 1: The loop control monitoring function is globally enabled .
OLT(config)# loopback-detection enable
OLT(config)#
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Enable the loop control monitoring function of the GE1 port .
OLT(config-interface-ge-0/0)# loopback-detection 1 enable
OLT(config-interface-ge-0/0)#
page 301_
Command OLT(config-interface-ge -0/0 )# loopback-detection <port-list> control
syntax (enable|disable)
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Enable the loop monitoring controlled function of the GE1 port .
OLT(config-interface-ge-0/0)# loopback-detection 1 control enable
OLT(config-interface-ge-0/0)#
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Configure the loop detection controlled state of port G1 to block .
OLT(config-interface-xge-0/0)# loopback-detection 1 control enable block
page 302_
OLT(config-interface-xge-0/0)#
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Enable the loop control monitoring function of the GE1 port .
OLT(config-interface-ge-0/0)# loopback-detection 1 per-vlan enable
OLT(config-interface-ge-0/0)#
System
time Loop detection interval, the value range is 5-300, the unit is seconds
【Configuration case】
Case 1: Configure the loop detection interval of the OLT system to be 10s .
OLT(config)# loopback-detection interval-time 10
OLT(config)#
page 303_
25.7.Configuring the Port Loop Detection Automatic Recovery
Function
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Enable the automatic recovery function of loop detection on port G1 .
OLT(config-interface-ge-0/0)# loopback-detection 1 auto-recovery enable
OLT(config-interface-ge-0/0)#
Interval
Applicable view XGE interface view or GE interface view or gpon interface view
【Configuration case】
Case 1: Configure the loop detection automatic recovery interval of port G1 to the default
value .
OLT(config-interface-ge-0/0)# loopback-detection 1 auto-recovery time default
OLT(config-interface-ge-0/0)#
page 304_
25.9.Check the loop detection status of the OLT system
Command
OLT(config)# show loopback-detection
syntax
Function This command is used to view the loop detection status of the OLT
Description system .
【Configuration case】
Case 1: Check the loop detection status of the OLT system .
OLT(config)# show loopback-detection
-------------------------------------------------- ---------------------------------------
System loopback-detection is running
Detection interval time is 30 seconds
page 305_
<port-list> The port number
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Add uplink ports ge1 and ge2 to aggregation group 1
OLT(config-interface-aggregation)# member add ge 0/0 1,2 link-aggregation group 1
OLT(config-interface-aggregation)#
Case 2: Delete uplink ports ge1 and ge2 from aggregation group 1
OLT(config-interface-aggregation)# member delete ge 0/0 1,2 link-aggregation group 1
OLT(config-interface-aggregation)#
function
【Configuration case】
Case 1: Enable the flow control function of aggregated port group 1
OLT(config-interface-aggregation)# flow-control 1 enable
OLT(config-interface-aggregation)#
page 306_
Function
This command is used to set the priority of the system
Description
【Configuration case】
Case 1: Configure the system priority of OLT as 3000
OLT(config-interface-aggregation)# lacp set system priority 3000
OLT(config-interface-aggregation)#
Command
OLT( config-interface-aggregation )# lacp set system priority default
syntax
Function Configure the LACP system priority as the default value, the default
Description value is 32768
【Configuration case】
Case 1:
OLT( config-interface-aggregation )# lacp set system priority default
Function
This command is used to set the priority of the port
Description
【Configuration case】
Case 1: Configure the priority of the uplink port GE 2 to 6000
OLT(config-interface-aggregation)# link-aggregation port-priority ge 0/0/2 6000 manual
page 307_
OLT(config-interface-aggregation)#
Command
OLT(config-interface-aggregation)# show lacp system priority
syntax
Function
This command is used to view the system priority
Description
【Configuration case】
Case 1: View OLT System Priority
OLT(config-interface-aggregation)# show lacp system priority
lacp system priority value: 3000
OLT(config-interface-aggregation)#
group
Function
This command is used to set the priority of the port
Description
【Configuration case】
Case 1: Check the system priority of uplink port 1 when the mode is lacp
OLT(config-interface-aggregation)# show link-aggregation port-priority ge 0/0/1 lacp
lacp port priority: 32768
OLT(config-interface-aggregation)#
page 308_
Command OLT( config-interface-aggregation )# lacp set system timeout <
syntax timer >
Function
Set LACP system timeout value
Description
< timer > Timeout, the range is 0-1, 0 means short, 1 means long
【Configuration case】
Case 1: Configure the lacp system timeout value to 1
OLT( config-interface-aggregation )# lacp set system timeout 1
Command
OLT( config-interface-aggregation )# lacp set system timeout default
syntax
Function Configure the LACP system timeout value as the default value, the
Description default value is 0
【Configuration case】
Case 1:
OLT( config-interface-aggregation )# lacp set system timeout default
Command
OLT( config-interface-aggregation )# show lacp system timeout
syntax
Function
Query the timeout value of the LACP system
Description
【Configuration case】
Case 1:
OLT( config-interface-aggregation )# show lacp system timeout
lacp system timeout value: 0
page 309_
OLT( config-interface-aggregation )#
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
<frame-max The value of the maximum transmission frame length, the value
value> range is 328-12288
【Configuration case】
Case 1: Configure the maximum transmission frame length of aggregate port group 1 to be
2000
OLT(config-interface-aggregation)# frame-max 1 2000
OLT(config-interface-aggregation)#
balancing mode
26.6.1.Set the sharing mode of the known unicast data of the link
Function This command is used to set the sharing mode of known unicast data
Description in the aggregation group
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
page 310_
dest-ip|| Unicast load sharing by destination ip
dest-mac|| load balancing by destination mac
source-dest-ip|| load balancing by source ip or destination ip
balance
source-dest-mac || Load sharing by source mac or destination mac
source-ip|| load balancing by source ip
source-mac|| load sharing by source mac (system default mode)
【Configuration case】
Case 1: The known unicast sharing mode of aggregation group 1 is configured to share the
load according to the destination IP.
OLT(config-interface-aggregation)# link-aggregation group 1 unicast balance dest-ip
OLT(config-interface-aggregation)#
Applicable
link-aggregation view
view
Function This command is used to set the sharing mode of non-unicast and
Description unicast in the aggregation group
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Configure the non-unicast data sharing mode of aggregation group 1 to share
according to the source port number.
OLT(config-interface-aggregation)# link-aggregation group non-unicast balance
source-port
OLT(config-interface-aggregation)#
page 311_
OLT(config-interface-aggregation)# port-name <group-id> <port
Command syntax
name>
Function
Set the name of the aggregation group
Description
<port name> The name of the aggregation group, length < 1~16>
【Configuration case】
Case 1: Set the name of aggregation group 1 to test
OLT(config-interface-aggregation)# port-name 1 test
OLT(config-interface-aggregation)#
Command
OLT(config-interface-aggregation) # reset statistics port <group-id>
syntax
Function
This command is used to clear the statistics of the aggregation group
Description
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Clear the statistics of aggregation group 1
OLT(config-interface-aggregation)# reset statistics port 1
OLT(config-interface-aggregation)#
Function
Open or close the aggregation group, the default is open
Description
page 312_
Aggregation group ID, 1-8 are manual aggregation groups, 9-16
<group-id>
are static LACP aggregation groups
【Configuration case】
Case 1: Turn off aggregation group 1
OLT(config-interface-aggregation)# shutdown 1
OLT(config-interface-aggregation)#
OLT(config-interface-aggregation)#
Tree Configuration
Aggregation Groups
This command is used to configure the spanning tree cost of the OLT
Function aggregation group. When there are multiple links between two
Description devices and none of them are root ports, the best path is determined
according to the port cost.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: The cost of configuring the rapid spanning tree of aggregation group 1 of the OLT is
2000.
OLT(config-interface-aggregation))# spanning-tree cost 1 2000
OLT(config-interface-aggregation))#
page 313_
Aggregation Aggregation Group
This command is used to configure the edge port of the spanning tree
of the OLT aggregation group. If the user designates a port as an edge
Function port, when the port transitions from the blocking state to the
Description forwarding state, the port can be quickly migrated without waiting for
the delay time. The user can only set the port connected to the
terminal as an edge port. Default is non-edge port.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Configure the edge port of OLT aggregation group 1.
OLT(config-interface-aggregation))# spanning-tree edged-port 1 enable
OLT(config-interface-aggregation))#
page 314_
automatic mode.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Configure the point-to-point link connection function of OLT aggregation group 1 to
true.
OLT(config-interface-aggregation))# spanning-tree point-to-point 1 true
OLT(config-interface-aggregation))#
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
Port priority, the value range is 0-240, and the step size is 16. The
<port-priority>
default value is 128.
【Configuration case】
Case 1: Set the spanning tree priority of OLT aggregation group 1 to 160.
OLT(config-interface-aggregation))# spanning-tree priority 1 160
OLT(config-interface-aggregation))#
page 315_
26.11.Link Aggregation Aggregation Group VLAN
Configuration
Mode
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
Access: Access type ports can only belong to one VLAN, and are
generally used to connect to computer ports;
Trunk : Trunk type ports can allow multiple VLANs to pass through,
and can receive and send packets of multiple VLANs. They are
access|hybrid|t
generally used for ports connected between switches;
runk
Hybrid : Hybrid type ports can allow multiple VLANs to pass through,
can receive and send packets of multiple VLANs, can be used to
connect between switches, and can also be used to connect users'
computers.
【Configuration case】
Case 1: Configure the VLAN mode of OLT aggregation group 1 as Access mode.
OLT(config-interface-aggregation)# vlan mode 1 access
OLT(config-interface-aggregation)#
page 316_
for details on how the port handles packets in each Vlan mode.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Configure the native VLAN of aggregation group 1 of the OLT to be 10.
OLT(config-interface-aggregation)# vlan native-vlan 1 10
OLT(config-interface-aggregation)#
Aggregation Group
Function This command is used to configure the priority of the native VLAN of
Description the GE aggregation group of the OLT, which is 0 by default.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Configure the priority of the native VLAN of aggregation group 1 to be 1.
OLT(config-interface-aggregation)# vlan native-vlan-priority 1 1
OLT(config-interface-aggregation)#
Command
OLT(config-interface-aggregation)# vlan access <group-id> <vlan-id>
syntax
page 317_
mode.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: Set the access VLAN of aggregation group 1 to 100.
OLT(config-interface-aggregation)# vlan access 1 100
OLT(config-interface-aggregation)#
Group
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
tagged: Packets outgoing from the port with the corresponding vlan
Tagged|untagge
tag
d
untagged: strip the vlan tag from the packets outgoing from the port
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Add a hybrid VLAN of 10-15 untagged to aggregation group 1.
OLT(config-interface-aggregation)# vlan hybrid 1 untagged 10-15
lag1: hybrid vlan added, failed: 0, success: 6
OLT(config-interface-aggregation)#
OLT(config-interface-aggregation)#
page 318_
26.11.6.Deleting the Hybrid VLAN of a Link Aggregation Group
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
tagged: Packets outgoing from the port with the corresponding vlan
Tagged|untagge
tag
d
untagged: strip the vlan tag from the packets outgoing from the port
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: The aggregation group 1 of the OLT deletes the hybrid VLAN tag as 10-15.
OLT(config-interface-ge)# no vlan hybrid 1 tagged 10-15
OLT(config-interface-ge)#
Command
OLT(config-interface-aggregation)# vlan trunk <group-id> <vlan-list>
syntax
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Add trunk VLANs 10-15 to aggregation group 1.
OLT(config-interface-aggregation)# vlan trunk 1 10-15
lag1 : trunk vlan allowed , failed: 0, success: 6
page 319_
OLT(config-interface-aggregation)#
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
<vlan-list> VLAN ID, ranging from 1 to 4094. The format can be 1, 11-27, 100
【Configuration case】
Case 1: Delete trunk VLAN 10 in aggregation group 1
OLT(config-interface-aggregation)# no vlan trunk 1 10
OLT(config-interface-aggregation)#
Command
OLT(config-interface-aggregation)# show port vlan <group-id>
syntax
Function This command is used to view the vlan information of the aggregation
Description group port
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: View the vlan information of aggregation group 1
OLT(config-interface-aggregation)# show port vlan 1
page 320_
-------------------------------------------------- ---------------------------------------
Port: lag1 Mode: Access Native-Vlan: 1 Priority: 0
-------------------------------------------------- ---------------------------------------
Tagged-Vlan:
-
-------------------------------------------------- ---------------------------------------
Untagged-Vlan:
1
-------------------------------------------------- ---------------------------------------
OLT(config-interface-aggregation)#
Ports
Command
OLT(config-interface-aggregation)# show port state <group-id>
syntax
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups, all refers to all aggregation groups
【Configuration case】
Case 1: Viewing the status information of aggregation group 1
OLT(config-interface-aggregation)# show port state 1
-------------------------------------------------- ---------------------------------------
Port name : test
Current port state : enable
Current link state : DOWN
The maximum transmit unit : 1500
Link speed : autonegotiation(1000 Mbps)
Link duplex : autonegotiation(FULL)
Flow-control : supported
-------------------------------------------------- ---------------------------------------
Native-vlan: 1 Link-type: Access Priority: 0
Untagged VLAN ID :
1
-------------------------------------------------- ---------------------------------------
page 321_
OLT(config-interface-aggregation)#
Command
OLT(config-interface-aggregation)# show statistics port <group-id>
syntax
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id>
static LACP aggregation groups
【Configuration case】
Case 1: View the statistics of aggregation group 1.
OLT(config-interface-aggregation)# show statistics port 1
member ge0/0/1 statistics:
-------------------------------------------------- ---------------------------------------
Direction Total Uncast Bcast Mcast Err
(bytes) (pkts) (pkts) (pkts) (pkts)
-------------------------------------------------- --------------------------
RX 0 0 0 0 0
TX 0 0 0 0 0
-------------------------------------------------- ---------------------------------------
link-aggregation group 1 statistics:
-------------------------------------------------- ---------------------------------------
Direction Total Uncast Bcast Mcast Err
(bytes) (pkts) (pkts) (pkts) (pkts)
-------------------------------------------------- --------------------------
RX 0 0 0 0 0
TX 0 0 0 0 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-aggregation)#
Function This command is used to check the port matching status of the
page 322_
Description aggregation group.
Aggregation group ID, 1-8 are manual aggregation groups, 9-16 are
<group-id> static LACP aggregation groups, summary refers to all aggregation
groups
【Configuration case】
Case 1: Check the matching status of the aggregation group 1 port
OLT(config-interface-aggregation)# show link-aggregation group 1
OLT(config-interface-aggregation)#
DBA template number, the value range is 0-128 . If not specified, the
<profile-id>
system automatically assigns the smallest free template number.
page 323_
Template 0 is the default template of the system, and an ONT that is
automatically online automatically matches template 0.
【Configuration case】
Case 1: Create a new dba template with an id of 10, the template name is named by default,
and enter the DBA template configuration mode.
OLT(config)# dba-profile profile-id 10
OLT(config-dba-profile-10)#
OLT(config)#
Function This command is used to configure the type and size of the DBA
Description control bandwidth.
page 324_
bandwidth to the services of other ONTs. Due to the need for DBA
mechanism to control the allocation, its real-time performance is
worse than fixed bandwidth.
Fixed bandwidth. This part of the bandwidth is fixed to the user, and
<fix>
even if the user does not use it, other users cannot occupy it.
【Configuration case】
Case 1: Set the dba profile of dba profile 10 to type5, the fixed bandwidth to 5Mbit/s, the
guaranteed bandwidth to 10Mbit/s, and the maximum bandwidth to 30Mbit/s
page 325_
OLT(config-dba-profile-10)# type5 fix 5120 assure 10240 max 30720
OLT(config-dba-profile-10)#
Command
OLT(config-dba-profile-10)# show dba-profile current
syntax
【Configuration case】
Case 1: View the details of the dba template with id 10 currently being created
OLT(config-dba-profile-10)# show dba-profile current
-------------------------------------------------- ---------------------------------------
Profile ID : 10
Profile Name : dba-profile_10
Type : 1
Fix(kbps): 9984
Assure(kbps) : 0
Max(kbps) : 0
Bind Times : 0
-------------------------------------------------- ---------------------------------------
Command
OLT(config-dba-profile-10)# commit
syntax
【Configuration case】
Case 1: Submit the current dba template configuration
OLT( config-dba-profile-10) # commit
OLT(config-dba-profile-10)#
page 326_
27.1.5.Querying DBA Template Information
profile-id
View the dba template information of the specified id in the OLT
<profile-id>
profile-name
View the dba template information of the specified name in the OLT
<profile-name>
【Configuration case】
Case 1: View all DBA templates under OLT
OLT(config)# show dba-profile all
-------------------------------------------------- ---------------------------------------
Profile Profile Type Fix Assure Max Bind
ID Name (kbps) (kbps) (kbps) times
-------------------------------------------------- --------------------------
0 dba-profile_0 4 0 0 1000000 1
1 dba-profile_1 4 0 0 1000000 0
2 dba-profile_2 4 0 0 1000000 0
10 dba-profile_10 5 5120 10240 30720 0
-------------------------------------------------- ---------------------------------------
Total: 4
OLT(config)#
page 327_
This command is used to create and enter the ONT line profile mode
or enter the created ONT line profile mode. The ONT line profile
describes the binding relationship between T-CONT and DBA profiles,
the QoS mode of service flows, and the mapping relationship
between GEM Port and ONT side services. It is mainly used to
Function
configure DBA, T-CONT, and GEM Port related information. ONT lines
Description
Related attributes are configured in the line template. For the same
ONT, you only need to configure it once, saving configuration
workload. After the command is successfully executed, the
corresponding ONT line profile configuration mode is entered, and
the related attributes of the ONT line profile can be set.
ONT line profile number, used to identify a line profile, ranges from 0
to 512 . If it is not specified, the system automatically assigns the
<profile-id> smallest idle template number. Line template 0 is the default
template of the system, and an ONT that goes online automatically
matches line template 0.
ONT line template name, the name length supports 1-16 characters.
<profile-name> The default template name is lineprofile_x, where "x" is replaced with
the actual template number.
【Configuration case】
Case 1: Create and enter an ONT line template of 10 .
OLT(config)# ont-lineprofile gpon profile-id 10
OLT( config-ont-lineprofile-10 )#
binding
This command uses the tcont in the line profile to bind DBA
Function
bandwidth to allocate DBA bandwidth to ONT services bound to the
Description
line profile. If you need to delete tcont, you can add no in front.
<tcont-id> Specify the created tcont id, the value range is 0-7
Specifies the id of the dba template that tcont needs to be bound to.
<profile-id>
The dba template needs to be created in advance. The value range is
page 328_
0-128 .
【Configuration case】
Case 1: In line template 10, create tcont id 1 and bind DBA template 10
OLT(config-ont-lineprofile-10)# tcont 1 dba-profile-id 10
OLT(config-ont-lineprofile-10)#
OLT(config-ont-lineprofile-10)#
template
Specify the mapping mode as port . If this mode is selected, the GEM
port
Mapping will also be mapped to the port .
page 329_
【Configuration case】
Case 1: In line template 10, configure the mapping mode of GEM Mapping to vlan
OLT(config-ont-lineprofile-10)# mapping-mode vlan
OLT(config-ont-lineprofile-10)#
This command is used to create a GEM Port and bind the GEM Port
Function and tcont together.
Description If you want to delete the GEM Port, you can use the gem delete
command.
【Configuration case】
Case 1: In line template 10, create GEM Port id 1 and bind tcont id1
OLT(config-ont-lineprofile-10)# gem add 1 tcont 1
OLT(config-ont-lineprofile-10)#
OLT(config-ont-lineprofile-10)#
page 330_
syntax <mapping-in d ex > { vlan <vlan-id> | priority < 802.1p > | eth
<eth-list> }
OLT(config-ont-lineprofile-10)# no gem mapping <gem-id>
<mapping-id>
This command is used to create a GEM Mapping and bind the GEM
Mapping and GEM Port together. The GEM Mapping is mapped
(bound) to the vlan from the user side, so that the vlan of the user
Function
side knows which ONU and PON port to send vlan data from.
Description
Forward.
If you want to delete GEM Mapping, you can add the no command in
front.
priority Specifies the priority of the vlan from the user side that needs to be
< 802.1p > mapped by GEM Mapping, the value range is 0-7
【Configuration case】
Case 1: In line template 10, create GEM Mapping id7 to bind GEM Port 1 and map vlan 100
OLT(config-ont-lineprofile-10)# gem mapping 1 7 vlan 100
OLT(config-ont-lineprofile-10)#
OLT(config-ont-lineprofile-10)#
(FEC)
Command
OLT(c onfig-ont-lineprofile-10 )# fec-upstream <switch>
syntax
page 331_
Applicable view Line Template View
【Configuration case】
Case 1: In line profile 10, enable the upstream forward error correction (FEC) function of the
ONT
OLT(config-ont-lineprofile-10)# fec-upstream enable
OLT(config-ont-lineprofile-10)#
Specify the gem port id to enable data encryption, the value range is
<gem-id>
1-30
【Configuration case】
Case 1: In line template 10, enable data encryption for gem port id 1 and tcont id 1
OLT(config-ont-lineprofile-10)# gem add 1 tcont 1 encrypt on
OLT(config-ont-lineprofile-10)#
page 332_
This command is used to bind a traffic profile when creating a gem
Function
port, and is used together with the traffic-profile command in global
Description
mode.
Specify the gem port id to bind the traffic template, the value range is
<gem-id>
1-30
<tcont-id> Specify the tcont id to bind the traffic template, the value range is 1-7
【Configuration case】
Case 1: In line profile 10, bind traffic profile 10.
OLT(config-ont-lineprofile-10)# gem add 1 tcont 1 gem-car 10
OLT( config-ont-lineprofile-10 )#
GEM flow control mode. The ONT performs flow control based on the
gem-car
GEM Port. When there are multiple service flows on the GEM Port,
page 333_
how to schedule the service flows depends on the scheduling mode
configured on the ONT. When a T-CONT contains multiple GEM Ports,
the scheduling mode of data packets between multiple GEM Ports
also depends on the scheduling mode configured on the ONT.
【Configuration case】
Case 1: In line template 10, configure the QoS mode as priority-queue
OLT(config-ont-lineprofile-10)# qos-mode priority-queue
OLT(config-ont-lineprofile-10)#
Command
OLT(config-ont-lineprofile-10)# omcc encrypt <switch>
syntax
【Configuration case】
Case 1: In line profile 10, enable ONT OMCC encryption
OLT(config-ont-lineprofile-10)# omcc encrypt on
OLT(config-ont-lineprofile-10)#
Command
OLT(config-ont-lineprofile-10)# show ont-lineprofile current
syntax
page 334_
Applicable view Line Template Configuration View
【Configuration case】
Case 1: View the details of the line template with id 10 currently being created
OLT(config-ont-lineprofile-10)# show ont-lineprofile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 10
Profile-name : lineprofile_10
Binding times : 0
-------------------------------------------------- --------------------------
FEC upstream : Disable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode : VLAN
-------------------------------------------------- --------------------------
<T-CONT 0> DBA-Profile ID : 0
-------------------------------------------------- ---------------------------------------
OLT(config-ont-lineprofile-10)#
Command
OLT( config-ont-lineprofile-10 )# commit
syntax
【Configuration case】
Case 1: Submit the current line template configuration
OLT(config-ont-lineprofile-10 ) # commit
OLT( config-ont-lineprofile-10 )#
page 335_
Applicable view config view
Function This command is used to query the line template information that has
Description been created in the system.
profile-id
View the line template information of the specified id.
<profile-id
profile-name
View the line template information of the specified name.
<profile-name>
【Configuration case】
Case 1: View information about the ONT line profile with ID 10.
OLT(config)# show ont-lineprofile gpon profile-id 10
-------------------------------------------------- ---------------------------------------
Profile-ID : 10
Profile-name : lineprofile_10
Binding times : 0
-------------------------------------------------- --------------------------
FEC upstream : Disable
OMCC encrypt : Off
Qos mode : PQ
Mapping mode : VLAN
-------------------------------------------------- --------------------------
<T-CONT 0> DBA-Profile ID : 0
-------------------------------------------------- ---------------------------------------
OLT(config)#
page 336_
service, only one configuration is required, saving configuration
workload. When adding an ONT, you need to bind the GPON ONT
service profile. If you do not specify this, the system will
automatically bind the ONT to the default service profile 0. After the
command is successfully executed, the corresponding GPON ONT
service profile configuration mode is entered, and the relevant
properties of the GPON ONT service profile can be set.
The name of the ONT service template, which can be 1-16 characters
<profile-name> long. The default template name is srvprofile_x, where "x" is replaced
with the actual template number.
【Configuration case】
Case 1: Create and enter the ONT business template with ID 10 .
OLT(config)# ont-srvprofile gpon profile-id 10
OLT( config-ont-srvprofile-10 )#
This command is used to set the port capability set in the ONT service
Function profile, that is, to set the number of ports of each type on the ONT.
Description The port capability set template of the ONT must be consistent with
the actual capability set of the ONT.
Configure the number of capability sets of the eth port on the ONT,
ranging from 0 to 8 or adaptive. After the configuration is adaptive, it
eth <Number>
will be automatically matched according to the number of eth ports
reported by the ONT.
page 337_
Configure the number of capability sets of the eth port on the ONT,
ranging from 0 to 8 or adaptive. After the configuration is adaptive, it
pots <Number>
will be automatically matched according to the number of eth ports
reported by the ONT.
【Configuration case】
Case 1: Set the number of ETH ports in ONT service profile 10 to adaptive and the number of
POTS ports to 1
OLT( config-ont-srvprofile-10 )# ont-port eth adaptive pots 1
OLT(config-gpon-srvprofile-10)#
Command
OLT( config-ont-srvprofile-10 )# native-vlan concern | unconcern
syntax
unconcern Set the ONT to not pay attention to the Native VLAN
【Configuration case】
Case 1: Set ONT service profile 10 to focus on Native VLAN
OLT(config-ont-srvprofile-10)# native-vlan concern
OLT(config-ont-srvprofile-10)#
service template
page 338_
OLT( config-ont-srvprofile-10 )# port vlan { eth <eth-list> | iphost }
Command syntax
<vlan id> | <priority> | priority < priority policy >
Set the trunk mode of the ONT port to allow the vlan id to pass
<vlan id>
through, ranging from 1 to 4094
【Configuration case】
Case 1: Set the trunk mode vlan of eth1 in ONT service profile 10 to 100.
OLT(config-ont-srvprofile-10)# port vlan eth 1 100
OLT(config-ont-srvprofile-10)#
Function This command is used to configure the ONT port vlan to 1:1 vlan
Description conversion mode or N:1 vlan conversion mode. A command only
page 339_
supports configuring one vlan. If you want to convert multiple vlans,
you need to enter the command repeatedly.
Set the network side Svlan of the ONT port vlan conversion mode,
<Svlan-id>
the value is 1-409
Set the user-side Cvlan of the ONT port vlan conversion mode,
<Cvlan-id>
ranging from 1 to 409
【Configuration case】
Case 1: Set the 1:1 vlan conversion mode of eth1 in ONT service profile 10 to 1001-1003 for
Svlan and 101-103 for Cvlan.
OLT(config-ont-srvprofile-10)# port vlan eth 1 translation 1001 user-vlan 101
OLT(config-ont-srvprofile-10)# port vlan eth 1 translation 1002 user-vlan 102
OLT(config-ont-srvprofile-10)#
Case 2: Set the N:1 vlan conversion mode of eth1 in ONT service profile 10 to 1000 for Svlan
and 101-103 for Cvlan.
OLT(config-ont-srvprofile-10)# port vlan eth 1 translation 1000 user-vlan 101
OLT(config-ont-srvprofile-10)# port vlan eth 1 translation 1000 user-vlan 102
OLT(config-ont-srvprofile-10)#
service template
page 340_
Applicable view Business Template View
This command is used to configure the ONT port vlan to QinQ mode.
Function A command only supports the configuration of one vlan. If you want
Description to configure QinQ of multiple vlans, you need to enter the command
repeatedly.
Set the outer Svlan of the ONT port vlan QinQ mode, the value
<Svlan-id>
ranges from 1 to 409.
Set the inner Cvlan of the ONT port in vlanQinQ mode, ranging from
<Cvlan-id>
1 to 409
【Configuration case】
Case 1: Set the QinQ mode outer vlan of eth1 in ONT service profile 10 to 2000 and inner
vlan to 200.
OLT(config-ont-srvprofile-10)# port vlan eth 1 q-in-q 2000 user-vlan 200
OLT(config-ont-srvprofile-10)#
Function This command is used to configure the ONT port vlan as transparent
page 341_
Description transmission mode.
【Configuration case】
Case 1: Set eth1 in ONT service profile 10 to transparent transmission mode.
OLT(config-ont-srvprofile-10)# port vlan eth 1 transparent
OLT(config-ont-srvprofile-10)#
27.3.8.Delete the port vlan configuration of the ONT from the service
template
Function
This command is used for partridge ONT port vlan configuration.
Description
Specifies which vlan of the ONT port needs to be deleted, the value
<Cvlan-id>
range is 1-4094
【Configuration case】
Case 1: Delete the configuration of eth1 vlan 100 in ONT service profile 10.
OLT(config-ont-srvprofile-10)# no port vlan eth 1 100
OLT(config-ont-srvprofile-10)#
service template
page 342_
Command syntax OLT( config-ont-srvprofile-10 )# mac-aging <aging-time>
Function This command is used to configure the aging time of the mac
Description address of the ONT.
Set the aging time of the ONT mac address, ranging from 10 to
<aging-time> 1000000, in seconds.
no-aging sets the ONT mac address not to age.
【Configuration case】
Case 1: Set the aging time of the MAC address of the ONT in ONT service profile 10 to no
aging.
OLT(config-ont-srvprofile-10)# mac-aging no-aging
OLT(config-ont-srvprofile-10)#
【Configuration case】
Case 1: Enable the MAC address learning function of the ONT in the ONT service profile 10.
OLT(config-ont-srvprofile-10)# mac-learning enable
OLT(config-ont-srvprofile-10)#
page 343_
Applicable view Business Template View
Indicates that there is no limit. The ONT port does not impose
unlimited any limit on the number of MAC addresses that can pass
through.
【Configuration case】
Case 1: Set the maximum number of mac addresses for the eth1 port in ONT service profile
10 to 10
OLT( config-ont-srvprofile-10 )# port eth 1 max-mac-count 10
OLT( config-ont-srvprofile-10 )#
Command
OLT( config-ont-srvprofile-10 )# show ont-srvprofile current
syntax
【Configuration case】
Case 1: View the current business template configuration
OLT(config-ont-srvprofile-10)# show ont-srvprofile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 10
Profile-name : srvprofile_10
Binding times : 0
-------------------------------------------------- --------------------------
Port-type Port-number Max-adaptive-number
-------------------------------------------------- -------------------------
ETH 4 -
POTS 0 -
CATV 0 -
-------------------------------------------------- --------------------------
MAC learning switch : enable
MAC aging time(s) : 300
page 344_
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 Transparent - - - - - - -
ETH 2 Transparent - - - - - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
IPHOST 1 Transparent - - - - - - -
-------------------------------------------------- --------------------------
Port-type Port-ID IGMP-mode IGMP-VLAN IGMP-PRI Max-MAC-Count
-------------------------------------------------- -------------------------
ETH 1 default-tag 100 0 unlimited
ETH 2 transparent - - unlimited
ETH 3 transparent - - unlimited
ETH 4 transparent - - unlimited
-------------------------------------------------- ---------------------------------------
Function This command is used to query the information of the ONT service
Description template that has been created in the system.
profile-id
View the business template information of the specified id.
<profile-id
profile-name
View business template information for the specified name.
<profile-name>
【Configuration case】
Case 1: View information about the ONT service template with ID 10.
OLT(config)# show ont-srvprofile gpon profile-id 10
-------------------------------------------------- ---------------------------------------
Profile-ID : 10
page 345_
Profile-name : srvprofile_10
Binding times : 0
-------------------------------------------------- --------------------------
Port-type Port-number Max-adaptive-number
-------------------------------------------------- -------------------------
ETH 4 -
POTS 0 -
CATV 0 -
-------------------------------------------------- --------------------------
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 Transparent - - - - - - -
ETH 2 Transparent - - - - - - -
ETH 3 Transparent - - - - - - -
ETH 4 Transparent - - - - - - -
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
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT( config-ont-srvprofile-10 )# commit
syntax
page 346_
【Configuration case】
Case 1: Submit the current business template configuration
OLT( config-ont-srvprofile-10 )# commit
OLT( config-ont-srvprofile-10 )#
<committed- burst- Configure the committed burst size, the value range is
size > 2000-10240000, the unit is byte
【Configuration case】
Case 1: Create a traffic template with id 10, name test1, cir 128, pir 256, cbs2000, pbs3000
traffic template
OLT(config)# traffic-profile profile-id 10 profile-name test1 cir 128 pir 256 cbs 2000 pbs
3000
OLT(config)#
page 347_
OLT(config)# traffic-profile modify { profile-id < Profile - ID > |
profile-name <profile-name> } { cir <c ommitted- r ate- value>
Command syntax
| pir < p eek- r ate- rate> | cbs <c ommitted- b urst- s ize > |
pbs < p eek- b urst- s ize >}
< Profile - ID > ID of the traffic template, the value range is 1-256
<profile-name> The name of the traffic template, the value range is 1-16
<c ommitted- r ate- Modify the guaranteed bandwidth, the value range is
value> 64-1024000 , the unit is kbps
<c ommitted- b urst- Modify the committed burst size, the value range is
s ize > 2000-10240000, the unit is byte
【Configuration case】
Case 1: Modify the traffic template id to 10 and the cir of the traffic template to 150.
OLT(config)# traffic-profile modify profile-id 10 cir 150
OLT(config)#
Function Description This command is used to view all traffic profiles on the OLT.
【Configuration case】
Case 1 View all traffic template configurations on the OLT
OLT(config)# show traffic-profile all
-------------------------------------------------- ---------------------------------------
ID Profile-name CIR(kbps) PIR(kbps) CBS(bytes) PBS(bytes) Bind
-------------------------------------------------- --------------------------
10 test1 150 256 2000 3000 0
20 test 222 222 2000 2000 2
page 348_
-------------------------------------------------- ---------------------------------------
Total: 2
OLT(config)#
ONT digital map template, the length supports 1-16 characters. The
<profile-name> default template name is digitmap_x, where "x" is replaced with the
actual template number.
【Configuration case】
Case 1: Create and enter the ONT digital map template with ID 1 .
OLT(config)# ont-digitmap-profile profile-id 1
OLT(config-digitmap-profile-1)#
page 349_
the time-out duration of the digitmap timer when the exact match in
Function
the ONT digitmap template ( the number pressed by the user is
Description
exactly the same as the format in the digitmap template).
<
critical-dial-tim Value range: 1-65535. Unit: ms. Default value: 4000.
e-value >
【Configuration case】
Case 1: When the exact match in ONT digitmap template 1 is set, the timeout period of the
digitmap timer is 4000
OLT(config-digitmap-profile-1)# critical-dial-time 4000
<
Value range: 1-65535. Unit: ms. Default value: 16000.
partial-dial-time
-value >
【Configuration case】
Case 1: When setting the partial match in the ONT digitmap template 1, the timeout period
of the digitmap timer is 16000
OLT(config-digitmap-profile-1)# partial-dial-time 16000
Function
format in the ONT digitmap template
Description
page 350_
Ranges:
h.248 : Represents a digit map in H248 format
ncs : Represents a digitmap in ncs format
<digitmap-form
n ot_defined: Indicates that the digital map inside the ONT is used
at-value>
v endor_specific: Indicates a digitmap in a manufacturer-defined
format
Default: h .248.
【Configuration case】
Case 1: Set the digitmap format in ONT digitmap template 1 to h.248
OLT(config-digitmap-profile-1)# digitmap-format h248
< token index > Subfigure scheme ID. Value range: 1-10
< token value > The content of the sub-digit map scheme, that is, the number
_ matching rule. The input string length is 1-27
【Configuration case】
Case 1: Set the sub-digitmap scheme in ONT digitmap template 1 to 8888XXXX
OLT(config-digitmap-profile-1)# token 1 8888XXXX
Command
OLT(config-digitmap-profile-1)# no token < token index >
syntax
< token index > Subfigure scheme ID. Value range: 1-10
【Configuration case】
page 351_
Case 1: Delete sub-digitmap scheme 1 in ONT digitmap template 1
OLT(config-digitmap-profile-1)# no token 1
OLT(config-digitmap-profile-1)#
Command
OLT( config-ont-srvprofile-10 )# show ont-digitmap-profile current
syntax
【Configuration case】
Case 1: View the current digitmap template configuration
OLT(config-digitmap-profile-1)# show ont-digitmap-profile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : test
Binding times : 0
-------------------------------------------------- --------------------------
Critical dial time : 4000(ms)
Partial dial time : 16000(ms)
Digital map format: H.248
-------------------------------------------------- --------------------------
dial-plan-id dial-plan-token
-------------------------------------------------- -------------------------
1 XL
-------------------------------------------------- ---------------------------------------
Command
OLT(config-digitmap-profile-1)# commit
syntax
【Configuration case】
Case 1: Submit the current digital map template configuration
page 352_
OLT(config-digitmap-profile-1)# commit
Function This command is used to query the information of the ONT digital
Description map template that has been created in the system.
profile-id
digitmap template information of the specified id .
<profile-id
profile-name
View the digitmap template information of the specified name.
<profile-name>
【Configuration case】
Case 1: View all ONT digital map template information on the OLT .
OLT(config)# show ont-digitmap-profile all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
0 digitmap_0 1
1 test 0
-------------------------------------------------- ---------------------------------------
Total: 2
Function This command is used to delete the ONT digital map template
Description information that has been created in the system.
profile-id
Delete the digitmap template information of the specified id .
<profile-id
profile-name
Delete the digitmap template information of the specified name .
<profile-name>
page 353_
【Configuration case】
Case 1: Delete ONT digitmap template 1 on the OLT .
OLT(config)# no ont-digitmap-profile profile-id 1
ONT POTS port profile ID, which uniquely identifies a profile, the
value range: 0-16. When not specified, the system automatically
assigns the smallest free template number . The POTS port template
<profile-id>
0 is the default template of the system. If the ONT does not specify a
binding POTS port template, it will automatically match the default
template.
ONT POTS port template name, the length supports 1-16 characters.
<profile-name> The default template name is pots_profile__x, where "x" is replaced
with the actual template number.
【Configuration case】
Case 1: Create and enter the ONT POTS port template with ID 1 .
OLT(config)# ont-pots-profile profile-id 1
OLT(config-pots-profile-1)#
Function This command is used to set the impedance of the POTS port in
Description the ONT POTS port profile.
Ranges:
< impedance-value >
0: 600 Ohms
page 354_
1: 900 Ohms
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】
Case 1: Set the POTS port impedance in ONT POTS port template 1 to type 2
OLT(config-pots-profile-1)# impedance 2
27.6.3.the signaling type of the POTS port in the ONT POTS port
profile
Function
the signaling type of the POTS port in the ONT POTS port profile .
Description
Value range: 1, 2, 3, 4, 5, 6.
1: Loop start indicates the loop start signal (when the AB line is
looped back, it means off-hook, and when the AB line is
disconnected, it means on-hook, generally used for home phones).
2: Ground start means ground start signal (monitor whether the
potential of the Ring line is close to the ground potential (ground
means off-hook), generally used for PBX or relay).
< 3: Loop reverse battery means loop reverse battery signaling (POTS
pots-side-signali port with reverse polarity function, generally used for phones with
ng-value > billing function).
4: Coin first refers to the port where the coin-operated phone is
connected, and the coin must be put in before making a call.
5: Dial tone first refers to the port that connects to the coin-operated
phone, you can play the dial tone before the coin is put in.
6: Multi-party refers to a port where multiple phones are connected
in parallel on one line.
Default value: 1.
【Configuration case】
Case 1: Set the POTS port signaling type in ONT POTS port profile 1 to 1
OLT(config-pots-profile-1)# pots-side-signaling 1
page 355_
27.6.4.the transmit gain of the POTS port in the ONT POTS port
profile
Command
OLT(config-pots-profile-1)# txgain < txgain -value>
syntax
Function This command is used to set the transmit gain of the POTS port in the
Description ONT POTS port profile.
【Configuration case】
Case 1: Set the POTS port transmit gain in ONT POTS port template 1 to 0dB
OLT(config-pots-profile-1)# t xgain 24
27.6.5.the receive gain of the POTS port in the ONT POTS port
profile
Command
OLT(config-pots-profile-1)# rxgain < rxgain -value>
syntax
Function This command is used to set the receive gain of the POTS port in the
Description ONT POTS port profile.
【Configuration case】
Case 1: Set the POTS port receive gain in ONT POTS port template 1 to 0dB
OLT(config-pots-profile-1)# rxgain 24
Command
OLT(config-pots-profile-1)# show ont-pots-profile current
syntax
page 356_
Applicable view POTS port template configuration view
Function This command is used to view the configuration of the current POTS
Description port template
【Configuration case】
Case 1: View the current POTS port template configuration
OLT(config-pots-profile-1)# show ont-pots-profile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : pots_profile_1
Binding times : 0
-------------------------------------------------- --------------------------
Impedance : C1=150 nf, R1=750 Ohm, R2=270 Ohm
Tx gain : 0(dB)
Rxgaim : 0(dB)
Pots side signalling : Loop start
-------------------------------------------------- ---------------------------------------
Command
OLT(config-pots-profile-1)# commit
syntax
【Configuration case】
Case 1: Submit the current POTS port template configuration
OLT(config-pots-profile-1)# commit
Function This command is used to query the information of the ONT POTS port
Description template that has been created in the system.
page 357_
profile-id
POTS port template information of the specified id .
<profile-id
profile-name
POTS port template with the specified name .
<profile-name>
【Configuration case】
Case 1: View all ONT POTS port profile information on the OLT .
OLT(config)# show ont-pots-profile all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
0 pots_profile_0 1
1 pots_profile_1 0
-------------------------------------------------- ---------------------------------------
Total: 2
OLT(config)#
Function This command is used to delete the ONT POTS port template created
Description in the system.
profile-id
Deletes the POTS port template with the specified id .
<profile-id
profile-name
Deletes the POTS port template with the specified name .
<profile-name>
【Configuration case】
Case 1: Delete ONT POTS port template 1 on the OLT .
OLT(config)# no ont-pots-profile profile-id 1
OLT(config)#
page 358_
Command OLT(config)# ont-sipagent-profile {profile-id <profile-id>
syntax |profile-name <profile-name>}
ONT SIP proxy template ID, uniquely identifies a template, the value
range: 0-16. When not specified, the system automatically assigns the
smallest free template number . ONT SIP proxy template 0 is the
<profile-id>
default template of the system. If the ONT does not specify and bind
the ONT SIP proxy template , it will automatically match the default
template.
ONT SIP proxy template name, the length supports 1-16 characters.
<profile-name> The default template name is sipagent_x, where "x" is replaced with
the actual template number.
【Configuration case】
Case 1: Create and enter ONT SIP proxy template with ID 1
OLT(config)# ont-sipagent-profile profile-id 1
OLT(config-sipagent-profile-1)#
proxy template
Function proxy server IP address or domain name in the ONT SIP proxy
Description template
【Configuration case】
Case 1: Set the proxy server IP address in ONT SIP proxy template 1 to 192.168.2.201
OLT(config-sipagent-profile-1)# proxy-server 192.168.2.201
OLT(config-sipagent-profile-1)#
page 359_
Command
OLT(config-sipagent-profile-1)# show ont-sipagent-profile current
syntax
Function This command is used to view the configuration of the current ONT
Description SIP proxy template
【Configuration case】
Case 1: View the current ONT SIP proxy template configuration
OLT(config-sipagent-profile-1)# show ont-sipagent-profile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : sipagent_1
Binding times : 0
-------------------------------------------------- --------------------------
Proxy server: 192.168.2.201
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 : 600(s)
Rereg head start time : 300(s)
Voice mail
Server :
Subscription expiration : 3600(s)
Conf fatcory :
Bridged line agent :
Auth realm :
Outbound server :
page 360_
Outbound server port : 0
-------------------------------------------------- ---------------------------------------
OLT(config-sipagent-profile-1)#
Command
OLT(config-sipagent-profile-1)# commit
syntax
This command is used to submit the current ONT SIP proxy template
Function configuration. Only after this command is successfully submitted, all
Description parameter configurations of the ONT SIP proxy template will take
effect.
【Configuration case】
Case 1: Submit the current ONT SIP proxy template configuration
OLT(config-sipagent-profile-1)# commit
OLT(config-sipagent-profile-1)#
OLT
Function This command is used to query the ONT SIP proxy template
Description information that has been created in the system.
profile-id
ONT SIP proxy template information of the specified id .
<profile-id
profile-name
ONT SIP proxy template of the specified name .
<profile-name>
【Configuration case】
Case 1: View all ONT SIP proxy template information on the OLT .
OLT(config)# show ont-sipagent-profile all
-------------------------------------------------- ---------------------------------------
page 361_
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
0 sipagent_0 0
1 sipagent_1 0
2 first 1
-------------------------------------------------- ---------------------------------------
Total: 3
OLT(config)#
Function This command is used to delete the ONT SIP proxy template created
Description in the system.
profile-id
Deletes the ONT SIP proxy template with the specified id .
<profile-id
profile-name
Deletes the ONT SIP proxy template with the specified name .
<profile-name>
【Configuration case】
Case 1: Delete ONT SIP Proxy Template 1 on OLT .
OLT(config)# no ont-sipagent-profile profile-id 1
OLT(config)#
ONT SIP service data template ID, uniquely identifies a template, the
<profile-id> value range: 0-16. When not specified, the system automatically
assigns the smallest free template number . SIP service data template
page 362_
0 is the default template of the system. If the ONT does not specify
the binding SIP service data template, it will automatically match the
default template.
ONT SIP service data template, the length supports 1-16 characters.
<profile-name> The default template name is sipright_x, where "x" is replaced with
the actual template number.
【Configuration case】
Case 1: Create and enter the ONT SIP service data template with ID 1 .
OLT(config)# ont-siprightflag-profile profile-id 1
OLT(config-siprightflag-profile-1)#
Function
call hold permission in the ONT SIP service data profile .
Description
【Configuration case】
Case 1: Enabling call hold permission in ONT SIP service data profile 1
OLT(config-siprightflag-profile-1)# call-hold enable
OLT(config-siprightflag-profile-1)#
Function
call park permission in the ONT SIP service data profile .
Description
page 363_
【Configuration case】
Case 1: Disable the call park permission in ONT SIP service data profile 1
OLT(config-siprightflag-profile-1)# call-park disable
OLT(config-siprightflag-profile-1)#
Function
call hold permission in the ONT SIP service data profile .
Description
【Configuration case】
Case 1: Disable call forwarding permission in ONT SIP service data template 1
OLT(config-siprightflag-profile-1)# call-transfer disable
OLT(config-siprightflag-profile-1)#
data template
Function
call waiting permission in the ONT SIP service data profile .
Description
【Configuration case】
Case 1: Enabling call waiting permission in ONT SIP service data profile 1
OLT(config-siprightflag-profile-1)# call-waiting enable
OLT(config-siprightflag-profile-1)#
page 364_
SIP service data template
Function
conference call permission in the ONT SIP service data template .
Description
【Configuration case】
Case 1: Disable the conference call permission in ONT SIP service data template 1
OLT(config-siprightflag-profile-1)# conference disable
OLT(config-siprightflag-profile-1)#
OLT(config-siprightflag-profile-1)# do-not-disturb
Command syntax
{enable|disable}
Function call do not disturb permission in the ONT SIP service data
Description profile .
【Configuration case】
Case 1: Disabling the Do Not Disturb Permission in ONT SIP Service Data Profile 1
OLT(config-siprightflag-profile-1)# do-not-disturb disable
OLT(config-siprightflag-profile-1)#
page 365_
Function
hotline service permission in the ONT SIP service data template .
Description
【Configuration case】
Case 1: Disabling the hotline service permission in ONT SIP service data template 1
OLT(config-siprightflag-profile-1)# hotline disable
OLT(config-siprightflag-profile-1)#
Function message waiting indication authority in the ONT SIP service data
Description template .
【Configuration case】
Case 1: Disable the message waiting indication permission in ONT SIP service data template
1
OLT(config-siprightflag-profile-1)# mwi disable
OLT(config-siprightflag-profile-1)#
Function
party call permission in the ONT SIP service data template .
Description
page 366_
【Configuration case】
Case 1: Enabling the three-party call permission in ONT SIP service data template 1
OLT(config-siprightflag-profile-0)# three-party enable
OLT(config-siprightflag-profile-0)#
template
Command
OLT(config-sipagent-profile-1)# show ont-sipagent-profile current
syntax
Function This command is used to view the configuration of the current SIP
Description service data template
【Configuration case】
Case 1: View the current SIP service data template configuration
OLT(config-siprightflag-profile-1)# show ont-siprightflag-profile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : sipright_1
Binding times : 0
-------------------------------------------------- --------------------------
Call waiting : enable
Call transfer : disable
Call hold : enable
Call park : disable
Three party : enable
Do not disturb : disable
Conference : disable
Mwi : disable
Hotline : disable
Hotline numbers :
Hotline delay : disable
-------------------------------------------------- ---------------------------------------
OLT(config-siprightflag-profile-1)#
configuration
page 367_
Command
OLT(config-siprightflag-profile-1)# commit
syntax
This command is used to submit the current SIP service data template
Function configuration. Only after this command is successfully submitted, all
Description parameter configurations of the SIP service data template will take
effect.
【Configuration case】
Case 1: Submit the current SIP service data template configuration
OLT(config-siprightflag-profile-1)# commit
OLT(config-siprightflag-profile-1)#
the OLT
Function This command is used to query the ONT SIP service data template
Description information that has been created in the system.
profile-id
SIP service data template of the specified id .
<profile-id
profile-name
View the SIP service data template information of the specified name.
<profile-name>
【Configuration case】
Case 1: View all ONT SIP service data template information on the OLT .
OLT(config)# show ont-siprightflag-profile all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
0 sipright_0 1
1 sipright_1 0
2 sipright_2 0
-------------------------------------------------- ---------------------------------------
Total: 3
page 368_
OLT(config)#
Function This command is used to delete the ONT SIP service data template
Description created in the system.
profile-id
Delete the SIP service data template with the specified id .
<profile-id
profile-name
Delete the SIP service data template of the specified name .
<profile-name>
【Configuration case】
Case 1: Delete ONT SIP service data template 1 on the OLT .
OLT(config)# no ont-siprightflag-profile profile-id 1
OLT(config)#
Command OLT(config)# ont-igmpacl gpon {acl-id < ACL - ID > | acl - name < ACL
syntax - NAME >}
【Configuration case】
page 369_
Case 1: Create and enter the ONT multicast ACL profile with ID 1 .
OLT(config)# ont-igmpacl gpon acl-id 1
OLT(config-ont-igmpacl-1)#
Function This command is used to add a multicast entry rule to the ONT
Description multicast ACL template
【Configuration case】
Case 1: Add a multicast vlan 100 to the ONT multicast ACL template 1 , and the multicast
program IP is 224.1.1.1-224.1.1.10.
OLT(config-ont-igmpacl-1)# igmp rule add 1 100 224.1.1.1 224.1.1.10
OLT(config-ont-igmpacl-1)#
template
Function This command is used to delete the created multicast entry rule
Description in the ONT multicast ACL template.
【Configuration case】
Case 1: Delete the multicast entry rule with rule ID 1 in ONT multicast ACL template 1
OLT(config-ont-igmpacl-1)# igmp rule delete 1
OLT(config-ont-igmpacl-1)#
page 370_
27.9.4.View the configuration of the current ONT multicast ACL
profile
Command
OLT(config-ont-igmpacl-1)# show ont-igmpacl current
syntax
【Configuration case】
Case 1: View the current multicast ACL template configuration
OLT(config-ont-igmpacl-1)# show ont-igmpacl current
-------------------------------------------------- ---------------------------------------
Acl-ID : 1
Acl-name : test
Binding times : 0
-------------------------------------------------- ---------------------------------------
Rule Vlan Dest Dest Imputed
ID ID IP-Start IP-End group-bw
-------------------------------------------------- --------------------------
1 100 224.1.1.1 224.2.2.2 unlimited
-------------------------------------------------- ---------------------------------------
Rule Preview Preview Preview Preview Preview
ID length interval count reset-mode reset-time
-------------------------------------------------- --------------------------
1 unlimited 120 unlimited manually -
-------------------------------------------------- ---------------------------------------
Rule Total: 1
-------------------------------------------------- ---------------------------------------
OLT(config-ont-igmpacl-1)#
configuration
Command
OLT(config-ont-igmpacl-1)# commit
syntax
page 371_
This command is used to submit the current multicast ACL template
Function configuration. Only after this command is successfully submitted, all
Description parameter configurations of the multicast ACL template will take
effect.
【Configuration case】
Case 1: Submit the current multicast ACL template configuration
OLT(config-ont-igmpacl-1)# commit
OLT(config-ont-igmpacl-1)#
OLT
Command OLT(config)# show ont-igmpacl gpon {all |acl-id < ACL - ID > | acl -
syntax name < ACL - NAME >}
Function This command is used to query the information of the ONT multicast
Description ACL template that has been created in the system.
all View information about all multicast ACL profiles on the OLT
< ACL - NAME > multicast ACL template of the specified name .
【Configuration case】
Case 1: View all ONT multicast ACL profile information on the OLT.
OLT(config)# show ont-igmpacl gpon all
-------------------------------------------------- ---------------------------------------
Acl-ID Acl-name Binding times
-------------------------------------------------- --------------------------
1 test 0
2 igmpacl_2 0
-------------------------------------------------- ---------------------------------------
Total: 2
OLT(config)#
Command OLT(config)# no ont-igmpacl gpon {acl-id < ACL - ID > | acl -name <
syntax ACL - NAME >}
page 372_
Applicable view config view
Function This command is used to delete the ONT multicast ACL template
Description created in the system.
< ACL - ID > Delete the multicast ACL template with the specified id .
< ACL - NAME > Deletes the multicast ACL template with the specified name .
【Configuration case】
Case 1: Delete ONT multicast ACL profile 2 on the OLT .
OLT(config)# no ont-igmpacl gpon acl-id 2
OLT(config)#
profile-id ONU WAN template ID, if not specified, the system will automatically
<1-256> assign the minimum idle ID
profile-name Onu wan template name, the default name is wanprofile_x, ' x ' is the
NAME actual wan template number
【Configuration case】
Case 1: Create and enter the onu wan template with ID 1
OLT(config)# ont-wanprofile gpon profile-id 1
OLT(config-ont-wanprofile-1)#
page 373_
Applicable view wan template view
(internet | Service type, bridge mode only has internet and other two
other)
【Configuration case】
Case 1: Add an ipv4 bridge wan with index 1, service type internet,
configure wan vlanid to 100, priority 0 multicast vlan 200
OLT(config-ont-wanprofile-1)# wan add 1 ipv4 bridge internet vlan-mode tag 100
priority 0 mvlan 200
page 374_
internet|voice|
voice-internet)
static | pppoe | Ip mode: The template adds wan to the corresponding Ip mode
dhcp without assigning specific corresponding values, such as specific ip,
pppoe name, etc. The configuration of the specific mode should be
configured for onu under discrete
【Configuration case】
Case 1: Add an ipv4 route wan with index 1, service type internet, select static ip allocation mode,
configure wan vlanid as 100, priority 0, enable multicast proxy multicast vlan 200
OLT(config-ont-wanprofile-1)# wan add 1 ipv4 route internet static vlan-mode tag 100
priority 0 igmp-proxy enable 200
page 375_
vlan-mode Vlan processing mode:
(untag | Untag: Only allow packets that do not carry vlan
transparent | Transparent: Transparent transmission
tag <1-4094> Tag: set the vlan id of wan, the value range is 1-4094, priority: 0-7
priority <0-7>)
【Configuration case】
Case 1: Modify the connection status of wan 1 to disable
OLT(config-ont-wanprofile-1)# wan modify 1 connection-status disable
Function Delete the specified wan connection, if it does not exist, an error will
Description be reported
【Configuration case】
Case 1: Delete the first wan
OLT(config-ont-wanprofile-1)# wan del 1
【Configuration case】
Case 1: View the current configuration
OLT(config-ont-wanprofile-1)# show ont-wanprofile current
page 376_
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
-------------------------------------------------- ---------------------------------------
WAN ID : 1
IP mode : Static
Connection status : enable
Connect mode : route
Connect type : Internet
VLAN mode : tag
VLAN id: 100
VLAN priority : 6
IGMP proxy : --
mvlan id : --
MTU : --
Port binding:
-------------------------------------------------- ---------------------------------------
WAN ID : 2
IP mode : Bridge
Connection status : enable
Connect mode : bridge
Connect type : Internet
VLAN mode : transparent
VLAN id : --
VLAN priority : --
IGMP proxy : --
mvlan id : --
MTU : --
Port binding:
-------------------------------------------------- ---------------------------------------
page 377_
【Configuration case】
Case 1: Submit the current template
OLT(config-ont-wanprofile-1)# commit
(profile-id All: View all templates to display only the summary information, the
<1-256>| number of bindings
profile-name <1-256>:wan template number
NAME|all) NAME: wan template name
【Configuration case】
Case 1: View all wan template information
OLT(config)# show ont-wanprofile gpon all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
1 wanprofile_1 0
-------------------------------------------------- ---------------------------------------
Total: 1
Function Delete the created wan, but cannot delete the wan template bound
Description to onu
page 378_
【Configuration case】
Case 1: Delete wan template 1
OLT(config)# no ont-wanprofile gpon profile-id 1
Function ont-wi ifi profile gpon command is used to create or enter an existing
Description onu wifi template, and configure the general properties of wifi,
excluding the configuration of ssid
profile-id ONU Wifi template number, if not specified, the system will
<1-256> automatically assign the minimum idle id
profile-name Onu wan profile name, the default name is wifiprofile_x, ' x ' is the
NAME actual wan profile number
【Configuration case】
Case 1: Create and enter the onu wifi template with ID 1
OLT(config)# ont-wi ifi profile gpon profile-id 1
OLT(config-ont- wifi profile-1)#
27.11.2.enable WIFI
page 379_
【Configuration case】
Case 1: Enable 2.4g band wifi
OLT(config-ont-wifiprofile-1)# wifi 2.4g enable
Function Configure the wifi properties of the 2.4g frequency band, each
Description parameter is optional
channel-id The value of the channel for wireless network work is 0-13, 0 is auto
<0-13>
page 380_
in|france|japan
|israli|china-tai
wan|russian|ch
ina|global|worl
d-wide)
page 381_
(802.11b|802.1
1g|802.11b/g|8
02.11n|802.11b
/g/n|802.11a|8
02.11a/n|802.1
1ac/a/n)
channel-id The value of the channel for wireless network work is 0-13, 0 is auto
<0-13>
page 382_
40 channel-id 64
【Configuration case】
Case 1: Clear wifi configuration
OLT(config-ont-wifiprofile-1)# no wifi attribute all
Function Delete the created wifi template, but cannot delete the wifi template
Description bound to onu
【Configuration case】
Case 1: Delete wifi template 1
OLT(config)# no ont-wifiprofile gpon profile-id 1
page 383_
Function View the configuration of the current wan template
Description
【Configuration case】
Case 1: View WIFI Template View
OLT(config-ont-wifiprofile-1)# show ont-wifiprofile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
-------------------------------------------------- ---------------------------------------
Wifi Band: 5g
Wifi Admin : --
Wi-Fi Mode: 802.11b
ChannelBandwidth : 40MHz
Channel ID : 64
Wi-Fi Rate : --
Tx Power : --
Country Region : --
Sgi Admin : --
Wps Admin : --
AP ISO : --
【Configuration case】
Case 1: Submit the current template configuration
OLT(config-interface- g pon-0/0)# commit
page 384_
Applicable view config view
(profile-id All: View all templates to display only the summary information, the
<1-256>| number of bindings
profile-name <1-256>: wifi template number
NAME|all) NAME: wifi template name
【Configuration case】
Case 1: View all wifi template information
OLT(config)# show ont-wifiprofile gpon all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
1 wifiprofile_1 1
2 wifiprofile_2 0
-------------------------------------------------- ---------------------------------------
Total: 2
<onu-id> Onu Id
【Configuration case】
Case 1: Bind wifi template 1 to pon 1 onu 1
OLT(config-interface- g pon-0/0)# ont wifi-profile 1 1 ont-wifiprofile-id 1
page 385_
27.11.11.ONU unbind WIFI template
<onu-id> Onu Id
【Configuration case】
Case 1: Unbind wifi template 1 of pon 1 onu 1
OLT(config-interface- g pon-0/0)# no ont wifi-profile 1 1
Function View the configuration information of the wifi template bound to onu
Description
<onu-id> Onu Id
【Configuration case】
Case 1: View the wifi template information bound to pon 1 onu 1
OLT(config-interface- g pon-0/0)# show ont wifi-profile 1 1
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
-------------------------------------------------- ---------------------------------------
Wifi Band: 2.4g
Wifi Admin : --
Wifi Mode : --
ChannelBandwidth: 20MHz
page 386_
Channel ID : 1
Wifi Rate : --
Tx Power : --
Country Region : --
Sgi Admin : --
Wps Admin : --
AP ISO : --
Function
ont-igmpprofile command is used to add an ONT multicast profile.
Description
ONT multicast profile, which can be 1-32 characters long. The default
<profile-name> template name is igmpprofile_x, where "x" is replaced with the actual
template number.
【Configuration case】
Case 1: Create and enter the ONT multicast profile with ID 1 .
OLT(config)# ont-igmpprofile gpon profile-id 1
OLT(config-ont-igmpprofile-1)#
Function
This command is used to bind the ONT multicast ACL template
Description
page 387_
ONT multicast acl template ID, uniquely identifies a template,
< ACL - ID >
value range: 1-256
【Configuration case】
Case 1: ONT multicast profile 1 is bound to multicast ACL profile 1
OLT(config-ont-igmpprofile-1)# igmp control static-acl 1
OLT(config-ont-igmpprofile-1)#
OLT(config-ont-igmpprofile-1)# igmp
Command syntax last-member-query-interval < last-member-query-interval
-value>
Function the interval for sending IGMP group-specific query packets in the
Description ONT multicast profile .
<
The interval for sending query packets of a specific group, the
last-member-query-i
value range: 0-4294967295, the default value is 1S
nterval- value>
【Configuration case】
Case 1: Configure the interval for sending IGMP group-specific query packets in the ONT
multicast profile to 10
OLT(config-ont-igmpprofile-1)# igmp last-member-query-interval 10
OLT(config-ont-igmpprofile-1)#
profile
page 388_
<
The maximum multicast bandwidth value, the value range:
max-multicast-band
1-4294967295, the unit: byte/second, the default is unlimited
width- value>
【Configuration case】
Case 1: Set the maximum multicast bandwidth in ONT multicast profile 1 to 20M
OLT(config-ont-igmpprofile-1)# igmp max-multicast-bandwidth 5120
OLT(config-ont-igmpprofile-1)#
profile
【Configuration case】
Case 1: Set the maximum number of programs in ONT multicast profile 1 to 20
OLT(config-ont-igmpprofile-1)# igmp max-simultaneous-groups 20
OLT(config-ont-igmpprofile-1)#
multicast profile
page 389_
Function the interval of general multicast query packets in the ONT
Description multicast profile .
unconcern Don't pay attention, just refer to the ONT default value
【Configuration case】
Case 1: Set the general group query packet interval in ONT multicast profile 1 to 125S
OLT(config-ont-igmpprofile-1)# igmp query-interval 125
OLT(config-ont-igmpprofile-1)#
multicast profile
<
Maximum response time, value range: 1-4294967295, default
query-max-response
10S.
- value>
unconcern Don't pay attention, just refer to the ONT default value
【Configuration case】
Case 1: Set the maximum response time in ONT multicast profile 1 to 10S
OLT(config-ont-igmpprofile-1)# igmp query-max-response 100
OLT(config-ont-igmpprofile-1)#
multicast profile
page 390_
Description profile
【Configuration case】
Set the robustness coefficient of the system to 2 in ONT multicast profile 1
OLT(config-ont-igmpprofile-1)# igmp robustness 2
OLT(config-ont-igmpprofile-1)#
【Configuration case】
Case 1: The ONT multicast profile 1 is set to discard the packets that request to join without
authorization
OLT(config-ont-igmpprofile-1)# igmp unauthorized-join discard
OLT(config-ont-igmpprofile-1)#
profile
Function
message lamp permission in the ONT multicast profile .
Description
< upstream-rate- Upstream multicast packet rate value, the value range:
value> 1-4294967295, the default is unlimited
page 391_
unlimited Indicates that the upstream multicast packet rate is not limited
【Configuration case】
Case 1: Unlimited upstream multicast packet rate in ONT multicast profile 1
OLT(config-ont-igmpprofile-1)# igmp upstream-rate unlimited
OLT(config-ont-igmpprofile-1)#
Function
multicast version in the ONT multicast profile
Description
【Configuration case】
Case 1: The multicast version in ONT multicast profile 1 is V2
OLT(config-ont-igmpprofile-1)# igmp version v2
OLT(config-ont-igmpprofile-1)#
【Configuration case】
page 392_
Case 1: Set the forwarding mode of upstream multicast packets to transparent transmission
in ONT multicast profile 1
OLT(config-ont-igmpprofile-1)# igmp-forward transparent
OLT(config-ont-igmpprofile-1)#
multicast profile
Function
quick leave function in the ONT multicast profile
Description
【Configuration case】
Case 1: Disabling the Quick Leave function in ONT SIP Service Data Profile 1
OLT(config-ont-igmpprofile-1)# multicast fast-leave disable
OLT(config-ont-igmpprofile-1)#
multicast profile
【Configuration case】
page 393_
Case 1: Set the ONT multicast packet forwarding mode to untag in ONT multicast profile 1
OLT(config-ont-igmpprofile-1)# multicast-forward untag
OLT(config-ont-igmpprofile-1)#
Command
OLT(config-ont-igmpprofile-1)# show ont-igmpprofile current
syntax
【Configuration case】
Case 1: View the current multicast profile configuration
OLT(config-ont-igmpprofile-1)# show ont-igmpprofile current
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : igmpprofile_1
Binding times : 0
-------------------------------------------------- ---------------------------------------
IGMP Version : V2
IGMP Mode : IGMP snooping
IGMP fast leave : disable
Upstream IGMP rate : unlimited
Dynamic access control list table : 0
Static access control list table : 0
Robustness : 2
Query interval : 125(s)
Query max response time : 100(0.1s)
Last member query interval : 10(0.1s)
Unauthorized join request behaviour : discard
Upstream IGMP packet forward mode : transparent
Upstream IGMP packet forward VLAN : -
Upstream IGMP packet priority : -
Downstream IGMP packet forward mode : untag
Downstream IGMP packet forward VLAN : -
Max simultaneous groups : unlimited
Max multicast bandwidth : unlimited
-------------------------------------------------- ---------------------------------------
OLT(config-ont-igmpprofile-1)#
page 394_
Command
OLT(config-ont-igmpprofile-1)# commit
syntax
【Configuration case】
Case 1: Submit the current multicast template configuration
OLT(config-ont-igmpprofile-1)# commit
OLT(config-ont-igmpprofile-1)#
OLT
Function This command is used to query the information of the ONT multicast
Description profile that has been created in the system.
profile-id
multicast profile information of the specified id .
<profile-id
profile-name
multicast template of the specified name .
<profile-name>
【Configuration case】
Case 1: View all ONT multicast profile information on the OLT.
OLT(config)# show ont-igmpprofile gpon all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
1 igmpprofile_1 0
2 igmpprofile_2 0
-------------------------------------------------- ---------------------------------------
Total: 2
OLT(config)#
page 395_
27.12.18.Deleting the ONT Multicast Profile on the OLT
Function This command is used to delete the ONT multicast profile created in
Description the system.
profile-id
Delete the multicast template with the specified id .
<profile-id
profile-name
Deletes the multicast template with the specified name .
<profile-name>
【Configuration case】
Case 1: Delete ONT Multicast Profile 2 on the OLT .
OLT(config)# no ont-igmpprofile gpon profile-id 2
OLT(config)#
tr069- profile command is used to add the TR069 profile of the ONT .
Function The ONT TR069 template stores the basic attribute configuration data
Description of the ONT TR069 interface, such as the user name, password, and
port of the ACS and CPE .
ONT TR069 template name, the length supports 1-32 characters. The
<profile-name> default template name is tr069profile _x, where "x" is replaced with
the actual template number.
【Configuration case】
Case 1: Create and enter ONT TR069 template with ID 1 .
OLT(config)# ont-tr069-profile profile-id 1
page 396_
OLT(config-ont-tr069profile-1)#
Command
OLT(config-ont-tr069profile-1)# acs-password <password>
syntax
Function This command is used to set the ACS password of the ONT TR069
Description template
【Configuration case】
Case 1: Configure the ACS password of the ONT TR069 template as 123456
OLT(config-ont-tr069profile-1)# acs-password 123456
OLT(config-ont-tr069profile-1)#
Command
OLT(config-ont-tr069profile-1)# acs-port <port>
syntax
Function This command is used to set the ACS port number of the ONT TR069
Description template
【Configuration case】
Case 1: Configure the ACS port number of the ONT TR069 template as 12345
OLT(config-ont-tr069profile-1)# acs-port 12345
OLT(config-ont-tr069profile-1)#
template
Command
OLT(config-ont-tr069profile-1)# acs-url <url address>
syntax
page 397_
Applicable view TR069 Template View
Function This command is used to set the URL address of the ACS of the ONT
Description TR069 template
< url address > URL address of the ACS server, length 1-25
【Configuration case】
Case 1: Configure the ACS server URL address of the ONT TR069 template as abcd
OLT(config-ont-tr069profile-1)# acs- url abcd
OLT(config-ont-tr069profile-1)#
template
Command
OLT(config-ont-tr069profile-1)# acs-username <USERNAME>
syntax
Function This command is used to set the username of the ACS of the ONT
Description TR069 template
【Configuration case】
Case 1: Configure the ACS user name of the ONT TR069 template as abcd
OLT(config-ont-tr069profile-1)# acs-username abcd
OLT(config-ont-tr069profile-1)#
TR069 template
Command
OLT(config-ont-tr069profile-1)# auth-realm <REALM>
syntax
Function This command is used to set the authentication domain of the ACS of
Description the ONT TR069 template
page 398_
【Configuration case】
Case 1: Configure the ACS authentication domain of the ONT TR069 template as abcd
OLT(config-ont-tr069profile-1)# auth-realm abcd
OLT(config-ont-tr069profile-1)#
【Configuration case】
Case 1: Disable ACS connection request authentication for ONT TR069 template
OLT(config-ont-tr069profile-1)# connect-request-auth disable
OLT(config-ont-tr069profile-1)#
Command
OLT(config-ont-tr069profile-1)# cpe-password <password>
syntax
Function This command is used to set the CPE password of the ONT TR069
Description template
【Configuration case】
Case 1: Configure the CPE password of the ONT TR069 template as 123456
OLT(config-ont-tr069profile-1)# cpe -password 123456
OLT(config-ont-tr069profile-1)#
page 399_
27.13.9.Configure the CPE port number in the ONT TR069 template
Command
OLT(config-ont-tr069profile-1)# cpe-port <port>
syntax
Function
This command is used to set the CPE port of the ONT TR069 template
Description
< port > Port number, the value is 0-65535, 0 means the default value
【Configuration case】
Case 1: Configure the CPE port number of the ONT TR069 template as 12345
OLT(config-ont-tr069profile-1)# cpe -port 12345
OLT(config-ont-tr069profile-1)#
Command
OLT(config-ont-tr069profile-1)# cpe-username <USERNAME>
syntax
Function This command is used to set the CPE user name of the ONT TR069
Description template
【Configuration case】
Case 1: Configure the CPE user name of the ONT TR069 template as abcd
OLT(config-ont-tr069profile-1)# cpe -username abcd
Profile
Function This command is used to set the notification interval of ONT TR069
page 400_
Description template
【Configuration case】
Case 1: Disable the notification function of the ONT TR069 template
OLT(config-ont-tr069profile-1)# inform disable
template
OLT(config-ont-tr069profile-1)# no
Command
{acs-password|acs-url|acs-username|auth-realm|cpe-password|cp
syntax
e-username}
【Configuration case】
Case 1: Delete the password of the ACS server
OLT(config-ont-tr069profile-1)# no acs-password
page 401_
automatically assigns the smallest free template number .
ONT TR069 template name, the length supports 1-32 characters. The
<profile-name> default template name is optical_alarm_profile_x , where "x" is
replaced with the actual template number.
【Configuration case】
Case 1: Create and enter the optical module alarm profile with ID 1 .
OLT(config)# optical-alarm-profile profile-id 1
OLT(config-ont-tr069profile-1)#
【Configuration case】
Case 1: Configure the optical transceiver to have a bias current warning lower limit of 500
OLT(config-optical-alarm-profile-1)# bias-current warning-upper 500
OLT(config-optical-alarm-profile-1)#
28.ONT management
page 402_
syntax <switch>
Specifies which PON port of the OLT enables the automatic discovery
<port-id>
function of the ONT. The value ranges from 1 to 16.
all Enable the ONT auto-discovery function of all PON ports on the OLT
【Configuration case】
Case 1: Enable the ONT automatic discovery function of the PON1 port on the OLT
OLT(config-interface-gpon-0/0)# ont autofind 1 enable
OLT(config-interface-gpon-0/0)#
Command
OLT(config)# ont autofind { no-aging | timeout < Aging - time >}
syntax
Function This command is used to set the aging time of ONT automatic
Description discovery.
Set the aging time for ONT auto-discovery, the value range: 100-300,
< Aging - time > the unit: seconds, the default is: 100 seconds, you can use show ont
autofind time to check the configured ONT auto-aging time.
【Configuration case】
Case 1: Configure the aging time of the ONT's automatic discovery to 200 seconds
OLT(config)# ont autofind timeout 200
OLT(config)#
ONT's SN
page 403_
OLT(config-interface- gpon -0/0)# ont add <port-id> <on t -id> s
n-auth <SN-VALUE> { ont-lineprofile-id <profile-id>
Command
|ont-lineprofile-name <profile - name> } { ont-srvprofile-id
syntax
<profile-id> |ont-srvprofile-name <profile-name> } |{ always
|once-again < Aging time value> | once-no-aging }
This command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the ONT's SN. The OLT will
Function
determine whether the SN reported by the ONT is consistent with the
Description
configuration. If the SN is the same, the authentication is passed and
the ONT goes online normally.
Specifies the PON port number where the newly added ONT resides.
<port-id>
Values are 1-16
<profile -
The name of the ONT template, 1-16 characters are supported
name>
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
【Configuration case】
Case 1: Authenticate an ONT with a number of 9 and sn is an ONT of xpon12345678 at port
1 of pon and bind ONT line profile 15 and ONT service profile 15
OLT(config-interface-gpon-0/0)# ont add 1 9 sn-auth xpon12345678 ont-lineprofile-id
15 ont-srvprofile-id 15
OLT(config-interface-gpon-0/0)#
page 404_
password of the ONT's SN
This command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the ONT's SN Password. The OLT
Function
will determine whether the SN Password reported by the ONT is
Description
consistent with the configuration. If they are consistent, the
authentication is passed and the ONT goes online normally.
Specifies the PON port number where the newly added ONT resides.
<port-id>
Values are 1-16
<profile -
The name of the ONT template, 1-16 characters are supported
name>
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
【Configuration case】
Case 1: Authenticate an ONT number 9 at port 1 of pon , the password of sn is ONT of
12345678 , and bind ONT line profile 15 and ONT service profile 15
OLT(config-interface-gpon-0/0)# ont add 1 9 password-auth 12345678 ont-lineprofile-id
15 ont-srvprofile-id 15
page 405_
OLT(config-interface-gpon-0/0)#
Password
This command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the ONT's SN+Password. The OLT
Function
will determine whether the sn and Password reported by the ONT are
Description
consistent with the configuration. If they are consistent, the
authentication is passed and the ONT goes online normally.
Specifies the PON port number where the newly added ONT resides.
<port-id>
Values are 1-16
<profile -
The name of the ONT template, 1-16 characters are supported
name>
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
page 406_
【Configuration case】
Case 1: An ont number 9 is authenticated at port 1 , the authenticated sn is xpon12345678,
the authenticated password is the ONT of 12345678 , and the ONT line profile 15 and ONT
service profile 15 are bound
OLT(config-interface-gpon-0/0)# ont add 1 9 sn-auth xpon12345678 password-auth
12345678 ont-lineprofile-id 15 ont-srvprofile-id 15
OLT(config-interface-gpon-0/0)#
This command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the ONT's loid. The OLT will
Function
determine whether the loid reported by the ONT is consistent with
Description
the configuration. If it is consistent, the authentication is passed and
the ONT goes online normally.
Specifies the PON port number where the newly added ONT resides.
<port-id>
Values are 1-16
<profile -
The name of the ONT template, 1-16 characters are supported
name>
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
page 407_
be deleted
【Configuration case】
Authenticate an ONT with an ONT number of 10 and a Loid of 12345678 on pon 1 and bind
the ONT line profile 5 and ONT service profile 5
OLT(config-interface-gpon-0/0)# ont add 1 10 loid-auth 12345678 ont-lineprofile-id 5
ont-srvprofile-id 5 always
OLT(config-interface-gpon-0/0)#
password
This command is used to authenticate the ONT and bind the ONT line
profile and service profile based on the ONT's loid+password. The OLT
Function
will determine whether the loid and password reported by the ONT
Description
are consistent with the configuration. If they are consistent, the
authentication is passed and the ONT goes online normally.
Specifies the PON port number where the newly added ONT resides.
<port-id>
Values are 1-16
<profile -
The name of the ONT template, 1-16 characters are supported
name>
page 408_
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
【Configuration case】
Authenticate an ONT whose number is 10, Loid is test, and password is test at port 1 pon 1,
and bind ONT line profile 5 and ONT service profile 5
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)#
Specifies the PON port number for which ONT authentication mode
<port-id>
needs to be configured . Values are 1-16
page 409_
【Configuration case】
Case 1: Configure the ONT authentication mode of the pon 1 port to be automatic
authentication
OLT(config-interface-gpon-0/0)# ont authmode 1 auto
OLT(config-interface-gpon-0/0)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
all Batch authentication of all discovered ONTs under the PON port.
loid-password-a
Password authentication method using loid+loid
uth
page 410_
PASSWORD-VAL authentication mode, the length is 1-10 characters
UE >
sn-password-au
Adopt sn+password authentication method
th
<profile -
The name of the ONT template, 1-16 characters are supported
name>
once-again
once-aging : The authentication can only go online once within the
< Aging time
specified time, and the ONU will be cleared once it is offline.
value>
【Configuration case】
all the ONTs in the discovery state under the pon 1 port according to the sn method and
bind the line profile and business
business template 10
OLT(config-interface-gpon-0/0)#ont confirm 1 all sn-auth ont-lineprofile-id 10
ont-srvprofile-id 10
Number of ONTs that can be added: 0, success: 0
OLT(config-interface-gpon-0/0)#
Case 2: Authenticate the ONT that is in the discovery state and the loid is test under port
pon 1, and bind the line profile and service profile 10
OLT(config-interface-gpon-0/0)# ont confirm 1 loid-auth test ont-lineprofile-id 10
ont-srvprofile-id 10
Add port 1 ONT 1 successfully.
OLT(config-interface-gpon-0/0)#
page 411_
Command OLT(config-interface-gpon-0/0)# ont cancel <port-id> {all | sn <
syntax SN-VALUE >}
Specifies which PON port of the OLT needs to cancel the ONT
<port-id>
auto-discovery state , ranging from 1 to 16
Cancel all automatically discovered ONTs under a GPON port. Use this
all
parameter when deleting ONTs in batches.
【Configuration case】
Case 1: Cancel the ONT whose sn is test under PON 1 port and is in auto-discovery state
OLT(config-interface-gpon-0/0)# ont cancel 1 test
OLT(config-interface-gpon-0/0)#
<port-id> Delete the authenticated ONT under the specified PON port
all Delete all authenticated ONTs under a specified PON port in batches
【Configuration case】
page 412_
Delete the authenticated ONT 1 under the PON 2 port
OLT(config-interface-gpon-0/0)# ont delete 2 1
OLT(config-interface-gpon-0/0)#
Function This command is used to add the specified ONT to the blacklist, and
Description then make the ONT authentication of the blacklist unsuccessful.
sn < Add the specified ONT sn to the blacklist, the length is 12 characters,
SN-VALUE > and the format is XXXXXXXXXXXX
of the sn mask that the specified ONT sn is added to the blacklist. The
mask < length >
value ranges from 4 to 12 .
Specify the id of the ONT to be removed from the blacklist. You can
<index>
use show ont blacklist to check the id of the ONT in the blacklist.
【Configuration case】
Case 1: Add the ONT whose SN is test12345678 to the blacklist, configure the mask length of
sn to 4, and enable blacklist authentication
OLT(config-interface-gpon-0/0)# ont blacklist add sn test12345678 mask 4
OLT(config-interface-gpon-0/0)# ont blacklist enable
OLT(config-interface-gpon-0/0)#
Function
Configure the SN serial number of the ONU
Description
page 413_
<port-ID> The PON port number to be set , the value range is 1-8 .
【Configuration case】
Case 1: Configure the SN serial number of the ONU under the PON1 port to be
111111111111
OLT(config-interface-gpon-0/0)# ont disable 1 111111111111
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
28.1.14.Re-register ONT
Re-register the ONT with the specified ID under the specified PON
< ONT-id >
port
【Configuration case】
Re-register ONT 1 under PON 2
OLT(config-interface-gpon-0/0)# ont re-register 2 1
OLT(config-interface-gpon-0/0)# 2000-01-03 08:50:39 PON 0/0/2 ONU 1 Onu offline
OLT(config-interface-gpon-0/0)#
OLT(config-interface-gpon-0/0)# 2000-01-03 08:50:48 PON 0/0/2 ONU 1 Onu online
page 414_
Applicable view gpon interface view
Specifies the PON port number where the ONT is located. Values
<port-id>
are 1-16
【Configuration case】
Case 1: Modify the authentication method of the first ONT under PON 1 to be sn
authentication and the sn to be xpon12345678
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type sn-auth xpon12345678
OLT(config-interface-gpon-0/0)#
Case 2 : Modify the authentication method of the first ONT under PON 1 to be loid
authentication and the loid to be test
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type loid-auth test
OLT(config-interface-gpon-0/0)#
page 415_
Case 3 : Modify the authentication method of the first ONT under PON 1 to sn + password
authentication and the loid and password to be xpon12345678 and test1 respectively
OLT(config-interface-gpon-0/0)# ont modify 1 1 auth-type sn-auth xpon12345678
password-auth test
OLT(config-interface-gpon-0/0)#
Function This command is used to modify the line profile and service profile
Description bound to the ONT under the PON port.
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
<profile-id> the line template and service template , ranging from 0 to 512
The name of the line template and service template, the value is 1-16
<profile-name>
characters
【Configuration case】
Case 1: Change the line profile of ONT 1 under PON 1 to 5
OLT(config-interface-gpon-0/0)# ont modify 1 1 ont-lineprofile-id 5
OLT(config-interface-gpon-0/0)#
Case 2 : Modify the line profile and service profile of ONT 1 under PON 1 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)#
page 416_
OLT(config-interface-gpon-0/0)# show ont autofind all | brief
OLT(config-interface-gpon-0/0)# show ont autofind time
View all auto-discovered ONTs under the specified PON port. If you
all | brief add a brief, you can also see the information such as the loid, model,
and auto-discovery aging time displayed by the auto-discovered ONT.
sn <
View automatically discovered ONTs based on the specified SN
SN-VALUE >
show ont View all the automatically discovered ONTs on the OLT, and if you add
autofind all | the brief, you can also see the information such as the loid, model,
brief and auto-discovery aging time displayed by the auto-discovered ONT.
【Configuration case】
Case 1: View all ONTs automatically discovered by the PON2 port
OLT(config-interface-gpon-0/0)# show ont autofind 2 all
-------------------------------------------------- ---------------------------------------
Number : 1
Frame/Slot : 0/0
Port : 2
Logic ID : 1
Ont SN : DD16B3551CD3
Password: 12345678
Loid : e067b3551cd3
Loid Password : e067b3551cd3
OMCC Ver : 0xA0
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
page 417_
OLT(config-interface-gpon-0/0)#
OLT(config-interface-gpon-0/0)#
This command is used to view the status of the ONT, including the
detailed registration status of the ONT, the template information
bound to the ONT, and the port configuration of the ONT.
This command is used to query the related information of the ONT
(including the current status of the ONT, the related configuration of
the ONT, and the related information of the ONT T-CONT).
Port: The number of the ONT's PON port on the OLT.
ONT ID: The ONT number set by the user.
SN : The sn of the ONT .
Function
Control flag:
Description
active : The ONT is in an active state. The ONT needs to be
activated on the OLT first, and the ONT is allowed to go online
only when the ONT is in the activated state.
deactive : The ONT is in a deactivated state. When the ONT
is in the deactivated state, use the ont activate command to
activate the ONT
Run state: The running flag of the ONT, which identifies the current
running state of the ONT. It includes two states, "online" and
"offline". When the ONT is normally online, it is "online".
page 418_
Config state: The configuration state. After the ONT goes online
normally, this state indicates whether the ONT is configured to be
delivered, restored, and the completion of configuration delivery and
restoration. There are three states including "initial", "failed" and
"Success".
initial: The ONT is in the process of configuration delivery or
configuration restoration.
failed: Failed to deliver or restore the ONT configuration.
Success: The ONT configuration is delivered or restored
successfully.
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
by-desc < View the registration status of the ONT by specifying the description
DESCRIPTION > information of the ONT, supporting 1-64 characters
by-loid < View the registration status of the ONT by specifying the LOID of the
LOID-VALUE > ONT, supporting 1-24 characters
by-password <
Check the registration status of the ONT by specifying the password
PASSWORD-VAL
under the SN of the ONT, which supports 1-10 characters.
UE >
【Configuration case】
Case 1: Check the registration status of all ONTs on the PON2 port
OLT(config-interface-gpon-0/0)# show ont info 2 all
-------------------------------------------------- ---------------------------------------
F/SP ONT SN Control Run Config Match
ID flag state state state
-------------------------------------------------- --------------------------
0/0 2 1 TPLGCAF02E40 Active Online failed mismatch
0/0 2 2 DD16B3551CD3 Active Offline initial initial
page 419_
0/0 2 3 XPON12345678 Active Online success match
-------------------------------------------------- ---------------------------------------
Total: 3, online: 2, deactive: 0, failed: 1
OLT(config-interface-gpon-0/0)#
page 420_
-------------------------------------------------- -------------------------
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
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
ation management
in global mode
Command
OLT(config)# ont policy -auth < switch>
syntax
page 421_
Function This command is used to globally enable or disable the ONT policy
Description authentication function.
【Configuration case】
ONT policy authentication function in global mode
OLT(config)# ont policy-auth enable
OLT(config)#
all Enable or disable policy authentication for all PON ports on the OLT
【Configuration case】
Case 1: Enable the ONT policy authentication method under the pon 1 port
OLT(config-interface-gpon-0/0)# ont policy-auth 1 enable
OLT(config-interface-gpon-0/0)#
page 422_
Description mode.
{ loid-auth |
loid-password-a
uth | The ONT registration method in the ONT policy authentication is
password-auth configured as loid, loid+password , pasword under sn, sn, or
| sn-auth | password under sn+sn.
sn-password-au
th }
【Configuration case】
Case 1: Configure the policy authentication mode of the ONT as loid-password-auth .
OLT(config)# ont policy-auth mode to loid-password-auth
OLT(config)#
{ equid-auth < The configuration of line profiles and service profiles can be delivered
EQUIPMENT-ID in batches according to the model matching the ONT. The model
> number supports 1-20 characters.
equid-swver-au The line template and service template configurations are delivered
th < in batches according to the matching ONT model + software version
page 423_
EQUIPMENT-ID number. The model number supports 1-20 characters, and the
>< software version number supports 1-14 characters.
SOFTWARE-VER
>
scope Specifies the ONT under which PON supports policy authentication
PORT-LIST batch configuration , the value range is 1-16
【Configuration case】
Case 1: Set the matching ONT manufacturer ID to XPON to deliver line template and service
template id 5 in batches.
OLT(config)# ont policy-auth policy vendor-auth XPON ont-lineprofile-id 5
ont-srvprofile-id 5
OLT(config)#
the ONT
Command
OLT(config)# show ont policy-auth
syntax
【Configuration case】
Case 1: View the policy authentication configuration information of the ONT on the OLT.
OLT(config)# show ont policy-auth
-------------------------------------------------- ---------------------------------------
Autoauth Switch : enable
Autoauth Mode : equid-auth
Target auth Mode : sn-auth
Validity Mode : always-on
page 424_
-------------------------------------------------- --------------------------
There is no rule exist!
-------------------------------------------------- ---------------------------------------
OLT(config)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
Case 1: Add description information as test to ONT 1 under PON 1 port
OLT(config-interface-gpon-0/0)# ont description 1 1 test
OLT(config-interface-gpon-0/0)#
28.3.2.Activate ONT
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
page 425_
ONT -id: The id of the ONT to be activated, ranging from 1 to 128 .
< ONT-id > | all
a ll: activate all ONTs
【Configuration case】
Case 1: Activate the first ONT under PON port 1
OLT(config-interface-gpon-0/0)# ont activate 1 1
OLT(config-interface-gpon-0/0)#
28.3.3.Deactivate ONT
This command is used to deactivate the ONT. When the ONT is not
Function
required to work normally, use this command to activate the ONT. By
Description
default, the ONT is active.
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
Case 1: Deactivate the first ONT under PON port 1
OLT(config-interface-gpon-0/0)# ont deactivate 1 1
OLT(config-interface-gpon-0/0)#
Function
This command is used to restart the ONT.
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id >| all ONT - id : ONT id of the ONT to be restarted, ranging from 1 to 128
page 426_
all : Restart all ONTs under the PON port
【Configuration case】
Case 1: Restart ONT 1 with PON 1 port
OLT(config-interface-gpon-0/0)# ont reboot 1 1
OLT(config-interface-gpon-0/0)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT - id : ONT id of the ONT to be configured, ranging from 1 to 128
ip-index < IP -
Configure IP Host interface index, value range: 0-1
host - index >
vlan < Configure the management VLAN of the ONT. The value ranges from
VLAN-ID > 1 to 4094.
ip-address
Configure a static management IP address in the format of XXXX
<ONT-IP>
page 427_
mask < ONT - Configure the address mask of the static IP address, the format is
subnet - mask > XXXX
Configure the IP address of the primary DNS server. The DNS server is
pri-dns < ONT - used to resolve the IP address through the domain name, or obtain
primary - DNS > its domain name information through the IP address, the format is
XXXX
slave-dns < ONT Configure the IP address of the secondary DNS server, the format is
- slave - DNS > XXXX
【Configuration case】
the static management IP of ONT 1 of PON1 port as 192.168.101.1, subnet mask as
255.255.255.0, gateway IP as 192.168.101.254, 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 ONT 2 of PON1 port as 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)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
ip-index < IP - Specifies the index of the IP Host interface to be deleted, the value
host - index > range: 0-1
page 428_
【Configuration case】
Case 1: Delete the management IP of ONT 1 of PON1 port
OLT(config-interface-gpon-0/0)# no ont ipconfig 1 1
OLT(config-interface-gpon-0/0)#
Function This command is used to view the iphost configuration and iphost
Description status of the ONT
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
the management IP of ONT 1 of PON3 port
OLT(config-interface-gpon-0/0)# show ont ipconfig 3 1
-------------------------------------------------- ---------------------------------------
ONT IP host index : 0
ONT config type : DHCP
ONT IP : -
ONT subnet mask : -
ONT gateway : -
ONT primary DNS :-
ONT slave DNS : -
ONT manage VLAN: 100
ONT manage priority : 1
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
page 429_
Applicable view gpon view
Function
automatic aging switch for ONT registration .
Description
【Configuration case】
Case 1: Enable the automatic ONU registration function of all PON ports, and disable the
ONU automatic registration function under pon3
OLT(config-interface-gpon-0/0)# ont auto-aging switch all on
Number of Ports that can be set: 8, success: 8
OLT(config-interface-gpon-0/0)#
Function
automatic aging time for ONT registration .
Description
Set the ONT automatic aging interval, the value range is 1-180, the
interval
unit is days
【Configuration case】
Case 1: Configure the automatic aging time of the ONT to be 20 days
OLT(config-interface-gpon-0/0)# ont auto-aging time 20
OLT(config-interface-gpon-0/0)#
page 430_
Command
OLT(config-interface-gpon-0/0)# show ont auto-aging info
syntax
Function This command is used to view the aging time configuration of the
Description ONU .
【Configuration case】
Case 1: Check the aging time configuration of the ONU .
OLT(config-interface-gpon-0/0)# show ont auto-aging info
-------------------------------------------------- ---------------------------------------
F/S Port Switch Interval(Day) Scan interval(Day)
-------------------------------------------------- --------------------------
0/0 1 on 20 7
0/0 2 on 20 7
0/0 3 off 20 7
0/0 4 on 20 7
0/0 5 on 20 7
0/0 6 on 20 7
0/0 7 on 20 7
0/0 8 on 20 7
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function
the scan interval for ONT registration .
Description
Set the ONT automatic aging interval, the value range is 1-180, the
interval
unit is days
【Configuration case】
Case 1: Configure the ont scan interval to 20 days
OLT(config-interface-gpon-0/0)# ont auto-aging scan-interval 20
page 431_
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon-0/0)# ont delete <port-ID> offline-list all
syntax
Function
Clear offline ONU
Description
【Configuration case】
Case 1: Clear all offline ONUs on PON1
OLT(config-interface-gpon-0/0)# ont delete 1 offline-list all
Total offline ONT(s): 0 delete.
OLT(config-interface-gpon-0/0)#
Function
This command is used to set the ONU automatic restart time .
Description
< ONT-LIST > Onu-list: ONU list to be modified, the value format is: 1, 3-5, 8
(< Relative
time >|< Relative time: HH:MM
Absolute Absolute time: YYYY/MM/DD-HH:MM:SS
time >)
< Interval > Interval: The value range is 1-365, the unit is Day
【Configuration case】
Case 1: Configure the automatic restart time of the first onu under pon to be 11:22 every 15
days
OLT(config-interface-gpon-0/0)# ont auto-reboot 1 1 time 11:22 interval 15
page 432_
OLT(config-interface-gpon-0/0)#
Function
This command is used to check the ONU automatic restart time .
Description
< rtimer-list | rtimer-list: Relative time, corresponding to the set Relative time
atimer-list > atimer-list : Absolute time, corresponding to the set Absolute time
【Configuration case】
Case 1: Check ont automatic restart time
OLT(config-interface-gpon-0/0)# show ont auto-reboot atimer-list
-------------------------------------------------- ---------------------------------------
F/SP ONT-ID Time
-------------------------------------------------- ---------------------------------------
-------------------------------------------------- --------------------------
The number of the PON port where the ONT is located. Values are
<port-id>
1-16 .
page 433_
ID of the ONT to be viewed. If the ONT ID is specified after the
<ONT-id> command, the detailed version information of the ONT is viewed. The
value ranges from 1 to 128 .
View the version information of all ONTs under the specified PON
all port. This command mainly shows some brief version information of
the ONT.
【Configuration case】
Case 1: Query the version information of the ONT numbered 2 under the PON2 port.
OLT(config-interface-gpon-0/0)# show ont version 2 2
-------------------------------------------------- ---------------------------------------
Frame/Slot : 0/0
Port : 2
ONT-ID : 2
Vendor-ID : xPON
ONT Version : HZ660.1A
Product-ID : 0000
Equipment-ID : ONT1
Main Software Version : V2.1.2
Main Software is commit : yes
Main Software is active : yes
Standby Software Version : V2.1.0
Standby Software is commit : no
Standby Software is active : no
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
The number of the PON port where the ONT is located. Values are
<port-id>
1-16 .
page 434_
【Configuration case】
Case 1: Query the actual capability set information of the ONT numbered 2 under the PON2
port
OLT(config-interface-gpon-0/0)# show ont capability 2 2
-------------------------------------------------- ---------------------------------------
Frame/Slot : 0/0
Port : 2
ONT-ID : 2
ONT TYPE : SFU/HGU
OMCC version : 0xA0
Number of uplink PON ports : 1
Number of POTS ports : 0
Number of ETH ports : 1
Number of VEIP : 1
Number of CATV UNI ports : 0
Number of GEM ports : 256
Number of T-CONTs : 15
The type of flow control : PQ + Car
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon-0/0)# ont quiet-period <time>
syntax
Function
Configuring ONT Quiet Time
Description
<time> Quiet time, the value range is 10-120, the unit is seconds
【Configuration case】
Case 1: Configure the ONT silence time to be 60 seconds
OLT(config-interface-gpon-0/0)# ont quiet-period 60
OLT(config-interface-gpon-0/0)#
page 435_
syntax
Function
View ONT silent time
Description
【Configuration case】
Case 1: View ONT silent time
OLT(config-interface-gpon-0/0)# show ont quiet-period
OLT(config-interface-gpon-0/0)#
The number of the PON port where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
Case 1: Query the user configuration capability set of ONT number 3 under PON3 port.
OLT(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
page 436_
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function This command is used to check the reason why the ONT configuration
Description status fails.
The number of the PON port where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
Case 1: The reason for the failure to query the configuration status of ONT number 1 on the
PON3 port.
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)#
page 437_
The number of the PON port where the ONT is located. Values are
<port-id>
1-16 .
View the optical power information of all ONTs under a specified PON
all
port
【Configuration case】
Case 1: Query the optical power information of the ONT numbered 3 under the PON3 port.
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)#
Function This command is used to query the number of ONTs registered and
Description online under the PON port.
all View the number of ONTs registered and online under all PON ports
【Configuration case】
Case 1: Query the number of ONTs registered and online under the PON3 port.
OLT(config-interface-gpon-0/0)# show ont register-statistics 3
-------------------------------------------------- ---------------------------------------
F/SP Autofind Authenticated Online
page 438_
-------------------------------------------------- --------------------------
0/0 3 0 3 1
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function This command is used to set the renegotiation interval for security
Description keys
【Configuration case】
Case 1: Set the security key renegotiation interval to 1000ms
OLT(config-interface-gpon-0/0)# key-exchange-interval 1000
Command
OLT( config-interface-gpon-0/0 )# no key-exchange-interval
syntax
【Configuration case】
Case 1: Renegotiation Interval for Deleting Security Keys
OLT(config-interface-gpon-0/0)# no key-exchange-interval
Command
OLT( config-interface-gpon-0/0 )# show key-exchange
syntax
page 439_
Applicable view Gpon view
【Configuration case】
Case 1: View the renegotiation interval configuration of the security key
OLT(config-interface-gpon-0/0)# show key-exchange
-------------------------------------------------- ---------------------------------------
Control Status Interval(ms)
-------------------------------------------------- ---------------------------------------
Enable 1000
-------------------------------------------------- ---------------------------------------
Command
OLT( config-interface-gpon-0/0 )# encryption {enable|disable}
syntax
Function
This command is used to enable or disable the security key function
Description
{enable|disable
Enable is to enable, disable is to disable
}
【Configuration case】
Case 1: Enabling the security key function
OLT(config-interface-gpon-0/0)# encryption enable
Command
OLT(config-interface-gpon -0/0 )# show encryption
syntax
Function
ONT encryption
Description
【Configuration case】
Case 1: Check ont encryption
OLT(config-interface-gpon-0/0)# show encryption
page 440_
GPON ONT encryption switch: Enable
OLT(config-interface-gpon-0/0)#
Function
View ont running information
Description
【Configuration case】
Case 1: Check the running status of all onu under PON8
OLT(config-interface-gpon-0/0)# show ont run-info 8 all
-------------------------------------------------- ---------------------------------------
F/S Port ONT-ID Run state Last down time On line time
-------------------------------------------------- --------------------------
0/0 8 1 online -- 1days 1h:58m:54s
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
ONU
Function
View the sn serial number of the automatically discovered onu
Description
page 441_
【Configuration case】
Case 1: Hexadecimal display of onu's sn serial number automatically found under pon1
OLT(config-interface-gpon-0/0)# show ont autofind 1 all brief sn-format hex
Error: The automatically found ONTs does not exist.
OLT(config-interface-gpon-0/0)#
Command
OLT(config-interface-gpon-0/0)# show ont status-count
syntax
Function
Check the current status of the ONU
Description
【Configuration case】
Case 1: View the current status count of the ONU
OLT(config-interface-gpon-0/0)# show ont status-count
-------------------------------------------------- ---------------------------------------
Total Info
-------------------------------------------------- ---------------------------------------
Offline : 0
Inactive : 0
Disable : 0
Active : 1
ConfigSuccess : 1
MibReady : 1
Unknown : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Command OLT(config-interface-gpon-0/0)# show ont-rate < port- list > {< ONT -
syntax list> | all}
Function
View ont rate
Description
page 442_
<port- list > Port list to be viewed , the value format is: 1, 3-5, 8
< ONT- list> Onu-list: ONU list to be viewed , the value format is: 1, 3-5, 8
【Configuration case】
Case 1: Check the ONT rate
OLT(config-interface-gpon-0/0)# show ont-rate 1,2-4 all
Error: There is no ont-rate available.
OLT(config-interface-gpon-0/0)#
Function
View ONT port status
Description
【Configuration case】
Case 1: Check the status of all ports of the first ONU of PON8
OLT(config-interface-gpon-0/0)# show ont port state 8 1 eth all
-------------------------------------------------- ---------------------------------------
F/SP 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)#
page 443_
Function
View ONT optical backhaul information
Description
【Configuration case】
Case 1: Check the optical backhaul information of the first ONU under PON8
OLT(config-interface-gpon-0/0)# show ont postback optical-info 8 1
-------------------------------------------------- ---------------------------------------
Frame/Slot : 0/0
Port : 8
ONT ID : 1
OLT Rx ONT optical power(dBm) : -21.13
-------------------------------------------------- --------------------------
OLT(config-interface-gpon-0/0)#
Function
View ont multicast
Description
【Configuration case】
Case 1: View the multicast group of the first port of the first ont under pon8
OLT(config-interface-gpon-0/0)# show ont port multicast-group 8 1 eth 1
No multicast group
OLT(config-interface-gpon-0/0)#
page 444_
OLT(config)# load file {ftp <ip-address> < ftp - user - name > < FTP -
Command
user - password > < FILE-NAME >} | { tftp <ip-address> <
syntax
FILE-NAME >}
Function This command is used to transfer the upgrade file of the ONT to the
Description OLT.
ftp Use the ftp protocol to transfer the ONT upgrade file to the OLT
<ip-address> The ip address of the ftp or tftp server, in the format XXXX
< FTP - user - The access user name of the ftp server, the value range is 1-32
name > characters
< FTP - user - The access password of the ftp server, the value range is 1-32
password > characters
The upgrade file name of the ONT, the value range is 1-64 characters,
< FILE-NAME >
and the extension of the ONT upgrade file needs to be added.
tftp Use the tftp protocol to transfer the ONT upgrade file to the OLT
【Configuration case】
Case 1: Use ftp to transfer the upgrade file 111.tar of the ONT to the OLT
OLT(config)# load file ftp 192.168.5.111 test test 111.tar
OLT(config)#
Command OLT(config)# ont load select < FrameID/SlotID > {all | <port-id>}
syntax {<ont-list> | all}
Function
This command is used to configure which ONTs need to be upgraded.
Description
<
Configure the ONT upgrade under the specified board, the value is
FrameID/SlotID
0/0
>
Configure the ONT upgrade under the specified PON port, and the
all | <port-id> port-id value ranges from 1 to 16;
all is to configure ONTs under all PONs to be upgraded
page 445_
Configure which ONTs under the specified PON port need to be
upgraded. The value of ont-list is 1-128, and the range can be
<ont-list> | all}
specified. The format is 1-17, 128;
all is to configure all ONT upgrades under the specified PON
【Configuration case】
Case 1: The ONTs with the ONT id 1-6 under the PON1 port need to be upgraded
OLT(config)# ont load select 0/0 1 1-6
Number of ONTs that can be added: 6, success: 0
OLT(config)
OLT(config)# ont load start < FrameID/SlotID > < FILENAME > |
Command
activemode { graceful | immediate | next-startup }
syntax
OLT(config)# ont load stop < FrameID/SlotID >
Function
This command is used to start or stop ONT upgrade.
Description
<
Configure the ONT under the specified board to start the upgrade,
FrameID/SlotID
the value is 0/0
>
< FILENAME > Configure the ONT upgrade file name for starting the upgrade
The ONT loading policy takes effect in the graceful reset mode. That
is, after loading the file to the ONT according to the loading policy,
the ONT decides whether to restart immediately according to its own
graceful
settings to make the loading take effect (for example, whether there
is an emergency call). The ONT waits for a maximum of four hours,
after which it is forced to restart.
After the loading is complete, the ONT restarts immediately for the
immediate
loading to take effect.
After the loading is complete, the loading will take effect when the
next-startup
ONT restarts next time.
page 446_
Delete ONT load data. Enable this parameter when you want to
load stop
delete all load tasks and data on the ONT immediately.
【Configuration case】
Case 1: Start the ONT and use the upgrade file of 111.tar to upgrade. After the upgrade,
restart immediately to make the upgrade take effect.
OLT(config)# ont load start 0/0 111.tar activemode immediate
OLT(config)
Command
OLT(config)# show ont load info < FrameID/SlotID >
syntax
<
Specifies which board to view the ONT upgrade configuration
FrameID/SlotID
information, the value is 0/0
>
【Configuration case】
Case 1: View the ONT upgrade information configured on the OLT 0/0 board
OLT(config)# show ont load info 0/0
-------------------------------------------------- ---------------------------------------
File name :
Load state : stop
Active mode : immediate
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT(config)# show ont load info < FrameID/SlotID >
syntax
Function
This command is used to view the upgrade progress of the ONT.
Description
page 447_
<
Specifies which board to view the ONT upgrade progress on. The
FrameID/SlotID
value is 0/0.
>
【Configuration case】
Case 1: Check the ONT upgrade progress under the OLT 0/0 board
OLT(config)# show ont load select 0/0
-------------------------------------------------- ---------------------------------------
F/S PON ONT ID State Progress
-------------------------------------------------- --------------------------
0/0 3 1 waiting 0%
-------------------------------------------------- ---------------------------------------
Total: 1, waiting: 1, fail: 0, success: 0, loading: 0, cancel: 0
OLT(config)#
Function
Add an ipv4 bridge wan
Description
<onu-id> Onu Id
(internet | Service type, bridge mode only has internet and other two
other)
page 448_
priority <0-7>) Tag: set the vlan id of wan, the value range is 1-4094, priority: 0-7
【Configuration case】
Case 1: Add an ipv4 bridge wan with index 1 to pon port 1 onu 1, service type internet,
configure wan vlanid as 100, priority 0 multicast vlan 200, bind port eth1-2
OLT(config-interface-gpon-0/0)# ont wan add 1 1 1 ipv4 bridge internet vlan-mode tag
100 priority 0 mvlan 200 binding eth 1-2
Function
Add an ipv4 route wan
Description
<onu-id> Onu Id
page 449_
voice-internet
【Configuration case】
Case 1: Add an ipv4 route wan with index 1 to pon port 1 onu 1, service type internet, ip
allocation mode select static, ip: 192.168.100.10 mask 255.255.255.0 gateway: 192.168.100.1
preferred dns: 202.96.134.133 Standby 202.96.128.166 Configure wan vlanid as 100, priority 0
enable multicast proxy multicast vlan 200, bind port eth1-2
OLT(config-interface-gpon-0/0)# ont wan add 1 1 1 ipv4 route internet static ip
192.168.100.10 mask 255.255.255.0 gateway 192.168.100.1 primary-dns
202.96.134.133 secondary-dns 202.96.134.133 vlan-mode tag 100 priority 0 igmp-proxy
enable 200 binding eth 1-2
Case 2 : Add an ipv4 route wan with wan name pppoe_test to pon port 1 onu 1, service type
internet, ip mode select pppoe, pppoe service name test username test password test vlan mode
select untag
OLT(config-interface-gpon-0/0)# ont wan add 1 1 pppoe_test ipv4 route internet pppoe
page 450_
servicename test username test password test vlan-mode untag
Specifies the PON port number where the ONT is located. Value
<port-id>
range: 1-16
【Configuration case】
Connect the WAN connection information of ONT 1 of PON2 port
OLT(config-interface-gpon-0/0)# show ont wan config 2 1
-------------------------------------------------- ---------------------------------------
WAN ID : 1
Connection name : 1_TR069_R_VID_10
Connection enable : Enable
Connection status : Up
IP Version : IPv4
Service type: TR069
VLAN : Enable
VLAN id: 100
VLAN priority : 0
VLAN DEI : 1
page 451_
LAN DHCP: Enable
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< Wan -
connection - Index of the created WAN connection, value range: 0-32
ID >
page 452_
username
Modify the pppoe account of pppoe's WAN connection
<NAME>
password <
Modify the pppoe password of pppoe's WAN connection
PASSWORD >
mask < ONT - Modify the address mask of the static IP address of the WAN
subnet - mask > connection, the format is XXXX
Modify the IP address of the primary DNS server for the WAN
pri-dns < ONT - connection. The DNS server is used to resolve the IP address through
primary - DNS > the domain name, or obtain its domain name information through
the IP address, the format is XXXX
slave-dns < ONT Modify the IP address of the secondary DNS server for the WAN
- slave - DNS > connection, the format is XXXX
【Configuration case】
Case 1: Modify WAN connection 1 of ONT 1 of PON1 port to bridge
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 ipv4 bridge
OLT(config-interface-gpon-0/0)#
Case 3: Modify the WAN connection 3 of ONT 1 of the PON1 port to pppoe, and the pppoe
username and password are test/test
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 3 ipv4 pppoe username test
password test
OLT(config-interface-gpon-0/0)#
page 453_
Case 4: Modify the WAN connection 4 of ONT 1 of the PON1 port to a static IP address, the
IP address is 192.168.5.55, the gateway is 192.168.5.254, the primary DNS address is 8.8.8.8, and
the secondary DNS address is 4.4.4.4
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 2 ipv4 static ip 192.168.5.55
mask 255.255.255.0 gateway 192.168.5.254 primary-dns 8.8.8.8 secondary-dns 4.4.4.4
OLT(config-interface-gpon-0/0)#
Function
This command is used to open or close the WAN connection.
Description
Specifies the PON port number where the ONT is located. Value
<port-id>
range: 1-16
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
【Configuration case】
Enable WAN connection 1 of ONT 1 of PON1 port
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 connection- status enable
OLT(config-interface-gpon-0/0)#
Function This command is used to modify the WAN connection of the ONT and
Description the actual port binding information of the ONT.
<port-id> Specifies the PON port number where the ONT is located. Values are
page 454_
1-16
ONT - id : the ONT id of the ONT bound to the port by the WAN
< ONT-id >
connection to be modified, ranging from 1 to 128
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
Modify the actual port of the ONT that needs to be bound to the
<ONT-port-id> WAN connection. The ONT's lan port is port1-port4, the ONT's WiFi
SSID is <1-8>, and the ONT's 5g WiFi SSID is <1-8>
【Configuration case】
Case 1: Bind the WAN connection 1 of the ONT 1 of the PON1 port to the LAN1 and WiFi
SSID1 together
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 0 binding eth 1 ssid1
OLT(config-interface-gpon-0/0)#
Function This command is used to modify the WAN connection service type of
Description the ONT.
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
page 455_
voip: for voice
voip-tr069: for both voice and tr069
【Configuration case】
Change the service type of WAN connection 1 of ONT 1 of PON1 port to internet-voip
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 service-type internet-voip
OLT(config-interface-gpon-0/0)#
Function
Add an ipv4 bridge wan
Description
<onu-id> Onu Id
【Configuration case】
Case 1: Modify the vlan processing mode of pon port 1 onu 1 wan connection 1 to
transparent transmission.
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 vlan-mode transparent
page 456_
Function This command is used to configure the MTU value of the ONT's WAN
Description connection.
Specifies the PON port number where the ONT is located. Value
<port-id>
range: 1-16
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
Configure the MTU value of the WAN connection of the ONT, the
<MTU-value>
value range: 64-1540
【Configuration case】
Configure the MTU value of WAN connection 1 of ONT 1 of PON1 port to 1500
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 mtu 1500
OLT(config-interface-gpon-0/0)#
Specifies the PON port number where the ONT is located. Value
<port-id>
range: 1-16
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
【Configuration case】
page 457_
Case 1: Enable nat function on WAN connection 1 of ONT 1 of PON1 port
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 nat enable
OLT(config-interface-gpon-0/0)#
ONT
Specifies the PON port number where the ONT is located. Value
<port-id>
range: 1-16
< Wan -
connection - The index of the created WAN connection, the value range: 0-32
ID >
Enable : Enable the dhcp function on the LAN side of the ONT under
the WAN connection
<switch>
Disable : Disable the dhcp function on the LAN side of the ONT under
the WAN connection
【Configuration case】
Case 1: Enable the DHCP function on the LAN side of the WAN connection 1 of ONT 1 of the
PON1 port
OLT(config-interface-gpon-0/0)# ont wan modify 1 1 1 lan-dhcp enable
OLT(config-interface-gpon-0/0)#
28.6.1.enable WIFI
page 458_
Command OLT(config-interface- g pon-0/0) # ont wifi <port-id> <onu-id>
syntax (2.4g|5g) (disable|enable)
Function Configure the wifi properties of the 2.4g frequency band, each
Description parameter is optional
page 459_
/g/n)
channel-id The value of the channel for wireless network work is 0-13, 0 is auto
<0-13>
page 460_
Command OLT(config-interface- gpon-0/0)# ont wifi <port-id> <onu-id>
syntax attribute 5g {wifi-mode ( 802.11b | 802.11g | 802.11b/g | 802.11n |
802.11b/ g/n | 802.11a | 802.11a/n | 802.11ac/a/n )|
channel-bandwidth (20|40|80) |channel-id
(0|36|40|44|48|52|56|60|64|149|153|157|161)|
wifi-rate (auto|1|2|5.5|6|9|12|18|24|36|48|54)|
txpower (100%|80%|60%|35%|15%)|
country-region
(usa|india|european-union|spain|france|japan|israli|china-taiwan
|russian|china|global|world-wide) |
sgi-enable (disable|enable) |
wps-enable (disable|enable)|
ap-iso(disable|enable)}
channel-id The value of the channel for wireless network work is 0-13, 0 is auto
<0-13>
page 461_
%|35%|15%)
page 462_
(2.4g|5g) wifi band 2.4g and 5g
【Configuration case】
Case 1: Turn off 5g band ssid 1 of pon 1 onu 1
OLT(config-interface- g pon-0/0)# ont wifi ssid 1 1 1 5g admin disable
【Configuration case】
page 463_
Case 1: Configure 2.4g frequency band wifi ssid 1 of pon 1 onu 1, enable broadcast, ssid
name test, maximum number of connected users 10, encryption method select wpa encryption
algorithm tkip password 123
OLT(config-interface- g pon-0/0)# ont wifi ssid 1 1 1 2.4g admin enable
broadcast-admin enable test max-user 10 wpa wpa-encrypt tkip 123
Function Restore the default properties of onu wifi, olt will clear the
Description configuration locally
【Configuration case】
Case 1: Restore the wifi of pon 1 onu 1 to default properties
OLT(config-interface- g pon-0/0)# ont wifi 1 1 default-setting
【Configuration case】
Case 1: View the wifi configuration of pon 1 onu 1
OLT(config-interface- g pon-0/0)# show ont wifi config 1 1
-------------------------------------------------- ---------------------------------------
Wifi Band: 2.4g
Wi-Fi state : disable
page 464_
Wi-Fi Mode: 802.11b
ChannelBandwidth: 40MHz
Channel ID : 5
Wifi Rate : --
Tx Power : --
Country Region : --
SGI Enable : --
WPS Enable : --
AP ISO : --
-------------------------------------------------- ---------------------------------------
-------------------------------------------------- ---------------------------------------
SSID(2.4g) status Broadcast Name MaxUser Encrypt Wpa Key
Admin mode encrypt
-------------------------------------------------- --------------------------
1 enable enable test 10 WPA TKIP 123
-------------------------------------------------- --------------------------
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
page 465_
The ONT port id of the native-vlan needs to be configured, and the
<ONT-port-id>
value ranges from 1 to 8.
Set the vlan id of the native-vlan of the ONT port, ranging from 1 to
<vlan id>
4094
【Configuration case】
Configure native-vlan 100 for eth port 1 of ONT 1 of PON1 port
OLT(config-interface-gpon-0/0)# ont port native-vlan 1 1 eth 1 vlan 100
OLT(config-interface-gpon-0/0)#
ports
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
inbound Configuring the upstream (ingress) rate limit function of an ONT port
The ONT port rate limit needs to be bound to the traffic template id.
The bandwidth value configured for the port rate limit on the ONT is
< traffic - profile
bound to the traffic template. You can use the OLT(config)# show
- ID >
traffic-profile all command to check which traffic profiles exist on the
OLT.
【Configuration case】
Case 1: Configure the upstream and downstream port rates of the first Ethernet port of ONT
1 on the PON1 port to be 500M (the traffic template id is 6 )
page 466_
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)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be viewed, ranging from 1 to 128
【Configuration case】
Case 1: View the upstream and downstream bandwidth rate configuration of all ports of
PON2 port ONT2
OLT(config-interface-gpon-0/0)# show ont port car 2 2 eth all
-------------------------------------------------- ---------------------------------------
F/SP ONT Port Inbound Outbound
-------------------------------------------------- --------------------------
0/0 2 2 1 6 6
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
page 467_
Function This command is used to enable or disable the flow control function
Description of the ONT Ethernet port .
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
【Configuration case】
Case 1: Enable the flow control function of the first Ethernet port of ONT 1 of the PON1
port .
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 flow-control on
OLT(config-interface-gpon-0/0)#
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
【Configuration case】
Case 1: Enable the auto-negotiation function of the first Ethernet port of ONT 1 of the PON1
port.
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 auto-neg
OLT(config-interface-gpon-0/0)#
page 468_
Command OLT(config-interface-gpon-0/0)# ont port attribute <port-id> <
syntax ONT-id > eth < eth -port-id> speed <speed> dulepx full/half
Function
speed and duplex mode of the ONT Ethernet port.
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
10 : 10Mb/s
<speed> 100 : 100Mb/s
1000 : 1000Mb/s
【Configuration case】
the first Ethernet port of ONT 1 is 1000Mb /s and it is 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)#
Function
This command is used to enable or disable the port of the ONT.
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
page 469_
【Configuration case】
the first port of ONT 1 of the PON1 port
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 operational-state on
OLT(config-interface-gpon-0/0)#
Function
Ont binding igmp template
Description
< Profile ID > igmp template id, the value range is 1-256
【Configuration case】
Case 1: The first port of the first onu under pon1 is bound to igmp template 1
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 eth 1 igmp-profile profile-id 1
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
Function This command is used to view the ONT port configuration (including
Description native-vlan, port rate, flow control)
<port-id> Specifies the PON port number where the ONT is located. Values are
page 470_
1-16
< ONT-id > ONT id of the ONT to be viewed, ranging from 1 to 128
【Configuration case】
Case 1: View the configuration information of all ports of PON2 port ONT2
OLT(config-interface-gpon-0/0)# show ont port attribute 2 2 eth all
-------------------------------------------------- ---------------------------------------
F/SP ONT ONT Auto-neg Speed Duplex Port Flow Native Priority
port (Mbps) switch control VLAN
-------------------------------------------------- --------------------------
0/0 2 2 1 enable auto auto on off 101 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function This command is used to view ONT port status (including link status,
Description port negotiation rate), etc.
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be viewed, ranging from 1 to 128
【Configuration case】
Case 1: Check the status of all ports of PON2 port ONT2
OLT(config-interface-gpon-0/0)# show ont port state 2 2 eth all
-------------------------------------------------- ---------------------------------------
F/SP ONT Port Type Speed(Mbps) Duplex Link-State
-------------------------------------------------- --------------------------
0/0 2 2 1 GE - - down
0/0 2 2 2 - - - -
0/0 2 2 3 - - - -
0/0 2 2 4 - - - -
page 471_
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function
This command is used to enable or disable the ONT CATV port .
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
【Configuration case】
Case 1: Enable the CATV port of ONT 1 of the PON1 port .
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 catv 1 operational-state on
OLT(config-interface-gpon-0/0)#
Function
This command is used to view the ONT CATV port configuration.
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be viewed, ranging from 1 to 128
【Configuration case】
Case 1: View the CATV port configuration information of the PON2 port ONT2
page 472_
OLT(config-interface-gpon-0/0)# show ont port attribute 2 2 catv all
-------------------------------------------------- ---------------------------------------
F/SP ONT ONT-Port Port-Switch
-------------------------------------------------- --------------------------
0/0 2 2 1 off
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function
View ont catv information
Description
【Configuration case】
Case 1: View CATV information of all ONUs of PON8
OLT(config-interface-gpon-0/0)#
Function This command is used to view the MAC address table learned by the
Description ONT port
page 473_
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be viewed, ranging from 1 to 128
Specifies that the ONT needs to view the learned MAC address table
< eth -port-id>
port id, which ranges from 1 to 8.
【Configuration case】
Case 1: View the MAC address table learned by port 1 of ONT2 of PON2 port
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)#
Function
View ONU traffic statistics
Description
【Configuration case】
Case 1: View the traffic statistics of ONU1 under pon8
OLT(config-interface-gpon-0/0)# show statistics ont 8 1
-------------------------------------------------- ---------------------------------------
Rx rate (kbps): 0 Tx rate (kbps): 0
-------------------------------------------------- ---------------------------------------
Upstream frames : 0
Upstream bytes : 0
Downstream frames : 0
Downstream bytes : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
page 474_
28.8.2.port performance statistics of the ONT in the current 15
minutes
Function
View the current 15-minute performance statistics of ont
Description
【Configuration case】
Case 1: View the current 15-minute performance statistics of port 1 of ONU1 under pon8
OLT(config-interface-gpon-0/0)# show statistics ont-eth-performance 8 1 1
current-15minutes
-------------------------------------------------- ---------------------------------------
Received frames: 0
Received bytes: 0
Received broadcast frames: 0
Received multicast frames :0
Received 64 byte frames: 0
Received 65~127 byte frames: 0
Received 128~255 byte frames: 0
Received 256~511 byte frames: 0
Received 512~1023 byte frames: 0
Received 1024~1518 byte frames: 0
Received crc error frames: 0
Received undersize frames :0
Received oversize frames: 0
Received discarded frames :0
page 475_
Sent 128~255 byte frames :0
Sent 256~511 byte frames :0
Sent 512~1023 byte frames: 0
Sent 1024~1518 byte frames: 0
Sent crc error frames :0
Sent undersize frames :0
Sent oversize frames :0
Sent discarded frames :0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
minutes
Function
View port performance statistics of ont in the past 15 minutes
Description
【Configuration case】
Case 1: View the performance statistics of port 1 of ONU1 under pon8 in the past 15
minutes
OLT(config-interface-gpon-0/0)# show statistics ont-eth-performance 8 1 1
historic-15minutes
-------------------------------------------------- ---------------------------------------
Received frames: 0
Received bytes: 0
Received broadcast frames: 0
Received multicast frames :0
Received 64 byte frames: 0
Received 65~127 byte frames: 0
Received 128~255 byte frames: 0
Received 256~511 byte frames: 0
page 476_
Received 512~1023 byte frames: 0
Received 1024~1518 byte frames: 0
Received crc error frames: 0
Received undersize frames :0
Received oversize frames: 0
Received discarded frames :0
OLT(config-interface-gpon-0/0)#
Function
reset ont traffic statistics
Description
<port-ID> the ONT to be reset belongs . The value ranges from 1 to 16.
< ONT -ID> The ONT to be reset , the value range is 1-128 .
【Configuration case】
Case 1: Reset the traffic statistics of port 1 in ONU1 of pon8
OLT(config-interface-gpon-0/0)# reset statistics ont-eth-performance 8 1 1
page 477_
OLT(config-interface-gpon-0/0)#
Function
This command is used to enable or disable the voice port of the ONT.
Description
Specifies the PON port number where the ONT is located. Values are
<port-id>
1-16
< ONT-id > ONT id of the ONT to be configured, ranging from 1 to 128
【Configuration case】
Case 1: Enable the first voice port of ONT 1 on the PON1 port
OLT(config-interface-gpon-0/0)# ont port attribute 1 1 pots 1 operational-state on
OLT(config-interface-gpon-0/0)#
Function
Add onu voice port discrete configuration
Description
< ONT -ID> The ONT to be configured , the value range is 1-128 .
page 478_
<ONT-port-ID> Voice port id of the ONT, ranging from 1 to 8 .
【Configuration case】
Case 1: Add the first voice port of ONU1 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)#
Function
Delete the ONU voice port configuration
Description
<port-ID> the ONT to be cancelled belongs . The value ranges from 1 to 16.
< ONT -ID> The ONT to be cancelled , the value range is 1-128 .
【Configuration case】
Case 1: Delete the first voice port of ONU1 under the PON1 port.
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)#
page 479_
Function
Modifying the discrete configuration of the ONU voice port
Description
<port-ID> the ONT to be modified belongs . The value ranges from 1 to 16.
< ONT -ID> The ONT to be modified , the value range is 1-128 .
【Configuration case】
Case 1: Modify the user name of the first voice port of ONU1 under the PON1 port to 12,
password 123, and telno1234.
OLT(config-interface-gpon-0/0)# sippstnuser modify 1 1 1 username 12 password 123
telno 1234
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
Function
ONU voice port service binding ont-sipagent template
Description
<port-ID> the ONT to be cancelled belongs . The value ranges from 1 to 16.
< ONT -ID> The ONT to be cancelled , the value range is 1-128 .
【Configuration case】
page 480_
Case 1: The first voice port of ONU1 under PON1 port is bound to o nt-sipagent template 1.
LT(config-interface-gpon-0/0)# sippstnuser ipconfig 1 1 1 ont-sipagent-profile profile-id
1
The sip agent profile does not exist
OLT(config-interface-gpon-0/0)#
Function
The ONU voice port service is bound to the digitmap template.
Description
<port-ID> the ONT to be cancelled belongs . The value ranges from 1 to 16.
< ONT -ID> The ONT to be cancelled , the value range is 1-128 .
【Configuration case】
Case 1: The first voice port of ONU1 under PON1 port is bound to digitmap template 1.
OLT(config-interface-gpon-0/0)# sippstnuser digitmap 1 1 1 digitmap-profile profile-id 1
The digital map profile does not exist
OLT(config-interface-gpon-0/0)#
Function
ONU voice port service binding siprightflag template
Description
<port-ID> the ONT to be cancelled belongs . The value ranges from 1 to 16.
page 481_
< ONT -ID> The ONT to be cancelled , the value range is 1-128 .
【Configuration case】
Case 1: The first voice port of ONU1 under PON1 port is bound to siprightflag template 1.
OLT(config-interface-gpon-0/0)# sippstnuser rightflag 1 1 1 siprightflag-profile profile-id
1
The ONU does not exist in the authentication table
OLT(config-interface-gpon-0/0)#
Function
Restore onu factory mode.
Description
【Configuration case】
Case 1 : pon 16 port onu1 restore factory mode
OLT(config-interface-gpon-0/0)# ont restore factory 16 1
<cr> - Please press ENTER to execute command
Function
This command is used to enable or disable all ONT CATV ports
Description
【Configuration case】
page 482_
Case 1: Enable the C ATV ports of all ONTs under the OLT
OLT(config)# ont port attribute catv default-operational-state on
Function
tr069 template created by onu binding
Description
<
ont-tr069profile onu tr069 template id
-id>
<
ont-tr069profile onu tr069 template name
-name >
【Configuration case】
Case 1 : pon 16 port onu1 binding tr069 template 1
OLT(config-interface-gpon-0/0)# ont tr069-config 16 1 ont-tr069profile-id 1
<cr> - Please press ENTER to execute command
Function
Delete the created tr069 template
Description
<profile-id> template id
【Configuration case】
Case 1 : Delete already created template 1
page 483_
OLT(config)# no ont-tr069-profile profile-id 1
Command
syntax OLT(config)# show ont-tr069-profile all
Function
View all tr069 templates that have been created
Description
【Configuration case】
Case 1 : View the created tr069 template
OLT(config)# show ont-tr069-profile all
-------------------------------------------------- ---------------------------------------
Profile-ID Profile-name Binding times
-------------------------------------------------- --------------------------
1 tr069profile_1 0
-------------------------------------------------- ---------------------------------------
Total: 1
tr069 template
<profile-id> template id
【Configuration case】
Case 1 : View the configuration and binding times of template 1
OLT(config)# show ont-tr069-profile profile-id 1
-------------------------------------------------- ---------------------------------------
Profile-ID : 1
Profile-name : tr069profile_1
Binding times : 0
-------------------------------------------------- --------------------------
page 484_
Acs url :
Acs port : 0
Acs user name :
Acs user password :
Auth realm :
Inform : enalbe
Inform interval : 30
Connect request auth : enalbe
Cpe user name :
Cpe user password :
Cpe port : 0
-------------------------------------------------- ---------------------------------------
OLT(config)# show ont-tr069-profile profile-id 1 bound-info
Tr069 profile 1 has not been bound.
Add two layers of Tag. Add two layers of packets on the user side:
S-VLAN+C-VLAN. Applies to:
S-VLAN is QinQ VLAN, Common VLAN or Stacking VLAN, single service
add-double
or service flow classified by user-encapuser-encap flow.
S-VLAN is QinQ VLAN, Common VLAN or Stacking VLAN, untagged
service flow.
inner-vlan: The inner VLAN after switching. When the processing
page 485_
method is add-double or translate-and-double, the inner VLAN can
be specified.
By default , the C-VLAN carried on the user side remains
unchanged, and a layer of S-VLAN is added. If VLAN is set in the
default new 16Port/8Port GPON OLT to distinguish different services, but
you do not want to change the VLAN tag of user-side packets. Use
this mode.
The C-VLAN carried by the user side is switched to the S-VLAN by
performing a layer-level VLAN switch. This mode is used when only
translate one layer of VLAN tags can be used to identify user services and
the service VLAN configured on the new 16Port/8Port GPON OLT is
different from the VLAN in the user-side packets.
Switch VLAN and add a layer of VLAN tag. Switch the C-VLAN carried
on the user side to a C-VLAN, and then add an S-VLAN to form an
S+C two-layer VLAN uplink. This mode is used when two layers of
VLAN tags are required to identify user services (for example,
one layer identifies services and one layer identifies users),
translate-and-add
and the VLAN of user-side packets is different from the user-side
VLAN planned on the new 16Port/8Port GPON OLT. .
inner-vlan: The inner VLAN after switching. When the processing
method is add-double or translate-and-double, the inner VLAN can
be specified.
Transparent transmission without any VLAN changes. Directly use
the C-VLAN carried on the user side as the S-VLAN upstream. This
transparent mode can be used if the VLANs that are planned on the new
16Port/8Port GPON OLT to identify different services are
consistent with the VLANs of user-side packets.
29.1.Create service-port
page 486_
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
When creating a service virtual port, you can specify an index value
<autoindex> or not. If not specified, the system automatically assigns a free index
value
<vlan-id> Service VLAN, used to uniquely identify a VLAN. Value range: 1-4094
ID of the ONT. When the service virtual port of the specified ONT
<ont-id>
needs to be set, the value range is 1-128
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
<Traffic profile
Index of traffic templates
index>
<Traffic profile
Traffic template name
name>
【Configuration case】
Case 1: Create a single-service virtual port 3, the service vlan is 100, the vlan tag conversion
mode is set to the default mode, and the traffic template named test is bound.
OLT(config)# service-port 3 vlan 100 gpon 0/0 port 3 ont 1 gemport 1 tag-action default
inbound name test outbound name test
config service-port total 1, failed 0.
OLT(config)#
page 487_
gemport <gemport-id> multi -service
{ [user-vlan<user-vlan-id>]|[ethertype<ipv4oe|ipv6oe|pppoe >]
|[user-8021p <priority> user-vlan <user-vlan-id>] } tag-action
{ default|translate|translate-and-add|transparent } inbound
{[ index <Traffic profile index>]|[name <Traffic profile name>]}
outbound {[index <Traffic profile index>]|[name <Traffic profile
name> ]}
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
When creating a service virtual port, you can specify an index value
<autoindex> or not. If not specified, the system automatically assigns free index
values.
<vlan-id> Service VLAN, used to uniquely identify a VLAN. Value range: 1-4094
ID of the ONT. Use this parameter when you need to set the service
<ont-id> virtual port of the specified ONT, or delete all service virtual ports
under the specified ONT. The value range is 1-128
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
page 488_
Value range: pppoe, ipv6oe, ipv4oe
When the packets on the user side are PPPoE packets (that is,
packets with the Ethernet type of 0x8863 and 0x8864), use "pppoe".
When the packets on the user side are IPv6 packets (that is, packets
whose ether type is 0x86dd), use "ipv6oe".
When the user-side packets are other than "pppoe" and "ipv6oe"
packets (that is, packets whose Ethernet type is not 0x8863, 0x8864,
or 0x86dd;), use "ipv4oe".
<Traffic profile
Index of traffic templates
index>
<Traffic profile
Traffic template name
name>
【Configuration case】
Case 1: Create a multi-service virtual port 5, the service vlan is 100, the user vlan is also 100,
the vlan tag conversion mode is set to transparent transmission mode, and the traffic template
named test is bound.
OLT(config)# service-port 5 vlan 100 gpon 0/0 port 3 ont 1 gemport 1 multi-service
user-vlan 100 tag-action transparent inbound name test outbound name test
config service-port total 1, failed 0.
OLT(config)#
<vlan-id> Service VLAN, used to uniquely identify a VLAN. Value range: 1-4094
page 489_
<frameid/slotid> Used to identify the frame number/slot number, default 0/0
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
<Traffic profile
Index of traffic templates
index>
<Traffic profile
Traffic template name
name>
【Configuration case】
Case 1: Automatically configure a vlan100 for all ONUs corresponding to the PON3 port, set
the conversion mode to default, and bind the single service flow of the traffic template named
test
OLT(config)# service-port autoconfig vlan 100 gpon 0/0 port 3 gemport 1 tag-action
default inbound name test outbound name test
config service-port autoconfig complete, total 1, failed 0.
OLT(config)#
<vlan-id> Service VLAN, used to uniquely identify a VLAN. Value range: 1-4094
page 490_
<frameid/slotid> Used to identify the frame number/slot number, default 0/0
ID of the ONT. Use this parameter when you need to set the service
<ont-id> virtual port of the specified ONT, or delete all service virtual ports
under the specified ONT. The value range is 1-128
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
<Traffic profile
Index of traffic templates
index>
<Traffic profile
Traffic template name
name>
【Configuration case】
Case 1: Automatically configure a service vlan100 for the corresponding ONU under the
PON3 port, the user side vlan100, the vlan conversion mode is transparent transmission, and the
multi-service flow of the traffic template named test is bound
OLT(config)# service-port autoconfig vlan 100 gpon 0|0 port 3 gemport 1 multi-service
user-vlan 100 tag-action transparent inbound name test outbound name test
config service-port autoconfig complete, total 1, failed 0.
OLT(config)#
page 491_
Applicable view config view
【Configuration case】
Case 1: Set the service virtual port creation mode under the PON1 port to manual mode
OLT(config)# service-port automode gpon 0/0 port 1 manual
config service-port automode complete, total 1, failed 0.
OLT(config)#
The starting index value of the service virtual port. When you need
<service-port-ind
to set the service virtual port according to the index value, use this
ex>
parameter , the value range is <0-8100>
【Configuration case】
Case 1: Set the description information of service virtual port 3 to test
OLT(config)# service-port desc 3 test
OLT(config)#
page 492_
Switch
The index value of the service virtual port. When you need to set the
<service-port-ind
service virtual port according to the index value, use this parameter ,
ex>
the value range is <0-8100>
【Configuration case】
Case 1: Enable the performance statistics function of service virtual port 3
OLT(config)# service-port statistics performance 3 enable
OLT(config)#
The index value of the service virtual port. When you need to set the
<service-port-ind
service virtual port according to the index value, use this parameter ,
ex>
the value range is <0-8100>
page 493_
<all> All service virtual ports
【Configuration case】
Case 1: Clear performance statistics of service virtual port 3
OLT(config)# service-port statistics performance 3 clear
OLT(config)#
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
Service virtual port termination index value. When you need to set
<service-port-En
the service virtual port according to the index value, use this
d_index>
parameter , the value range is <0-8100>
【Configuration case】
Case 1: Close service virtual ports 1-3
OLT(config)# service-port 1 3 adminstatus disable
config service-port admin status, failed 0.
OLT(config)#
OLT(config)#
page 494_
OLT(config)# service-port <service-port-Start_index >
Command syntax <service-port-End_index > tag-action
{add-double|default|translate|translate-and-add|transparent}
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
Service virtual port termination index value. When you need to set
<service-port-En
the service virtual port according to the index value, use this
d_index>
parameter , the value range is <0-8100>
【Configuration case】
Case 1: Modify the vlan conversion mode of service virtual port 1 to default
OLT(config)# service-port 1 tag-action default
modify service-port tagAction success
OLT(config)#
Case 2: Modify the vlan conversion mode of service virtual ports 1-3 to default
OLT(config)# service-port 1 3 tag-action default
modify service-port tagAction complete !!! fail:0
OLT(config)#
port
page 495_
profile index>]|[name <Traffic profile name>]} outbound {[index <
Traffic profile index>]|[name <Traffic profile name>]}
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
Service virtual port termination index value. When you need to set
<service-port-En
the service virtual port according to the index value, use this
d_index>
parameter , the value range is <0-8100>
<Traffic profile
Index of traffic templates
index>
<Traffic profile
Traffic template name
name>
【Configuration case】
Case 1: Modify the service virtual port 3 and re-bind the traffic template to the traffic
template named test
OLT(config)# service-port 3 traffic-profile inbound name test outbound name test
modify service-port traffic profile success.
OLT(config)#
Case 2: Modify the service virtual port 1-3 and re-bind the traffic template to the traffic
template named test
OLT(config)# service-port 1 3 traffic-profile inbound name test outbound name test
modify service-port traffic profile complete !!! fail:0.
OLT(config)#
29.2.delete service-port
page 496_
29.2.1.Delete service virtual port
Function
This command is used to delete the created service virtual port.
Description
The starting index value of the service virtual port. When you need
<service-port-Sta
to set the service virtual port according to the index value, use this
rt_index>
parameter , the value range is <0-8100>
Service virtual port termination index value. When you need to set
<service-port-En
the service virtual port according to the index value, use this
d_index>
parameter , the value range is <0-8100>
【Configuration case】
Case 1: Deleting service virtual port 2
OLT(config)# no service-port 2
OLT(config)#
OLT(config)#
OLT(config)#
port
page 497_
OLT(config)# no service-port gpon <frameid/slotid> port <port-id>
ont <ont-id> gemport <gemport-id>
{ [user-vlan<user-vlan-id>]|[ethertype< ipv4oe|ipv6oe|pppoe >]
|[user-8021p<priority> user-vlan <user-vlan-id>] }
Function This command is used to delete all service virtual ports under the
Description PON port or corresponding to a single ONU.
ID of the ONT. Use this parameter when you need to set the service
<ont-id> virtual port of the specified ONT, or delete all service virtual ports
under the specified ONT. The value range is 1-128
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
【Configuration case】
Case 1: Delete all service virtual ports corresponding to the PON3 port
OLT(config)# no service-port gpon 0|0 port 3
OLT(config)#
Case 2: Delete the service virtual port corresponding to ONT1 under PON3 port
page 498_
OLT(config)# no service-port gpon 0|0 port 3 ont 1 gemport 1 user-vlan 100
OLT(config)#
【Configuration case】
Case 1: Delete vlan100, the service virtual port under the PON3 port
OLT(config)# no service-port vlan 100 gpon 0|0 port 3
OLT(config)#
OLT(config)#
port
<service-port-Sta The starting index value of the service virtual port. When you need
page 499_
rt_index> to set the service virtual port according to the index value, use this
parameter , the value range is <0-8100>
Service virtual port termination index value. When you need to set
<service-port-En
the service virtual port according to the index value, use this
d_index>
parameter , the value range is <0-8100>
【Configuration case】
Case 1: Delete the traffic template referenced in the inbound direction of service virtual port
2
OLT(config)# no service-port 2 traffic-profile inbound
cancel the service-port traffic profile success.
OLT(config)#
Case 2: Delete the traffic profile referenced in the outbound direction of service virtual ports
2-3
OLT(config)# no service-port 2 3 traffic-profile outbound
cancel service-port traffic profile complete!!! fail_num:0
OLT(config)#
Service virtual port index value. When you need to set the service
<service-port-ind
virtual port according to the index value, use this parameter , the
ex>
value range is <0-8100>
【Configuration case】
Case 1: Descriptive information of port 3 is required to delete services
OLT(config)# no service-port desc 1
OLT(config)#
29.3.View service-port
page 500_
29.3.1.View single or all service virtual ports
Function
This command is used to view the created service virtual port.
Description
Service virtual port index value. When you need to set the service
<service-port-ind
virtual port according to the index value, use this parameter , the
ex>
value range is <0-8100>
【Configuration case】
Case 1: View service virtual port 1
OLT(config)# show service-port 1
-------------------------------------------------- ---------------------------------------
Index : 1
Vlan Id : 101
PortId : 0/0/14
ONT ID : 1
GEM port index : 1
Flow type : vlan
Flow param : 101
Inbound id|name : -/-
Outbound id|name : -/-
Admin status : enable
State : up
Tag action : transparent
Description : -
Stat. performance : disable
Create method : manual
-------------------------------------------------- ---------------------------------------
Notes: v/e--vlan/ethertype, v/p--vlan/8021p
Dvlan--double vlan
pri-tag--priority-tagged,
ppp--pppoe, ip4--ipv4oe, ip6--ipv6oe
OLT(config)#
page 501_
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
1 101 0/0/14 1 1 vlan 101 transparent - - - - up manaul
2 100 0/0/3 1 1 vlan 100 transparent - - - - down manaul
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 2 ( up/down : 1 /1 )
Total inbound ethtype/pri entry : 512 ( using/unused : 0 /512 )
Total outbound speedlimit entry : 128 ( using/unused : 0 /128 )
OLT(config)#
【Configuration case】
Case 1: View the automatically configured service virtual port
OLT(config)# show service-port autoconfig
-------------------------------------------------- ---------------------------------------
PORT SVLAN GEM FLOW FLOW TAG INNER INNER RX TX SWITCH
ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- ---------------------------------------
0/0/1 1 1 vlan 1 transparent - - - - auto
0/0/2 1 1 vlan 1 transparent - - - - auto
0/0/3 1 1 vlan 1 transparent - - - - auto
0/0/4 1 1 vlan 1 transparent - - - - auto
0/0/5 1 1 vlan 1 transparent - - - - auto
0/0/6 1 1 vlan 1 transparent - - - - auto
0/0/7 1 1 vlan 1 transparent - - - - auto
0/0/8 1 1 vlan 1 transparent - - - - auto
0/0/9 1 1 vlan 1 transparent - - - - auto
0/0/10 1 1 vlan 1 transparent - - - - auto
0/0/11 1 1 vlan 1 transparent - - - - auto
0/0/12 1 1 vlan 1 transparent - - - - auto
0/0/13 1 1 vlan 1 transparent - - - - auto
0/0/14 1 1 vlan 1 transparent - - - - auto
0/0/15 1 1 vlan 1 transparent - - - - auto
page 502_
0/0/16 1 1 vlan 1 transparent - - - - auto
-------------------------------------------------- ---------------------------------------
OLT(config)#
【Configuration case】
Case 1 : View the service virtual port corresponding to vlan100 under PON3 port
OLT(config)# show service-port vlan 100
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
6 100 0/0/3 1 1 etype ipv4oe default - - - - down manaul
7 100 0/0/14 1 1 v/p 100/1 transparent - - - - up manaul
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 2 ( up/down : 1 /1 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
Function This command can query the service virtual port according to the
Description user-side packet type
page 503_
User-side service Ethernet type. This parameter is used when users
need to be distinguished by user-side service encapsulation type.
Value range: pppoe, ipv6oe, ipv4oe
When the packets on the user side are PPPoE packets (that is,
packets with the Ethernet type of 0x8863 and 0x8864), use "pppoe".
ethertype
When the packets on the user side are IPv6 packets (that is, packets
whose ether type is 0x86dd), use "ipv6oe".
When user-side packets are other than "pppoe" and "ipv6oe"
packets (that is, packets whose Ethernet type is not 0x8863, 0x8864,
or 0x86dd;), use "ipv4oe".
【Configuration case】
Case 1: View the service virtual port whose user-side packets are ipv4oe
OLT(config)# show service-port ethertype ipv4oe
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
6 100 0/0/3 1 1 etype ipv4oe default - - - - down manaul
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 1 ( up/down : 0 /1 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
Function This command can query the service virtual port according to the
Description user-side vlan
【Configuration case】
Case 1: View the service virtual port whose user side vlan is 101
OLT(config)# show service-port user-vlan 100
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
page 504_
7 100 0/0/14 1 1 v/p 100/1 transparent - - - - up manaul
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 1 ( up/down : 1 /0 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
Function This command can query the service virtual port according to the
Description user-side VLAN priority.
【Configuration case】
Case 1: View vlan100 on the user side, the service virtual port with priority 1
OLT(config)# show service-port user-8021p 1 user-vlan 100
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
7 100 0/0/14 1 1 v/p 100/1 transparent - - - - up manaul
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 1 ( up/down : 1 /0 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
page 505_
ty> user-vlan <user-vlan-id> ]||[user-vlan <user-vlan-id>]}
OLT(config)# show service-port gpon <frameid/slotid> port
<port-id> ont <ont-id> gemport <gemport-id>
{ [user-vlan<user-vlan-id>]|[ethertype< ipv4oe|ipv6oe|pppoe >]
|[user-8021p<priority> user-vlan <user-vlan-id>] }
ID of the ONT. Use this parameter when you need to set the service
<ont-id> virtual port of the specified ONT, or delete all service virtual ports
under the specified ONT. The value range is 1-128
Gemport identifies the service virtual channel between the OLT and
the ONT, that is, the channel that carries the service flow. GEM
<gemport-id>
PortID refers to a uniform number within each PON port. The value
range is 1-30
【Configuration case】
Case 1: View all service virtual ports corresponding to PON1-2
OLT(config)# show service-port gpon 0/0 port 1 2
-------------------------------------------------- -------------------------------------------------- -------
page 506_
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
0 101 0/0/2 1 1 vlan 101 transparent - - - - down manaul
1 1 0/0/2 2 1 vlan 1 transparent - - - - down auto
3 101 0/0/2 2 1 vlan 101 transparent - - - - down manaul
5 1 0/0/2 3 1 vlan 1 transparent - - - - down auto
9 101 0/0/2 4 1 vlan 101 transparent - - - - up manaul
11 1 0/0/2 4 1 vlan 1 transparent - - - - up auto
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 6 ( up/down : 2 /4 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
Case 2: View the corresponding service virtual port under the PON2 port
OLT(config)# show service-port gpon 0/0 port 2
-------------------------------------------------- -------------------------------------------------- -------
INDEX VLAN PORT ONT GEM FLOW FLOW TAG INNER INNER RX TX STATE METHOD
ID ID ID PORT TYPE PARA ACTION VLAN PRI
-------------------------------------------------- -------------------------------------------------- -------
0 101 0/0/2 1 1 vlan 101 transparent - - - - down manaul
1 1 0/0/2 2 1 vlan 1 transparent - - - - down auto
3 101 0/0/2 2 1 vlan 101 transparent - - - - down manaul
5 1 0/0/2 3 1 vlan 1 transparent - - - - down auto
9 101 0/0/2 4 1 vlan 101 transparent - - - - up manaul
11 1 0/0/2 4 1 vlan 1 transparent - - - - up auto
-------------------------------------------------- -------------------------------------------------- -------
Total service-port config entry : 6 ( up/down : 2 /4 )
Total inbound ethtype/pri entry : 512 ( using/unused : 2 /510 )
Total outbound speedlimit entry : 128 ( using/unused : 1 /127 )
OLT(config)#
Function This command checks the current configuration of the service virtual
Description port
page 507_
service-port- id Specifies the service virtual port, the value range is 0-4000.
【Configuration case】
Case 1: View the current real-time configuration of all service virtual ports.
OLT(config)# show current-config section service-port all
!
service-port 0 vlan 400 gpon 0/0 port 8 ont 1 gemport 1 multi-service user-vlan 400
tag-action transparent
service-port autoconfig vlan transparent gpon 0/0 port 1 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 2 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 3 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 4 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 5 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 6 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 7 gemport 1
service-port autoconfig vlan transparent gpon 0/0 port 8 gemport 1
!
OLT(config)#
Service virtual port index value. When you need to set the service
<service-port-ind
virtual port according to the index value, use this parameter , the
ex>
value range is <0-8100>
page 508_
【Configuration case】
Case 1: Querying the status of performance statistics on service virtual port 1
OLT(config)# show service-port statistics performance switch 1
-------------------------------------------------- ---------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-------------------------------------------------- ---------------------------------------
1 1 0/0/2 2 1 vlan 1 disable
-------------------------------------------------- ---------------------------------------
Total : 1
OLT(config)#
Case 2: Querying the performance statistics switch status of all service virtual ports
OLT(config)# show service-port statistics performance switch all
-------------------------------------------------- ---------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-------------------------------------------------- ---------------------------------------
0 101 0/0/2 1 1 vlan 101 disable
1 1 0/0/2 2 1 vlan 1 disable
2 1 0/0/3 3 1 vlan 1 disable
3 101 0/0/2 2 1 vlan 101 disable
4 1 0/0/14 1 1 vlan 1 disable
5 1 0/0/2 3 1 vlan 1 disable
6 100 0/0/3 1 1 etype ipv4oe disable
7 100 14 1 1 v/p 100/1 disable
8 55 0/0/14 1 3 vlan 55 disable
9 101 0/0/2 4 1 vlan 101 disable
10 1 0/0/13 1 1 vlan 1 disable
11 1 0/0/2 4 1 vlan 1 disable
-------------------------------------------------- ---------------------------------------
Total : 12
OLT(config)#
Case 3: Query the performance statistics switch status of all service virtual ports under the
PON3 port
OLT(config)# show service-port statistics performance switch gpon 0/0 port 3
-------------------------------------------------- ---------------------------------------
INDEX VLAN PORT ONT GEM FLOW FLOW SWITCH
ID ID ID PORT TYPE PARA
-------------------------------------------------- ---------------------------------------
2 1 0/0/3 3 1 vlan 1 disable
6 100 0/0/3 1 1 etype ipv4oe disable
page 509_
-------------------------------------------------- ---------------------------------------
Total : 2
OLT(config)#
Function
View gemport traffic statistics
Description
【Configuration case】
Case 1: View the statistics of gem1 port of ONU1 of PON8
OLT(config-interface-gpon-0/0)# show statistics gemport 8 1 1
-------------------------------------------------- ---------------------------------------
Upstream frames : 0
Upstream bytes : 0
Downstream frames : 0
Downstream bytes : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface-gpon-0/0)#
Function
View the traffic statistics of the default gem port
Description
page 510_
<port-ID> The port number to be viewed, in the range of 1-16.
【Configuration case】
Case 1: View the default gem port statistics of pon1
Downstream frames : 0
Downstream bytes : 0
-------------------------------------------------- ---------------------------------------
OLT(config-interface- gpon -0 / 0)#
Function
Viewing multicast gem port traffic statistics
Description
【Configuration case】
Case 1: View the statistics of the multicast gem port of pon1
OLT(config-interface-gpon-0/0)# show statistics gemport 1 multicast-gem-port
-------------------------------------------------- ---------------------------------------
Upstream frames : 0
Upstream bytes : 0
OLT(config-interface-gpon-0/0)#
page 511_
syntax ONT-id > <GEM-id>
Function
Reset gem port traffic statistics
Description
< ONT -ID> The ONT to be reset , the value range is 1-128 .
【Configuration case】
Case 1: Reset the traffic statistics of GEM1 in ONU1 of pon8
OLT(config-interface-gpon-0/0)# reset statistics gemport 8 1 1
OLT(config-interface-gpon-0/0)#
Function
Reset default gem port traffic statistics
Description
【Configuration case】
Case 1: Reset pon1 default gem port traffic statistics
OLT(config-interface-gpon-0/0)# reset statistics gemport 1 default-gem-port
OLT(config-interface-gpon-0/0)#
page 512_
Description
【Configuration case】
Case 1: Reset the traffic statistics of the multicast gem port under pon1
OLT(config-interface-gpon-0/0)# reset statistics gemport 1 multicast-gem-port
OLT(config-interface-gpon-0/0)#
Command
OLT(config)# syslog add <ip-address> <hostname>
syntax
【Configuration case】
Case 1: Add a syslog server, the IP address is 192.168.1.223, and the server name is log.
OLT(config)# syslog add 192.168.1.223 log
Add syslog host successful!
OLT(config)#
Command
OLT(config)# syslog delete ip <ip-address>|name <hostname>
syntax
page 513_
Applicable view config view
This command is used to delete the log host. Use this command
Function when a log host IP address has changed or is no longer in use. After
Description successfully deleting a log host, you can set another host as the log
host or reset the IP address of the original log host.
【Configuration case】
Case 1: Delete the syslog server, the IP address is 192.168.2.245, and the server name is
test .
OLT(config)# syslog delete ip 192.168.2.245 name test
Delete syslog host successful!
OLT(config)#
Command
OLT(config)# syslog operlog < switch >
syntax
Function This command is used to configure whether the OLT logs are sent to
Description the log server.
【Configuration case】
Case 1: Configure OLT logs not to be sent to the log server
OLT(config)# syslog operlog disable
OLT(config)#
Command
OLT(config)# syslog alarmlog < switch >
syntax
page 514_
Function This command is used to configure whether the OLT alarm log is
Description sent to the log server.
Enable : The alarm log of the OLT is sent to the log server
< switch >
Disable : OLT alarm logs are not sent to the log server
【Configuration case】
Case 1: Configure OLT alarm logs not to be sent to the log server
OLT(config)# syslog alarmlog disable
OLT(config)#
Command
OLT(config)# syslog activate ip <ip-address>|name <hostname>
syntax
This command is used to activate the log saving server . Use this
command when setting the log information output control level or
Function
the information output switch state to activate the log to the server .
Description
After the log server is successfully activated , the system reports log
information to the corresponding server .
【Configuration case】
Case 1: Activate the server saved by syslog , the IP address is 192.168.2.223, and the server
name is syslog .
OLT(config)# syslog activate ip 192.168.2.223 name syslog
Activate syslog host successful!
OLT(config)#
Command
OLT(config)# syslog deactivate ip <ip-address>|name <hostname>
syntax
page 515_
Applicable view config view
<Destination-IP
The IP address of the syslog server.
>
【Configuration case】
Case 1: Deactivate the syslog server, the IP address is 192.168.2.223, and the server name is
syslog .
OLT(config)# syslog deactivate ip 192.168.2.223 name syslog
Deactivate syslog host successed!
OLT(config)#
Command
OLT(config)# show syslog list
syntax
【Configuration case】
Case 1: View the log server host configuration information.
OLT(config)# show syslog list
-------------------------------------------------- --------------------------
IP address Host name Terminal state
192.168.2.223 syslog active
-------------------------------------------------- --------------------------
OLT(config)#
page 516_
30.8.Manually backing up OLT logs (FTP)
Function
This command is used to manually save the log to the ftp server.
Description
<server-ip-addr
The ip address of the ftp server .
ess>
<user-password
ftp login password .
>
【Configuration case】
Case 1: Save the log 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 log.
OLT(config)# backup log ftp 192.168.1.223 admin admin logback
Start backup log files
The backup is successful
Command
OLT(config)# backup log ftp <server-ip-address> <filename>
syntax
Function
This command is used to manually save the log to the tftp server.
Description
<server-ip-addr
The ip address of the tftp server .
ess>
【Configuration case】
Case 1: Save the log to the tftp server, the IP address of the tftp server is: 192.168.1.223,
and the file name is log.
OLT(config)# backup log tftp 192.168.1.223 logback
Start backup log files
page 517_
The backup is successful
Command
OLT(config)# erase log
syntax
Function
Clear the log information of the OLT .
Description
【Configuration case】
Case 1: Clear the log information of the OLT .
OLT(config)# erase log
OLT(config)#
Command
OLT(config)# show log [ type (operate | logon) ]
syntax
Function
This command is used to view all logs of OLT .
Description
【Configuration case】
Case 1: Query all logs of OLT .
OLT(config)# show log
2000/01/03 11:39:16 [root@Console:13] logoff
2000/01/03 11:44:05 [[email protected]:43] logoff
2000/01/03 12:33:20 [[email protected]:43] logon via Telnet successfully
2000/01/03 12:33:21 [192.168.5.70@root] cmd: enable
2000/01/03 12:33:22 [192.168.5.70@root] cmd:config
2000/01/03 12:33:31 [192.168.5.70@root] cmd: interface link-aggregation
2000/01/03 12:38:54 [[email protected]:43] logoff
OLT(config)#
page 518_
31.Alarm management and query
Command
OLT(config)# alarm active clear <alarm-raising-number>
syntax
Function
This command is used to clear the specified alarm entry
Description
Press the alarm serial number to clear active alarms. This parameter
< is used when the active alarm corresponding to an alarm serial
alarm-raising-n number needs to be cleared. Value range: 1-4294967294 . You need
umber > to use the commands alarm output detail on and show alarm active
all to view the alarm serial number .
【Configuration case】
Case 1: Clear the active alarm entry with serial number 2 .
OLT(config)# alarm active clear 2
OLT( config)#
Command
OLT(config)# alarm active clear alarmlevel <alarmlevel id >
syntax
Function This command is used to clear the active alarm log of the specified
Description level
1- Critical , severe
2- major , important
<alarmlevel id >
3- minor , minor
4- warning , warning
【Configuration case】
Case 1: Clear the active alarm log with warning level .
OLT(config)# alarm active clear alarmlevel 4
OLT(config)#
page 519_
31.3.Clear the activity alarm log of the specified board
Command
OLT(config)# alarm active clear alarm parameter board <F/S >
syntax
Function This command is used to clear the active alarm log of the specified
Description board.
【Configuration case】
Case 1: Clear the active alarm log of board 0/0 .
OLT(config)# alarm active clear alarmparameter board 0/0
OLT(config)#
Command
OLT(config)# alarm active clear alarm parameter ge <F/S /P>
syntax
Function This command is used to clear the active alarm log of the specified
Description GE port
【Configuration case】
Case 1: Clear the active alarm log of the g e1 port .
OLT(config)# alarm active clear alarmparameter ge 0/0/1
OLT(config)#
Command
OLT(config)# alarm active clear alarm parameter pon <F/S /P>
syntax
Function This command is used to clear the active alarm log of the specified
Description PON port .
page 520_
<F/S /P> PON port number, ranging from 0/0/1 – 0/ 0/16
【Configuration case】
Case 1: Clear the active alarm log of the g e1 port .
OLT(config)# alarm active clear alarmparameter pon 0/0/1
OLT(config)#
Command
OLT(config)# alarm active clear alarm parameter x ge <F/S /P>
syntax
Function This command is used to clear the active alarm log of the specified
Description XG E port .
<F/S /P> Uplink XGE port number, the value is 0/0/1 – 0/ 0/2
【Configuration case】
Case 1: Clear the active alarm log of the xg e1 port .
OLT(config)# alarm active clear alarmparameter x ge 0/0/1
OLT(config)#
Command
OLT(config)# alarm alarmlevel < alarm-ID> <alarmlevel id >
syntax
Function This command is used to configure the alarm level of the specified
Description alarm entry.
< alarm-ID> Serial number of the alarm entry, the value range is 1-4294967294
【Configuration case】
Case 1: Configure the level of alarm 102 to be 1 (serious) .
page 521_
OLT(config)# alarm alarmlevel 102 1
OLT(config)#
Command
OLT(config)# alarm jitter-interval < interval >
syntax
< interval > Alarm period value, the value range is 1-60 , the unit is second
【Configuration case】
Case 1: Configure the alarm anti-jitter period to 3 seconds .
OLT(config)# alarm jitter-interval 3
OLT(config)#
Command
OLT(config)# alarm jitter- proof disable
syntax
Function This command is used to disable the alarm anti-jitter function. i.e. 0
Description seconds
【Configuration case】
Case 1: Disable the alarm anti-jitter function .
OLT(config)# alarm jitter-proof disable
OLT(config)#
Command OLT(config)# alarm output alarmid <alarm - ID> [gpon (F/S <Port
syntax ID>|all)] <switch>
page 522_
Applicable view config view
<alarm - ID> Serial number of the alarm entry, the value range is 1-4294967294
e enable : enable
<switch>
disable : disable
【Configuration case】
Case 1: Disable the output of the 102nd alarm entry .
OLT(config)# alarm output alarmid 102 disable
OLT(config)#
type
Command
OLT(config)# alarm output alarmlevel <alarm level > <switch>
syntax
1- Critical , severe
2- Major , major
<alarm -level >
3- Minor , minor
4- Warning , warning
e enable : enable
<switch>
disable : disable
【Configuration case】
Case 1: Disable the output of alarms with level 4 (warning) .
OLT(config)# alarm output alarmlevel 4 disable
page 523_
OLT(config)#
Command
OLT(config)# alarm output all <switch>
syntax
e enable : enable
<switch>
disable : disable
【Configuration case】
Case 1: Disable the output of all alarms .
OLT(config)# alarm output all disable
OLT(config)#
Switch
Command
OLT(config)# alarm output detail <switch>
syntax
on: enable
<switch>
off: disable
【Configuration case】
Case 1: Disable the alarm output detail function .
OLT(config)# alarm output detail off
OLT(config)#
page 524_
Command OLT(config)# show alarm active alarm- id <alarm- id >
syntax
Function
This command is used to view the specified alarm entry
Description
【Configuration case】
the active alarm entry with serial number 2 04 .
OLT(config)# show alarm active alarmid 204
ALARM 15 Major 204 2000-01-02 02:22:51
ALARM NAME : pon port link down
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 3
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 02:22:51
LAST OCCUR : 2000-01-02 02:22:51
DESCRIPTION :
total number : 1
OLT(config)#
Command
OLT(config)# show alarm active alarmlevel < alarmlevel id >
syntax
Function
This command is used to view the alarm log of the specified level
Description
【Configuration case】
Case 1: View the active alarm log of level 2 .
OLT(config)# show alarm active alarmlevel 2
ALARM 15 Major 204 2000-01-02 02:22:51
ALARM NAME : pon port link down
page 525_
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 3
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 02:22:51
LAST OCCUR : 2000-01-02 02:22:51
DESCRIPTION :
total number : 1
OLT(config)#
Command
OLT(config)# show alarm active alarm parameter board <F/S >
syntax
Function This command is used to view the active alarm log of the specified
Description board.
【Configuration case】
Case 1: View the alarm log of board 0/0 .
OLT(config)# show alarm active alarmparameter board 0/0
ALARM 15 Major 204 2000-01-02 02:22:51
ALARM NAME : pon port link down
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 3
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 02:22:51
LAST OCCUR : 2000-01-02 02:22:51
DESCRIPTION :
total number : 1
OLT(config)#
Command
OLT(config)# show alarm active alarm parameter ge <F/S /P>
syntax
Function This command is used to view the active alarm log of the specified
page 526_
Description GE port
【Configuration case】
Case 1: View the active alarm log of the g e8 port .
OLT(config)# show alarm active alarmparameter ge 0/0/8
ALARM 18 Critical 203 2000-01-02 02:48:48
ALARM NAME : sni port link down
INSTANCE : GE FrameID: 0, SlotID: 0, PortID: 8
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 02:48:48
LAST OCCUR : 2000-01-02 02:48:48
DESCRIPTION :
total number : 1
OLT(config)#
Command
OLT(config)# show alarm active alarm parameter pon <F/S /P>
syntax
Function This command is used to view the active alarm log of the specified
Description PON port .
【Configuration case】
Case 1: View the active alarm log of the pon 3 port .
OLT(config)# show alarm active alarmparameter pon 0/0/3
ALARM 15 Major 204 2000-01-02 02:22:51
ALARM NAME : pon port link down
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 3
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 02:22:51
LAST OCCUR : 2000-01-02 02:22:51
DESCRIPTION :
total number : 1
page 527_
OLT(config)#
Command
OLT(config)# show alarm active alarm parameter x ge <F/S /P>
syntax
Function This command is used to clear the active alarm log of the specified
Description XG E port .
<F/S /P> Uplink XGE port number, the value is 0/0/1 – 0/ 0/2
【Configuration case】
the active alarm log of the xg e1 port .
OLT(config)# show alarm active alarmparameter xge 0/0/1
ALARM 26 Critical 131082 2000-01-02 04:18:33
ALARM NAME : The sni port is unpluged
INSTANCE : XGE FrameID: 0, SlotID: 0, PortID: 1
REPEAT TIME : 1
FIRST OCCUR : 2000-01-02 04:18:33
LAST OCCUR : 2000-01-02 04:18:33
DESCRIPTION :
total number : 1
OLT(config)#
Command
OLT(config)# show alarm active all
syntax
Function
This command is used to view all active alarm logs .
Description
【Configuration case】
Case 1: Query all active alarm logs of the OLT .
OLT(config)# show alarm active all
ALARM 28 Critical 131082 2000-01-02 04:18:53
ALARM NAME : The sni port is unpluged
INSTANCE : XGE FrameID: 0, SlotID: 0, PortID: 2
page 528_
DESCRIPTION :
total number : 5
OLT(config)#
Command
OLT(config)# show alarm history alarmid <alarm- id >
syntax
Function This command is used to view the history of the specified alarm
Description entry
【Configuration case】
the alarm history record with serial number 2 04 .
OLT(config)# show alarm history alarmid 204
ALARM 35 Cleared 204 2000-01-02 07:05:07
ALARM NAME : pon port link up
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 1
DESCRIPTION :
page 529_
ALARM 34 Major 204 2000-01-02 07:02:33
ALARM NAME : pon port link down
INSTANCE : PON FrameID: 0, SlotID: 0, PortID: 1
DESCRIPTION :
Command
OLT(config)# show alarm history alarmlevel < alarmlevel id >
syntax
Function This command is used to view the alarm history of the specified
Description level
1- Critical , severe
2- major , important
<alarmlevel id >
3- minor , minor
4- warning , warning
【Configuration case】
Case 1: View the alarm history of level 4 .
OLT(config)# show alarm history alarmlevel 4
ALARM 38 Cleared 401 2000-01-02 07:07:06
ALARM NAME : uni link up
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4, SlotID: 0, Uni: 1
DESCRIPTION :
page 530_
Command
OLT(config)# show alarm history alarm parameter board <F/S >
syntax
Function This command is used to view the alarm history of the specified
Description board
【Configuration case】
Case 1: View the alarm history of board 0/0 .
OLT(config)# show alarm history alarmparameter board 0/0
ALARM 38 Cleared 401 2000-01-02 07:07:06
ALARM NAME : uni link up
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4, SlotID: 0, Uni: 1
DESCRIPTION :
Command
OLT(config)# show alarm history alarm parameter ge <F/S /P>
syntax
Function This command is used to view the alarm history of the specified GE
Description port
【Configuration case】
the alarm history of the g e8 port .
OLT(config)# show alarm history alarmparameter ge 0/0/8
ALARM 18 Critical 203 2000-01-02 02:48:48
ALARM NAME : sni port link down
page 531_
INSTANCE : GE FrameID: 0, SlotID: 0, PortID: 8
DESCRIPTION :
Command
OLT(config)# show alarm history alarm parameter pon <F/S /P>
syntax
Function This command is used to view the alarm history of the specified PON
Description port .
【Configuration case】
the alarm history of pon 1 port .
OLT(config)# show alarm history alarmparameter pon 0/0/1
ALARM 40 Cleared 401 2000-01-02 23:42:34
ALARM NAME : uni link up
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4, SlotID: 0, Uni: 1
DESCRIPTION :
Command
OLT(config)# show alarm history alarm parameter x ge <F/S /P>
syntax
Function This command is used to view the alarm history of the specified XG E
Description port
<F/S /P> Uplink XGE port number, the value is 0/0/1 – 0/ 0/2
【Configuration case】
page 532_
the alarm history of the xg e1 port .
OLT(config)# show alarm history alarmparameter xge 0/0/1
ALARM 26 Critical 131082 2000-01-02 04:18:33
ALARM NAME : The sni port is unpluged
INSTANCE : XGE FrameID: 0, SlotID: 0, PortID: 1
DESCRIPTION :
Command
OLT(config)# show alarm history all
syntax
Function
This command is used to view all alarm history records .
Description
【Configuration case】
Case 1: Query all alarm history records .
OLT(config)# show alarm history all
ALARM 40 Cleared 401 2000-01-02 23:42:34
ALARM NAME : uni link up
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4, SlotID: 0, Uni: 1
DESCRIPTION :
Command
OLT(config)# alarm history clear all
syntax
Function
This command is used to clear all alarm history records .
Description
page 533_
【Configuration case】
Case 1: Clear all event history .
OLT(config)# alarm history clear all
Command
OLT(config)# show alarm jitter
syntax
Function
This command is used to query the period of alarm anti-jitter .
Description
【Configuration case】
Case 1: Query the alarm anti-jitter period of the OLT .
OLT(config)# show alarm jitter
Jitter-Interval : 5s
OLT(config)#
Command
OLT(config)# show alarm list
syntax
Function
This command is used to query basic alarm information .
Description
【Configuration case】
Case 1: Query the basic alarm information of the OLT .
OLT(config)# show alarm list
-------------------------------------------------- --------------------------
AlarmId Output Level Def Level Name
100102 Yes Major Major The board reset
100104 Yes Warning Warning The temperature is abnormal
100105 Yes Major Major The fan is abnormal
100107 Yes Major Major The device power fault
100203 Yes Critical Critical sni port link down
100204 Yes Major Major Port state change disable
100306 Yes Warning Warning Dying gasp(DGi)
100315 Yes Major Major The performance statistics upper crossed
100316 Yes Major Major The performance statistics lower crossed
1000001 Yes Major Major Loss of signal(LOS)
page 534_
1000003 Yes Major Major Rogue ONT detected
1000004 Yes Major Major Do not support this tranceiver
1000005 Yes Major Major Loss of signal for ONT(LOSi)
1000006 Yes Major Major Loss of frame for ONT(LOFi)
1000007 Yes Major Major Loss of acknowledgement from ONT(LOAi)
1000008 Yes Major Major Signal fail of ONT(SFi)
1000009 Yes Major Major Signal degrade ONT(SDi)
1000010 Yes Major Major Loss of GEM channel delineation of ONT(LCDGi)
1000012 Yes Major Major ONT does not react correctly after deactive or disable(DFi)
1000013 Yes Major Major PLOAM loss for ONT(LOAMi)
-------------------------------------------------- --------------------------
OLT(config)#
enable Enable the bandwidth alarm of the port and set the threshold.
Case 1: Enable the bandwidth alarm in the upstream direction of the port and set the
threshold to 1024000kbps.
OLT(config-interface-ge-0/0)# bandwidth-alarm threshold 1 rx enable 1024000
OLT(config-interface-ge-0/0)#
page 535_
32.1.Configure the specified event level
Command
OLT(config)# event eventlevel < Event ID > <0-4>
syntax
Function
This command is used to configure the specified event level
Description
【Configuration case】
Case 1: Configure event level 3 (minor) with event ID 10001 .
OLT(config)# event eventlevel 10001 3
OLT(config)#
Command
OLT(config)# event output all < switch >
syntax
This command is used to set the output mode of all events in the
Function
command line terminal. When the status is enabled, all events can be
Description
output on the command line; otherwise, the opposite is true.
enable: enable
< switch >
disable : disable
【Configuration case】
Case 1: Turn off all event output functions .
OLT(config)# event output all disable
OLT(config)#
page 536_
Command
OLT(config)# event output detail < switch >
syntax
This command is used to set the switch of the event output detailed
Function information function. When the state is on, the event can output
Description detailed information of the event on the command line; when it is off,
only simple event information is output.
on : turn on
< switch >
off : off
【Configuration case】
Case 1: Enable the event output detailed information function .
OLT(config)# event output detail on
OLT(config)#
Command OLT(config)# event output eventid ( < eventid > |all) { gpon F/S
syntax ( <port-id> | all)} < switch >
< eventid > The ID of the event , the value range is <1-4294967294>
enable: allow
< switch >
disable : disable
【Configuration case】
Case 1: Allow event 10001 to be output on the terminal .
OLT(config)# event output eventid 10001 enable
OLT(config)#
page 537_
syntax
on: enable
<switch>
off: disable
【Configuration case】
Case 1: Limit the number of output alarm entries .
OLT(config)# alarm output limit on
OLT(config)#
Command
OLT(config)# alarm output limit <limit number>
syntax
Function This command is used to configure the limit number of entries for
Description alarm output
<limit number> 1-1000, the maximum number of alarm entries output per second
【Configuration case】
Case 1: Configure the limit number of alarm entries to be output per second to 100
OLT(config)# alarm output limit 100
OLT(config)#
level
Command
OLT(config)# event output eventlevel < eventlevel > < switch >
syntax
page 538_
on the terminal.
1- Critical , severe
2- Major , important
< eventlevel >
3- Minor , minor
4- Warning , warning
enable: allow
< switch >
disable : disable
【Configuration case】
Case 1: Events with level 3 (minor) are allowed to be output on the terminal .
OLT(config)# event output eventlevel 3 enable
OLT(config)#
Command
OLT(config)# show event history all
syntax
Function
This command is used to view all event history .
Description
【Configuration case】
Case 1: Query all event history records .
OLT(config)# show event history all
EVENT 13 Warning 13002 2000-01-02 07:05:56
EVENT NAME : ONT is offline
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 5
Command
OLT(config)# show event history eventid < eventid >
syntax
Function This command is used to view the history of the specified event .
page 539_
Description
【Configuration case】
Case 1: Query the history of event 13002 .
OLT(config)# show event history eventid 13002
EVENT 14 Warning 13002 2000-01-03 05:27:27
EVENT NAME : ONT is offline
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4
DESCRIPTION : E067B312118A00012770
Command
OLT(config)# show event history eventlevel < eventlevel >
syntax
Function This command is used to view the history of events of the specified
Description level .
1- Critical , severe
2- Major , important
<eventlevel>
3- Minor , minor
4- Warning , warning
【Configuration case】
Case 1: Query history records with event level 4 (alarm) .
OLT(config)# show event history eventlevel 4
EVENT 14 Warning 13002 2000-01-03 05:27:27
EVENT NAME : ONT is offline
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4
DESCRIPTION : E067B312118A00012770
page 540_
32.10.View the history of events of a specified board
Command
OLT(config)# show event history event parameter board <F/S>
syntax
Function This command is used to view the history records of specified board
Description events .
【Configuration case】
Case 1: Query the event history of board 0/0 .
OLT(config)# show event history eventparameter board 0/0
EVENT 14 Warning 13002 2000-01-03 05:27:27
EVENT NAME : ONT is offline
INSTANCE : FrameID: 0, SlotID: 0, PortID: 1, ONTID: 4
DESCRIPTION : E067B312118A00012770
Command
OLT(config)# show event history eventparameter ge <F/S /P>
syntax
Function This command is used to view the event history of the specified GE
Description port
【Configuration case】
Case 1: View the event history of the g e8 port .
OLT(config)# show event history eventparameter ge 0/0/4
total number : 0
OLT(config)#
page 541_
Command
OLT(config)# show event history eventparameter pon <F/S /P>
syntax
Function This command is used to view the event history of the specified PON
Description port
【Configuration case】
the event history of pon 1 port .
OLT(config)# show event history eventparameter pon 0/0/3
EVENT 7 Warning 13002 2000-01-02 02:22:51
EVENT NAME : ONT is offline
INSTANCE : FrameID: 0, SlotID: 0, PortID: 3, ONTID: 2
DESCRIPTION : E067B301010100012770
Command
OLT(config)# show event history eventparameter x ge <F/S /P>
syntax
Function This command is used to view the event history of the specified XG E
Description port
【Configuration case】
Case 1: View the event history of the xg e1 port .
OLT(config)# show event history eventparameter xge 0/0/1
total number : 0
OLT(config)#
page 542_
syntax
Function
This command clears all event history .
Description
【Configuration case】
Case 1: Clear all event history .
OLT(config)# event history clear all
Command
OLT(config)# show event list
syntax
Function
This command is used to view the basic information of the event
Description
【Configuration case】
Case 1: View the basic information of the event .
OLT(config)# show event list
-------------------------------------------------- --------------------------
EventId Output Level Def Level Name
113001 Yes Warning Warning ONT online
113002 Yes Warning Warning ONT offline
1100001 Yes Warning Warning SN collision
1100002 Yes Warning Warning Ranging failed
1100003 Yes Warning Warning Active failed
1100004 Yes Warning Warning ONT pwd auth failed
1100005 Yes Warning Warning Assign omci port for the ONT failed
1100008 Yes Warning Warningpon Drv connection Device fail
-------------------------------------------------- --------------------------
OLT(config)#
Command
OLT(config)# web server disable
syntax
page 543_
Applicable view config view
Function
This command is used to close the OLT web login
Description
【Configuration case】
Case 1: Turn off OLT web login
OLT(config)# web server disable
Disable web server successful!
Command
OLT(config)# web server en able
syntax
Function
This command is used to enable OLT web login
Description
【Configuration case】
Case 1: Enable OLT web login
OLT(config)# web server enable
Enable web server successful!
Command
OLT(config)# web uninstall
syntax
Function
This command is used to uninstall OLT web
Description
【Configuration case】
Case 1: Uninstall OLT web program
OLT(config)# web uninstall
Uninstall web server successful!
Command
OLT(config)# web server protocol (http|https|both)
syntax
page 544_
Applicable view config view
Function This command is used to configure the protocol type of OLT web
Description login.
【Configuration case】
Case 1: Log in to the web through the http protocol
OLT(config)# web server protocol http
OLT(config)#
Command
OLT(config)# show web server
syntax
Function This command is used to view the information of the OLT WEB
Description program.
【Configuration case】
Case 1: Uninstall OLT web program
OLT(config)# show web server
Web server status : Disable
Web server http port : 80
Web server https port : 443
Web server protocol : http
Web server login-captcha : Disable
Web version : V2.0.0_220228 (Mon, 28 Feb 2022 09:31:43 +0800)
function
Command
OLT(config)# web login-captcha (enable|disable)
syntax
Function This command is used to enable or disable the WEB verification code
Description login function
page 545_
【Configuration case】
Case 1: Enable WEB verification code login function
OLT(config)# web login-captcha enable
Command
OLT(config)# pppoe agent enable/disable
syntax
【Configuration case】
Case 1: Configure the forwarding policy of pppoe to forward according to the original
page 546_
forwarding policy
OLT(config)# pppoe agent policy keep
【Configuration case】
Case 1: Configure the pppoe proxy format as type5
OLT(config)# pppoe agent format type5
Create a custom format item, the field data of this item is filled
Function Description
in ascii format.
【Configuration case】
Case 1: Create a custom acill type pppoe proxy format item, the name is test01, and the rid
is the keyword oltmac
OLT(config)# pppoe agent format add ascii name test01 rid oltmac
page 547_
OLT(config)# pppoe agent format add hex name
Command syntax
<format-name>{cid <circuit-id> | rid <remote-id>}
Create a custom format item, the field data of this item is filled
Function Description
in hex format.
【Configuration case】
Case 1: Create a custom hex type pppoe proxy format item, the name is test02, and the cid
is the keyword oltmac
OLT(config)# pppoe agent format add hex name test02 cid oltmac
format item
【Configuration case】
Case 1: Modify the sub-option cid of the pppoe proxy custom format item test02 to
hostname
OLT(config)# pppoe agent format modify name test02 cid hostname
page 548_
34.7.View PPPoE proxy configuration information
Function Description This command is used to view the configuration of pppoe proxy
【Configuration case】
Case 1: View the configuration of the PPPOE proxy
OLT(config)# show pppoe agent config
pppoe agent disable
pppoeplus policy: keep
pppoeplus option82 format: type5
OLT(config)#
Function Description This command is used to view the pppoe proxy format
【Configuration case】
Case 1: View the configuration of the PPPOE proxy
OLT(config)# show pppoe agent format all
-------------------------------------------------- ---------------------------------------
Index: 1 Name: type4 type: hex
page 549_
Index: 3 Name: type6 type: ascii
CircuitId: hostname-chassis-slot-ponid-gemidonuid
RemoteId :
-------------------------------------------------- ---------------------------------------
OLT(config)#
Command
OLT( config )# service default policy {deny|permit}
syntax
Function This command is used to set the default access rule for all login
Description methods
【Configuration case】
Case 1: Set the default access rule to deny access
OLT(config)# service default policy deny
This command is used to set access rules for different login methods,
Function
(Note: rule id does not need to be set in the add command, it will
Description
increment from 1 by default)
{add|delete|ins
add, delete, insert, modify
ert|modify}
{http|snmp|ssh
Login Method
|telnet}
page 550_
<ABCD> ip address
【Configuration case】
Case 1: Add ssh access rules to allow access from 192.168.1.1 to 192.168.1.254
OLT(config)# service ssh add rule range 192.168.1.1 to 192.168.1.254 permit
Command
OLT( config )# service {http|snmp|ssh|telnet} rule clear
syntax
Function
This command is used to clear the access rules for this login method
Description
{http|snmp|ssh
Login Method
|telnet}
【Configuration case】
Case 1: Clear all access rules for http
OLT(config)# service http rule clear
Function This command is used to view the default access rules of all login
Description methods or the access rule information of a specific login method.
{telnet|ssh|htt
Login Method
p|https|snmp}
【Configuration case】
Case 1: View the access rules of http
page 551_
OLT(config)# show service http rule
No Rules for service http
Function
This command is used to enable different login methods.
Description
(telnet|ssh|htt
Login Method
p|https|snmp)
【Configuration case】
Case 1: Enable telnet login service
OLT(config)#service telnet enable
OLT(config)#
Command
OLT(config)# show service (telnet|ssh|http|https|snmp) status
syntax
(telnet|ssh|htt
Login Method
p|https|snmp)
【Configuration case】
Case 1: Check the status of the telnet login method
OLT(config)#show service telnet status
-------------------------------------------------- --------------------------
page 552_
SERVICE PORT DEFAULT PORT STATUS
telnet 23 23 enable
-------------------------------------------------- --------------------------
OLT(config)#
Command
OLT( config )# telnet <WORD>
syntax
Function
This command is used to access the device remotely
Description
【Configuration case】
Case 1: telnet to 192.168.101.1
OLT(config)# telnet 192.168.101.1
Appendix 1
Different VLAN modes process packets as follows:
page 553_
in the list allowed by the When the vlan id is
port, discard the packet different from the native
vlan and is the vlan id
allowed by the port, the
original tag is maintained
and the packet is sent.
When the vlan id carried in
the packet is the vlan id
that the port is allowed to
pass through, the packet is
Hybrid sent, and the vlan hybrid
command can be used to
configure whether the port
carries the tag in the packet
sent by the vlan.
page 554_