GPON OLT CLI User Manual - V2.0-F PDF
GPON OLT CLI User Manual - V2.0-F PDF
GPON OLT CLI User Manual - V2.0-F PDF
USER MANUAL
Version V2.0
1
CONTENTS
1. Access OLT........................................................................................................ 11
2. Command Line Interface.................................................................................. 14
2.1 Abstract........................................................................................................ 14
2.2 CLI Configuration Mode.............................................................................14
2.3 CLI Specialities............................................................................................15
2.3.1 Online Help............................................................................................15
2.3.2 Display Specialities.............................................................................. 20
2.3.3 History Commands..............................................................................21
2.3.4 Error Messages.................................................................................... 21
2.3.5 Edit Specialities.................................................................................... 22
3. OLT Management Configuration.....................................................................24
3.1 Configure Outband Management............................................................ 24
3.1.1 Enter AUX Port Configuration Mode.................................................24
3.1.2 Outband Management IP address.................................................... 24
3.1.3 Outband Management IPv6 Address............................................... 25
3.1.4 Show AUX Port Information............................................................... 26
3.2 Configure Inband Management................................................................26
3.3 Configure Manangement Gateway.......................................................... 28
3.4 Configure DNS............................................................................................ 29
4. Port Configuration............................................................................................. 30
4.1 Port Configuration.......................................................................................30
4.1.1 Enter Port Configuration Mode.......................................................... 30
4.1.2 Enable /Disable Port............................................................................ 30
4.1.3 Configure Port Description................................................................. 31
4.1.4 Configure Port Duplex Mode............................................................. 32
4.1.5 Configure Port Speed..........................................................................33
4.1.6 Configure Port Rate Limitation.......................................................... 34
4.1.7 Configure Port VLAN Mode................................................................35
4.1.8 Configure Hybrid Port VLAN.............................................................. 36
4.1.9 Configure Trunk Port VLAN................................................................ 37
2
4.1.10 Configure Port PVID............................................................................ 38
4.1.11 Configure Access Port VLAN............................................................. 39
4.1.12 Configure Port Flow Control.............................................................. 40
4.1.13 Configure Port Broadcast Suppression........................................... 41
4.1.14 Configure Port Multicast Suppression............................................. 42
4.1.15 Configure Port Unknown Unicast Suppression.............................. 43
4.1.16 Configure Port Isolation...................................................................... 44
4.1.17 Configure Port Loopback................................................................... 45
4.1.18 Configure Port Loopback Detection................................................. 46
4.1.19 Configure Port Jumboframe...............................................................46
4.1.20 Show Port Statistics............................................................................ 47
4.1.21 Clean Port Statistics............................................................................ 48
4.1.22 Show Interface Configurations.......................................................... 48
4.2 Example........................................................................................................51
5. Port Aggregation Configuration...................................................................... 53
5.1 Introduction.................................................................................................. 53
5.2 Port Aggregation Configuration................................................................54
5.2.1 Create Static Aggregation Group...................................................... 54
5.2.2 Configure Load Balancing Policy of Group..................................... 54
5.2.3 Configure Member Port of Group..................................................... 55
6. VLAN Configuration........................................................................................... 57
6.1 VLAN Configuration.................................................................................... 57
6.1.1 Create/Delete VLAN.............................................................................57
6.1.2 Configure/Delete VLAN Description................................................. 58
6.1.3 Configure/Delete IP Address and Mask of VLAN........................... 59
6.2 Show VLAN Information.............................................................................60
7. VLAN Translation/QinQ.....................................................................................62
7.1 Configure VLAN Translation/QinQ........................................................... 62
7.2 Example........................................................................................................63
8. ARP Proxy........................................................................................................... 65
9. MAC Address Configuration............................................................................ 66
9.1 Overview.......................................................................................................66
3
9.2 Configure MAC Address............................................................................ 67
9.2.1 Configure MAC address Table.......................................................... 67
9.2.2 Configure MAC Address Aging Time................................................ 68
9.2.3 Clean MAC Address Table................................................................. 69
9.2.4 Configure Maximum Learnt MAC Enties of Port............................ 69
9.3 Show MAC Address Table........................................................................ 70
9.3.1 Show MAC Address Table................................................................. 70
9.3.2 Show MAC Address Aging Time....................................................... 70
10. Configure Port Mirroring...................................................................................72
10.1 Configure Mirroring Destination Port................................................... 72
10.2 Configure Mirroring Source Port...........................................................72
10.3 Delete Port Mirroring...............................................................................74
11. IGMP Configuration...........................................................................................75
11.1 IGMP Snooping....................................................................................... 75
11.1.1 Enable/Disable IGMP Snooping........................................................ 75
11.1.2 Configure Multicast Data Forwarding Mode................................... 75
11.1.3 Configure Port Multicast VLAN..........................................................76
11.1.4 Configure Multicast Router Port........................................................ 77
11.1.5 Configure Static Multicast.................................................................. 78
11.1.6 Configure Fast Leave.......................................................................... 79
11.1.7 Configure Multicast Group Limit....................................................... 79
11.1.8 Configure Parameters of Special Query...........................................80
11.1.9 Configure Parameters of General Query.......................................... 81
11.1.10Configure Source IP of Query............................................................ 82
11.1.11Configure Multicast Member Aging Time........................................ 83
11.1.12Show Multicast Gourp Information................................................... 83
11.1.13Configure Multcast on PON............................................................... 84
11.2 Example.................................................................................................... 84
12. ACL Configuration............................................................................................. 88
12.1 Overview................................................................................................... 88
12.2 ACL Confiuration..................................................................................... 89
12.2.1 IP Standard ACL.................................................................................. 89
4
12.2.2 IP Extended ACL.................................................................................. 91
12.2.3 ACL Based on MAC Address.............................................................92
12.2.4 ACL Based on Port Binding............................................................... 93
12.2.5 ACL Based on QoS..............................................................................95
12.2.6 ACL Rule Apply to Port....................................................................... 97
12.3 Example.................................................................................................... 98
13. QoS Configuration........................................................................................... 100
13.1 Configure Queue Scheduling Mode...................................................100
13.2 Configure Queue Mapping.................................................................. 101
14. STP Configuration........................................................................................... 103
14.1 STP Default Settings.............................................................................103
14.2 Cofigure STP..........................................................................................103
14.2.1 Enable STP Function.........................................................................104
14.2.2 Enable Port STP.................................................................................105
14.2.3 Configure Bridge Priority.................................................................. 106
14.2.4 Configure Forward Delay.................................................................. 106
14.2.5 Configure Hello Time.........................................................................108
14.2.6 Configure Max Aging Time...............................................................109
14.2.7 Configure Priority of Designated Port............................................ 110
14.2.8 Configure Path Cost of Designated Port....................................... 111
14.2.9 Configure Edge Port.......................................................................... 112
14.2.10Configure Point to Point Mode........................................................ 113
14.3 Show STP Information......................................................................... 114
15. DHCP Management Configuration............................................................... 116
15.1 Configure DHCP Server....................................................................... 116
15.2 Configure DHCP Relay......................................................................... 117
15.3 Configure DHCP Snooping..................................................................120
16. L3 Route Configuration.................................................................................. 126
16.1 L3 Route Configuration........................................................................ 126
16.1.1 Hardware Router Table..................................................................... 126
16.1.2 Static Route........................................................................................ 126
16.1.3 Key Chain............................................................................................127
5
16.2 RIP........................................................................................................... 129
16.2.1 RIP Overview...................................................................................... 129
16.2.2 RIP Configuration...............................................................................129
16.2.3 RIP Configuration Example.............................................................. 139
16.3 OSPF....................................................................................................... 146
16.3.1 OSPF Overview.................................................................................. 146
16.3.2 OSPF Configuration.......................................................................... 147
16.3.3 OSPF Configuration Example..........................................................159
16.4 Manipulate Routing Updates.............................................................. 166
16.4.1 Route IP List....................................................................................... 167
16.4.2 Route Redistribution..........................................................................173
16.4.3 Distribution List Control Routing Updates.....................................178
16.4.4 Routing Maps to Control Routing Updates...................................187
16.4.5 Prefix Lists to Filter Routing.............................................................194
17 IPv6.................................................................................................................... 197
17.2 VLAN IPv6 Address...............................................................................197
17.3 IPv6 Static Neighbour...........................................................................198
17.4 IPv6 SLAAC............................................................................................ 200
17.4.1 IPv6 SLAAC Work Processes.......................................................... 201
17.4.2 IPv6 SLAAC Configuration............................................................... 202
17.4.3 Example(pending).............................................................................. 207
17.5 DHCPv6.................................................................................................. 207
17.5.1 DHCPv6 Overview............................................................................. 207
17.5.2 DHCPv6 Server.................................................................................. 210
17.5.3 DHCPv6 Relay.................................................................................... 220
17.6 IPv6 Route.............................................................................................. 225
17.6.1 IPv6 Static Route Configuration...................................................... 225
17.6.2 View IPv6 Hardware Routing Information......................................226
17.7 IPv6 Connectivity Test..........................................................................227
18 PON Management........................................................................................... 228
18.2 Show PON Port Info and Optical Power........................................... 228
18.2.1 Show Pon Port Statistics..................................................................228
6
18.2.2 Show PON Port Optical Power....................................................... 228
18.2.3 Show ONU Optical Transceiver.......................................................229
18.3 PON Port Configuration....................................................................... 230
18.3.1 Enable/Disable PON.......................................................................... 230
17.1 ONU auto-learn configuration............................................................. 231
19 ONU Management.......................................................................................... 232
19.2 ONU Basic Configuration.................................................................... 232
19.2.1 Show Auto-find ONU........................................................................ 232
19.2.2 ONU Automatic Authorize................................................................ 232
19.2.3 Show ONU Authorized Info..............................................................233
19.2.4 Show ONU Authorized Detail-info.................................................. 233
19.2.5 Activate|Deactivate ONU.................................................................. 234
19.2.6 ONU Authorization.............................................................................234
19.2.7 Configure ONU Description String..................................................235
19.3 ONU Remote Configuration................................................................ 236
19.3.1 Show ONU SFP Info.......................................................................... 236
19.3.2 Upgrade ONU.....................................................................................236
19.3.3 Auto-upgrade ONU........................................................................... 238
19.3.4 Reboot ONU....................................................................................... 238
19.3.5 TCONT Configuration........................................................................239
19.3.6 GEMPORT Configuration................................................................. 240
19.3.7 ONU Service Configuration.............................................................. 241
19.3.8 Service-port Configuration............................................................... 242
19.3.9 ONU UNI Configuration.................................................................... 245
19.3.10ONU FEC Configuration................................................................... 246
19.3.11Show ONU Service............................................................................ 247
19.3.12Show ONU Capability....................................................................... 247
19.4 ONU Remote Port Configuration........................................................248
19.4.1 ONU Port Enable|Disable................................................................. 248
19.4.2 ONU Port Autonegotiation............................................................... 248
19.4.3 ONU Port Flow Control Configuration............................................249
19.4.4 Multicast VLAN Configuration......................................................... 249
7
19.4.5 Configure ONU Iphost.......................................................................250
19.4.6 ONU Port Multicast Tag-strip Configuration................................. 251
19.4.7 Example for SFU................................................................................ 251
19.4.8 Example for HGU............................................................................... 253
19.5 Rogue-onu Configuration.................................................................... 256
19.5.1 Rogue-onu-detect............................................................................. 256
19.5.2 Rogue-onu status.............................................................................. 257
20 ONU Template Management.........................................................................258
20.2 Summary of ONU Template................................................................ 258
20.3 ONU Template Configuration..............................................................259
20.4 DBA Template Configuation................................................................260
20.5 Traffic Template Configuation.............................................................262
20.6 Line Template Configuation................................................................ 263
20.7 Service Template Configuation...........................................................267
20.8 Alarm Threshold Template Configuration......................................... 269
20.9 Show/Delete Profile Configuration..................................................... 270
21 ONU Auto-learn Configuration...................................................................... 272
21.2 ONU Auto-learn..................................................................................... 272
21.3 Enable Auto-learn..................................................................................273
22 System Management...................................................................................... 274
22.2 Configuration Management................................................................. 274
22.2.1 Save Configurations.......................................................................... 274
22.2.2 Erase Configurations......................................................................... 274
22.2.3 Show Startup Configurations...........................................................275
22.2.4 Show Running Configurations......................................................... 275
22.2.5 Upload/Download Configuration File............................................. 275
22.3 Check System Information.................................................................. 276
22.3.1 Check System Running Information...............................................276
22.3.2 Check Version Information...............................................................277
22.3.3 Check System Running Time.......................................................... 277
22.4 System Basic Configurations.............................................................. 278
22.4.1 Configure System Name.................................................................. 278
8
22.4.2 Configure Terminal Display Attribute..............................................278
22.4.3 Configure Terminal Time-out Value................................................ 279
22.5 System Basic Operations.................................................................... 280
22.5.1 Upgrade System................................................................................ 280
22.5.2 Network Connectivity Test............................................................... 280
22.5.3 Reboot System...................................................................................280
22.5.4 Telnet................................................................................................... 281
22.5.5 Configure RTC System Time........................................................... 281
22.5.6 NTP Client........................................................................................... 282
22.5.7 Timezone Configuration....................................................................283
22.5.8 Fan Control......................................................................................... 283
22.6 Debug Information................................................................................ 284
22.6.1 Enable/Disable CPU Debug Information........................................284
22.6.2 Enable/Disable Functional Module Debug Information...............284
23 User Management........................................................................................... 286
23.2 User Privilege......................................................................................... 286
23.3 Default User........................................................................................... 286
23.4 Add User Account................................................................................. 286
23.5 Show User Account List...................................................................... 287
23.6 Delete User Account............................................................................. 287
23.7 Modify Password...................................................................................287
24 SNMP Configuration....................................................................................... 289
24.2 SNMP Introduction............................................................................... 289
24.3 SNMP Version and MIB....................................................................... 289
24.4 SNMP Configuration............................................................................. 291
24.4.1 Configure Community....................................................................... 291
24.4.2 Configure Trap Server Address....................................................... 292
24.4.3 Configure Contact Information........................................................ 293
24.4.4 Configure Location Information.......................................................293
25 Alarm and Event Management...................................................................... 295
25.2 Alarm and Event Introduction..............................................................295
25.3 Alarm Management...............................................................................295
9
25.3.1 System Alarms................................................................................... 296
25.3.2 PON Alarms........................................................................................ 298
25.3.3 ONU Alarms........................................................................................ 301
25.4 Event Management............................................................................... 302
25.4.1 System Events....................................................................................303
25.4.2 PON Events.........................................................................................304
25.4.3 ONU Events........................................................................................ 305
26 System Log.......................................................................................................307
26.2 System Log Introduction......................................................................307
26.2.1 Log Type............................................................................................. 307
26.2.2 System Log Level.............................................................................. 308
26.3 Configure System Log..........................................................................309
26.3.1 Show System Log..............................................................................309
26.3.2 Clear System Log.............................................................................. 310
26.3.3 Configure System Log Server..........................................................310
26.3.4 Configure Save Level of System Log............................................. 310
26.3.5 Save System Log to Flash................................................................311
26.3.6 Clear System Log in Flash............................................................... 311
26.3.7 Upload System Log........................................................................... 312
10
1.Access OLT
You can access OLT by CLI (Command Line Interface) via console
Baudrate: 115200
Data bits: 8
Parity: none
Stop bits: 1
11
COM port properties
Notice: The default username and password of CLI both are admin.
For example,
Login: admin
Password: admin
gpon-olt> enable
Password: admin
gpon-olt#
charpter.
13
2.Command Line Interface
2.1 Abstract
connection.
command.
Privileged mode
prompts.
14
Comma
Command
CLI mode Specialty Prompt nd to
to enter
exit
Show
configuratio
Privileged ns and
gpon-olt# exit
mode execute
system
commands
Global Configure
gpon-olt configure
configurat system exit
(config)# terminal
ion mode parameters
interface
Interface Configure
gpon-olt {interface_t
configurat interface exit
(config-if)# ype
ion mode parameters
slot/port}
Completely help
Partly help
15
You can get some help information of CLI with the help above.
configuration mode.
gpon-olt (config)#
mode
mode
16
gateway system manage gateway.
ip IP information
switchport characteristics.
17
queue-scheduler Configure egress queueing policy.
mode
network, or terminal
18
(2) Input “?” behind a command, it will display all key words and
list.
(4) Input a character string end with “?”, it will display all key words
gpon-olt (config)# e
19
enable Modify enable password parameters
mode.
mode
(5) Input a command and a character string end with “?”, it will
is unique.
Operation function
20
Input <Ctrl+C> Stop displaying and executing.
commands.
Display previous
command.
Display next
command.
21
Otherwise it will come out error message. The following table
No this command
operation function
space.
22
position towards the left.
<Ctrl+N>
partly help.
in another row.
23
3.OLT Management Configuration
management IP.
Command Function
configuration mode.
Command Function
configuration mode.
24
Step 3a ip address <A.B.C.D> Configure IP address
port.
management IP to
default.
configuration mode.
management IP.
Command Function
configuration mode.
configuration mode.
25
[eui-64] addressand prefix
of AUX port.
configuration mode.
cofniguraiton.
Command Function
configuration mode.
information.
26
Begin at privileged configuration mode, configure inband
Command Function
configuration mode.
configuration mode.
configuration mode.
vlan_id range is 1 -
4094.
mask.
configuration mode.
information.
27
3.3 Configure Manangement Gateway
Command Function
configuration mode.
management
gateway.
<A.B.C.D> gateway.
gateway
configuration.
28
3.4 Configure DNS
Command Function
configuration mode.
gateway.
29
4.Port Configuration
Command Function
configuration mode.
You can use these commands to enable or disable port. The ports
are enabled by default. If you want a port not to transfer data, you
Command Function
configuration mode.
30
Step 2 interface {interface_type Enter interface
configuration mode.
description by default.
Command Function
configuration mode.
description.
31
Step 3b no description Delete description.
configuration mode.
Duplex includes full duplex and half duplex. When it works at full
duplex, port can transmit and receive data at the same time; when
it works at half duplex, port can only transmit or receive data at the
Command Function
configuration mode.
mode.
32
default.
configuration mode.
Command Function
configuration mode.
auto }
default.
33
Step 4 exit Exit to global
configuration mode.
Command Function
configuration mode.
64-1000000, it should
be integral multiple of
64kbps.
34
configuration mode.
Each port has three VLAN mode, access, trunk and hybrid.
other terminals, only one VLAN can be set up. Trunk mode is
usually used for port that connects with switch; one or more VLAN
can be set up. Hybrid mode can be used for port that connects
Command Function
configuration mode.
35
default.
configuration mode.
Notice:
All VLAN configurations will lose when you change port VLAN
mode.
Command Function
mode.
36
Step 3b no switchport hybrid vlan Remove VLAN from port.
vlan_id
mode.
Notice:
3.1.10.
Command Function
slot/port} configuration
37
vlan_id trunk port. VLAN mode is
tagged.
vlan_id
mode.
Notice:
If PVID of trunk mode port is the same as VLAN ID, the VLAN will
Only under hybrid mode and trunk mode can set up PVID.
Command Function
configuration.
38
Step 3a switchport {hybrid|trunk} pvid Configure hybrid mode
PVID.
configuration mode.
slot/port} configurations.
Only one untagged mode VLAN can be set to access port. Port’s
Command Function
configuration mode.
39
VLAN.
to default.
configuration mode.
slot/port} configurations.
Command Function
mode.
function.
function.
40
mode.
slot/port} configurations.
Command Function
configuration mode.
value suppression.
Value range:
64-1000000, it should
be integral multiple of
64kbps.
suppression.
41
configuration mode.
slot/port} configurations.
Command Function
configuration mode.
value suppression.
Value range:
64-1000000, it should
be integral multiple of
64kbps.
suppression.
42
configuration mode.
slot/port} configurations.
Command Function
configuration mode.
Value range:
64-1000000, it should
be integral multiple of
64kbps.
unicast suppression.
43
mode.
slot/port} configurations.
networking scheme.
Command Function
configuration mode.
group.
isolation group.
44
configuration mode.
slot/port} configurations.
Command Function
configuration mode.
outer loopback.
data loopback.
configuration mode.
45
Notice:
Command Function
configuration mode.
detection.
detection.
detection status.
configuration mode.
46
Command Function
configuration mode.
transmission.
By default, switch
chipset supports
transmitting maximum
chipset supports
transmitting maximum
transmission.
configuration mode.
47
Command Function
configuration mode.
configuration mode.
Command Function
configuration mode.
slot/port}
Operation Command
48
configurations. slot/port}
0:0:0:0:0:0
autonegotiation
half-duplex
49
Multicast storm control: disable
Port priority: 0
PVID: 1
CRC
50
1280 broadcasts, 3091 multicasts, 0 pauses
4.2 Example
1. Requirement
pass through VLAN 20 and VLAN 100, add VLAN tag 123 to
2. Framework
3. Steps
gpon-olt (config-if-ge0/1) #
51
(2)configure port mode and add VLAN
52
5.Port Aggregation Configuration
5.1 Introduction
Port aggregation is that several ports constitute an aggregation
group so that it can share responsibility for traffic load in each port.
When one link is broken down, the traffic will switch to another
automatically to ensure traffic is unblocked. It seems that the
aggregation group is the same as a port.
the same duplex mode and the same basic configurations. Basic
configurations contain:
(1) STP configurations such as STP status, link properties (e.g. p2p
or not.
(4) Port link type such as trunk mode, hybrid mode and access
mode.
timer value.
53
5.2 Port Aggregation Configuration
altogether in every group and at most 4 ports will come into being
Command Function
configuration mode.
aggregation group.
configuration.
54
destination IP, both source and destination IP. Default load
Command Function
configuration mode.
p}
summary configurations.
Command Function
configuration mode.
specific channel
group.
55
from specific channel
group.
configuration mode.
56
6.VLAN Configuration
Create/delete VLAN
Command Function
configuration mode.
VLAN interface
configuration mode.
1 to 4094.
57
configuration mode.
configurations.
information of specific
VLAN.
Command Function
configuration mode.
VLAN infterface
configuration mode.
58
VLAN ID range is from
1 to 4094.
description.
description.
configuration mode.
information.
Notice:
Command Function
configuration mode.
configuration mode.
59
VLAN ID range is from
1 to 4094.
mask of VLAN.
configuration mode.
information.
members.
Operation Command
Example:
Vlan ID : 100
60
Name : vlan100
Notice:
By default, It have one vlan on system ,do not delete and edit.
Vlan ID :1
Name : vlan1
Tagged Ports :
61
7.VLAN Translation/QinQ
Command Function
mode.
translation.
tra_vlanid
configuration mode.
62
interface {interface_type translation/QinQ
slot/port} configurations.
7.2 Example
gigabitethernet 0/1
(2)QinQ function
63
gigabitethernet 0/2
64
8.ARP Proxy
Command Function
configuration mode.
to vlan interface
65
9.MAC Address Configuration
9.1 Overview
that connect with the device, ports, VLAN, type and aging status.
update it; if not, device will add this new address to the table.
add new MAC to the table. Then, messages with this destination
66
9.2 Configure MAC Address
You can add static MAC address entries, delete MAC address
Command Function
configuration mode.
interface_type slot/port
table.
table.
67
Step 4 write Save configurations.
message from other devices in aging time, it will delete the MAC
address from MAC table. But for static MAC in the table, aging
Command Function
configuration mode.
range is 10-1000000s.
Default is 300s.
agingtime
68
9.2.3 Clean MAC Address Table
Command Function
configuration mode.
table.
Command Function
configuration mode.
<0-16384>
configuration mode.
69
9.3 Show MAC Address Table
Command Function
configuration mode.
ID.
address table.
Command Function
70
configuration mode.
71
10. Configure Port Mirroring
Command Function
configuration mode.
interface_num 1~4.
configurations.
72
pass through the port will be copied to mirroring destination port.
Command Function
configuration mode.
start_interface_num [ - 1-4.
data.
rx means received
data.
tx means transmitted
data.
configurations.
73
10.3Delete Port Mirroring
Command Function
configuration mode.
interface_type slot/port}
configurations.
Example:
gigabitethernet 0/1
both
74
11. IGMP Configuration
11.1IGMP Snooping
following command.
Command Function
configuration mode.
2a Snooping.
2b snooping.
configuration configurations.
75
forwarding mode as the following table shows.
Command Function
configuration mode.
forward | strict-forward}
After add VLAN to the port, you should also configure multicast
Command Function
configuration mode.
1-4094.
76
Step no ip igmp snooping Delete port multicast
configuration mode.
user-vlan
Command Function
configuration mode.
slot/port}
{interface_type slot/port}
77
Step 3 show ip igmp-snooping Show multicast router
Command Function
configuration mode.
interface-id
interface interface-id
configuration configurations.
78
11.1.6 Configure Fast Leave
Command Function
configuration mode.
3a immediate-leave
3b immediate-leave
configuration mode.
information information.
79
Command Function
configuration mode.
limitation.
3b limitation to default.
configuration mode.
information information.
Command Function
configuration mode.
80
Step ip igmp snooping Configure specific
<1-255> is 2.
<1-255> is 1s.
configuration configurations.
Command Function
configuration mode.
81
disable.
is 126s.
configuration configurations.
Command Function
configuration mode.
configuration configurations.
82
11.1.11 Configure Multicast Member Aging Time
aging time, device will delete this port from group members.
Command Function
configuration mode.
time.
Value range is
10-3600s,
defaultis260s.
configuration configurations.
83
Command Function
configuration mode.
2b statistic statistic.
Command Function
configuration mode
[forward|trap-to-cpu]
11.2Example
including multicast VLAN, multicast router port and ONU LAN port,
84
etc.
1. Requirement
2. Framework
3. Steps
(1)Create VLAN
85
gpon-olt (config-vlan-100)# exit
gpon-olt(config-pon-0/1)# exit
gigabitethernet 0/1
GPON00000031
86
gpon-olt(config-pon-0/1)# onu 1 tcont 1
def_vlan 100
gpon-onu_1/1/2:1 vport 1
87
12. ACL Configuration
12.1Overview
matched with the rules the data packages can be filtered. ACL can
IP Standard ACL.
IP Extended ACL.
88
IP Extended ACL 1000-199 1000
12.2ACL Confiuration
IP Standard ACL.
IP Extended ACL.
Command Function
89
Step 1 configure terminal Enter global
configuration mode.
access-list-index mode.
access-list-number is
rule.
ACL rule.
access-list-index
configuration mode.
90
Step 6 write Save configurations.
Command Function
mode.
mode.
access-list-number is
ACL index.
range:1000-1999.
91
Step 4 exit Exit global configuration
mode.
Command Function
mode.
mode.
access-list-number is
ACL index.
range:2000-2999.
<xx:xx:xx:xx:xx:xx> {[dest]
<xx:xx:xx:xx:xx:xx>
<xx:xx:xx:xx:xx:xx>}*1 {[vlan]
92
<1-4094>}*1 {[cos] <0-7>}*1
{[ethernet-type] <XXXX>
<XXXX>
configuration mode.
Command Function
mode.
mode.
access-list-number is
ACL index.
range:5000-5999;
93
Step 3a subset port-business Permit:Permit data
dest-ip:destination IP
address
tos-dscp:IP priority
src-mac:source MAC
address
dest-mac:destination
MAC address
vlan:VLAN IAD
cos:802.1p priority
ethernet-type:ethernet
type
src-port:Layer 4 source
port
dest-port:Layer 4
94
destination port
configuration mode.
access-list-number configurations.
Command Function
mode.
mode.
access-list-number is
ACL index.
range:6000-6999.
95
<1-12> <0-7>: output queue
address
dest-mac: destination
MAC address
vlan: VLAN ID
cos:802.1p priority
ethernet-type: Ethernet
type
src-port:Layer 4 source
port
dest-port:Layer 4
destination port
96
deleted.
configuration mode.
access-list-number configurations.
Command Function
mode.
access-list-number in
access-list-number in
configuration mode.
97
access-list-number
12.3Example
through.
gpon-olt(config-bsn-acl-5000)# exit
passing through.
gpon-olt(config)#access-list 2000
gpon-olt(config-eth-acl-2000)#exit
98
b8:97:5a:72:37:8d ff:ff:ff:ff:ff:ff
gpon-olt(config-eth-acl-2001) # exit
gpon-olt(config-pon-0/1)#exit
99
13. QoS Configuration
Command Function
configuration mode.
2a priority scheduling
mode.
Queuex is weight of
queue x, range is
1-127.
By default, weights of
100
2, 4, 4, 8, 8.
queue x, range is
0-127. If it is set to be
priority queue.
By default, weights of
2, 4, 4, 8, 8.
scheduling
configurations.
Command Function
configuration mode.
101
Step 2 queue-scheduler tc priority Configure mapping
By default, priority
0~7 respectively.
mapping mapping.
102
14. STP Configuration
Gigabit Ethernet :4
Ethernet :100
Hello time 2s
Mode RSTP
14.2Cofigure STP
103
Configure STP mode.
Command Function
configuration mode.
2a function.
is disabled.
2b function.
configurations.
104
Step 4 write Save configurations.
In order to work flexibly, you can disable some specific ports’ STP
function.
Command Function
configuration mode.
3a function.
3b function.
configuration mode.
105
14.2.3 Configure Bridge Priority
spanning tree.
Command Function
configuration mode.
Priority range is
0~65535, default is
32768.
configurations.
the new STP PDU can’t go the rounds of network. In this case, a
106
temporary loop will come out if the new root port and designated
out in the intermediate state, the new STP PDU have gone the
forward data.
Command Function
configuration mode.
bridge-priority range
configurations.
Forward Delay has something to do with that how big the network
is. Generally, the bigger the network, the longer forward delay
107
temporary redundant path; while it is too big, network will take
Notice:
Hello time, forward delay and maximum age are time parameters
(hello + 1)
suitable hello time can ensure a device find link failure in time and
not occupy more network resource. If hello time is too big, device
will be in mistake for link failure when loss packets. Then network
108
Command Function
configuration mode.
1~10, default is 2.
configurations.
Command Function
configuration mode.
109
max age range is
configurations.
root port. Generally, the priority value is smaller, the port has
higher priority. If all ports’ priority value are the same, their priority
Command Function
configuration mode.
priority range is
110
1-255, default is 128.
configuration mode.
Path Cost is related to the speed of the link connected to the port.
costs.
Command Function
configuration mode.
designated port.
111
Step 4 exit Exit to global
configuration mode.
Because RSTP can’t detect whether the port is edge port or not, if
edge port. But when the port connects with a switch, RSTP can
Command Function
configuration mode.
112
Step spanning-tree operedge Configure port as an
3a edge port.
3b port to default.
configuration mode.
upon some port role conditions met, they can transit to forwarding
Command Function
configuration mode.
113
slot/port} configuration mode.
configured as point to
point ports.
configuration mode.
information.
Command Function
configurations and
running status.
114
show spanning-tree interface Show STP
115
15. DHCP Management Configuration
Command Function
configuration mode.
2a disable] function
2d
2e A.B.C.D gateway
116
Step 2f dhcp-server interface vlan Add the VLAN to the
vlan interface IP
address)
2g leasetime leasetime
3a configuration
3d allocate IP address
startup-config
the client should be in the same network.The DHCP relay can save
show:
117
Command Function
configuration mode.
VLAN interface
configuration
vlan_id(1-4094);
3b
configuration mode
configuration。
startup-config
Command Function
configuration mode.
3a the group.
3b
configuration mode
VLAN interface
configuration
vlan_id(1-4094);
6a <groupname> group 。
6b <groupname> group。
configuration mode
configuration.
119
Step 9 copy running-config Save the configuration.
startup-config
Command Function
configuration mode.
(enable|disable) Snoopin.(DHCP
Snooping enable,can
120
configuration mode.
configuration configuration。
startup-config
Command Function
configuration mode.
configuration mode.
configuration configuration.
startup-config
121
C.Configure DHCP Snooping binding list
Command Function
configuration mode.
{interface_type slot/port}
lease <60-1000000>
HHHH:HHHH:HHHH
dynamic .
time.
configuration mode
configuration configuration.
122
Step 6 copy running-config Save configuration.
startup-config
Command Function
configuration mode.
slot/port} configuration
default.
123
3e information remote-idstring remote-id value,load
limit by default.
3e
configuration mode
DHCP packetreceiving
is disable.
getting down
configuration configuration.
125
16. L3 Route Configuration
Command Function
configuration mode.
subnet routing
information.
routing information.
information
Command Function
configuration mode.
126
Step ip route A.B.C.D A.B.C.D Add static route rule.
2a A.B.C.D
A.B.C.D rule.
A.B.C.D rule.
the keys that belong to the keychain. Each key has its own key
127
package is sent, no matter how many valid keys exist. The
software checks key figures from lowest to highest order and uses
Command Function
configuration mode.
key chain
configuration mode.
identifier,key_number
range 0-
2147483647。
authentication key.
configuration mode.
To remove the key chain entry, use the command no key chain;To
delete a key identifier, use the command no key;To delete the key,
considers that the path with the lowest number of hops is the
129
and configure RIP:
Command Function
configuration mode.
router configuration
mode.
specify multiple
network commands.
through interfaces
only on these
networks.
neighboring router
with which to
exchange routing
130
information. This step
allows routing
(normally a broadcast
protocol) to reach
nonbroadcast
networks.
incoming and
outgoing metrics to
routes learned
an access list or an
interface.
4294967295 seconds.
131
•update—Time
between sending
default is 30 seconds.
•invalid—Time after
which a route is
default is 180
seconds.
•holddown—Time
before a route is
default is 180
seconds.
•flush—Amount of
updates are
postponed. The
default is 240
seconds.
132
the switch to receive
Version 1 or RIP
version 2 packets. By
receives Version 1
Version 1.
interface commands
version 1 | 2 | 1 2} to
and receiving on
interfaces.
static.
133
Default 120.
10 EXEC mode.
timer, filter
list,version,interface
information.
12 information.
13
If you want to disable RIP routing, use the command no router rip
If you want to cancel the interface RIP process, you can use the
mode.
If you want to restore the default timer value, you can use the
134
and receiving RIP Version 2 packets, you can enable RIP
Command Function
configuration mode.
configuration mode,
interface to configure.
text authentication
digest authentication.
135
4a key-chain< line> authentication for
MD5.
plain text.
EXEC mode.
timer, filter
list,version,interface
information.
information.
136
distance-vector routing protocols normally use the split-horizon
Command Function
configuration mode.
configuration mode,
interface to configure.
Default enable.
EXEC mode.
timer, filter
137
list,version,interface
information.
information.
configuration command.
Command Function
configuration mode.
configuration mode,
interface to configure.
or v2 or v1 and v2.
v2 or v1 and v2.
138
EXEC mode.
timer, filter
list,version,interface
information.
information.
1. Networking requirements
between any two nodes, and the network size is relatively small.
Need equipment
139
2. Networking topology
Configuration:
interface vlan 1
ip address 192.168.1.1/24
exit
interface vlan 2
ip address 192.168.2.1/24
exit
140
Enable RIP and run RIP in the VLAN interface
network 192.168.1.0/24
network 192.168.2.0/24
/**********************************************************
interface vlan 1
ip address 192.168.1.2/24
exit
interface vlan 11
ip address 192.168.11.2/24
exit
router rip
network 192.168.11.0/24
141
network 192.168.1.0/24
/**********************************************************
Switch C:
interface vlan 1
ip address 192.168.21.3/24
exit
interface vlan 2
ip address 192.168.2.3/24
exit
router rip
network 192.168.21.0/24
network 192.168.2.0/24
142
16.2.3.2 RIP Offset-list Configuration
Switch A:
configure terminal
interface vlan 1
ip adderss 192.168.1.1/24
exit
interface vlan 2
ip adderss 192.168.2.1/24
exit
router rip
list.networke 192.168.1.0/24
networke 192.168.2.0/24
Switch B:
configure terminal
143
access-list 5 permit 192.168.3.0 0.0.0.0 // Define the access
interface vlan 1
ip adderss 192.168.1.2/24
interface vlan 3
ip adderss 192.168.3.1/24
exit
router rip
networke 192.168.1.0/24
networke 192.168.3.0/24
switch A,it show the route table 192.168.3.0 metric is 4, If not set
offset-list,the metric is 2.
topology as above.
configure terminal
1"
“ admin
exit
exit
interface vlan 1
interface vlan 2
the result:
192.168.23.0.
16.3 OSPF
generated.
multicast mode.
OSPF:
Command Function
configuration mode.
configuration mode.
147
Step 3 router-id A.B.C.D (Optional)Configure
router id.
can be a decimal
value or an IP
address.
EXEC mode.
Command Function
configuration mode.
configuration mode,
148
3 interface to
configure.
sending a packet on
the interface.
advertisement
transmissions. The
range is 1 to 65535
is 5 seconds.
estimated number of
seconds to wait
The range is 1 to
default is 1 second.
149
Step 6 ip ospf priority number (Optional) Set priority
OSPF designated
number of seconds
sent on an OSPF
all nodes on a
1 to 65535 seconds.
The default is 10
seconds.
number of seconds
150
declare the OSPF
router to be down.
is 1 to 65535
interval.
by neighboring OSPF
keyboard-entered
characters up to 8
neighboring routers
password to
exchange OSPF
151
information.
•keyid—An identifier
from 1 to 255.
•key—An
alphanumeric
password of up to 16
bytes.
11 authentication.
12 message-digest authentication.
13 EXEC mode.
15
router (ABR) generates a default external route into the stub area
does not flood all LSAs from the core into the area, but can import
network numbers are contiguous, you can use the area range
Command Function
configuration mode.
configuration mode.
153
password-based
protection against
unauthorized access
or an IP address.
area.
The no-summary
keyword prevents an
summary link
advertisements into
area as a
not-so-stubby-area.
154
same area must agree
keywords:
•no-summary—Select
EXEC mode.
running-config
information.
10 information related to
155
Step write Save configurations.
11
processes, the router must advertise the default route to the entire
domain.
Command Function
configuration mode.
mode.
<0-16777214>}*1
156
{[metric-type] (1|2)}*1
{[route-map] <WORD>}*1
configuration mode.
Command Function
configuration
mode.
[self-originate] of
[self-originate] database.
[adv-router [ip-address]]
[self-originate]
[adv-router [ip-address]]
157
show ip ospf database[asbr-summary]
[self-originate]
[adv-router [ip-address]]
[self-originate]
[adv-router [ip-address]]
of
information
related to the
OSPF route.
OSPF-relate
d interface
information.
OSPF
interface
neighbor
information.
158
16.3.3 OSPF Configuration Example
2. Networking topology
3. Configuration
192.168.2.1/24
interface vlan 1
ip address 192.168.1.1/24
exit
interface vlan 2
ip address 192.168.2.1/24
exit
router ospf
router-id 1.1.1.1
4. Test result
2. Networking topology
160
3. Configuration
Test result
161
16.3.3.3 OSPF Route Convergence
Refer to OSPF intra-area route test and OSPF inter-area route test.
Test process
Test result:
2.Networking Topology
162
3.Configuration
Switch B:
router ospf
area 2 stub
Switch D:
router ospf
area 2 stub
Test result:
The routing table of Switch D adds the default route to the original
163
16.3.3.5 OSPF Route Aggregation
2.Networking topology
3.Configuration
Switch B:
Switch C
ip address 10.1.1.1/24
ip address 10.1.2.1/24
164
router ospf
4.Test result
SwitchA.
Before
aggregation 172.16.0.0/24 is subnetted, 2 subnets
Switch A O 172.16.1.0 [110/2] via 192.168.2.2, 00:00:02,
Vlan2
165
Vlan1
166
16.4.1 Route IP List
Access lists are typically used to control user data flow, but access
lists do not affect the data flow generated by the current router.
Command Function
configuration mode.
<wildcard_mask> access_list_index
wildcard_mask >
167
{permit|deny} any access based on the
source IP address or
mask;
Host defines
standard IP access
based on a single
source IP address;
Any standard IP
source IP address;
mask;
168
ip access-list access_list_index Host defines
Any extended IP
source IP address;
access_list_index
EXEC mode.
information
access_list_index
Prefix lists are similar to access lists, and the benefits of prefix lists
169
the prefix list requires matching the routing prefix to the prefix
listed in the prefix list, just as matching the access list.When there
configuration item.
table item has a "or" relationship, and during the match, the route
satisfies the condition, this means that the Prefix-List filter (which
does not enter the match of the next table item) is passed.
Command Function
mode.
170
Step 2a ip prefix-list prefix_list_name Create a list of prefixes
conditions.
0-32;
0-32;
prefix_list_name
171
EXEC mode.
summary] information.
To remove the prefix list and all its entries, use the commsnd no IP
prefix-list prefix_list_name .
The keywords ge and le are optional and are used to specify the
172
16.4.2 Route Redistribution
and the router performing the redistribution does not modify its
values for all redistribution routes. Specify the seed metric values
in a redistribute, for which you can use the option metric or routing
mapping table.
the redistribute route, the measure will increase normally within the
protocol, and only the network that is known through the routing
174
interface at the same time, also can notice of these interfaces are
routing.
Command Function
configuration mode.
RIP configuration
mode
distance, default is
120.
(kernel|connected|static|ospf) redistribution,
routing information to
published.
175
Step 6 passive-interface <IFNAME> Configure the passive
{A.B.C.D}*1 interface
<1-4094>}*1
information
Command Function
configuration mode.
ospf configuration
mode
distance, default is
110.
all redistribution
routes
176
Step 5 redistribute Inter-protocol routing
(kernel|connected|ospf|static) redistribution,
connection, kernel,
routing information to
there.
{A.B.C.D}*1 interface
information
Example:
Configuration Result
177
router ospf 30 on switch c,
On switch a:O E2
the specific route can be filtered, so that the local routing routing
table of the distribution list is changed, and when the local router
distribution list.
Command Function
configuration mode..
RIP configuration
mode
179
<prefix-list> (in|out) prefix lists
{<WORD>}*1
information
environment-RIP)
in R3.
environment-RIP)
180
In R2, if the following configuration is made:
So, first of all, R2's own routing table will change, and 3.0's routing
will be filtered out, and R3, the downstream RIP router, won't learn
3.0.
information, but LSAs, and the distribution list cannot filter LSAs.
In the in direction, the distribution list can only filter the route when
router's own routing table that implements the distribution list will
181
be affected by the distribution list (but the local LSDB still has the
LSA), and The router still sends the LSAs in the LSADB to the
exist.
In the outbound direction, the distribution list can only work on the
ASBR that performs the route redistribution action, and can only
of routes, so the distribution list can work normally in this case, but
For example, redistribute directly into OSPF on R1, and use the
external route.
182
Command Function
configuration mode..
ospf configuration
mode
(kernel|connected|static|rip) redistribution
information
introduce these three exterior routing and then out the direction of
the distribution list, will be deployed on R1, and have effect on the
three routing.
183
R1 # router ospf (config)
3.0 routing.
Case 1
R2 is configured as follows:
What this command means here is that only 1.1.1.0 is allowed out
of the reroute from the RIP routing protocol (to the OSPF protocol,
Case 2
184
Open loopback interface 2.2.2.2/24 on R2, R2 reissues RIP into
// there are only 1.1.1.0 routes in R3, that is, the command
redistribute -list 1 out here works for all routes injected from
outside into the OSPF, and only 1.1.0 routes survive.The source of
Case 3
185
// that is, the routing other than 1.1.1.0 that was re-published from
RIP was blocked and the local direct connection port was
republished
Configuration example 3:
Configuration Result
0.0.0.1
186
16.4.4 Routing Maps to Control Routing Updates
Route Map can be used for route redistribution and policy routing,
the packet and forwarded to the specified next hop route. Policy
specifies the action that will be taken if the route update satisfies
187
and setting Route Map configuration commands are specific to a
particular protocol.
except for the match. Therefore, you need at least one match or
setup command.
Like the access list, there is an implicit deny any statement at the
end of the route map. The result of this statement depends on the
Command Function
configuration mode.
configuration mode.
the range of
access_list_number is
188
and 1300-1999 are
standard access-list,
2000-2699 are
extended access-list.
prefix_list_name prefix-list.
access-list, the
access_list_number
range is 1-2699,
1300-1999 are
standard access-list,
100-199 and
2000-2699 are
extended access-list.
189
prefix-list.
the specified
interfaces
specified routing
metrics, metric_value
ranges from
0-4294967295.
tag_value range is
1-4294967295.
metric_value ranges
from 0-4294967295.
measurement value
190
redistributed routing.
redistributed routing.
forwarding.
EXEC mode.
information
Command Function
configuration mode.
ospf configuration
mode
191
Step 3 redistribute Redistribute direct
there.
information
For example
Configuration Result
192
192.168.6.0/24 [302] tag: 0
! 2)switch c execute:redistribute
! [2/500] tag: 0
193
set metric 600 [2/600] tag: 0
Command Function
configuration mode.
configuration mode.
region.
EXEC mode.
194
By default, R3 can learn the inter-area routes of 1.1.1.1,
router ospf
The above command means that the prefix list filter is executed
when three classes of LSA are injected from other regions into the
area0 region.If it's area1 filter-list prefix 100 out, this command
kinds of LSA, able to filter only those generated from the three
195
196
17 IPv6
Command Function
mode.
configuration
vlan_id range:1~4094
interface automatically
generates a link-local
an optional parameter, is
197
specification.
interface.
interface.
mode.
vlan_id information.
198
the link range. The device neighbor items can be created
manually.
Command Function
mode.
address.
discovery table.
199
17.4 IPv6 SLAAC
big feature of IPv6 is that it supports plug and play. IPv6 address
The device can obtain the IPv6 address prefix which carried in the
message is sent once every 600s. The device can also send an RS
link it is connected to, such as the MTU of the link and the hop
limit.
200
17.4.1 IPv6 SLAAC Work Processes
(1) When the node starts up, it sends a request to the router
message, the node will update the preferred lifetime and valid
(3) The node configures IPv6 address and other information of the
201
17.4.2 IPv6 SLAAC Configuration
Command Function
mode.
1-4094.
sends RA messages
default, RA message
suppression is enabled.
suppression.
202
1s and the maximum value is
is 0s.
203
lag to indicate to the host that the
milliseconds) between
advertisements.
204
to 1, the device that received
is 0.
configuration information
205
[off-link] time (in seconds) that the prefix
<0-4294967295| infinite>
Default: 2592000
Preferred-lifetime: The
<0-4294967295| infinite>
Default: 604800
declare a prefix.
address.
206
Step 14 ipv6 nd Set router preferences.
router-preference
(high|medium|low)
default is 0.
17.4.3 Example(pending)
17.5 DHCPv6
parameters to hosts.
advantages:
management.
208
parameters to DHCPv6 clients. A DHCPv6 server can not only
server and the client are not on the same link, you need to forward
server from being deployed on each link. This saves costs and
different clients, and the client uses the DUID to identify the server.
The contents of the client and server DUID are carried in the Client
The format of the two options is the same. The value of the
209
Identifier and the Server Identifier option.
The minimum length is 12 bytes (96 bits) and the maximum length
is 20 bytes (160 bits). The actual length depends on its type. The
Command Function
configuration mode.
<1-4294967295> |duid-uuid
<word>}
configuration.
210
Figure 2:Quickly allocation process with two messages
exchanging
is:
(1) The DHCPv6 client carries the Rapid Commit option in the sent
parameters to it;
DHCPv6 server does not support the fast assignment process, the
211
Figure 3:Allocation process with four messages exchanging
Step Message
Description
type
assigned to it.
212
(3) Request If the DHCPv6 client receives Advertise
the valid life period (Valid Lifetime). After the lease time of the
213
Figure 4:Update address/prefix lease by renew
it. Update the address/prefix lease. If the client can continue to use
Reply packet that failed to renew, notifying the client that it cannot
214
but the response packet from the DHCPv6 server is not received,
the Rebind message and requests to update the lease. If the client
failure, notifying the client that the new lease cannot be obtained. If
the DHCPv6 client does not receive the response packet from the
server, the client stops using the address/prefix after the valid
lifetime expires.
215
stateful configuration flag (1), the DHCPv6 client automatically
configuration is as follows:
packets are received, the client selects the first reply packet and
Command Function
configuration mode.
[lifetime lifetime.
<60-4294967295|infinite>
<60-4294967295|infinite>]
<60-4294967295|infinite> lifetime.
<60-4294967295|infinite>]
217
Step 5 dns-sever <X:X::X:X> Configure the DNS
name.
address.
configuration mode.
VLAN interface
configuration.
vlan_id(1-4094);
network segment on
the interface.
configuration mode.
address pool
information..
DHCPv6 interface
binding information of
219
the DHCPv6 address
pool.
17.5.2.5 Example(pending)
DHCPv6 relay, the DHCPv6 client and the DHCPv6 server are
processed.
220
address FF02::1:2 of all DHCPv6 servers and relays;
(3) The DHCPv6 server parses the client's request from the
DHCPv6 relay.
(4) The DHCPv6 relay resolves the response from the server
server.
Command Function
configuration mode.
221
Step 2 interface vlan vlan_id Add VLAN and enter
VLAN interface
configuration
vlan_id(1-4094);
address on the
network segment of
relay service.
configuration mode.
DHCPv6 interface.
222
Step 1 configure terminal Enter global
configuration mode.
function
VLAN interface
configuration.vlan_id(
1-4094);
custom option37.
information about
configuration mode.
223
option 38 as the following table shows.
Command Function
configuration mode.
function
VLAN interface
configuration.vlan_id(
1-4094);
option38.
information about
configuration mode.
224
17.5.3.5 Example(pending)
static routes and are suitable for some IPv6 networks with simple
structures.
The IPv6 default route is the route used when the router does not
find a matching IPv6 routing entry. There are two ways to generate
225
configuration is ::/0 (prefix length is 0).
Command Function
configuration mode.
<X:X::X:X>
<X:X::X:X>
configuration
Command Function
configuration mode.
subnet routing
226
information.
host routing
information.
information.
Command Function
configuration mode.
to specify the
interface.
227
18 PON Management
Command Function
configuration mode.
configuration mode.
statistics.
packets.
228
Command Function
configuration mode.
configuration mode.
parameters.
Command Function
configuration mode.
configuration mode.
rx-power transceiver
229
18.3 PON Port Configuration
Command Function
configuration mode.
configuration mode.
230
17.1 ONU auto-learn configuration
Command Function
configuration mode.
configuration mode.
if not select.
connected to this PON port. The OLT will check whether there is
231
19 ONU Management
Command Function
configuration mode.
configuration mode.
Command Function
configuration mode.
232
Step 2 interface gpon slot/port Enter PON interface
configuration mode.
{default-onu-profile auto-auth
<profile_name>}*1
Command Function
configuration mode.
configuration mode.
info
Command Function
233
configuration mode.
configuration mode.
Command Function
configuration mode.
configuration mode.
Command Function
234
Step 1 configure terminal Enter global
configuration mode.
configuration mode.
<onu_profile_name>
[hpw|loid+hpw|loid+pw|loid|p
w|sn+hpw|sn+pw|sn]
Command Function
configuration mode.
configuration mode.
<string> to ONU.
description.
235
19.3 ONU Remote Configuration
Command Function
configuration mode.
configuration mode.
optical-info
Command Function
configuration mode.
TFTP server.
236
<pon_num> {<onuid_list>}*1 format is 1-2.
update ONU.
memory,and detele
Notice:
OLT will inform ONU if updated successfully and reset ONU with
onu status.
237
onu info.
Command Function
configuration mode.
<A.B.C.D> address
[status|config] auto-upgrade
238
Command Function
configuration mode.
configuration mode.
Command Function
configuration mode.
configuration mode.
239
Step 4 show onu <onuid> tcont Show ONU TCONT
Command Function
configuration mode.
configuration mode.
<129-4095>}*1 {[queue]
<0-7>}*1
<dba_name>
240
Step 3d onu <1-128> gemport <1-255> Configure GEMPORT
up-queue-map-id <0-3>
{[downstream|bidirection]}*1
<1-255> GEMPORT
GEMPORT
configuration
Command Function
configuration mode.
configuration mode.
241
<1-255> [vlan] <vlan_list>
<cos_list>}*1
<service_name>
Command Function
configuration mode.
configuration mode.
<1-4094>}*1 transparent
242
Step 3b onu <1-128> service-port Configure the vlan
uservlan <1-4094>
{[svlan] <1-4094>}*1
{[new_scos] <0-7>}*1
{[svlan] <1-4094>}*1
{[new_scos] <0-7>}*1
243
<eth_type> [vlan] <1-4094>
<1-4094>}*1 {[new_scos]
<0-7>}*1
{[svlan] <1-4094>}*1
{[new_scos] <0-7>}*1
<1-4094>}*1 {[new_scos]
<0-7>}*1
[enable|disable]
244
description
<1-128> service-port
Command Function
configuration mode.
configuration mode.
[transparent]
[trunk]
245
[tag] vlan <1-4094> {pri bind a vlan
<0-7>}*1
{def_pri <0-7>}*1
<vlan_list>
<0-7>}*1
Command Function
configuration mode.
246
Step 2 interface gpon slot/port Enter PON interface
configuration mode.
[enable|disable] FEC
Command Function
configuration mode.
configuration mode.
{<1-128>} *1
Command Function
configuration mode.
247
configuration mode.
capability
Command Function
configuration mode.
configuration mode.
{[state] [disable|enable]}*1
Command Function
configuration mode.
configuration mode.
[auto|full-10|full-100|full-1000|h
alf-10|half-100]}*1
Command Function
configuration mode.
configuration mode.
{[pause-time] <0-65535>}*1
Command Function
configuration mode.
249
Step 2 interface gpon slot/port Enter PON interface
configuration mode.
[all|<vlanList>]
Command Function
configuration mode.
configuration mode.
[dhcp] mode
<A.B.C.D> {<A.B.C.D>}*1
250
[primary-dns] <A.B.C.D>
{second-dns <A.B.C.D>}*1
<1-255> configuration
Command Function
configuration mode.
configuration mode.
1GE ONU with vlan 100. Uplink DBA mode: assured 10M,
251
Port eth 1
Commit
Exit
Exit
Exit
downstream DN_20M
252
Onu 1 service 1 gemport 1 vlan 100
Vlan 100
Exit
4FE ONU with vlan 41 and vlan 46. Uplink DBA mode: assured
Port veip 1
Commit
Exit
253
2. Create a dba profile
Exit
Exit
Exit
254
DN_20M
Vlan 41
Exit
Vlan 46
Exit
255
19.5 Rogue-onu Configuration
We called this rogue ONT which does not follow the assigned
moment).
19.5.1 Rogue-onu-detect
Command Function
configuration mode.
[enable|disable]
config configuration
256
Step 4 show rogue-onu-detect info Show the result
pon <1-8>
Command Function
configuration mode.
config configuration
257
20 ONU Template Management
1.Create a template
<string>}*1
<string>}*1
modify …
exit
258
{name <string>}*1
The ONU template is used for onu authorization, and each ONU m
ust specify only one ONU template when authorizated. The ONU t
Command Function
configuration mode.
created before.
and gemport.
and flow
259
{[pots] <0-64>}*1 {[iphost] support
profile.only enter
“commit”can submit
the setting
Step 5 exit
Fix<=assure<=max.
260
Command Function
configuration mode.
fixed
assured
maximum
261
<1-4>}*1 {[weight] <1-1000>}*1
<1-1000>}*1
information rate
rate
Size
262
Command Function
configuration mode.
Command Function
configuration mode.
263
<1-255> {[gemport_name]
<gemport_name>}*1 {[portid]
<129-4095>}*1 {[queue]
<0-7>}*1
default, is enable
<cos_list>}*1
<1-255>}*1
{[new_scos] <0-7>}*1
{[svlan] <1-4094>}*1
{[new_scos] <0-7>}*1
265
<eth_type> [vlan] <1-4094> select the type that
<1-4094>}*1 {[new_scos]
<0-7>}*1
<1-4094>}*1 {[new_scos]
<0-7>}*1
{[svlan] <1-4094>}*1
{[new_scos] <0-7>}*1
<1-128> service-port
266
Step 8 no mvlan [all|<vlanlist>] Delete the multicast
vlan
configuration
Command Function
configuration mode.
267
portvlan [eth|wifi|veip] <1-32> Configure portvlan
{[svlan_pri] <0-7>}*1
to untag mode
Step 4b no mvlan [tag-strip] eth <1-32> Delete the the lan port
to untag mode
description
to dhcp mode
{<A.B.C.D>}*1
268
Step 5d iphost <1-255> [primary-dns] Configure the DNS
<A.B.C.D> {second-dns
<A.B.C.D>}*1
setting
configuration
Command Function
configuration mode.
<4-10> sf and sd
<-27~-8> rx-optical
269
Step 3c Tx-optical low <0-5> upper Configure the range of
<0-5> tx-optical
configuration
Command Function
configuration mode.
id <1-32767>
{dba|srv|voip|alarm} all|id
<0-65535> }
<0-65535> bind
270
271
21 ONU Auto-learn Configuration
Command Function
configuration mode.
<onu_profile>
(line-profile|srv-profile|alarm-pro setting
file) <equipid>
file|alarm-profile]}*1
272
21.3 Enable Auto-learn
Command Function
configuration mode.
<profile_name>}*1
configuration
273
22 System Management
these configurations can take effect next time it restarts. Use the
Command Function
configuration mode.
If you need to reset to factory default, you can use the following
reboot automatically.
Command Function
configuration mode.
274
22.2.3 Show Startup Configurations
saved.
Command Function
configuration mode.
Command Function
configuration mode.
configurations.
Command Function
A.B.C.D is TFTP
server IP
A.B.C.D is TFTP
server IP
Command Function
276
show task Showthread name
Command Function
configuration mode.
information.
Command Function
configuration mode.
time.
277
22.4 System Basic Configurations
Command Function
configuration mode.
with alphabet.
Command Function
278
Step 1 configure terminal Enter global
configuration mode.
number.
Command Function
configuration mode.
[<second>] timeout
timeout to default
command-line
timeout
279
22.5 System Basic Operations
Command Function
configuration mode.
Command Function
configuration mode.
byte.
280
Command Function
configuration mode.
22.5.4 Telnet
Command Function
default.
default.
281
Command Function
configuration mode.
second <0-59>
Device will update the time auto when you enable the NTP
Command Function
configuration mode.
server
282
22.5.7 Timezone Configuration
Command Function
configuration mode.
timezone
Command Function
configuration mode.
Temperature of the
fan
open mode
configuration and
283
current equipment
temperature
information.
Command Function
configuration mode.
packets.
packets.
debug information.
284
Command Function
configuration mode.
information.
285
23 User Management
There are two privileges for user, administrator user and normal
user.
admin too. Default user can’t be deleted, modified, but you can
Command Function
configuration mode.
login-password account.
login-password
286
Step 3 user role user-name {admin | Specify user role. New
Command Function
configuration mode.
list.
Command Function
configuration mode.
Every user can modify its own password while administrator user
Command Function
287
Step 1 configure terminal Enter global
configuration mode.
New Password:
Confirm Password:
New Password:
Confirm Password:
288
24 SNMP Configuration
and agent. NMS is a station that runs client program, and agent is
Object Identifier.
GPON OLT supports SNMP V1, V2C and V3. Common MIB shows
MIB
MIB content Refer to
attribute
MIB II based on
RFC1213
Public TCP/IP
290
VLAN MIB
MIB Interface
management
Command Function
configuration mode.
[ro| rw ]
community
configuration
configuration mode to
return to the
291
privileged user
configuration mode
Command Function
configuration mode.
value
community
3a snmp function
292
Step no snmp-server enable traps Delete SNMP traps
3b snmp function
targetaddress configuration
Command Function
configuration mode.
string value
contact configuration.
configuration.
293
Command Function
configuration mode
string value
location configuration.
configuration.
294
25 Alarm and Event Management
If you enable alarm report, it will trigger alarm events when system
Alarms include fault alarm and recovery alarm. Fault alarm will not
ONU LOID conflication, ONU link los, ONU dying gasp, ONU
and so on.
download-file-fail
Download file failed enable
ed
upgrade-file-faile
Upgrade firmware failed. enable
d
Command Function
configuration mode.
cpu-usage-high|mem-usage- report.
high} disable
alarm-value: alarm
threshold.
clear-value: clear
threshold.
297
Step 2c alarm Enable or disable
ck|
register-failed|deregister}{ena
ble|disable}
configurations.
PON alarms, ensure PON works well. The following table shows
298
threshold.
Command Function
configuration mode.
gister} {enable|disable}
high| report.
pon-txbias-low|pon-vcc-high|
pon-vcc-low|pon-temp-high|
pon-temp-low| pon-los}
{enable|disable}
299
configurations.
Command Function
configuration mode.
configuration mode.
tx_power_low|tx_bias_high|tx
temp_high|temp_low} disable
threshold.
300
Step 4 show alarm pon optical Show PON port alarm
configuration configurations.
ONU alarms also can help administrator to get rid of some ONU
onu-illegal-regist
Illegal ONU register. enable
er
Command Function
configuration mode.
onu-illegal-register|onu-auth-
failed|
onu-mac-conflict|onu-loid-co
nflict|
onu-critical-event|onu-dying-
gasp|
onu-link-fault|onu-link-event|
onu-event-notific}
{enable|disable}
configurations.
so on.
303
cess successful.
Command Function
configuration mode.
configurations.
PON events, ensure PON works well. The following table shows
Command Function
configuration mode.
304
{pon-register|pon-los-recover event report.
y} {enable|disable}
configurations.
ONU events also can help administrator to get rid of some ONU
Command Function
configuration mode.
er|
onu-auth-success|onu-deaut
305
h-success} {enable|disable}
configuration.
306
26 System Log
debug or check system status, and also can be sent to a server for
on.
Alarm log
respectively.
Event log
respectively.
Operation log
SNMP.
Debug log
7:emergenci
Abnormal log
es
Alarm/event log(urgent)
6:alerts
Abnormal log
308
Alarm/event log(major)
5:critical
Abnormal log
Alarm/event log(minor)
4:major
Abnormal log
Alarm/event log(warning)
3:warnings
Abnormal log
2:notification
Operation log
s
1:informatio
Operation log
nal
Command Function
configuration mode.
warning|major|critical|alert|e
merg}]
309
26.3.2 Clear System Log
Command Function
configuration mode.
warning|major|critical|alert|e
merg}]
Command Function
configuration mode.
server configuration.
server configuration.
Command Function
310
Step 1 configure terminal Enter global
configuration mode.
merg}
in flash.
Command Function
configuration mode.
flash.
Command Function
configuration mode.
flash.
311
26.3.7 Upload System Log
Command Function
configuration mode.
312