Beruflich Dokumente
Kultur Dokumente
ZTE CORPORATION
NO. 55, Hi-tech Road South, ShenZhen, P.R.China
Postcode: 518057
Tel: (86) 755 26771900
Fax: (86) 755 26770801
URL: http://ensupport.zte.com.cn
E-mail: support@zte.com.cn
LEGAL INFORMATION
Copyright 2010 ZTE CORPORATION.
The contents of this document are protected by copyright laws and international treaties. Any reproduction or distribution of
this document or any portion of this document, in any form by any means, without the prior written consent of ZTE CORPORATION is prohibited. Additionally, the contents of this document are protected by contractual confidentiality obligations.
All company, brand and product names are trade or service marks, or registered trade or service marks, of ZTE CORPORATION
or of their respective owners.
This document is provided as is, and all express, implied, or statutory warranties, representations or conditions are disclaimed, including without limitation any implied warranty of merchantability, fitness for a particular purpose, title or non-infringement. ZTE CORPORATION and its licensors shall not be liable for damages resulting from the use of or reliance on the
information contained herein.
ZTE CORPORATION or its licensors may have current or pending intellectual property rights or applications covering the subject
matter of this document. Except as expressly provided in any written license between ZTE CORPORATION and its licensee,
the user of this document shall not acquire any license to the subject matter herein.
ZTE CORPORATION reserves the right to upgrade or make technical change to this product without further notice.
Users may visit ZTE technical support website http://ensupport.zte.com.cn to inquire related information.
The ultimate right to interpret this product resides in ZTE CORPORATION.
Revision History
Revision No.
Revision Date
Revision Reason
R1.0
2010-10-30
First Edition
Serial Number:
Contents
II
III
Overview.................................................................... 195
Configuring UAPS ........................................................ 195
Configuring CL1A 1+1 Protection ................................... 198
Configuring Link Aggregation ........................................ 200
IV
Intended
Audience
Prerequisite Skill
and Knowledge
What Is in This
Manual
To use this document effectively, users should have a general understanding of network technology. Familiarity with the following
is helpful:
Maintenance procedures
Summary
II
Chapter
Summary
Related
Documentation
Conventions
Chapter
Summary
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Documentation Guide
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Feature Description
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Product Description
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Hardware Description
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Cabinet Installation Guide
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Configuration Manual (NetNumen)
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Maintenance Manual
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Alarm and Notification Message Reference
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command Reference (Volume I)
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command Reference (Volume II)
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command Reference (Volume III)
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command Reference (Volume IV)
ZXA10 C220 (V1.2.1) xPON Optical Access Convergence Equipment Command Reference (Volume V)
III
Typeface
Meaning
Italics
Quotes
Links on screens.
Bold
CAPS
IV
Typeface
Meaning
Click
Doubleclick
Right-click
Declaration of RoHS
Compliance
To minimize the environmental impact and take more responsibility to the earth we live, this document shall serve as formal declaration that the ZXA10 C220 manufactured by ZTE CORPORATION
is in compliance with the Directive 2002/95/EC of the European
Parliament - RoHS (Restriction of Hazardous Substances) with respect to the following substances:
Lead (Pb)
Mercury (Hg)
Cadmium (Cd)
II
Chapter
Basic Configuration
Table of Contents
Management Modes ............................................................ 1
NM Configuration................................................................ 5
Physical Configuration ........................................................12
Management Modes
The ZXA10 C220 supports the following management modes:
HyperTerminal
Telnet
The serial port of the maintenance console computer is connected to the CLI port of the ZXA10 C220 control and switching
card through a serial port cable.
Context
Steps
2. Enter Name and click OK. The Connect To dialog box is displayed, as shown in Figure 2.
FIGURE 2 CONNECT TO DIALOG
BOX
3. Select COM1 or COM2, and then click OK. The COM1 Properties dialog box is displayed, as shown in Figure 3.
Select 9600 for Bits per second, 8 for Data bits, None for Parity, 1 for Stop bits, and None for Flow control. Click OK.
END OF STEPS
Result
Context
Steps
END OF STEPS
Result
NM Configuration
The ZXA10 C220 supports both in-band NM and out-of-band NM.
In-band NM is implemented through the uplink port. It is usually used in practical engineering.
Configuring In-Band NM
Short Description
Prerequisites
Context
Networking
Diagram
Data Scheme
Data
In-band NM interface
Router interface
IP address: 10.67.1.254/24
SNMP server
IP address: 10.63.10.105/24
Version: V2C
Community name: public
Alarm level: NOTIFICATIONS
Configuration
Flow
Note:
This section describes the configuration on the ZXA10 C220. The
corresponding data must be configured on the router as well.
To configure in-band NM, perform the following steps:
Steps
ii.
Note:
The out-of-band and in-band NM IP addresses cannot be in
the same network segment.
2. Configure the IP address of the in-band NM interface.
i.
ii.
Note:
Besides the ZTE NetNumen NMS, the network may contain a
third-party NMS that receives the reported traps, so multiple
SNMP server hosts can be configured.
6. (Optional) Configure the trap types that can be sent.
Result
Configuring Out-Of-Band NM
Short Description
Prerequisites
Context
Networking
Diagram
Data Scheme
Configuration
Flow
Items
Data
Out-of-band NM interface (Q
interface)
IP address: 136.1.1.10/24
Router interface
IP address: 136.1.1.254/24
SNMP server
IP address: 10.63.10.105/24
Version: V2C
Community: private
Alarm: NOTIFICATIONS
Note:
This section describes the configuration on the ZXA10 C220. The
corresponding data must be configured on the router as well.
To configure out-of-band NM, perform the following steps:
Steps
10
i.
ii.
Note:
The out-of-band and in-band NM IP addresses cannot be in the
same network segment.
2. Configure the out-of-band NM route.
ZXAN(config)#ip route 10.63.10.0 255.255.255.0 136.1.1.254
Note:
Besides the ZTE NetNumen NMS, the network may contain a
third-party NMS that receives the reported traps, so multiple
SNMP server hosts can be configured.
5. (Optional) Configure the trap types that can be sent.
The ZXA10 C220 supports six types of traps: SNMP, BGP,
OSPF, RMON, STALARM, and VPN. All traps are enabled by default and do not need to be configured. To configure the trap
11
Result
Physical Configuration
This section includes the following:
Adding a Rack
Adding a Shelf
Adding a Card
Deleting a Card
Resetting a Card
Adding a Rack
Short Description
Prerequisites
Context
Steps
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
12
Note:
The ZXA10 C220 supports only one rack at present, and thus
rackno can only be 0.
END OF STEPS
Result
Adding a Shelf
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
Note:
The ZXA10 C220 supports only one shelf at present, and thus
shelfno can only be 1.
3. Use the show shelf command to check whether the shelf is
successfully added.
ZXAN(config)#show shelf
Rack
Shelf
ShelfType
ConnectId
CleiCode
-------------------------------------------------------1
1
ETSI_SHELF
0
BVM5Z00GRA
END OF STEPS
Result
13
ZXAN(config)#show card
Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status
-------------------------------------------------------------1
1
10
SCXL
SCXL
0
080600 V1.0T7 INSERVICE
1
1
11
SCXL
0
OFFLINE
Adding a Card
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
2. Add cards.
i.
14
14
GPFA
GPFAB
V0
V1.2.1
INSERVICEE
END OF STEPS
Result
DISABLE: The card is added and is online, but the system fails
to receive the card information.
END OF STEPS
Result
The system displays the shelf, rack, and slot numbers of the main
control cards and subscriber cards, as well as the card configured
type, actual type, hardware version, software version, and card
states.
Deleting a Card
Short Description
Prerequisites
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
15
Context
Steps
END OF STEPS
Result
Resetting a Card
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
Steps
END OF STEPS
Result
16
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
When the active control and switching card is faulty, swap it to the
standby control and switching card.
To swap the active control and switching card with the standby
control and switching card, perform the following steps:
Steps
2. Use the swap command to swap the active main control card
to the standby main control card.
ZXAN#swap
Confirm to master swap? [yes/no]:y
END OF STEPS
Result
The active control and switching card is swapped with the standby
control and switching card.
17
18
Chapter
EPON Service
Configuration
Table of Contents
EPON Basic Service Configuration ........................................19
10G EPON Service Configuration..........................................45
EPON Protection Configuration.............................................50
Overview
Authenticating an ONU
ONU Configuration
Overview
Service
Description
Service
Specifications
19
Context
Networking
Diagram
20
Data
Remarks
VLAN
Upstream port
0/6/1
OLT port
0/5/4
ONU information
Type: F820
MAC address:
0019.c600.0011
ONU ID: 1
Port ID for
the ONU to be
connected to PC:
No.1 ETH port
Upstream: 5
Mbps
Downstream: 10
Mbps
ONU bandwidth
Requirements for
upstream devices
Ethernet Switch
Ethernet Layer-2
Switch transmits
the ZXA10 C220
service packets
transparently.
Configure the
VLAN connected
with the ZXA10
C220 device and
keep the VLAN ID
consistent with
the ZXA10 C220
uplink VLAN.
For detailed ES
and BRAS device
configuration, refer to
the relevant operation
manual.
Note:
According to the authentication and accounting requirements
of dial-in users, complete the BRAS configuration, for example,
the access user domain (including the authentication scheme,
accounting scheme, and authorization scheme that the domain
needs to bind) and specify the RADIUS server.
21
Configuration
Flow
1. Create a VLAN.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#vlan 100
ZXAN(config-vlan)#exit
ZXAN(config)#
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface gei_0/6/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config-if)#exit
22
epon-onu_0/5/4:1
0019.c600.0011
deny
2009/08/19 11:12:29
ZXAN(config)#
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
6. Set the ONU upstream and downstream bandwidth.
ZXAN(config-if)#sla upstream maximum 5120
ZXAN(config-if)#sla downstream maximum 10240
Note:
F820 provides at most 24 FE interfaces ranging from eth_0/1
to eth_0/24.
9. Save the data.
ZXAN(config)#exit
ZXAN#write
Building configuration...
..[OK]
Result
23
Prerequisites
Context
When the new ONU type does not exist in the system, perform this
procedure.
Users can use the show onu-type epon command to view the
default ONU types in the system.
To configure the ONU type profile, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the pon command to enter the PON configuration mode.
3. Use the onu-type command to add an ONU type profile.
Note:
In the ZXA10 C220 system, the ONU type name must be unique
in EPON and GPON service.
4. Use the onu-type-if command to configure the user port of
the new ONU type.
5. Use the EPON command to enter the EPON configuration
mode.
6. Use the auto-dispatch-set command to enable or disable
auto-dispatch for the new ONU type.
Note:
After auto-dispatch is enabled, the OLT automatically dispatches the configuration, covering the ONU local configuration
data, when the ONU gets online.
7. Use the show onu-type epon command to view the properties of the new ONU type.
END OF STEPS
Result
Example
24
Authenticating an ONU
Short Description
Prerequisites
Context
25
Result
Example
Context
The ZXA10 C220 supports the following ONU bandwidth configuration methods:
26
FOR
CONFIGURING
THE
ONU BANDWIDTH
Parameter
Description
Assured
bandwidth
Maximum
bandwidth
Maximum burst
size
Parameter
Description
Priority
Fixed bandwidth
Fixed packet
length
1. Use the configure terminal command to enter the global configuration mode.
2. Use the interface command to enter the ONU interface configuration mode.
3. Use the sla upstream command to configure the ONU upstream bandwidth.
4. Use the sla downstream command to configure the ONU
downstream bandwidth.
5. Use the show onu sla upstream command to view the ONU
upstream bandwidth.
6. Use the show onu sla downstream command to view the
ONU downstream bandwidth.
END OF STEPS
Result
Example
Data
Assured bandwidth
10000 Kbps
Maximum bandwidth
100000 Kbps
Maximum bandwidth
10240 Kbps
Upstream
Downstream
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#interface epon-onu_0/5/4:1
ZXAN(config-if)#sla upstream assured 10000 maximum 10000
ZXAN(config-if)#sla downstream maximum 10240
ZXAN(config-if)#show onu sla upstream epon-onu_0/5/4:1
27
ID
MaxBw
MinBw
FixBw
FixPkt MaxBurst Pri ProfileName
(Kbps) (Kbps) (Kbps) (Bytes) (Bytes)
-----------------------------------------------------------1
10000
10000
0
64
45000
0
N/A
ZXAN(config-if)#show onu sla downstream epon-onu_0/5/4:1
ID MaxBw(Kbps) MaxBurstSize(Bytes) ProfileName
--------------------------------------------------------------1
10240
208600
N/A
Context
The ZXA10 C220 supports the following ONU bandwidth configuration methods:
Parameter
Default Value
Upstream
Maximum bandwidth
2000 Kbps
Minimum bandwidth
1000 Kbps
Fixed bandwidth
64 byte
45000 byte
Priority
Maximum bandwidth
512 Kbps
45000 byte
Downstream
1. Use the configure terminal command to enter the global configuration mode.
2. Use the epon command to enter the EPON configuration mode.
3. Use the onu-sla-profile profile-name create command to
create a bandwidth profile.
28
Note:
Among the upstream bandwidth configuration parameters, the
assured bandwidth and maximum bandwidth parameters are
mandatory. The default values are recommended for other
parameters.
Among the downstream bandwidth configuration parameters,
the maximum bandwidth parameter is mandatory. The system
automatically calculates and sets the maximum burst size parameter according to the maximum bandwidth.
5. Use the show epon onu-sla-profile command to view the
bandwidth profile.
6. Use the exit command to exit the EPON configuration mode.
7. Use the interface command to enter the ONU interface configuration mode.
8. Use the sla-profile command to apply the bandwidth profile
to the ONU.
9. Use the show onu sla command to view the ONU bandwidth
configuration.
END OF STEPS
Result
Example
Data
Upstream
Downstream
Fixed bandwidth
2000 Kbps
Maximum bandwidth
5000 Kbps
Maximum bandwidth
10000 Kbps
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#epon
ZXAN(config-epon)#onu-sla-profile profile-name create zte
ZXAN(config-epon)#onu-sla-profile profile-set zte upstream assured 2000
maximum 5000
ZXAN(config-epon)#onu-sla-profile profile-set zte downstream maximum 10000
ZXAN(config-epon)#show epon onu-sla-profile zte
ProfileName :zte
UpStream
MaxBw
MinBw
FixBw
FixPktSize MaxBurstSize Priority
(Kbps)
(Kbps)
(Kbps)
(Bytes)
(Bytes)
----------------------------------------------------------------------5000
2000
0
64
45000
0
Downstream
MaxBw(Kbps) MaxBurstSize(Bytes)
29
-----------------------------------------------------------------10000
205000
Onu reference:
ZXAN(config-epon)#exit
ZXAN(config)#interface epon-onu_0/5/4:1
ZXAN(config-if)#sla-profile zte
ZXAN(config-if)#show onu sla upstream epon-onu_0/5/4:1
ID MaxBw
MinBw
FixBw
FixPkt MaxBurst Pri ProfileName
(Kbps) (Kbps) (Kbps) (Bytes) (Bytes)
-----------------------------------------------------------1
5000
2000
0
64
45000
0
zte
ZXAN(config-if)#show onu sla downstream epon-onu_0/5/4:1
ID MaxBw(Kbps) MaxBurstSize(Bytes) ProfileName
--------------------------------------------------------------1
10000
205000
zte
Context
In-band configuration
Create an ONU in-band NM channel, and then log in to the
ONU to implement configuration. The data are configured on
the ONU and needs to be saved on the ONU.
The ONU in-band NM IP address refers to the IP address that
can be connected to the ONU through the ZXA10 C220 uplink
port. The ONU can be configured and upgraded through this
IP address.
30
Note:
In an actual project, the user does not need to configure the
in-band NM IP addresses for all the ONUs. Configure the in-band
NM IP addresses for the ONUs that need voice configuration or
upgrade, such as ZTE-F820 and ZTE-F822.
It is recommended to configure the ONU in-band NM IP address in
the same management VLAN and network segment as the ZXA10
C220 device. Then, the NMS server can connect the ONU when it
connects the OLT.
To configure the ONU in-band IP address, perform the following
steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the vlan command to create the ONU in-band NM VLAN.
3. Use the interface command to enter the ONU interface configuration mode.
4. Use the switchport mode command to change the PON-ONU
port mode.
5. Use the switchport vlan command to add the PON-ONU port
to the NM VLAN in tagged mode.
6. Use the interface command to enter the OLT uplink port configuration mode.
7. Use the switchport mode command to change the OLT uplink
port mode.
8. Use the switchport vlan command to add the OLT uplink port
to the NM VLAN in tagged mode.
9. Use the pon-onu-mng command to enter the ONU remote
management mode.
10. Use the mgmt-ip command to set the ONU in-band NM IP
address.
END OF STEPS
Result
Example
31
Postrequisite
Carry out the ping command on the OLT to check whether the
ONU in-band IP address is successfully configured.
ZXAN#ping 198.2.128.5
sending 5,100-byte ICMP echos to 10.1.1.2,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/8/40 ms.
//The ONU in-band IP address is successfully configured.
ONU Configuration
In EPON service configuration, the configuration procedures for D
series and F series are the same. The configuration procedure for
ZXDSL 9806H is different.
This topic includes the following:
Context
Direction
Handling
Transparent
Upstream
Downstream
32
Mode
Direction
Handling
Tag
Upstream
Downstream
Translation
Upstream
Downstream
Aggregation
Upstream
Downstream
33
Mode
Direction
Handling
system transfers the frame VID to the
corresponding aggregated VLAN, and
then forwards the frame. If the original
VID is the default VID, the system strips
the tag and forwards the frame. If the
VLAN ID of the frame is different from
VLAN to be aggregated or default VLAN
ID, the system discards the frame.
The system discards the untagged
frame.
Trunk
Upstream
Downstream
34
Mode
Direction
Handling
Hybrid (for
the ONUs
that do
not support
the CTC2.1
standard)
Upstream
Downstream
1. Use the configure terminal command to enter the global configuration mode.
2. Use the pon-onu-mng command to enter the ONU remote
management mode.
3. Use the vlan port command to configure the ONU Ethernet
port VLAN.
4. Use the show remote onu vlan to view the ONU VLAN configuration information.
END OF STEPS
Result
Example
:
:
:
:
Eth_0/1
tag
100
1
Ethport
Mode
vlan
priority
:
:
:
:
Eth_0/2
tag
4092
0
Ethport
Mode
vlan
priority
:
:
:
:
Eth_0/3
tag
4092
0
35
Context
Steps
ii. Use the vlan command to configure the VLAN uplink port.
9. Configure the in-band NM IP address and route.
i.
ii. Use the vlan command to configure the VLAN uplink port
and service port.
11. Use the adsl-profile command to configure the line profile.
12. Use the adsl-alarm-profile command to configure the alarm
profile.
13. Configure the service port properties.
i.
ii. Use the atm pvc command to configure the port PVC.
36
iii. Use the adsl profile command to apply the line profile to
the port.
iv. Use the adsl alarm-profile command to apply the alarm
profile to the port.
v. Use the adsl trans-mode command to configure the line
transmission mode.
END OF STEPS
Result
Example
Data
0/14/1
0/3/2
5/1
2/124
In-band NM
Name: zte2m
Downstream bandwidth: 2
Mbps
Others: default
MODEM PVC
8:81
37
38
Context
Steps
Use the alarm enable/disable command to enable or disable the global alarm function.
39
iii. Use the classification port command to configure the upstream classification rule and the mapping control rule on
the EPON-ONU Ethernet port. That means, use this command to add the service stream according with the classification profile to the defined queue of the mapping rule,
and map to the corresponding 802.1p priority.
9. Use the mac command to configure the MAC address information on the user port. Set the maximum MAC addresses
supported by the port. Add or delete three types of MAC address information: filtered the MAC address/VLAN, bound MAC
address/VLAN, and static MAC address/VLAN.
i.
ii. Use the mac add command to add the user port MAC
address information, including the filtered the MAC address/VLAN, bound MAC address/VLAN, and static MAC
address/VLAN.
iii. Use the mac delete command to delete the user port
MAC address information, including the filtered the MAC
address/VLAN, bound MAC address/VLAN, and static MAC
address/VLAN.
iv. Use the mac clear command to clear all the user port
MAC address information, including the filtered the MAC
address/VLAN, bound MAC address/VLAN, and static MAC
address/VLAN.
v. Use the mac limit-num command to set the maximum
MAC addresses that the user port can learn.
10. Use the dba command to set the DBA queue parameter of the
ONU.
i.
Note:
It is recommended to enable the auto-negotiation function
on the ONU Ethernet port.
ii. Use the interface eth eth_slot/portId flow-control command to set traffic control on the ONU Ethernet port.
iii. Use the interface eth eth_slot/portId mode command to
configure the ONU Ethernet port mode.
40
iv. Use the interface eth eth_slot/portId phy-state command to enable or disable the Ethernet port.
v. Use the interface eth eth_slot/portId policing command
to set the upstream and downstream traffic control parameters on the ONU Ethernet port, including CIR, CBS, and
EBS.
vi. Use the interface eth eth_slot/portId policing-profile
command to set the bandwidth profile on the ONU Ethernet
port.
Note:
Before carrying out this command, create a bandwidth profile on the ONU user port by using the following commands:
ZXAN(config)#epon
ZXAN(config-epon)#onu-uni-profile profile-name create zte
ZXAN(config-epon)#onu-uni-profile profile-set
zte downstream cir 2000 cbs 1522 ebs 1522
ZXAN(config-epon)#onu-uni-profile
profile-set zte upstream cir 2000
Note:
Before carrying out this command, create an ONU queue
scheduling profile by using the following commands:
ZXAN(config)#epon
ZXAN(config-epon)#onu-queue-profile zte queue1 64 0 20 25 4
18. Use the pon-buffer command to set the upstream and downstream buffer capacity of the ONU.
41
Note:
The total upstream and downstream buffer capacity of each
SFU cannot be less than 256 KB.
The MDU/MTU buffer capacity cannot be less than 64 KB user
ports.
19. Use the pon-downstream-shaping command to set the traffic shaping parameter on the ONU user port.
20. Use the reboot command to restart the ONU.
21. Use the reset-card command to restart the ONU card.
22. Use the transceiver command to set the threshold detection
function of the ONU optical module performance.
i.
ii. Use the transceiver disable command to disable the detection function.
iii. Use the transceiver alarm command to set the threshold
detection alarm of the ONU optical module performance.
23. Use the save command to save the configuration data of the
ONU.
END OF STEPS
Result
Example
Context
Steps
42
Note:
The relation between maxrtt and distance is as follows:
Distance (fiber length) = maxrtt/2 fiber optical speed
(1.64E8 approximately)
13. Use the multi-llid command to set multi-LLID function and
the maximum LLID number. This command is applicable for
the ONU that support multiple LLIDs.
14. Use the dba-priority command to set the rolling rates for different DBA priorities. To allocate bandwidth to the services
with higher priorities first, set shorter rolling period and higher
authority frequency for these priorities.
15. Use the fec command to enable or disable the FEC function on
the PON port.
16. Use the high-priority-frame command to set the downstream frame with the specified priority to high-priority frame.
17. Use the priority-queue-map command to set mapping
relations between the priorities of the upstream/downstream
frame on the OLT port and the queues.
43
i.
Note:
0/3 in the commands means shelf/slot.
44
Overview
Overview
Service
Description
The principle of the 10G EPON service is similar with that of the
EPON service. 10G EPON can provide 10 Gbps bandwidth for subscribers.
Service
Specifications
The ZXA10 C220 supports the 10G EPON access service through
the EPXS service card. Each card provides one 10G EPON ports.
A 10G EPON port can reach up to 1.25 Gbps upstream rate and
10.3125 Gbps downstream rate. A single port supports up to 128
ONUs and a single shelf supports up to 1280 ONUs.
Context
Networking
Diagram
45
Table 10 lists the data scheme for the 10G EPON access service.
TABLE 10 10G EPON ACCESS SERVICE DATA SCHEME
Item
Data
Remarks
VLAN
Uplink port
0/2/1
OLT port
0/5/1
ONU information
46
Type: F822
MAC address:
001e.7391.5f36
ONU ID: 1
Port through
which the ONU
connects the
computer:
Ethernet port 1
Item
Data
Remarks
ONU bandwidth
Downstream: 1 Gbps
Requirements on the
uplink device
Ethernet switch:
The Ethernet
Switch
transparently
transmits the
ZXA10 C220
service packets
at layer 2.
Configure the
VLAN that the
ZXA10 C220
device accesses.
The VLAN ID is
consistent with
the uplink VLAN
of ZXA10 C220.
For detailed ES
and BRAS device
configuration, refer to
the relevant operation
manual.
Note:
According to the requirements on the dial-up subscriber authentication and accounting, complete the BRAS configuration. For
example, configure the access user domain (including the AAA solutions) and specify the RADIUS server.
Configuration
Flow
47
1. Create a VLAN.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#vlan 100
ZXAN(config-vlan)#exit
ZXAN(config)#
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface xgei_0/2/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config-if)#exit
48
epon-onu_0/5/1:1
001e.7391.5f36
deny
2008/01/01 22:34:29
ZXAN(config)#
6. Enter the EPON-ONU interface mode. Enable the interface authentication protocol.
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#admin enable
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
7. Set the upstream and downstream bandwidth of the ONU.
ZXAN(config-if)#sla upstream maximum 102400
ZXAN(config-if)#sla downstream maximum 1024000
49
ZXAN(config-if)#exit
Note:
F822 can provide 24 FE interfaces, ranging from eth_0/1 to
eth_0/24.
10. Save the configuration data.
ZXAN(config)#exit
ZXAN#write
Building configuration...
..[OK]
Result
EPON Protection
Configuration
This section includes the following:
Overview
Overview
50
Introduction
Service
Description
With the popularity of the Internet bandwidth service, users require powerful functions and stable performance on the network
services. The ZXA10 C220 device uses the active/standby mode
to ensure stable operation. It has the PON port protection mechanism. When the service is interrupted due to the physical disconnection between the ZXA10 C220 device and the ONU, the system
switches to the standby PON port to recover the service.
Service
Specifications
Force switchover
Alarm triggering
Manual switchover
Prerequisites
Networking
Diagram
The ZXA10 C220 connects the remote ONU devices through two
EPON interfaces, providing users with high-speed Internet service
in PON port protection.
Before this operation, make sure that:
The ONU connects two EPON ports of the ZXA10 C220 through a
splitter to achieve PON port protection.
51
Type A
Type A is the OLT-side redundancy protection. The two PON
ports of the OLT use one PON MAC chip and are connected to
the two optical modules through the 1:2 electrical switch to
achieve protection on the two PON ports. The OLT side of the
splitter has two input ports and multiple output ports, which
are applicable for protection between the PON ports on the
same PON card. This type of protection can only recover the
OLT-side service.
Type B
Type B is the OLT-side redundancy protection. The two PON
ports of the OLT use independent PON MAC chips and optical modules to achieve protection on the two PON ports. The
OLT side of the splitter has two input ports and multiple output ports, which are applicable for protection between the PON
ports on the same PON card and among different PON cards.
This type of protection can only recover the OLT-side service.
Type C
Type C is the OLT-side and ONU-side full redundancy protection, also known as full duplex protection. The two PON ports
on the OLT, two optical modules on the ONU, backbone fiber,
splitter, and distribution fiber all use dual-route redundancy.
This type of protection is implemented in the following modes:
The ONU uses one PON MAC chip and different optical modules,
and the standby optical module is in cold standby state. In
this configuration mode, the system can switch to the standby
device to recover the service at any time.
Type D
Type D is the OLT-side and ONU-side full redundancy protection, also known as full duplex protection. The two PON ports
on the OLT, two PON ports on the ONU, backbone fiber, splitter,
and distribution fiber all use dual-route redundancy. This type
of protection is implemented in the following modes:
The ONU uses different PON MAC chips and different optical
modules. In this configuration mode, the system can switch to
the standby device to recover the service at any time.
Data Scheme
52
Table 11 lists the data scheme for the EPON protection service.
Data
zte
Working port
1/7/7
Protection port
1/7/8
Configuration
Flow
1. Enter the PON mode and configure the EPON protection group.
In PON mode, use the protection group command to create
the EPON protection group.
ZXAN(config)#pon
ZXAN(config-pon)#protection group zte workpon
epon-olt_0/5/1 protectpon epon-olt_0/5/2 typeB
[Successful]
ZXAN(config-pon)#show protection group list
zte
53
zte
epon-olt_0/5/1
epon-olt_0/5/2
typeB
revertive
120
work-channel
OLTSF CardOff
OLTSF CardOff
no-request
3. (Optional) Configure the switchover mode between the working port and protection port of the protection group.
Use the protection switch-command command to configure
the switchover mode between the working port and protection
port of the protection group. This instance uses the default
mode (no switchover mode). To configure the mode, use the
following command:
ZXAN(config-pon)#protection switch-command group zte force p2w
54
Note:
The priorities from high to low are as follows:
Clear all
Lock protection
If a lower priority is configured after a higher priority is configured, the lower one does not take effect. It is necessary to
clear the previous mode and then configure the lower priority.
4. Save the configuration data.
ZXAN(config-pon)#end
ZXAN#write
Building configuration...
..[OK]
Result
55
56
Chapter
GPON Service
Configuration
Table of Contents
Overview..........................................................................57
Configuring GPON Service...................................................57
Configuring the ONU Type Profile .........................................62
Authenticating an ONU .......................................................63
Configuring the T-CONT Profile ............................................65
Configuring the Traffic Profile ..............................................67
Configuring the Service Connection......................................68
Configuring the ONU In-Band IP Address ..............................70
Configuring the OLT Port.....................................................72
GPON Protection Configuration ............................................73
Overview
Service
Description
Service
Specifications
The ZXA10 C220 supports GPON access service through the GPFAB/GPFAC/GPFAE card:
Each GPFAB/GPFAC/GPFAE card provides four GPON interfaces,
supports the splitting ratio of 1:128 at the maximum. A single
shelf supports up to 5120 ONUs.
57
Context
Networking
Diagram
58
Configuration
Flow
Data Scheme
Data
VLAN
Service priority
Upstream port
0/2/1
GPON port
0/10/1
Bandwidth profileT-CONT
59
Item
Data
Bandwidth: 100 Mbit/s
ONU
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG00000002
ONU type: ZTE-F621
Port through which the ONU
connects the computer:
eth_0/1
T-CONT
T-CONT INDEX: 2
T-CONT name: Tcont100M
Bandwidth profile: T1-100M
Alloc ID: Auto-allocate
GEM Port
T-CONT INDEX: 2
GEM Port INDEX: 1
GEM Port name: Gemport1
Port ID: Auto-allocate
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface xgei_0/2/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 100 tag
ZXAN(config-if)#exit
60
6. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 2 name Tcont100M profile T1-100M
Note:
By default, one V-port corresponds to one GEM port.
9. Configure the ONU service channel.
i.
ii.
Note:
The priority is 0. That means, the upstream data with the
priority of 0 is mapped to the GEM port.
iii. Create the connection between the UNI port and bridge.
By default, all the UNI ports are bound to switch_0/1. To
use other bridges, refer to the topic Configuring the Service
Connection.
iv. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-filter
untag-filter discard
v.
61
Note:
F621 provides 6 user ports: eth_0/1 to eth_0/6.
Note:
Because the VLAN filter mode is set to VLAN ID in the previous step, the priority 0 does not take effect here.
10. Save the configuration data.
ZXAN#write
Building configuration...
..[OK]
ZXAN#
Result
Context
When the new ONU type does not exist in the system, perform this
procedure.
Users can use the show onu-type gpon command to view the
default ONU types in the system.
To configure the ONU type profile, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the pon command to enter the PON configuration mode.
3. Use the onu-type command to add an ONU type profile.
62
Note:
In the ZXA10 C220 system, the ONU type name must be unique
in EPON and GPON service.
4. Use the onu-type-if command to configure the user port of
the new ONU type.
END OF STEPS
Result
Example
:
:
:
:
:
ZTEG-F820
gpon
24FE
7
32
1
32
1
support
support
support
Authenticating an ONU
Short Description
Prerequisites
Context
provision: When the system finds an ONU, if the ONU is configured, the configuration takes effect. If the ONU is not configured, it displays in the list of unregistered ONU.
When the authentication mode is learn, users do not need to configure the unauthenticated ONU manually, but the OLT cannot recognize the ONU type. So, it is recommended to use the default SN
authentication mode provison.
63
1. Use the show gpon onu uncfg command to view the unauthenticated ONU information.
2. Use the configure terminal command to enter the global configuration mode.
3. Use the interface command to enter the OLT interface configuration mode.
4. Use the onu command to authenticate the ONU.
5. User the show gpon onu state command to view the authenticated ONU information.
Table 13 describes the ONU phase state.
TABLE 13 ONU PHASE STATE
Value
Description
offline
The OLT does not find the ONU. The ONU is offline.
logging
syncMib
working
LOS
DyingGasp
END OF STEPS
Result
Example
64
Context
Fixed: The bandwidth that the OLT assigns to the T-CONT after
the T-CONT is enabled whether it has traffic or not
Best Effort: This is the best effort bandwidth. After the fixed
bandwidth, assured bandwidth, adn non-assured bandwidth
65
Assured
Assured
and Nonassured
Best
Effort
All
Fixed RF
RF
RF
Assured
RA
RA
RA
RA
Maximum
RM
RM=RF
RM=RA
RM>RA
RM
RM>=RA+
RF
RM-RF-RA
NONE
NONE
Nonassured
Best
Effort
ANY
1. Use the configure terminal command to enter the global configuration mode.
2. Use the gpon command to enter the GPON configuration mode.
3. Use the profile tcont command to create a T-CONT bandwidth
profile.
4. Use the show gpon profile tcont command to view the
T-CONT bandwidth profile.
5. Use the interface command to enter the ONU interface configuration mode.
6. Use the tcont command to apply the T-CONT profile.
END OF STEPS
Result
Example
66
Context
The ZXA10 C220 does not support the traffic limit to GEM Port
directly. By default, one GEM port corresponds to one VPORT. So
limiting the VPORT rate implements the traffic control on the GEM
port.
The ZXA10 C220 supports 512 traffic profiles.
To configure the traffic profile, perform the following steps:
Steps
Result
Example
67
Context
Perform this procedure to configure the service connection between Ethernet frames and GEM port.
Before this operation, make sure that:
802.1p
The upstream packets arriving on the UNI of an ONU are
mapped to a GEM port according to UNI and 802.1p priority.
Through the traffic shaping or priority queue, it is sent to the
relevant T-CONT, and then to the OLT.
Bridge
The upstream packets arriving on the UNI of an ONU are
mapped to a GEM port according to VLAN ID. Meanwhile,
the VLAN tag can be processed according VLAN filter rules.
Through the traffic shaping or priority queue, it is sent to the
relevant T-CONT, and then to the OLT.
802.1p + bridge
The upstream packets arriving on the UNI of an ONU are
mapped to a GEM port according to VLAN ID and 802.1p
priority. Meanwhile, the VLAN tag can be processed according
VLAN filter rules. Through the traffic shaping or priority queue,
it is sent to the relevant T-CONT, and then to the OLT.
1. Use the configure terminal command to enter the global configuration mode.
2. Use the pon-onu-mng command to enter the ONU remote
management mode.
3. Configure the service connection.
Note:
By default, flow 1 is configured and bound to
switch_0/1. That is, the default connection type is
bridge or 802.1p+ bridge.
68
Note:
By default,
switch_0/1.
Note:
By default, all UNI interfaces are bound to switch_0/1.
Use the following commands to bind to other switch
ports:
ZXAN(gpon-onu-mng)#no switchport-bind ethuni eth_0/1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/2 ethuni eth_0/1
Note:
By default,
switch_0/1.
69
Note:
By default, all UNI interfaces are bound to switch_0/1.
Use the following commands to bind to other switch
ports:
ZXAN(gpon-onu-mng)#no switchport-bind ethuni eth_0/1
ZXAN(gpon-onu-mng)#switchport-bind switch_0/2 ethuni eth_0/1
END OF STEPS
Result
Example
Priority: 0
Bridge: switch_0/1
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#pon-onu-mng gpon-onu_0/10/1:1
ZXAN(gpon-onu-mng)#gemport 1 flow 1 dot1p-list 0
Context
In-band configuration
Create an ONU in-band NM channel, and then log in to the
ONU to implement configuration. The data are configured on
the ONU and needs to be saved on the ONU.
The ONU in-band NM IP address refers to the IP address that
can be connected to the ONU through the ZXA10 C220 uplink
port. The ONU can be configured and upgraded through this
IP address.
70
Note:
In an actual project, the user does not need to configure the
in-band NM IP addresses for all the ONUs. Configure the in-band
NM IP addresses for the ONUs that need voice configuration or
upgrade, such as ZTE-F820 and ZTE-F822.
It is recommended to configure the ONU in-band NM IP address in
the same management VLAN and network segment as the ZXA10
C220 device. Then, the NMS server can connect the ONU when it
connects the OLT.
To configure the ONU in-band IP address, perform the following
steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the vlan command to create the ONU in-band NM VLAN.
3. Use the pon-onu-mng command to enter the ONU remote
management mode.
4. Use the flow command to create the service flow, the type of
which is switching unit.
5. Use the gemport gemportid flow flowid command to create
the bridge service connection.
6. Use the mgmt-ip command to set the ONU in-band NM IP
address.
7. Use the interface command to enter the ONU interface configuration mode.
8. Use the switchport mode command to change the PON-ONU
port mode.
9. Use the switchport vlan command to add the PON-ONU port
to the NM VLAN in tagged mode.
10. Use the interface command to enter the OLT uplink port configuration mode.
11. Use the switchport mode command to change the OLT uplink
port mode.
12. Use the switchport vlan command to add the OLT uplink port
to the NM VLAN in tagged mode.
END OF STEPS
Result
71
Example
Postrequisite
Carry out the ping command on the OLT to check whether the
ONU in-band IP address is successfully configured.
ZXAN#ping 198.2.128.5
sending 5,100-byte ICMP echos to 10.1.1.2,timeout is 2 seconds.
!!!!!
Success rate is 100 percent(5/5),round-trip min/avg/max= 0/8/40 ms.
//The ONU in-band IP address is successfully configured.
Context
Steps
72
GPON Protection
Configuration
This section includes the following:
Overview
Overview
Introduction
Service
Description
With the popularity of the Internet bandwidth service, users require powerful functions and stable performance on the network
services. The ZXA10 C220 device uses the active/standby mode
to ensure stable operation. It has the PON port protection mechanism. When the service is interrupted due to the physical disconnection between the ZXA10 C220 device and the ONU, the system
switches to the standby PON port to recover the service.
Service
Specifications
Force switchover
Alarm triggering
Manual switchover
The ZXA10 C220 connects the remote ONU devices through two
GPON interfaces, providing users with high-speed Internet service
in PON port protection.
73
Prerequisites
Networking
Diagram
The ONU connects two GPON ports of the ZXA10 C220 through a
splitter to achieve PON port protection.
Note:
The ZXA10 C220 supports two types of GPON protection
Type B
Type B is the OLT-side redundancy protection. The two PON
ports of the OLT use independent PON MAC chips and optical modules to achieve protection on the two PON ports. The
OLT side of the splitter has two input ports and multiple output ports, which are applicable for protection between the PON
ports on the same PON card and among different PON cards.
This type of protection can only recover the OLT-side service.
74
Type C
Type C is the OLT-side and ONU-side full redundancy protection, also known as full duplex protection. The two PON ports
on the OLT, two optical modules on the ONU, backbone fiber,
splitter, and distribution fiber all use dual-route redundancy.
This type of protection is implemented in the following modes:
Data Scheme
Table 15 lists the data scheme for the GPON protection service.
TABLE 15 GPON PROTECTION SERVICE DATA SCHEME
Configuration
Flow
Item
Data
Working port
0/10/1
Protection port
0/10/2
ON protection group
75
ZXAN(config)#interface gpon-olt_0/10/2
ZXAN(config-if)#clear
ZXAN(config-if)#exit
2. Enter the PON mode and configure the EPON protection group.
In PON mode, use the protection group command to create
the GPON protection group.
ZXAN(config)#pon
ZXAN(config-pon)#protection group zte workpon
gpon-olt_0/10/1 protectpon
gpon-olt_0/10/2 typeB
.[Successful]
ZXAN(config-pon)#show protection group list
zte
zte
gpon-olt_0/10/1
gpon-olt_0/10/2
typeB
revertive
120
work-channel
No alarm request!
OLTSF
no-request
4. (Optional) Configure the switchover mode between the working port and protection port of the protection group.
Use the protection switch-command command to configure
the switchover mode between the working port and protection
port of the protection group. This instance uses the default
mode (no switchover mode). To configure the mode, use the
following command:
ZXAN(config-pon)#protection switch-command group zte force p2w
76
Note:
The priorities from high to low are as follows:
Clear all
Lock protection
If a lower priority is configured after a higher priority is configured, the lower one does not take effect. It is necessary to
clear the previous mode and then configure the lower priority.
5. Save the configuration data.
ZXAN(config-pon)#end
ZXAN#write
Building configuration...
..[OK]
Result
77
78
Chapter
Multicast Service
Configuration
Table of Contents
Overview..........................................................................79
Configuring the IGMP Snooping Multicast Service (EPON) .........80
Configuring the IGMP Snooping Multicast Service (GPON) .........84
Configuring the IGMP Proxy Multicast Service ........................91
Configuring the MVLAN Parameters ......................................92
Configuring the IGMP Global Parameters...............................94
Configuring the IGMP Port Parameters ..................................98
Configuring the IPTV Package............................................ 100
Configuring CAC .............................................................. 101
Configuring CDR.............................................................. 102
Overview
Service
Description
Service
Specification
The ZXA10 C220 supports IGMP protocols and controllable multicast service.
The multicast service of ZXA10 C220 supports the following:
IGMP V1/V2/V3
79
Networking
Diagram
Data Scheme
Table 16 lists the data scheme for the IGMP snooping multicast
service.
TABLE 16 IGMP SNOOPING MULTICAST SERVICE DATA SCHEME (EPON)
80
Item
Data
Upstream port
0/2/1
User port
0/5/1
224.1.1.1 224.1.1.3
Configuration
Flow
ONU
Multicast subscriber
Connected to FE port 1
Figure 23 shows the configuration flow of the IGMP snooping multicast service.
FIGURE 23 IGMP SNOOPING MULTICAST SERVICE CONFIGURATION FLOW
(EPON)
To configure the IGMP snooping multicast service, perform the following steps:
Steps
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the OLT upstream port VLAN.
ZXAN(config)#interface xgei_0/2/1
81
ZTE-F822
epon
24FE
none
1g
6. Enter the EPON-ONU interface mode. Enable the interface authentication protocol.
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#admin enable
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
7. Set the upstream and downstream bandwidth of the ONU.
ZXAN(config-if)#sla upstream maximum 102400
ZXAN(config-if)#sla downstream maximum 1024000
82
ii.
When the IP addresses of the multicast groups are continuous, they can be configured in batch.
ZXAN(config)#igmp mvlan 500 group 224.1.1.1 to 224.1.1.3
v.
Note:
If the OLT uses the IGMP snooping protocol, the ONU can
use the IGMP snooping protocol and controllable multicast
protocol. If the OLT uses the IGMP proxy protocol, the
ONU can use any protocols. This instance uses the IGMP
snooping protocol.
ii.
83
v.
Result
Context
When the ONU is powered on, the OLT automatically creates multicast channel: flow 255 and GEM Port ID 4095.
To configure the multicast service, it is necessary to create a unicast service channel first. For detailed operations, refer to the
topic Configuring GPON Service.
Networking
Diagram
84
Data Scheme
Table 17 lists the data scheme for the IGMP snooping multicast
service.
TABLE 17 IGMP SNOOPING MULTICAST SERVICE DATA SCHEME (GPON)
Item
Data
IPTV priority
Upstream port
0/2/1
GPON port
0/10/1
ONU
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG70002926
ONU type: ZTE-F621
T-CONT
T-CONT indexd: 3
T-CONT name: iptv-tcont
Bandwidth profile: iptv-tcont
Allocated ID: auto-allocate
GEM Port
T-CONT index: 3
GEM Port index: 1
GEM Port name: Gemport1
Port Id: auto-allocate
85
Configuration
Flow
Multicast subscriber
224.1.1.1 224.1.1.3
Figure 25 shows the configuration flow of the IGMP snooping multicast service.
FIGURE 25 IGMP SNOOPING MULTICAST SERVICE CONFIGURATION FLOW
(GPON)
To configure the IGMP snooping multicast service, perform the following steps:
Steps
86
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface xgei_0/2/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 500 tag
ZXAN(config-if)#exit
6. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 3 name iptv-tcont profile iptv-tcont
Note:
By default, one V-port corresponds to one GEM port.
9. Configure the ONU unicast service channel.
i.
87
ii.
Note:
The priority is 5. That means, the upstream data with the
priority of 5 is mapped to the GEM port.
iii. Create the connection between the UNI port and bridge.
By default, all the UNI ports are bound to switch_0/1. To
use other bridges, refer to the topic Configuring GPON Service.
iv. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter vid-filter
untag-filter discard
v.
Note:
F621 provides 6 user ports: eth_0/1 to eth_0/6.
Note:
Because the VLAN filter mode is set to VLAN ID in the previous step, the priority 0 does not take effect here.
10. Configure the multicast service on the ONU.
i.
ii.
88
Note:
The mapping from the IP multicast address to the MAC address is as follows:
IANA allocates MAC addresses (Range: 01:00:5E:00:00:0
0 01:00:5E:7F:FF:FF) for multicast service. This needs to
map 28bit IP multicast address space to 23bit MAC address space by putting the low 23 bits of multicast address
in the low 23 bits of MAC address, as shown in Figure 26.
FIGURE 26 MAPPING FROM IP MULTICAST ADDRESS TO
MAC ADDRESS
Because only 23 bits of the rear 28 bits of IP multicast address are mapped into thge MAC address, 32 IP addresses
are mapped to the same MAC address.
11. Configure the IGMP Snooping global parameters.
Enable the IGMP protocol and the IGMP span-VLAN function.
The other parameters use the default values.
i.
ii.
ii.
89
ii.
When the IP addresses of the multicast groups are continuous, they can be configured in batch.
ZXAN(config)#igmp mvlan 500 group 224.1.1.1 to 224.1.1.3
Note:
Only the uplink ports added to MVLAN 500 can be set to
the source port.
v.
ii.
v.
90
Note:
Before applying the ONU IGMP profile, it is necessary to
create the ONU IGMP profile by the following commands:
ZXAN(config)#gpon
ZXAN(config-gpon)#onu profile igmp zte fast-leave enable
version v3
ZXAN(config-gpon)#exit
Result
Context
To configure the IGMP proxy multicast service, perform the following steps:
Steps
Because most of the steps are the same as those of IGMP snooping, the following describes the different steps.
1. Configure the MVLAN working mode.
ZXAN(config)#igmp mvlan 500 work-mode proxy
91
Result
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the igmp mvlan command to create a MVLAN.
3. Configure the MVLAN IGMP protocol.
Use the igmp mvlan enable command to enable IGMP protocol for the multicast packets.
Use the igmp mvlan drop command to discard the IGMP multicast packets.
4. Use the igmp mvlan work-mode command to configure the
MVLAN work mode.
Note:
In IGMP snooping mode, the host, pre-join, active report, and
static join functions are invalid.
5. Use the igmp mvlan group command to configure the MVLAN
group.
6. Use the igmp mvlan group bandwidth command to configure the multicast bandwidth.
The multicast bandwidth ranges from 100 to 65535. The default bandwidth is 2048. The unit is Kbps.
7. Use the igmp mvlan group prejoin command to configure
the multicast pre-join function.
92
Note:
By default, this function is disabled. After it is enabled, the OLT
sends the report packet to the server periodically. The IGMP
report is not sent to the pre-joined multicast group.
8. Use the igmp mvlan group static-port command to configure the MVLAN static receiving port.
9. Use the igmp mvlan group source-address command to
configure the IP address of the multicast client. By default,
it is 0.0.0.0.
10. Use the igmp mvlan group-filter command to configure
MVLAN group management.
Note:
Note:
Only in IGMP proxy mode, the IGMP packets sent by the ZXA10
C220 to the network side are processed according to the IGMP
packet priority in the multicast VLAN. In IGMP snooping mode,
the IGMP packets sent by the ZXA10 C220 to the network side
are processed according to the priority of the IGMP service
traffic.
93
17. Use the show igmp mvlan group command to view the
MVLAN configuration information.
END OF STEPS
Result
Example
Data
IGMP protocol
Enable
IGMP Proxy
224.1.1.1 to 224.1.1.10
Enable
16
0/12/1
0/6/4:2
10.63.196.50
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#igmp mvlan 500
ZXAN(config)#igmp mvlan 500 enable
ZXAN(config)#igmp mvlan 500 work-mode proxy
ZXAN(config)#igmp mvlan 500 group 224.1.1.1 to 224.1.1.10
ZXAN(config)#igmp mvlan 500 group-filter enable
ZXAN(config)#igmp mvlan 500 max-group 16
ZXAN(config)#igmp mvlan 500 source-port gei_0/14/1
ZXAN(config)#igmp mvlan 500 receive-port epon-onu_0/6/4:2
ZXAN(config)#igmp mvlan 500 host-ip 10.63.196.50
ZXAN(config)#show igmp mvlan 500
Protocol packet's priority is 0 (in proxy/router mode).
Source Port
---------------------------gei_0/14/1
Receive Port
---------------------------epon-onu_0/6/4:2:1
Group
---------------------------224.1.1.1 - 224.1.1.10
94
Prerequisites
Context
Description
Value
IGMP protocol
Enable
Disable
Default: enable
IGMP
snooping
aging time
Range: 30 3600
seconds
Range: 60 300
seconds
Range: 1 25
seconds
Default: 10 seconds
Range: 2 5
Default: 1 second
Default: 2
Range: 1 60
seconds
Default: 10 seconds
95
Parameter
IGMP proxy
bustness
ro-
Description
Value
Range: 2 5
Default: 2
Log function
Enable
Disable
Default: disable
Host
tracking
function
Bandwidth control
function
Bandwidth control is
used to reject the user join
request when the multicast
group bandwidth exceeds
the remaining bandwidth
of the current physical
channel.
Default: disable
Enable
Disable
Default: disable
Enable
Disable
Enable
Disable
Default: enable
Non-matched
group
process
mode
To forward or discard
the IGMP packets of the
unmatched multicast
group
Mcm function
To enable or disable
the multi-copy multicast
function
Forward
Drop
Default: forward
Enable
Disable
Default: disable
96
ZXAN(config)#igmp enable
ZXAN(config)#igmp query-interval 100
ZXAN(config)#igmp query-max-resp 200
ZXAN(config)#igmp last-query-interval 20
ZXAN(config)#igmp last-query-count 4
ZXAN(config)#igmp unsolicited-report-interval 20
ZXAN(config)#igmp robustness 3
ZXAN(config)#show igmp
IGMP global parameters:
-------------------------------------------IGMP is globally enable.
IGMP log is disable.
Snooping aging time is 300 seconds.
Span vlan is enable.
Bandwidth control is disable.
Host tracking is disable.
Robustness variable is 3.
General query interval is 100(second).
97
Context
Description
Value
IGMP protocol
To enable or disable
the IGMP protocol
Enable
Disable
Default: enable
To enable or disable
fast leaving on the
ONU interface
Range: 1 25
seconds
IGMP
ness
Default: 2
Default: 4094
IGMP fast-leave
proxy
robust-
98
Enable
Disable
Default: disable
Default: 10 seconds
Default: 1 second
Range: 2 5
Default: 2
Range: 2 5
Range: 0 4094
Parameter
Description
Value
IGMP version
V1, V2, V3
Default:
192.168.2.14
General: IGMPv2
1. Use the configure terminal command to enter the global configuration mode.
2. Use the interface command to enter the interface configuration mode.
3. Use the igmp enable command to enable the port IGMP protocol.
4. Use the igmp drop command to discard the IGMP packets.
5. Use the igmp fast-leave command to set the IGMP fast leaving function.
6. Use the igmp query-max-resp command to set the maximum query response time in IGMP proxy mode.
7. Use the igmp last-query-interval command to set the query
interval of the last member in IGMP proxy mode.
8. Use the igmp last-query-count command to set the query
counts of the last member in IGMP proxy mode.
9. Use the igmp max-groups command to set the maximum
IGMP multicast group number.
10. Use the igmp version command to set the IGMP version.
11. Use the igmp proxy-ip command to set the IP address of the
IGMP proxy router.
12. Use the igmp robustness command to set port robustness in
IGMP proxy mode.
13. Use the igmp mcm-cvlan command to enable the user VLAN
for multi-copy multicast.
14. Use the show igmp interface command to view the IGMP
port configuration.
END OF STEPS
Result
Example
99
Context
Steps
Value
Range: 1 100
Default: 3
Preview duration
Blackout
100
Name: stv
Preview profile
Name: abc
Channel rights
Deny: stv10
Configuring CAC
Short Description
Prerequisites
Context
101
When global CAC is enabled, user port rights take effect. Only
the users who order package can watch the channels in the
package.
When global CAC disabled, user port rights do not take effect.
Users can watch the channels created in the MVLAN (The users
must be on the receiving port of the MVLAN).
1. Use the configure terminal command to enter the global configuration mode.
2. Use the iptv cac command to enable global CAC.
3. Use the interface command to enter the interface configuration mode.
4. Use the iptv right-mode command to set the port right mode
to channel access mode or package control mode.
5. Set the port right.
Use the iptv channel command to set the port channel right.
Use iptv package command to set the port package.
END OF STEPS
Result
Example
Configuring CDR
Short Description
Prerequisites
Context
102
Description
Value
CDR
To enable or disable
CDR
Enable
Disable
Default: disable
CDR deny-right
CDR prw-right
Max-records
CDR prw-over-count
To enable or disable
CDR when the right is
deny
To enable or disable
CDR when the right is
preview
Maximum CDRs
Enable
Disable
Default: disable
Enable
Disable
Default: disable
Default: 1000
To enable or disable
CDR when the preview
times exceed the
threshold
CDR generation
interval
Range: 0 1440
minutes
CDR create-period
Enable
Disable
Default: disable
0: no CDR generated
Default: 60
CDR reporting interval
Report-interval
Range: 1 30
minutes
Default: 5
Report-threshold
CDR automatic
reporting threshold,
which cannot exceed
the maximum CDRs
103
104
Chapter
VoIP Service
Configuration
Table of Contents
Overview........................................................................ 105
Configuring the VoIP Service (EPON) .................................. 105
Configuring the VoIP Service through the SIP Protocol
(GPON) .......................................................................... 112
Configuring the VoIP Service through the H.248 protocol
(GPON) .......................................................................... 117
Overview
Service
Description
In the VoIP service, voice signals are compressed and packed, and
then transmitted on the IP packet switching network.
Service
Specifications
The ZXA10 C220 provides the VoIP service access to the IP network through the xPON service card. The VoIP service is implemented on the ONU.
Prerequisites
The ZXA10 C220 uses the EPON interface to access the remote
ONU and provide the VoIP services. Perform the following procedure to configure the VoIP service. In this mode, all the configuration is implemented on the OLT and it is unnecessary to log in
to the ONU.
Before this operation, make sure that:
The VoIP user data are configured on the MGC side, corresponding to the MG.
105
Networking
Diagram
Data Scheme
106
Item
Data
Uplink port
0/6/1
OLT port
0/5/1
ONU
Type: D422
MAC address:
0015.eb71.2d5a
ONU ID: 5
ONU bandwidth
Upstream: 5 Mbps
Downstream: 10 Mbps
TestProfile
VLAN_200
MG IP address
10.63.172.190
Gateway
10.63.172.254
Primary SS address
10.63.172.55
Secondary SS address
10.63.172.61
Configuration
Flow
4. Enter the EPON-ONU interface mode. Enable the authentication protocol and set the ONU bandwidth.
ZXAN(config)#interface epon-onu_0/5/1:5
ZXAN(config-if)#admin enable
ZXAN(config-if)#sla upstream maximum 5120
ZXAN(config-if)#sla downstream maximum 10240
107
Note:
Independent: The ONU management IP address is different from the ONU VoIP IP address.
Note:
8. In the EPON global management mode, configure the VoIP protocol profile. There are three VoIP protocols: H.248, MGCP,
and SIP.
108
H.248 register-server
H.248 backup-register-server
H.248 mg register-mode
H.248 heartbeat-mode
Note:
Port number of the primary register server: It is recommended to use the default port number 2944.
Port number of the secondary register server: It is recommended to use the default port number 2944.
MGCP register-server
MGCP backup-register-server
MGCP mg register-mode
MGCP heartbeat mode
109
Note:
Port number of the primary register server: It is recommended to use the default port number 2727.
Port number of the secondary register server: It is recommended to use the default port number 2727.
110
SIP register-server
SIP backup-register-server
SIP proxy-server
SIP backup-proxy-server
SIP outbound-server
SIP heartbeat enable
SIP register-interval 3600
SIP mg port 5060
Note:
Port number of the primary register server: It is recommended to use the default port number 5060.
Port number of the secondary register server: It is recommended to use the default port number 5060.
Port number of the primary proxy server: It is recommended to use the default port number 5060.
Port number of the secondary register server: It is recommended to use the default port number 5060.
111
Result
Prerequisites
Networking
Diagram
112
The ZXA10 C220 uses the GPON interface to access the remote
ONU and provide the VoIP services, using the SIP protocol. Perform the following procedure to configure the VoIP service.
Before this operation, make sure that:
The VoIP user data are configured on the MGC side, corresponding to the MG.
Data Scheme
Table 24 lists the VoIP service data scheme through the SIP Protocol.
TABLE 24 VOIP SERVICE DATA SCHEME (SIP)
Item
Data
Service priority
Uplink port
0/2/1
OLT port
0/10/1
ONU
T-CONT
GEM Port
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG00000002
ONU type: ZTE-F622
Port through which the ONU
connects the IP phone:
pots_0/1
T-CONT index: 3
T-CONT name: voip-tcont
Applied bandwidth profile:
voip-tcont
Alloc Id: auto-allocate
T-CONT index: 3
GEM Port index: 1
113
Item
Data
ONU IP address
IP address: 111.1.67.250
Mask: 255.255.255.248
Gateway: 111.1.67.249
Voice resource
Protocol: SIP
SIP server address:
120.193.1.76
POTS 1 parameters
AOR+8657588400011
Username+8657588400011@
ims.zj.chinamobile
Password123456
Configuration
Flow
OF THE
114
Steps
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface xgei_0/2/1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#exit
6. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 3 name voip-tcont profile voip-tcont
Note:
By default, one V-port corresponds to one GEM port.
9. Configure the GEM Port service mapping.
i.
115
ii.
Note:
The priority is 7. That means, the upstream data with the
priority of 7 are mapped to the GEM port.
iii. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 3 tag-filter vid-filter
untag-filter discard
v.
10. Configure the ip-host address and the gateway of the ONU.
The F622 supports only one ip-host. Only one IP address can
be configured on the ONU.
ZXAN(gpon-onu-mng)#ip-host 1 ip 111.1.67.250 mask 255.255.255.248
gateway 111.1.67.249
Note:
This configuration must be consistent with that on the SS.
14. Save the configuration data.
ZXAN#write
Building configuration...
..[OK]
ZXAN#
116
Result
Prerequisites
Networking
Diagram
The ZXA10 C220 uses the GPON interface to access the remote
ONU and provide the VoIP services, using the H.248 protocol. Perform the following procedure to configure the VoIP service.
Before this operation, make sure that:
The VoIP user data are configured on the MGC side, corresponding to the MG.
Data Scheme
117
Data
Service priority
Uplink port
0/2/1
OLT port
0/10/1
ONU
T-CONT
Configuration
Flow
118
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG00000002
ONU type: ZTE-F660
Port through which the ONU
connects the IP phone:
pots_0/1
T-CONT index: 3
T-CONT name: voip-tcont
Applied bandwidth profile:
voip-tcont
Alloc Id: auto-allocate
GEM Port
T-CONT index: 3
GEM Port index: 1
GEM Port name: Gemport1
Port Id: auto-allocate
ONU IP address
IP address: 10.40.110.149
Mask: 255.255.255.0
Gateway: 10.40.110.254
Voice resource
Protocol: H.248
SS address: 10.40.123.25
POTS 1 parameters
SLC TERMIDAG58900
RTP TERMIDRTP/00000
OF THE
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface xgei_0/2/1
119
:
:
:
:
:
ZTEG-F660
gpon
4ETH,2POTS
7
32
1
32
1
support
support
support
7. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 3 name voip-tcont profile voip-tcont
120
Note:
By default, one V-port corresponds to one GEM port.
10. Configure the GEM Port service mapping.
i.
ii.
Note:
The priority is 7. That means, the upstream data with the
priority of 7 are mapped to the GEM port.
iii. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 3 tag-filter vid-filter
untag-filter discard
v.
11. Configure the ip-host address and the gateway of the ONU.
ZXAN(gpon-onu-mng)#ip-host 1 ip 10.40.110.149 mask 255.255.255.0
gateway 10.40.110.254
121
122
Chapter
CES Service
Configuration
Table of Contents
Overview........................................................................ 123
Configuring E1/T1 Uplink CES MEF8 Service (EPON) ............. 124
Configuring E1/T1 Uplink CES PWE3 Service (EPON) ............ 130
Configuring CL1A Uplink CES Service (EPON) ...................... 137
Configuring E1/T1 Uplink CES MEF8 Service (GPON)............. 144
Configuring CL1A Uplink CES Service (GPON) ...................... 151
Configuring CES TDM Profile ............................................. 158
Configuring CES TDM Interface.......................................... 160
Clock Configuration.......................................................... 161
Overview
Service
Description
Service
Specification
The ZXA10 C220 implements CES service on the circuit emulation card (CE1B/CE1BB/CT1BB/CL1A). The TDM interface on circuit emulation card is connected to the upper-layer device. The
xPON interface connects to the remote ONU. E1/T1 frames, which
are transmitted through Ethernet, implement circuit emulation.
Frames are resumed once they reach the ONU. Data are sent to
users through the E1/T1 port of the ONU.
123
Prerequisites
Networking
Diagram
This section illustrates the configuration of E1/T1 uplink CES service based on Ethernet (CES MEF8). The ZXA10 C220 is connected
to the upper-layer equipment through the CE1B/CE1BB/CT1BB
card. It is connected to the ONU through the EPON port. This
instance takes CE1B as an example.
Before this operation, make sure that:
The E1 user connects to the ONU E1 port. The ZXA10 C220 uplinks
to theTDM network through the E1 port on CE1B card.
Data Scheme
124
Data
OLT in-band NM
CES VLAN
Priority
E1 uplink port
0/13/1
OLT port
0/5/1
ONU
ONU ID: 1
Type: F429
MAC address:
00d0.d09a.3a8e
ONU in-band NM
NM VLAN: 2600
IP address: 192.2.128.5/24
ONU bandwidth
Upstream: 5 Mbps
Downstream: 10 Mbps
Default
Default
0015.eb72.001a
0015.eb72.000c
PW link
Clock resumption
Auto negotiation
NM VLAN: 2600
IP address: 192.2.128.4/24
Type: e1Satop
Sending ECID: 0x1102
Receiving ECID: 0x1102
125
Configuration
Flow
126
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface tdm-gei_0/13/1
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#switchport vlan 1000 tag
ZXAN(config-if)#exit
epon-onu_0/5/1:1
00d0.d09a.3a8e
deny
2009/08/19 11:12:29
ZXAN(config)#
5. Enter the EPON-ONU interface mode. Enable the interface authentication protocol.
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#admin enable
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
6. Set the upstream and downstream bandwidth of the ONU.
ZXAN(config-if)#sla upstream maximum 5120
ZXAN(config-if)#sla downstream maximum 10240
ii.
127
Note:
In practical networking, it is recommended to use the default values for the OLT TDM interface configuration.
iii. Configure the CES property profile of the OLT.
This instance uses the default CES profile. To configure
the CES property profile of the OLT, refer to the topic
Configuring CES TDM Profile.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iv. Create the PW link and configure the TDM property of the
PW link.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_0/13/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_0/13/1 tdm-profile-name default
Note:
v.
Note:
When PSN network type is Ethernet, the in-ecid/out-ecid configured on OLT must correspond to those on ONU. In this
instance, the in-ecid/out-ecid value is 0x1102.
The in-ecid and out-ecid of each PW must be different.
The in-ecid and out-ecid of the same PW can be different. For
convenience, they are generally configured same.
vi. View the PW link configuration information.
ZXAN(config)#show ces pw prop detail pw_0/13/1
pw pw_0/13/1
PwType :
e1Satop
PsnType :
ethernet
Admin-status : enable
InboundLable :0x1102
128
OutboundLable :0x1102
Service prop:
Using tdm interface: tdm_0/13/1
TDM-prop profile:
default
You can see detail profile info. by using
corresponding 'show' command.
Psn prop:
Destination Mac Address:
0015.EB72.000C
Vlan ID:
1000
priority: 7
Card prop:
Card interface :
13/1
Source Mac Address: 0015.EB72.001A
Source IP Address : 192.192.192.26
ii.
Note:
In practical networking, it is recommended to use the default ONU TDM interface configuration.
v.
129
Note:
The CES property profile parameters of two ends of the
same PW must be consistent.
vi. Configure PW link service parameters.
F429(config)#pw genProp 1 pwType e1Satop psnType ethernet
outboundLable 0x1102 inboundLable 0x1102 pwName PW1
adminSts up creat
viii. Configure the binding between the PW link and the TDM
interface.
F429(config)#pw relation 1 rate 32 1 1 creat
11. Save the configuration data on the OLT and the ONU.
Result
Prerequisites
130
Networking
Diagram
The E1 user connects to the ONU E1 port. The ZXA10 C220 uplinks
to theTDM network through the E1 port on CE1B card.
Data Scheme
Data
OLT in-band NM
CES SVLAN
Priority
E1 uplink port
0/13/1
OLT port
0/5/1
ONU
NM VLAN: 2600
IP address: 192.2.128.4/24
ONU ID: 1
Type: F429
MAC address: 00d0.d09a.3a8e
131
132
Item
Data
ONU in-band NM
NM VLAN: 2600
IP address: 192.2.128.5/24
ONU bandwidth
Upstream: 5 Mbps
Downstream: 10 Mbps
Default
Default
192.192.192.26
0015.eb72.001a
Destination IP address
(ONU IP address)
192.192.192.1
Destination MAC
address (ONU CES
MAC address)
0015.eb72.000c
PW link
Clock resumption
Auto negotiation
Type: e1Satop
Source UDP port: 1101
Destination UDP port: 1101
Configuration
Flow
Steps
Note:
To display the created VLAN information, use the show vlan
summary command.
133
epon-onu_0/5/1:1
00d0.d09a.3a8e
deny
2009/08/19 11:12:29
ZXAN(config)#
5. Enter the EPON-ONU interface mode. Enable the interface authentication protocol.
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#admin enable
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
6. Set the upstream and downstream bandwidth of the ONU.
ZXAN(config-if)#sla upstream maximum 5120
ZXAN(config-if)#sla downstream maximum 10240
ii.
134
Note:
In practical networking, it is recommended to use the default values for the OLT TDM interface configuration.
iii. Configure the CES property profile of the OLT.
This instance uses the default CES profile. To configure
the CES property profile of the OLT, refer to the topic
Configuring CES TDM Profile.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iv. Create the PW link and configure the TDM properties of the
PW link.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_0/13/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_0/13/1 tdm-profile-name default
Note:
v.
Note:
The OLT source/destination UDP port number must be consistent with the ONU source/destination UDP port number.
For convenience, they are generally configured same.
The source/destination UDP ports of different PW link must
be different.
vi. View the PW link configuration information.
ZXAN(config)#show ces pw prop detail pw_0/13/1
pw pw_0/13/1
PwType :
e1Satop
Admin-status : enable
OutboundLable :0x44D
PsnType :
ip
InboundLable :0x44D
Destination IP Address 192.192.192.1.
Service prop:
Using tdm interface: tdm_0/13/1
TDM-prop profile:
default
135
ii.
Note:
In practical networking, it is recommended to use the default ONU TDM interface configuration.
v.
136
Note:
The CES property profile parameters of two ends of the
same PW must be consistent.
vi. Configure PW link service parameters.
F429(config)# pw genProp 1 pwType e1Satop
psnType ip srcUdpPort 1101 dstUdpPort 1101
pwName PW1 adminSts up creat
viii. Configure the binding between the PW link and the TDM
interface.
F429(config)#pw relation 1 rate 32 1 1 creat
11. Save the configuration data on the OLT and the ONU.
Result
Context
Networking
Diagram
Figure 38 shows the CES dedicated line service networking diagram (EPON).
137
138
Item
Data
OLT in-band NM
CES VLAN
Priority
Uplink port
0/14/1
OLT port
0/5/1
ONU
NM VLAN: 2600
IP address: 192.2.128.4/24
ONU ID: 1
Type: F429
MAC address:
00d0.d09a.3a8e
Configuration
Flow
Item
Data
ONU in-band NM
NM VLAN: 2600
IP address: 192.2.128.5/24
ONU bandwidth
Upstream: 5 Mbps
Downstream: 10 Mbps
Default
Default
0015.eb72.001c
0015.eb72.000c
PW link
Clock resumption
Auto negotiation
Type: e1Satop
Sending ECID: 0x1102
Receiving ECID: 0x1102
139
Note:
To display the created VLAN information, use the show vlan
summary command.
140
epon-onu_0/5/1:1
00d0.d09a.3a8e
deny
2009/08/19 11:12:29
ZXAN(config)#
5. Enter the EPON-ONU interface mode. Enable the interface authentication protocol.
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#admin enable
Note:
To display the detailed information of the current ONU, use the
show onu detail-info command.
6. Set the upstream and downstream bandwidth of the ONU.
ZXAN(config-if)#sla upstream maximum 5120
ZXAN(config-if)#sla downstream maximum 10240
141
ZXAN(config-ces)#exit
ii.
Note:
In practical networking, it is recommended to use the default values for the OLT SONET interface configuration.
iii. Configure the CES property profile of the OLT.
This instance uses the default CES profile. To configure
the CES property profile of the OLT, refer to the topic
Configuring CES TDM Profile.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iv. Create the PW link and configure the TDM property of the
PW link.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_0/14/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_0/14/1.1/1/1/1/1 tdm-profile-name default
Note:
The CL1A TDM interface format is: tdm_shelf/slot/port.augno/1/
tug3/tug2/e1.
v.
142
Note:
When the PSN network type is Ethernet, the in-ecid/out-ecid
configured on the OLT must correspond to those on the
ONU. In this instance, the in-ecid/out-ecid value is 0x1102.
The in-ecid and out-ecid of each PW must be different.
The in-ecid and out-ecid of the same PW can be different. For
convenience, they are generally configured same.
vi. View the PW link configuration information.
ZXAN(config)#show ces pw prop detail pw_0/14/1
pw pw_0/14/1
PwType :
e1Satop
Admin-status : enable
OutboundLable :0x1102
PsnType :
ethernet
InboundLable :0x1102
Service prop:
Using tdm interface: tdm_0/14/1.1/1/1/1/1
TDM-prop profile:
default
You can see detail profile info. by using
corresponding 'show' command.
Psn prop:
Destination Mac Address:
0015.EB72.000C
Vlan ID:
1000
priority: 7
Card prop:
Card interface :
14/1
Source Mac Address: 0015.EB72.001C
Source IP Address : 192.192.192.28
ii.
143
Note:
In practical networking, it is recommended to use the default ONU TDM interface configuration.
v.
Note:
The CES property profile parameters of two ends of the
same PW must be consistent.
vi. Configure PW link service parameters.
F429(config)#pw genProp 1 pwType e1Satop psnType ethernet
outboundLable 0x1102 inboundLable 0x1102 pwName PW1
adminSts up creat
viii. Configure the binding between the PW link and the TDM
interface.
F429(config)#pw relation 1 rate 32 1 1 creat
11. Save the configuration data on the OLT and the ONU.
Result
Prerequisites
144
Networking
Diagram
The E1 user connects to the ONU E1 port. The ZXA10 C220 uplinks
to theTDM network through the E1 port on CE1B card.
Data Scheme
Data
CES VLAN
Priority
E1 uplink port
0/13/1
GPON port
0/10/1
145
Item
Data
Bandwidth: 10 Mbit/s
ONU
T-CONT
146
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG00000002
ONUtype: ZTE-F621
User port: ces_0/1
T-CONT INDEX: 2
T-CONT name: ces-tcont
Applied bandwidth profile:
ces-tcont
Alloc Id: auto-allocate
GEM Port
T-CONT index: 2
GEM Port index: 1
GEM Port name: Gemport1
Port Id: auto-allocate
Default
Default
0015.eb72.001a
0015.eb72.000c
PW link
Clock resumption
Auto negotiation
Type: e1Satop
Sending ECID: 0x1102
Receiving ECID: 0x1102
Configuration
Flow
147
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface tdm-gei_0/13/1
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#switchport vlan 1000 tag
ZXAN(config-if)#exit
6. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 2 name ces-tcont profile ces-tcont
Note:
By default, one V-port corresponds to one GEM port.
9. Configure the OLT CES service.
i.
148
ii.
Note:
In the practical networking, it is recommended to use the
default values for the OLT TDM interface configuration.
iii. Configure the CES property profile of the OLT.
This instance uses the default CES profile. To configure
the CES property profile of the OLT, refer to the topic
Configuring CES TDM Profile.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iv. Create the PW link and configure the TDM property of the
PW link.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_0/13/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_0/13/1 tdm-profile-name default
Note:
v.
Note:
When PSN network type is Ethernet, the in-ecid/out-ecid configured on OLT must correspond to those on ONU. In this
instance, the in-ecid/out-ecid value is 0x1102.
The in-ecid and out-ecid of each PW must be different.
The in-ecid and out-ecid of the same PW can be different. For
convenience, they are generally configured same.
vi. View the PW link configuration information.
149
PsnType :
ethernet
InboundLable :0x1102
Service prop:
Using tdm interface: tdm_0/13/1
TDM-prop profile:
default
You can see detail profile info. by using
corresponding 'show' command.
Psn prop:
Destination Mac Address:
0015.EB72.000C
Vlan ID:
1000
priority: 7
Card prop:
Card interface :
13/1
Source Mac Address: 0015.EB72.001A
Source IP Address : 192.192.192.26
ii.
Note:
The priority is 7. That means, the upstream data with the
priority of 7 are mapped to the GEM port.
iii. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter
vid-filter untag-filter discard
Note:
In practical networking, it is recommended to use the default ONU TDM interface configuration.
ii.
150
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iii. Configure the PSN properties of the PW link.
ZXAN(gpon-onu-mng)#pw psn ethernet ces_0/1 bridge bridge_0/1
dst-mac 0015.eb72.001a loop disable tx-payload-ecid 0x1102
tx-signalling-ecid 0x0 expected-payload-ecid 0x1102
expected-signalling-ecid 0x0 tag-policy tag
vid 1000 prio 7
v.
Result
Context
151
Networking
Diagram
Figure 42 shows the CES dedicated line service networking diagram (GPON).
FIGURE 42 CES DEDICATED LINE SERVICE NETWORKING DIAGRAM (GPON)
Data
CES VLAN
Priority
E1 Uplink port
0/13/1
GPON port
0/10/1
152
Item
Data
ONU
T-CONT
Configuration
Flow
ONU ID: 1
ONU authentication mode: SN
authentication
ONU SN: ZTEG00000002
ONUtype: ZTE-F621
User port: ces_0/1
T-CONT INDEX: 2
T-CONT name: ces-tcont
Applied bandwidth profile:
ces-tcont
Alloc Id: auto-allocate
GEM Port
T-CONT index: 2
GEM Port index: 1
GEM Port name: Gemport1
Port Id: auto-allocate
Default
Default
0015.eb72.001c
0015.eb72.000c
PW link
Clock resumption
Auto negotiation
Type: e1Satop
Sending ECID: 0x1102
Receiving ECID: 0x1102
153
154
Note:
To display the created VLAN information, use the show vlan
summary command.
2. Configure the VLAN of the OLT uplink port.
ZXAN(config)#interface tdm-gei_0/14/1-2
ZXAN(config-if)#switchport mode hybrid
ZXAN(config-if)#switchport vlan 1000 tag
ZXAN(config-if)#exit
6. Create a T-CONT.
ZXAN(config)#interface gpon-onu_0/10/1:1
ZXAN(config-if)#tcont 2 name ces-tcont profile ces-tcont
Note:
By default, one V-port corresponds to one GEM port.
9. Configure the OLT CES service.
i.
155
ii.
Note:
In practical networking, it is recommended to use the default values for the OLT SONET interface configuration.
iii. Configure the CES property profile of the OLT.
This instance uses the default CES profile. To configure
the CES property profile of the OLT, refer to the topic
Configuring CES TDM Profile.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iv. Create the PW link and configure the TDM property of the
PW link.
ZXAN(config)#ces
ZXAN(config-ces)#pw pw_0/14/1
ZXAN(config-ces-pw)#tdm-service type e1Satop rate 32
tdm_0/14/1.1/1/1/1/1 tdm-profile-name default
Note:
The CL1A TDM interface format is: tdm_shelf/slot/port.augno/1/
tug3/tug2/e1.
v.
156
Note:
When the PSN network type is Ethernet, the in-ecid/out-ecid
configured on the OLT must correspond to those on the
ONU. In this instance, the in-ecid/out-ecid value is 0x1102.
The in-ecid and out-ecid of each PW must be different.
The in-ecid and out-ecid of the same PW can be different. For
convenience, they are generally configured same.
vi. View the PW link configuration information.
ZXAN(config)#show ces pw prop detail pw_0/14/1
pw pw_0/14/1
PwType :
e1Satop
Admin-status : enable
OutboundLable :0x1102
PsnType :
ethernet
InboundLable :0x1102
Service prop:
Using tdm interface: tdm_0/14/1.1/1/1/1/1
TDM-prop profile:
default
You can see detail profile info. by using
corresponding 'show' command.
Psn prop:
Destination Mac Address:
0015.EB72.000C
Vlan ID:
1000
priority: 7
Card prop:
Card interface :
14/1
Source Mac Address: 0015.EB72.001C
Source IP Address : 192.192.192.28
ii.
Note:
The priority is 7. That means, the upstream data with the
priority of 7 are mapped to the GEM port.
iii. Configure the VLAN filter mode of the service flow.
ZXAN(gpon-onu-mng)#flow mode 1 tag-filter
vid-filter untag-filter discard
157
Note:
In practical networking, it is recommended to use the default ONU TDM interface configuration.
ii.
Note:
There is a default profile in the ZXA10 C220 system. It is
recommended to use the default profile.
iii. Configure the PSN properties of the PW link.
ZXAN(gpon-onu-mng)#pw psn ethernet ces_0/1 bridge bridge_0/1
dst-mac 0015.eb72.001c loop disable tx-payload-ecid 0x1102
tx-signalling-ecid 0x0 expected-payload-ecid 0x1102
expected-signalling-ecid 0x0 tag-policy tag vid 1000 prio 7
v.
Result
158
Context
Description
Value
profilename
Profile name
Range: 1 63 characters
payloadsize
To enable or disable
the recorder function
reorder
To enable or disable
the RTP header
rtpHdr
32
64
Default: 32
Enable
Disable
Default: enable
Enable
Disable
Default: disable
ssrcval
Synchronization
source identifier
jtrBfr
payloadSuppression
Payload suppression
inSyncPkts
Continuously received
frames to enter LOP
outSyncPkts
Continuously missed
frames to exit LOP
10
pktReplacePolicy
almThreshold
2500 ms
clrAlmThreshold
10000 ms
timestampmode
0
2000
Unit: s
Enable
Disable
Default: disable
Ais
MplementationSpecific
Default: ais
Differential
Absolute
Unknown
Not applicable
Default: differential
queuesizePower
Range: 1 7, when
the recorder function
is enabled
Range: 1 10, other
situation
Default: 5
159
1. Use the configure terminal command to enter the global configuration mode.
2. Use the ces command to enter CES configuration mode.
3. Use the tdm-profile command to configure the TDM profile.
Note:
Reorder:
Ssrcval:
Payload suppression:
PktsOutSync :
AlarmThreshold(ms):
TimeStampMode:
enable
32
disable
10
2500
differential
Context
160
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the interface command to enter the TDM interface configuration mode.
3. Use the admin-status command to configure the TDM interface management status.
4. Use the clock-source command to configure the transmission
clock source of the TDM interface.
5. Use the framing command to configure the SONET/SDH interface frame format. Only SDH is supported now.
6. Use the line-coding command to configure the TDM interface
coding type. The default type is HDB3.
7. Use the line-type command to configure the TDM interface
line type (whether it is framed and the framing type). The
default type is e1.
8. Use the loopback command to configure the TDM interface
loopback mode.
9. Configure the T1/E1 line properties of the SDH interface.
i.
ii.
END OF STEPS
Result
Example
Clock Configuration
This section includes the following:
Overview
161
Clock
Overview
Description
The ZXA10 C220 provides the solution to bear TDM service on PSN.
The clock system is very important in the TDM network. All the devices in the TDM network must synchronize with the unified clock
to ensure the data are transmitted correctly.
There are two solutions for data synchronization in the digital network: pseudo-synchronization and master/slave synchronization.
Table 32 describes the clock synchronization methods.
TABLE 32 CLOCK SYNCHRONIZATION METHODS
Service
Specifications
Method
Description
Pseudo-synchronization
Master/slave synchronization
The ZXA10 C220 master/slave synchronization is used to synchronize the devices in the network. There are three clocks: internal
clock (The system can provide the clock of three levels), external
clock, and line clock (The line clock extracts the clock signals from
the line. These signals are processed by the related cards and sent
to the main control card through the backplane.).
The procedures for the system clock synchronization are as follows:
162
1. The system selects the best one based on the priority and clock
quality of the clock sources. The clock chip of the main control card locates that clock source and synchronizes the output
clock with this clock source.
2. The clock signal processed by the main control card is sent to
the related service cards and the output port of the external
clock.
163
Data Scheme
Data
0/13/1
Clock type
E1
Priority
2. Use the show source active command to view the active clock
source.
ZXAN(config-clock)#show source active
Interface
Type
InS1
OutS1
Status
..........................................................
0/8/0
internal 11
11
FREE_RUN
Note:
If various clock sources are configured, the system selects the
best one based on the priority and actual quality of each clock
source. The selection criteria is as follows: the one with normal clock status, the highest priority, and the best quality. If
these options are the same, select the clock which is configured earlier.
Priority ranges from 1 to 255. Priority 1 is the highest priority.
4. (Optional) Use the no source priority command to delete the
configured clock source.
ZXAN(config-clock)#no source id 0/13/1
Note:
The default internal clock with the priority 251 cannot be
deleted.
5. Use the show clock config command to view the system reference clock source configuration.
ZXAN(config-clock)#show clock config
Shelf/card/slot Type Priority CfgSSM
Mode
Species
..........................................................
164
0/13/1
e1
clock source count: 1
Source
Result
Context
Description
external-input mode
external-input quality
Result
Example
165
Context
Description
external-output mode
external-output ssmThreshold
Result
Example
166
Chapter
VLAN Configuration
Table of Contents
Overview........................................................................ 167
Configuring the TLS VLAN ................................................. 168
Configuring VLAN Smart QinQ ........................................... 169
Configuring the 1:1 VLAN ................................................. 172
Configuring the Service Port VLAN ..................................... 174
Overview
Service
Description
Service
Specifications
Description
TLS VLAN
VLAN Smart
QinQ
1:1 VLAN
Set the special channel for the user port and uplink
port. The packets are exchanged in 1:1 mode
according to the VLAN ID.
Service port
VLAN
167
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the vlan command to add a VLAN.
3. Use the interface command to enter the interface configuration mode.
4. Use the switchport mode command to configure the port
VLAN mode.
Note:
When the user port mode is access or transparent, the TLS
properties cannot be configured.
5. Use the switchport tls enable command to enable port VLAN
TLS.
Note:
In trunk or hybrid mode, when the TLS function is disabled,
TLS VLAN ID is automatically changed to 0.
6. Use the switchport tls vlan command to configure the port
TLS VLAN.
7. Use the show vlan port command to view the port VLAN configuration.
END OF STEPS
Result
Example
168
Context
There are two types of VLAN smart QinQ for the ZXA10 C220.
Based on CoS
When the items on the same port conflict, the item configured
earliest takes effect.
Data Scheme
169
170
Item
Data
VLAN ID: 60
OLT port
0/6/4
ONU ID
Uplink port
0/14/1
Configuration
Flow
Note:
Port VLAN Smart QinQ can be enabled only after global VLAN
Smart QinQ is enabled.
171
Result
Context
1:1 VLAN is a special channel for a user port and uplink port. After 1:1 VLAN is configured, packets are exchanged in 1:1 mode
according to the VLAN ID rather than the MAC + VLAN forwarding
mechanism.
1:1 VLAN exchange is implemented according to the following:
SVLAN
1. Use the configure terminal command to enter the global configuration mode.
2. Use the vlan command to enter the VLAN configuration mode.
3. Use the xconnect command to set the VLAN to 1:1 VLAN.
172
Note:
When a VLAN is set to 1:1 VLAN, if no user port or uplink port
is specified according to the 1:1 VLAN configuration rule, the
general configuration on the VLAN is not allowed. For example, add the VLAN to a port in untagged or tagged mode, or
configure the translation or QinQ rules.
If the specific user port and uplink port are specified according
to the 1:1 VLAN configuration rule, the general configuration
on the 1:1 VLAN based on the user port and uplink port is
allowed, while that based on other ports is denied.
When the 1:1 VLAN is applied to a 1:1 VLAN configuration rule,
the 1:1 VLAN cannot be disabled.
4. Use the vlan-xconnect command to add 1:1 VLAN connection
configuration items.
5. Use the interface command to enter the PON-ONU interface
configuration mode.
6. Use the switchport vlan command to configure the VLAN
properties of the PON-ONU interface.
Note:
The user port has multiple configuration modes, for example,
setting the default VLAN, adding to the 1:1 VLAN, VLAN translation, or VLAN QinQ in tagged or untagged mode. In any
mode, as long as the packets on the user port match the SVLAN
or CVLAN + SVLAN, the 1:1 VLAN exchange is implemented.
7. Use the interface command to enter the uplink port configuration mode.
8. Use the switchport vlan command to configure the VLAN
properties of the uplink port.
Note:
The uplink port needs to be added to the SVLAN in tagged
mode.
9. Use the show vlan-xconnect summary command to view
the configured 1:1 VLAN.
10. Use the show vlan-xconnect detail command to view the
detailed configuration rules of the 1:1 VLAN.
END OF STEPS
Result
Example
173
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#vlan 600
ZXAN(config-vlan)#xconnect enable
ZXAN(config-vlan)#exit
ZXAN(config)#vlan-xconnect user-port epon-onu_0/5/1:1 vport 1
uplink-port gei_0/6/1 svlan 600
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#switchport mode trunk
ZXAN(config-if)#switchport vlan 600 tag
ZXAN(config-if)#exit
ZXAN(config)#interface gei_0/6/1
ZXAN(config-if)#switchportvlan 600 tag
ZXAN(config-if)#exit
ZXAN(config)#show vlan-xconnect summary
All xconnect-vlan num: 1
Details are following:
600
ZXAN(config)#show vlan-xconnect detail
xconnect vlan rule num: 1
User-Port
Vport
Uplink-Port Svlan
Cvlan
------------------------------------------------------epon-onu_0/5/1:1 vport 1
gei_0/6/1
600
0
vport 1
Context
The ONU-level VLAN translation and smart QinQ can be implemented by configuring the service port VLAN under the xPON ONU
port.
At present, the ZXA10 C220 service port configuration supports
the following application scenarios:
174
1. Use the configure terminal command to enter the global configuration mode.
2. Use the interface command to enter the EPON-ONU interface
configuration mode.
3. Use the service-port command to create a service port under
the EPON ONU port.
Note:
After the ONU is configured with the service port rules, the
PON-level VLAN configuration (such as smart QinQ) on the PON
port is ineffective for the ONU and the configured service port
rules take effect.
4. Use the show service-port command to view the configured
service port items.
END OF STEPS
Result
Example
175
176
Chapter
STP Configuration
Table of Contents
Overview........................................................................ 177
Configuring MSTP ............................................................ 178
Overview
STP can be used on loopback networks. It prevents redundant
paths by using specific algorithms, to prune the network loops by
viewing the network logically as a tree structure. This prevents
packet circulation in the network loops.
STP exchanges BPDUs between all the switches of STP in an expanded LAN. BPDU exchange can implement the following functions:
Preventing loop from the topology network by setting the redundant switch port to Discard
SSTP Mode
With the development of WAN, MSTP is widely used. However,
MST domain for MSTP must be configured manually. The network cannot be expanded properly. SSTP makes up the drawback.
By improving MSTP packet format and reducing the frequency of
sending Config/TCN BPDU packets between bridges, SSTP supports faster convergence capability and provides more redundant
paths for data transmission.
SSTP strictly follows the IEEE 802.1d standard. The bridge in SSTP
mode can interwork with the bridge in RSTP and MSTP modes.
177
RSTP Mode
With more LAN voice and media applications developed, the
potential reliability and performance become very crucial. The
availability of each network component is important. The redundancy needs to be set in the WAN connection, and ISP and
routing network. The redundancy bridge path is also needed. The
bridge/switch must locate the default, and reset it immediately.
RSTP meets this requirement
RSTP provides faster convergence than SSTP. When the network
topology changes, the port state of the redundant switch port can
be quickly changed from Discard to Forward in a point-to-point
connection condition.
RSTP complies with the IEEE 802.1w standard.
MSTP Mode
MSTP is added with the concepts of instance and VLAN mapping.
SSTP and RSTP modes can be considered as a special MSTP instance, in which case, the instance is 0. The MSTP mode provides
fast convergence and load balancing for VLAN.
In SSTP and RSTP modes, each port has only one state, that is,
the port has the same forwarding state in different VLANs. In
MSTP mode, multiple spanning-tree instances can exist, and a port
has different forwarding states in different VLANs. Multiple subtree instances can be generated in the MST area to realize load
balancing.
MSTP complies with the IEEE802.1s standard.
Configuring MSTP
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
MSTP is applied in the redundancy network. It provides fast convergence, and enables different VLAN traffics to be dispatched in
the corresponding paths, and thus provides load sharing mechanism for the redundancy links.
MSTP trims the loopback network to a tree network that has no
loops, which prevents packets from increasing and loop in the network. It also provides multiple redundancy paths for data forwarding, in which process realizing VLAN data load balance.
178
The ZXA10 C220 supports MSTP and is compatible with STP and
RSTP. It also supports MSTP ring network.
To configure MSTP, perform the following steps:
Steps
3. Set the maximum valid time for the packet of the local bridge.
By default, the maximum valid time for the STP BPDU packet
of the specific bridge is 20 seconds.
The device determines whether it times out for the port to receive the configuration information according to the maximum
valid time. If it times out, the snapping tree instance needs to
be recalculated.
If the current device is the root bridge device, it determines
the timeout according to the maximum valid time of the root
bridge device. If the current device is a non-root bridge device,
it determines the timeout also according to the maximum valid
time of the root bridge device.
ZXAN(config)#spanning-tree max-age 21
4. Set the time interval for the current bridge to send packets.
By default, the time interval for the specific bridge to send the
STP BPDU packets is 2 seconds.
This time interval ensures that the configuration information is
sent periodically and keeps the spanning tree stable. If the device does not receive any configuration information, it regards
the information timing out and recalculates the spanning tree.
If the current device is the root bridge device, it sends packets
according to the time interval of the root bridge device. If the
current device is a non-root bridge device, it sends packets
also according to the time interval of the root bridge device.
ZXAN(config)#spanning-tree hello-time 3
179
If the current device is the root bridge device, it uses the forwarding delay time interval of the root bridge device. If the
current device is a non-root bridge device, it also uses the forwarding delay time interval of the root bridge device.
ZXAN(config)#spanning-tree forward-delay 16
Note:
To ensure MSTP to work normally in the network, the maximum
valid time for the packet of the local bridge, the time interval
for the current bridge to send packets, and the STP forwarding delay time interval of the current bridge should meet the
following formula:
2 (forwarding delay time 1.0 second) maximum valid
time 2 (sending time interval + 1.0 second)
6. Set the transparent transmission mark.
Before enabling or disabling STP transparent transmission, disable the STP switch. After transparent transmission is enabled,
the chip broadcasts the received BPDU packets in the VLAN
rather than sending them to the CPU.
ZXAN(config)#spanning-tree disable
ZXAN(config)#spanning-tree transparent enable
180
is
Note:
In SSTP and RSTP modes, the ZXA10 C220 only has instance
0, that is CIST. In MSTP mode, instance 0 exists by default and
cannot be deleted.
The devices in one domain should meet all the following requirements:
13. Set the maximum hops of the local bridge BPDU packets.
The maximum hops of the BPDU packets in the MST domain
ranges from 1 to 40, and the default value is 20.
In the MST domain, when a BPDU packet is forwarded from
the root device of the spanning tree to other devices, the hop
181
END OF STEPS
Result
182
Chapter
DHCP Configuration
Table of Contents
Overview........................................................................ 183
Configuring DHCP Snooping .............................................. 184
Configuring the DHCP Server ............................................ 185
Configuring DHCP Relay ................................................... 186
Overview
DHCP enables a host on the network to obtain an IP address that
ensures its normal communication and the relevant configuration
information from a DHCP server.
DHCP uses UDP as the transmission protocol. The host sends
a message to port 67 of the DHCP server and the DHCP server
returns the message to port 68 of the host. The DHCP working
process is as follows:
1. The host sends a broadcast packet DHCPDiscover including the
request of the IP address and other configuration parameters.
2. The DHCP server returns a unicast packet DHCPOffer including
the valid IP address and configuration.
3. The host selects the server which returns the first DHCPOffer
and sends a broadcast packet DHCPRequest to the server, indicating to accept relevant configuration.
4. The selected DHCP server returns a unicast packet DHCPAck
for acknowledgement.
At this point, the host can use the IP address and relevant configuration obtained from the DHCP server for communication.
The ZXA10 C220 supports the following DHCP applications:
DHCP snooping
On the ZXA10 C220, monitor the DHCP communication process
of the specified ONU in the specified VLAN to record the user
IP/MAC relationship of the specified ONU.
Through DHCP snooping, the administrator can locate the access users by the IP addresses to implement IP address antisnooping.
DHCP server
The ZXA10 C220 works as the DHCP server to allocate IP addresses for users.
183
DHCP relay
The ZXA10 C220 works in layer-3 switching state as the DHCP
relay. It forwards the user DHCP request to the specified DHCP
server.
The ZXA10 C220 can either work as the DHCP server or DHCP
relay. Both of the applications, however, cannot be used simultaneously on the same VLAN interface.
The ZXA10 C220 uses DHCP snooping to prevent unauthorized
DHCP server from accessing the network. A trusted port needs to
be configured for the proper DHCP server.
Context
Steps
Result
Example
184
The VPORT is 1.
Context
Steps
185
Note:
When the DHCP server is directly connected with the client
subnet, the default gateway address should be set to the IP
address that the interface VLAN corresponds to.
10. Use the peer default ip pool command to configure the IP
address pool of the layer-3 interface.
11. Use the show ip dhcp server user vlan command to view
the user information on the DHCP server.
END OF STEPS
Result
Example
VLAN ID: 10
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#ip dhcp enable
ZXAN(config)#ip local pool zte 10.10.1.3 10.10.1.254 255.255.255.0
ZXAN(config)#ip dhcp server dns 10.10.1.2
ZXAN(config)#ip dhcp server leasetime 90
ZXAN(config)#vlan 10
ZXAN(config-vlan)#exit
ZXAN(config)#interface vlan 10
ZXAN(config-if)#ip address 10.10.1.1 255.255.255.0
ZXAN(config-if)#ip dhcp mode server
ZXAN(config-if)#ip dhcp server gateway 10.10.1.1
ZXAN(config-if)#peer default ip pool zte
ZXAN(config-if)#show ip dhcp server user vlan 10
Current online users are 0.
Index MAC addr
IP addr
State
Expiration
Context
Steps
186
Note:
The DHCP relay agent address should be consistent with the IP
address configured on the layer-3 interface.
6. Configure the DHCP relay server.
The DHCP relay server can be configured in the following ways:
187
7. Use the show ip dhcp relay user vlan command to view the
user information on the DHCP relay.
END OF STEPS
Result
Example
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#ip dhcp enable
ZXAN(config)#interface vlan 200
ZXAN(config-if)#ip address 136.136.136.1 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#interface vlan 300
ZXAN(config-if)#ip address 135.135.135.1 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#interface vlan 200
ZXAN(config-if)#ip dhcp mode relay
ZXAN(config-if)#ip dhcp relay agent 136.136.136.1
ZXAN(config-if)#exit
ZXAN(config)#ip dhcp relay server vclass-id zte 135.135.135.118 standard
ZXAN(config)#interface vlan 200
ZXAN(config-if)#ip dhcp helper-address policy vclass-id
ZXAN(config-if)#exit
188
Chapter
10
ACL Configuration
Table of Contents
Configuring the Standard ACL ........................................... 189
Configuring the Extended ACL ........................................... 190
Configuring the Layer-2 ACL ............................................. 191
Configuring the Hybrid ACL ............................................... 193
Context
Steps
Note:
The standard ACL number ranges from 1 to 99. It is applied to
the Ethernet port only.
4. Use the rule command to configure the ACL rules.
189
Note:
Context
Steps
190
Note:
The extended ACL number ranges from 100 to 199. It can be
applied to the Ethernet port and EPON OLT port.
4. Use the rule command to configure the ACL rules.
Note:
191
Prerequisites
Context
Steps
Note:
The layer-2 ACL number ranges from 200 to 299. It can be
applied to the Ethernet port and EPON OLT port.
4. Use the rule command to configure the ACL rules.
Note:
192
Context
Steps
Note:
The hybrid ACL number ranges from 300 to 399. It can be
applied to the Ethernet port, EPON OLT port, EPON ONU port,
and GPON ONU port.
4. Use the rule command to configure the ACL rules.
Note:
193
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#acl hybrid number 300
ZXAN(config-hybd-acl)#rule 1 deny any any any arp
ZXAN(config-hybd-acl)#rule 2 deny any any 192.168.1.0 0.0.0.255
ip ingress 0000.0000.0001 0000.0000.0000 egress any
ZXAN(config-hybd-acl)#rule 3 permit any any any any
ZXAN(config-hybd-acl)#show acl 300
acl hybrid number 300
rule 1 deny any any any arp ingress any egress any
rule 2 deny any any 192.168.1.0 0.0.0.255 ip ingress
0000.0000.0001 0000.0000. 0000 egress any
rule 3 permit any any any any ingress any egress any
ZXAN(config-hybd-acl)#exit
ZXAN(config)#interface gei_0/14/1
ZXAN(config-if)#ip access-group 300 in
194
Chapter
11
Uplink Protection
Configuration
Table of Contents
Overview........................................................................ 195
Configuring UAPS ............................................................ 195
Configuring CL1A 1+1 Protection ....................................... 198
Configuring Link Aggregation ............................................ 200
Overview
The ZXA10 C220 provides uplink port service protection to enhance the service transmission stability.
The ZXA10 C220 supports the following uplink protection methods:
Link aggregation
CTLA 1+1
UAPS
Configuring UAPS
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
195
The working port transmits data while the standby port does not.
To configure UAPS, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the uaps-group command to configure the UAPS group.
3. Use the revertive command to enable active/standby autoswitch for the UAPS group.
When this function is enabled and the active uplink port is recovered, the system automatically switches back to the active
port.
4. Use the port master-port portlist slave-port portlist command to configure the active and standby ports for the UAPS
group.
5. Use the protect-time command to configure the UAPS group
protection time.
If the UAPS group implements switchover once, it does not
implement it again during the protection time to avoid frequent
switchover and ensuring the link quality.
6. Use the switch-type command to configure the UAPS group
properties.
7. Use the next-hop command to configure the next-hop IP address for link detection.
To modify the next-hop IP address, carry out this command
again. To delete the next-hop IP address, use the no command
or set the next-hop parameter to 0.
8. Use the retry-link-detect command to configure the UAPS
retry times for link detection.
9. Use the interval-link-detect command to configure the interval for link detection.
The detection period takes effect only when the next-hop IP
address is configured.
10. Use the port-optical-tx-control command to enable/disable
the optical function on the standby port by force.
196
Note:
If this function is enabled, the UAPS optical port of the local NE
and the peer device should disable the auto-negotiation mode
and enable force mode.
ZXAN(config)#interface xgei_0/2/1
ZXAN(config-if)#no negotiation auto
11. Use the swap command to switch the UAPS group ports by
force.
The active and standby ports in the UAPS group can be
switched only when the standby port is up.
12. Use the show uaps groupid command to view the UAPS
group status.
END OF STEPS
Result
Example
Group ID: 1
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#uaps-group 1
ZXAN(cfg-uaps-1)#port master-portlist gei_0/6/1
slave-portlist gei_0/6/2
ZXAN(cfg-uaps-1)#protect-time 400
ZXAN(cfg-uaps-1)#switch-type common-port
ZXAN(cfg-uaps-1)#revertive enable
ZXAN(cfg-uaps-1)#show uaps groupid 1
Revertive control
:
enable
PortLight control
:
disable
Protect-time
:
400s
Next-hop
:
0.0.0.0
Bfd next_hop
:
0.0.0.0
Link-type
:
normal
Link-detect-retry
:
5
Link-detect-interval
:
3
Link status
:
connected or NA
Bfd Link status
:
connected or NA
Switch-type
:
common port
Master ports status
:
forwarding
gei_0/6/1 : down
Slave ports status
block
gei_0/6/2 : down
197
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
CL1A 1+1 protection needs two CL1A cards to protect each other.
One CL1A card is the working card, connecting to the SDH of the
opposite end, as the working channel. The other CL1A card is the
protection card, connection to the SDH of the opposite end, as the
protection channel.
1+1 protection works in concurrently transmitting and preferably
receiving mode.
On the SDH->CL1A direction, the working channel and protection channel receive the data simultaneously. The main control
card receives data from one channel, discarding data from the
other channel.
card:
1:
Note:
If the IP mode is used, the IP addresses also need to be the
same.
When the protection group is created, the inner ports of the working card and protection card need to be added to the corresponding
service VLAN at the same time.
ZXAN(config)#interface tdm-gei_0/14/1-2
ZXAN(config-if-range)#switchport vlan 4000 tag
ZXAN(config-if-range)#exit
ZXAN(config)#interface tdm-gei_0/13/1-2
ZXAN(config-if-range)#switchport vlan 4000 tag
198
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the ces command to enter the CES configuration mode.
3. Use the sdhprot group command to configure the protection
group.
4. Use the sdhprot prop command to configure the properties
of the protection group.
Mode: revertive mode and non-revertive mode. By default, it
is non-revertive mode.
Wtr : the time to wait for restoration. The unit is s. Only 0 is
supported.
5. Use the sdhprot switch-command group command to configure the protection switch command.
199
Mode: non-revertive
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#ces
ZXAN(config-ces)#sdhprot group aaa worksdhport tdm_0/14/1
protectsdhport tdm_0/13/1 1plus1
ZXAN(config-ces)#sdhprot switch-command group aaa force w2p
ZXAN(config-ces)#show ces sdhprot group prop aaa
Name :
Protect interface:
Work interface :
Active interface:
Type :
Mode:
Holdoff:
Wtr:
aaa
tdm_0/13/1
tdm_0/14/1
protect-channel
1+1
non-revertive
0
0
Configuring Link
Aggregation
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
200
Static trunk
Static trunk directly adds multiple physical ports to a trunk
group, thus forming a logical port. This mode is not suitable
for observing the status of the link aggregation port.
LACP
This method converges multiple physical ports into a trunk
group to form a logical port and automatically generates aggregation to obtain the maximum bandwidth.
Consider the following rules to configure the link aggregation function in the ZXA10 C220 system:
1. Use the configure terminal command to enter the global configuration mode.
2. Use the interface smartgroup command to create an aggregation port group.
3. Use the smartgroup load-balance command to configure the
load-balance mode.
Note:
The ZXA10 C220 supports six types of load-balance:
201
Note:
The aggregation modes include the following:
On: The port runs static trunk. Both end of the aggregated
link should be set to the on mode.
Passive: The port runs LACP in passive negotiation mode.
Active: The port runs LACP in active negotiation mode.
It is recommended to set one end to active mode and the
other end to passive, or set both ends to active.
202
Chapter
12
QoS Configuration
Table of Contents
Overview........................................................................ 203
Traffic Management Based On ACL Rules............................. 203
Configuring Traffic Shaping ............................................... 209
Queue Scheduling Configuration ........................................ 209
Configuring DSCP Mapping................................................ 214
Configuring Bridge Port QoS.............................................. 217
Overview
Service
Description
QoS indicates the performance of data flows when they pass the
network. QoS provides the peer-to-peer quality assurance through
a series of metrics such as the service availability, throughput,
delay/jitter, and packet loss ratio.
Service
Specification
It uses ACL to classify packets according to the physical interface, MAC address, IP address, protocol type, or application port number. Meanwhile, it marks the 802.1q priority or
ToS/DSCP priority of the packets.
Both the user side and network side support eight CoS queues.
The network side supports FQ, SP, and WRR scheduling. The
user side supports SP, WRR, and SP+WRR scheduling.
203
Configuring Redirection
Context
Modify DSCP.
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl command to configure the ACL.
3. Use the rule command to configure the ACL rules.
4. Use the traffic-limit in command to configure the traffic limit.
5. In Ethernet interface mode, use the ip access-group acl in
command to apply the ACL to the uplink port.
6. In EPON-OLT interface mode, use the ip access-group acl in
command to apply the ACL to the EPON-OLT port.
7. In EPON-ONU interface mode, use the ip access-group acl
{in |out} [vport vport] command to apply the ACL to the
EPON-ONU port.
END OF STEPS
Result
Example
204
rule 2 permit any any any any ingress any egress any
ZXAN(config)#traffic-limit in 300 rule-id 1 cir 5000 cbs 2000
pir 10000 pbs 2000 mode blind
ZXAN(config)#interface gei_0/14/1
ZXAN(config-if)#ip access-group 300 in
ZXAN(config-if)#exit
ZXAN(config)#interface epon-onu_0/6/4:1
ZXAN(config-if)#ip access-group 300 in
ZXAN(config-if)#exit
Context
Priority mark is used to assign priorities to certain packets according to ACL rules. It supports the following operations:
Note:
The ToS priority and DSCP priority are mutually exclusive and cannot be configured at the same time.
The ZXA10 C220 supports ACL configuration on the uplink port,
OLT port, and ONU bridge port.
To configure priority mark, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl command to configure the ACL.
3. Use the rule command to configure the ACL rules.
4. Use the priority-mark in command to configure the priority
mark.
5. In Ethernet interface mode, use the ip access-group acl in
command to apply the ACL to the uplink port.
6. In EPON-OLT interface mode, use the ip access-group acl in
command to apply the ACL to the EPON-OLT port.
7. In xPON-ONU interface mode, use the ip access-group acl
in [vport vport] command to apply the ACL to the xPON-ONU
interface.
END OF STEPS
205
Result
Example
Context
The source port and destination port for traffic mirroring work
normally.
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl command to configure the ACL.
3. Use the rule command to configure the ACL rules.
4. Use the traffic-mirror in command to configure traffic mirroring.
5. In Ethernet interface mode, use the ip access-group acl in
command to apply the ACL to the uplink port.
6. In EPON-OLT interface mode, use the ip access-group acl in
command to apply the ACL to the EPON-OLT port.
7. In xPON-ONU interface mode, use the ip access-group acl
in [vport vport] command to apply the ACL to the xPON-ONU
interface.
END OF STEPS
Result
206
Example
Mirror the traffic that matches ACL rule 10 received from port
gei_0/14/1 to port gei_0/14/2.
ZXAN(config)#acl standard number 10
ZXAN(config-std-acl)#rule 1 permit 168.2.5.5
ZXAN(config-std-acl)#rule 2 permit any
ZXAN(config-std-acl)#exit
ZXAN(config)#traffic-mirror in 10 rule-id 1 interface gei_0/14/2
ZXAN(config)#interface gei_0/14/1
ZXAN(config-if)#ip access-group 10 in
Configuring Redirection
Short Description
Prerequisites
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl command to configure the ACL.
3. Use the rule command to configure the ACL rules.
4. Use the redirect in command to redirect the traffic that
matches the ACL rules.
5. In Ethernet interface mode, use the ip access-group acl in
command to apply the ACL to the uplink port.
6. In EPON-OLT interface mode, use the ip access-group acl in
command to apply the ACL to the EPON-OLT port.
7. In xPON-ONU interface mode, use the ip access-group acl
in [vport vport] command to apply the ACL to the xPON-ONU
interface.
END OF STEPS
Result
Example
207
Context
Traffic statistics is used to collect statistics on the packets of specific service flows. It counts quality and bytes of the packets arrived at the ingress port.
To configure traffic statistics, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl command to configure the ACL.
3. Use the rule command to configure the ACL rules.
4. Use the traffic-statistics in command to collect statistics on
the traffic that matches the ACL rules.
5. In Ethernet interface mode, use the ip access-group acl in
command to apply the ACL to the uplink port.
6. In EPON-OLT interface mode, use the ip access-group acl in
command to apply the ACL to the EPON-OLT port.
7. In xPON-ONU interface mode, use the ip access-group acl
in [vport vport] command to apply the ACL to the xPON-ONU
interface.
8. Use the show traffic-statistics command to view the traffic
statistics information.
9. In privilege mode, use the clear traffic-statistics command
to clear traffic statistics.
END OF STEPS
Result
Example
208
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the qos traffic-shape command to configure traffic shaping on the uplink port.
3. In EPON-OLT interface mode, use the qos traffic-shape command to configure traffic shaping on the PON port.
END OF STEPS
Result
Example
Queue Scheduling
Configuration
Queue is the unit for packet scheduling on a physical port. Queue
scheduling ensures that the packets for key services are processed
in time when network congestion occurs.
Queue scheduling of the ZXA10 C220 has the following features:
209
SP (default)
WRR
SP + WRR
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
Each physical port of the ZXA10 C220 supports eight (0 7) output queues, which are called CoS queues. The device performs
operations on the output queues on the entry port according to
the CoS queues corresponding to the packet 802.1p. When congestion occurs on the network, multiple packets may compete for
one resource. Queue scheduling can solve this problem.
The ZXA10 C220 supports three queue scheduling modes:
SP
Queue scheduling follows the priorities strictly. The packets of
the queue with higher priority are sent first. By default, this
mode is used.
WRR
The eight queues have weights from high to low (w7, w6, w5,
w4, w3, w2, w1, w0). The weight indicates the proportion of
obtaining resources. WRR implements round scheduling between queues to ensure that each queue has certain service
time.
SP+WRR
This mode is the combination of the previous modes. Some
queues use SP scheduling and some use WRR scheduling.
When the WRR value is specified to 0, the queue uses the SP
scheduling.
On the network side, the ZXA10 C220 supports three queue scheduling modes:
Fair-queue
SP
WRR
Note:
In fair-queue mode, each priority is scheduled fairly.
The ZXA10 C220 PON port supports three types of queue scheduling modes:
210
SP
WRR
SP+WRR
1. Use the configure terminal command to enter the global configuration mode.
2. In Ethernet mode, use the qos queue-mode command to configure the queue scheduling mode on the network-side port.
Note:
When the queue weight is 0, the queue scheduling mode is SP.
3. Use the qos-user-side queue-block-profile command to
create PON interface queue scheduling profiles.
Note:
The system supports five profiles. The default QoS queue block
profile is _DFT_QUEUE_BLOCK_PRF, which cannot be modified
or deleted. The user can create and configure the other four
profiles as required.
4. Use the queue-block command to configure the queue scheduling profile parameters of the PON port.
Note:
When the queue weight is 0, the queue scheduling mode is SP.
The queue depth of each default PON port is 48, which cannot
be configured arbitrarily.
5. In xPON-OLT interface mode, use the qos queue-block-pr
ofile command to apply the queue scheduling profile to the
specified OLT port.
END OF STEPS
Result
Example
211
6
10
48
7
10
48
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
AND
802.1P PRIORITIES
Queue No.
802.1p
Priority
Drop
Precedence at
Network Side
Drop
Precedence
at User Side
212
1. Use the configure terminal command to enter the global configuration mode.
2. Use the qos-network-side cos-local-map command to configure the mapping table between the network-side 802.1p
user priorities and the local queues.
3. Use the qos-network-side cos-drop-map command to configure the mapping table between network-side 802.1p user
priorities and the local drop precedences.
4. Use the qos-network-side trust-cos enable command to
enable mapping between network-side 802.1p priorities and
queues.
Note:
If mapping is enabled, the incoming data are mapped from CoS
to queues according to the cos-local-map table.
5. Use the qos-user-side cos-queue-map-profile command to
create a mapping profile from 802.1p user priorities on the
user-side port to the local queues.
Note:
The system supports five mapping profiles. The default profile
name is _DFT_COS_QUEUE_MAP_PRF, which cannot be modified
or deleted. The user can create and configure the other four
mapping profiles as required.
6. Use the cos-queue-map command to configure the mapping
relations between the 802.1p user priorities to the local
queues.
7. In OLT interface mode, use the qos cos-queue-map-profile
command to apply the mapping profile on the OLT interface.
8. Use the show qos-network-side cos-local-map command
to view the mapping relations between the network-side port
802.1p priorities and queues.
9. Use the show qos-network-side cos-drop-map command
to view the mapping relations between the network-side port
802.1p user priorities to the local drop precedence.
10. Use the show qos-network-side trust-cos command to
view the mapping function on the network-side port
11. Use the show qos-user-side cos-queue-map-profile command to view the information on the mapping profile from the
user-side port 802.1p priorities to queues.
END OF STEPS
Result
Example
213
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#qos-network-side cos-local-map cos0 0 cos1 2 cos2 6 cos3 6
cos4 6 cos5 6 cos6 6 cos7 6
ZXAN(config)#qos-network-side trust-cos enable
Drop precedences: 0
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#qos-user-side cos-queue-map-profile test
ZXAN(cfg-cos2q-prf)#cos-queue-map cos0 0 0 cos1 2 0 cos2 6 0 cos3 6
0 cos4 6 0 cos5 6 0 cos6 6 0 cos7 6 0
ZXAN(cfg-cos2q-prf)#exit
ZXAN(config)#show qos-user-side cos-queue-map-profile test
--------------------------------------------------------profile name
: TEST
profile detail :
cos-queue-map ---- cos
: 0 1 2 3 4 5 6 7
---- queue : 0 2 6 6 6 6 6 6
---- drop : 0 0 0 0 0 0 0 0
profile used by :
ZXAN(config)#interface epon-olt_0/5/1
ZXAN(config-if)#qos cos-queue-map-profile test
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
By default, the mapping relations between the CoS (802.1p) priorities and DSCP priorities are as follows:
214
The default values of the 64 DSCP (0 63) lists in qos-networkside conform-dscp are 0 63 respectively.
To configure the mapping relations between the CoS (802.1p) priorities and DSCP priorities, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the qos-network-side conform-dscp command to configure the service parameter table used by the network-side
port to allocate packets for indexes according to the DSCP
value.
Note:
This mapping table is used when trust-dscp is enabled on the
port.
3. Use the qos-network-side trust-dscp enable command to
enable DSCP mapping on the network-side port.
4. Use the qos-user-side cos-dscp-map command to configure
the mapping relations between the user-side port CoS (802.1p)
values and the DSCP values and modify the DSCP priority characters according to the 802.1p priority.
Note:
This mapping table is used when the DSCP mode is trust-cosmap on the port or virtual port.
5. Use the qos-user-side dscp-cos-map command to configure
the mapping relations between the user-side port DSCP values
and the CoS (802.1p) values and modify 802.1p priority characters according to the DSCP priority.
215
Note:
This mapping is used when the mode of CoS or CTAG-CoS is
trust-dscp-map on the port or virtual port.
6. Use the show qos-network-side conform-dscp command
to view the mapping relations between the network-side port
CoS (802.1p) priorities and DSCP priorities.
7. Use the show qos-network-side trust-dscp command to
view the DSCP mapping status on the network-side port.
8. Use the show qos-user-side cos-dscp-map command to
view the mapping relations between the user-side port CoS
(802.1p) values and DSCP values.
9. Use the show qos-user-side dscp-cos-map command to
view the mapping relation between the user-side port DSCP
values and CoS (802.1p) values.
END OF STEPS
Result
Example
CoS: 0
Drop precedence: 2
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#qos-network-side conform-dscp 0 61 0 2
ZXAN(config)#qos-network-side trust-dscp enable
ZXAN(config)#show qos-network-side conform-dscp
-------------------------------------------------------------------dscp list
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
dscp value
61 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
cos value
0 0 0 0 0 0 0 0 0 0 0
0
0
0
0
0
drop priority 2 0 0 0 0 0 0 0 0 0 0
0
0
0
0
0
-----------------------------------------------------------------dscp list
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
dscp value
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
cos value
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
drop priority 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
--------------------------------------------------------------dscp list
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
dscp value
32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47
cos value
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
drop priority 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
-------------------------------------------------------------dscp list
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
dscp value
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63
cos value
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
drop priority 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
ZXAN(config)#show qos-network-side trust-dscp
----------------------------------trust-dscp: Enable
216
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
By default, the system uses the default QoS profile _DFT_VIRTUAL_PORT_PRF on all the bridge ports. The detailed parameters
are as follows:
ZXAN(config)#show qos-user-side virtual-port-profile
_DFT_VIRTUAL_PORT_PRF
------------------------------------------------------profile name
: _DFT_VIRTUAL_PORT_PRF
profile detail :
cos-filter
---- : disable
def-scos
---- : 0
cos-remark-profile
---- : _DFT_COS_REMARK_PRF
ingress-cos-set-mode ---- : trust
egress-cos-set-mode
---- : trust
ingress-dscp-set-mode ---- : trust
profile used by :
1. Use the configure terminal command to enter the global configuration mode.
2. Use the qos-user-side virtual-port-profile command to create a bridge port QoS profile.
Note:
The system supports five profiles. The system default profile is _DFT_VIRTUAL_PORT_PRF, which cannot be modified or
deleted. The user can create and configure the other four mapping profiles as required.
3. Use the def-scos command to configure the default CoS value.
4. Use the cos-filter command to configure CoS priority filtering.
When this function is enabled and the CoS value in the ingress
packet is inconsistent with the default CoS value of the virtual
port, this packet is discarded.
5. Use the ingress-cos-set-mode command to configure the
upstream CoS priority setting mode on the PON port.
217
Note:
The CoS priority setting modes include the following:
trust: Keep the CoS value of the upstream data stream the
same.
scos-override: Change the CoS field of the external tag
according to the def-scos value.
scos-remark: Change the CoS field of the external tag according to the CoS remark profile.
ccos-scos-remark: Change the CoS field of both the external and internal tags according to the CoS remark profile.
Note:
trust: Set the CoS field according to the CoS value of the
ingress packet.
trust-dscp-map: Implement mapping according to the
mapping table from the DSCP values to the CoS (802.1p)
values.
remark: Change the CoS field according to the CoS remark
profile.
Note:
The DSCP value setting modes include the following:
218
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#qos-user-side virtual-port-profile test
ZXAN(cfg-qos-vport-prf)#def-scos 2
ZXAN(cfg-qos-vport-prf)#ingress-cos-set-mode override
ZXAN(cfg-qos-vport-prf)#exit
ZXAN(config)#show qos-user-side virtual-port-profile test
--------------------------------------------------------profile name
: TEST
profile detail :
cos-filter
---- : disable
def-scos
---- : 2
cos-remark-profile
---- : _DFT_COS_REMARK_PRF
ingress-cos-set-mode ---- : scos-override
egress-cos-set-mode
---- : trust
ingress-dscp-set-mode ---- : trust
profile used by :
ZXAN(config)#interface epon-onu_0/5/1:1
ZXAN(config-if)#qos virtual-port-profile test vport 1
ZXAN(config-if)#exit
219
220
Chapter
13
Security Management
Configuration
Table of Contents
User Port Location Configuration ........................................ 221
Configuring Control Panel Security ..................................... 225
Overview
Configuring PPPoE+
Overview
The ZXA10 C220 provides the port location mechanism to improve
network security and prevent user accounts from being stolen.
Port location can be implemented by the following methods:
DHCP Option 82
PPPoE+
221
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
1. Use the configure terminal command to enter the global configuration mode.
2. Use the dhcp-option82 enable command to enable global
DHCP Option 82.
3. Use the port-location access-node-identifier command to
configure access node ID in the user ID.
4. Use the port-location hostname command to configure the
host name for port location.
This command is mandatory when port-location access-no
de-identifier is set to the host name.
5. Use the interface command to enter the xPON-ONU interface
mode.
6. Use the port-location format command to configure the
Agent Circuit ID format.
7. Use the port-location sub-option remote-id command to
enable or disable the DHCP Option 82 Remote ID field.
8. Use the port-location sub-option remote-id name command to configure the remote ID of port DHCP Option 82.
9. Use the dhcp-option82 enable command to enable the port
DHCP Option 82 function.
10. Use the dhcp-option82 trust command to configure the port
to trust/untrust port and configure the processing policy.
Note:
If it is a Trust port, the user can select the Keep or Replace
policy. If it is a Untrust port, the user can select the Discard
or Add policy.
222
12. Use the show port-location port command to view the portlevel configuration of port location.
13. Use the show dhcp-option82 global command to view the
global configuration of DHCP Option 82.
14. Use the show dhcp-option82 port command to view the
port-level configuration of DHCP Option 82.
END OF STEPS
Result
Example
Configuring PPPoE+
Short Description
Prerequisites
Context
The user has logged in to the ZXA10 C220 through HyperTerminal or Telnet.
When users access the Internet in PPPoE+ mode, the system uses
PPPoE+ Intermediate Agent to locate port. The system carries the
user information in the PPPoE+ discovery packets to report to the
BRAS for user authentication, and thus binding the user account
and circuit.
To configure PPPoE+, perform the following steps:
Steps
1. Use the configure terminal command to enter the global configuration mode.
223
Note:
If it is a Trust port, the user can select the Keep or Replace
policy. If it is a Untrust port, the user can select the Discard
or Add policy.
224
Example
Out-of-band traffic
For out-of-band traffic, the system limits the speed, controlling the total CPU packet ratio and some protocol packet ratio
coming from the external band.
In-band traffic
For in-band traffic, besides limiting the speed, the system uses
the Anti-DOS module to record the packet MAC address and
directly drop the packets whose ratio exceeds the threshold.
Context
Steps
225
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#control-panel
ZXAN(control-panel)#anti-dos enable
ZXAN(control-panel)#anti-dos limit-num 20
ZXAN(control-panel)#anti-dos drop enable
ZXAN(control-panel)#anti-dos drv-limit enable
ZXAN(control-panel)#anti-dos blocking-time 300
ZXAN(control-panel)#packet-limit arp 10
226
Chapter
14
IP User Access
Management
Table of Contents
Configuring MFF .............................................................. 227
Configuring ARP Anti-Spoofing .......................................... 229
Configuring MFF
Short Description
Overview
MFF Principle
227
Switch A and Switch B, as Ethernet access nodes, provide the connection between the client host and convergence node Switch C.
The MFF function is configured at the Ethernet access node to enable the data packets on the client to interwork and to be forwarded through the gateway, which realizes the layer-3 interworking between clients and guarantees the isolation between layer-2
data.
Host A finds that the MAC address of Host B is also the gateway
MAC address. This ensures that even though Host A and Host
B are in the same network segment and the same VLAN, their
exchange must be implemented through the gateway and thus
layer-2 isolation is achieved.
To configure MFF, perform the following steps.
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the ip-service mac-forced-forwarding command to enable the MFF function.
3. Use the ip-service mac-forced-forwarding vlan command
to enable the IP/MAC address of the MFF gateway in a VLAN.
Note:
At present, the system supports the MEF gateway data configuration of up to eight VLANs.
4. Use the show ip-service mac-forced-forwarding command
to view the global MFF status.
5. Use the show ip-service gateway command to display the
gateway information on each VLAN of MFF.
Result
Example
228
Configuring ARP
Anti-Spoofing
Short Description
Overview
Context
Steps
Result
Example
229
230
Chapter
15
System Security
Configuration
Table of Contents
Overview........................................................................ 231
Configuring SSH .............................................................. 231
Configuring TACACS+ ...................................................... 233
Configuring RADIUS......................................................... 234
Configuring Management ACL............................................ 235
Overview
Service
Description
Service
Specifications
SSH
TACACS+
RADIUS authentication
Management ACL
Configuring SSH
Short Description
Prerequisites
Context
231
1. Use the configure terminal command to enter the global configuration mode.
2. Use the ssh server enable command to enable the SSH function.
3. Use the ssh server version command to configure the SSH
version.
4. Use the ssh server generate-key command to generate the
RSA key.
Note:
If the protocol version is v2, the client and the server interworks with each other to generate the key automatically and
the user can skip this command.
5. Use the ssh server authentication mode command to configure the SSH authentication mode.
6. Use the ssh server authentication type command to configure the SSH authentication type.
Note:
If the authentication mode is local, the user can skip this command.
7. Use the ssh server authentication ispgroup command to
configure the SSH authentication RADIUS group.
Note:
If the authentication mode is local, the user can skip this command.
8. Use the radius authentication-group command to create a
RADIUS server group.
9. Use the server command to configure the IP address and parameters of the RADIUS server.
10. Use the ssh server only command to permit the SSH only.
11. Use the show ssh command to view the SSH configuration.
END OF STEPS
Result
Example
232
SSH is configured.
Configure SSH:
SSH version: 2
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#ssh server enable
ZXAN(config)#ssh server only
ZXAN(config)#ssh server authentication mode radius
ZXAN(config)#ssh server authentication type pap
ZXAN(config)#ssh server version 2
ZXAN(config)#ssh server authentication ispgroup 2
ZXAN(config)#radius authentication-group 2
ZXAN(config-authgrp-2)#server 1 192.168.1.1 key zte
ZXAN(config-authgrp-2)#exit
ZXAN(config)#show ssh
SSH configuration:
SSH enable-flag configuration : enable
SSH version
: ver2.0
SSH only configuration
: enable
SSH init server key
: disable
SSH auth radius isp-groupid
: 2
SSH auth mode
: radius
SSH auth type
: pap
Configuring TACACS+
Short Description
Prerequisites
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the login-authorization-type command to configure the
login authentication mode.
233
Configuring RADIUS
Short Description
Prerequisites
Context
Steps
1. Use the configure terminal command to enter the global configuration mode.
2. Use the radius authentication-group command to configure
the RADIUS authentication group.
234
Authentication group: 1
Key: zte
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#radius authentication-group 1
ZXAN(config-authgrp-1)#server 1 10.61.225.14 key zte
ZXAN(config-authgrp-1)#timeout 120
ZXAN(config-authgrp-1)#algorithm round-robin
ZXAN(config-authgrp-1)#deadtime 60
ZXAN(config-authgrp-1)#max-retries 3
Configuring Management
ACL
Short Description
Prerequisites
Context
235
1. Use the configure terminal command to enter the global configuration mode.
2. Use the acl standard command to configure the standard ACL.
3. Use the rule command to configure the ACL rules.
4. Use the line telnet access-class command to apply the ACL
to the Telnet access.
5. Use the snmp-server access-list command to apply the ACL
to SNMP access.
6. Use the show acl command to view the ACL rule configuration
information.
END OF STEPS
Result
Example
236
Figures
237
238
Tables
239
240
Index
10G EPON Service ............. 45
A
Adding a Card ................... 14
Adding a Rack ................... 12
Adding a Shelf .................. 13
ARP Anti-Spoofing ........... 229
Authenticating an ONU
(EPON) ........................... 25
Authenticating an ONU
(GPON)........................... 63
C
Clock ............................. 162
Configuring ARP AntiSpoofing ....................... 229
Configuring CAC .............. 101
Configuring CDR.............. 102
Configuring CES TDM
Interface....................... 160
Configuring CES TDM
Profile........................... 158
Configuring CL1A 1+1
Protection ..................... 198
Configuring CL1A Uplink
CES Service (EPON) ....... 137
Configuring CL1A Uplink
CES Service (GPON) ....... 151
Configuring Control Panel
Security ........................ 225
Configuring DHCP Option
82................................ 221
Configuring DHCP
Relay............................ 186
Configuring DHCP
Server .......................... 185
Configuring DHCP
Snooping ...................... 184
Configuring DSCP
Mapping........................ 214
Configuring E1/T1 Uplink
CES MEF8 Service
(EPON) ......................... 124
Configuring E1/T1 Uplink
CES MEF8 Service
(GPON)......................... 144
Configuring E1/T1 Uplink
CES PWE3 Service
(EPON) ......................... 130
Configuring EPON
Protection ....................... 51
Configuring EPON
Service ........................... 20
Configuring External Input
Clock..................... 165166
Configuring GPON
Protection ....................... 74
Configuring GPON
Service ........................... 57
Configuring Link
Aggregation .................. 200
Configuring Management
ACL .............................. 235
Configuring Mapping
Relations between
Queues and 802.1p
Priorities ....................... 212
Configuring MFF .............. 228
Configuring MSTP ............ 178
Configuring PPPoE+ ......... 223
Configuring Priority
Mark ............................ 205
Configuring Queue
Scheduling .................... 210
Configuring RADIUS......... 234
Configuring Redirection .... 207
Configuring SSH .............. 231
Configuring System
Clock............................ 163
Configuring TACACS+ ...... 233
Configuring the 1:1
VLAN ............................ 172
Configuring the 10G EPON
Service ........................... 45
Configuring the 9806H
ADSL Access Service ........ 36
Configuring the Bandwidth
Profile............................. 28
Configuring the
D-Series/F-Series ONU
Access Service ................. 32
Configuring the Extended
ACL .............................. 190
Configuring the Hybrid
ACL .............................. 193
Configuring the IGMP
Global Parameters ............ 95
Configuring the IGMP Port
Parameters ..................... 98
Configuring the IGMP
Proxy Multicast Service ..... 91
Configuring the IGMP
Snooping Multicast
Service (EPON) ................ 80
241
242
D
Deleting a Card ................. 15
DHCP............................. 183
E
EPON Protection ................ 50
EPON Service .................... 19
G
GPON Protection................ 73
GPON Service ................... 57
I
In-Band NM ........................6
L
Login Through
HyperTerminal ...................1
Login Through NetNumen
N31 Unified Management
System .............................5
Login Through Telnet ...........3
M
Managing the ONU
Remotely ........................ 39
MSTP ............................. 178
Multicast Service ............... 79
O
ONU Configuration ............. 32
Out-Of-Band NM..................9
P
Port Location .................. 221
Q
QoS ............................... 203
Queue Scheduling............ 209
R
Resetting a Card................ 16
RSTP ............................. 178
S
Showing Card
Information ..................... 15
SSTP ............................. 177
STP ............................... 177
Index
T
Traffic Management Based
On ACL Rules................. 204
U
Uplink Port Protection....... 195
V
VoIP .............................. 105
243
244
Glossary
AAA
- Authentication, Authorization and Accounting
ACL
- Access Control List
ADSL
- Asymmetric Digital Subscriber Line
AES
- Advanced Encryption Standard
ARP
- Address Resolution Protocol
BGP
- Border Gateway Protocol
BPDU
- Bridge Protocol Data Unit
BRAS
- Broadband Remote Access Server
CAC
- Channel Access Control
CBS
- Committed Burst Size
CDR
- Call Detail Record
CES
- Circuit Emulation Services
CIR
- Committed Information Rate
CIST
- Common and Internal Spanning Tree
CLI
- Command Line Interface
CPU
- Central Processing Unit
CVLAN
- Customer Virtual Local Area Network
CoS
- Class of Service
DBA
- Dynamic Bandwidth Allocation
DHCP
- Dynamic Host Configuration Protocol
DNS
- Domain Name Service
245
DNS
- Domain Name Server
DOS
- Disk Operating System
DSCP
- Differentiated Services Code Point
DSLAM
- Digital Subscriber Line Access Multiplexer
EBS
- Excess Burst Size
EPON
- Ethernet Passive Optical Network
FE
- Fast Ethernet
FEC
- Forward Error Correction
FQ
- Fair Queuing
FTTB
- Fiber to the Building
FTTC
- Fiber to the Curb
FTTH
- Fiber to the Home
GEM
- GPON Encapsulation Method
GPON
- Gigabit Passive Optical Network
ICMP
- Internet Control Message Protocol
ID
- Identification/Identity/Identifier
IEEE
- Institute of Electrical and Electronics Engineers
IETF
- Internet Engineering Task Force
IGMP
- Internet Group Management Protocol
IP
- Internet Protocol
IPTV
- Internet Protocol Television
LACP
- Link Aggregation Control Protocol
LAN
- Local Area Network
246
Glossary
LLID
- Logical Link Identifier
MAC
- Medium Access Control
MAN
- Metropolitan Area Network
MEF
- Metro Ethernet Forum
MFF
- MAC-Forced Forwarding
MG
- Media Gateway
MGC
- Media Gateway Controller
MGCP
- Media Gateway Control Protocol
MST
- Multiplex Section Termination
MSTP
- Multiple Spanning Tree Protocol
MVLAN
- Multicast Virtual Local Area Network
NE
- Network Element
NM
- Network Management
NMS
- Network Management System
OAM
- Operation, Administration and Maintenance
OLT
- Optical Line Terminal
ONU
- Optical Network Unit
OSPF
- Open Shortest Path First
PAP
- Password Authentication Protocol
PON
- Passive Optical Network
PPPoE
- Point to Point Protocol over Ethernet
PSN
- Packet Switched Network
PVC
- Permanent Virtual Channel
247
PVID
- Port VLAN ID
PW
- Pseudo Wire
QoS
- Quality of Service
RADIUS
- Remote Authentication Dial In User Service
RMON
- Remote Monitoring
RSTP
- Rapid Spanning Tree Protocol
RTP
- Real-time Transport Protocol
SDH
- Synchronous Digital Hierarchy
SEC
- SDH Equipment Clock
SFU
- Single Family Unit
SIP
- Session Initiation Protocol
SMS
- Service Management System
SN
- Serial Number
SNMP
- Simple Network Management Protocol
SONET
- Synchronous Optical NETwork
SP
- Strict Priority
SS
- Soft Switch
SSH
- Secure Shell
SSM
- Synchronization Status Message
SSTP
- Single Spanning Tree Protocol
STP
- Spanning Tree Protocol
SVLAN
- Selective VLAN
SVLAN
- Service Virtual Local Area Network
248
Glossary
TACACS+
- Terminal Access Controller Access-Control System Plus
TCP
- Transfer Control Protocol
TDM
- Time Division Multiplexing
TLS
- Transport Layer Security
ToS
- Type Of Service
UAPS
- Uplink Auto Protection Switching
UDP
- User Datagram Protocol
UNI
- User Network Interface
VBAS
- Virtual Broadband Access Server
VCI
- Virtual Channel Identifier
VID
- VLAN Identifier
VLAN
- Virtual Local Area Network
VPI
- Virtual Path Identifier
VPN
- Virtual Private Network
VoIP
- Voice over Internet Protocol
WAN
- Wide Area Network
WRR
- Weighted Round Robin
249