Sunday, December 13, 2020

 

GPON ZTE C220 Configuration Guide




In this article, I will explain a tutorial on how to configure the GPON ZTE C220 using the command-line interface. Before further discussing the configuration on this GPON, it's good for us to know what the is GPON ZTE C220?

The C220 GPON is a platform that provides the HSI, VoIP, TDM, IPTV, CATV, 2G / 3G, WiFi, and all fusion access control and management of the business, as well as the QoS and the safety reliability of the telecommunication level security. C220 also provides uniform FTTx network access to a wide range of applications such as VoIP, IPTV, Internet, and many more, along with QoS capabilities for stable and secure network operation.

GPON ZTE C220 Specification.

Connector Type SC/APC
Model Number C220 OLT
Model Number ZTE ZXA10 C220 OLT
Model Name ZTE ZXA10 C220
Supply power -48 V DC
EPON Ports 4 ports EPON card EPFC
Uplink card 1*EIGM
Cables Power cable, earth cable
Control card 2*GCSA
GPON-C220#show system-group 
System Description: ZXR10 ROS Version V4.8.01A
ZXPON C220 Software, Version V2.8.01A.21
Copyright (c) 2000-2010 by ZTE Corporation
Compiled 
System ObjectId: .iso.org.dod.internet.private.enterprises.zte.1015.3.1.220.1.0
System StartTime: 2011-9-16 1:27:54
Started before: 967 days, 8 hours, 30 minutes
Contact with: +86-021-68895000
System name:  GPON0-C220
Location: No.889 BiBo Rd. PuDong District, ShangHai, China
This system primarily offers a set of 78 services 

CONFIGURATION GUIDE

CREATE VLAN 

Requirement : 
  1. Service VLAN: 3997 
  2. Customer Name: Customer A 
  3. Port Facing Metro-E: gei_0/6/1 
  4. Port Facing Modem/Onu: 0/9/3 onu 8 
To create VLAN enter this command.
GPON-C220(config)#vlan 3997
GPON-C220(config-vlan)#name CUSTOMER-A
VLAN 3997 has been created with the name CUSTOMER-A, now try to binding VLAN into Metro-E Trunk (gei_0/6/1). Trunk facing Metro-E Configuration.
GPON-C220#show run int gei_0/6/1
Building configuration...
!
interface gei_0/6/1
  hybrid-attribute fiber
  negotiation auto
  flowcontrol disable
  port-protect disable
  description LINK TO METRO 2/2/4
  switchport mode hybrid
!
end
Tagging service VLAN to Metro-E Trunk
GPON-C220(config-if)#switchport vlan 3997 tag
Using this show command, VLAN should be tagged to Metro-E Trunk (gei_0/6/1).
GPON-C220#show vlan 3997
vlanid          :3997
name            :INTERNET-5M_CUSTOMER-A
description     :N/A
multicast-packet:flood-unknown
port(untagged):

port(tagged):
  gei_0/6/1   

REGISTER ONU 

To register the onu, show configuration first for OLT 0/9/3 to see all registered onu in this OLT port.
GPON-C220#show running-config interface gpon-olt_0/9/3
Building configuration...
!
interface gpon-olt_0/9/3
  name OLT-3
  auto-learning disable 
  onu 1 type ZTEG-F820 sn ZTEG900054D7 vport-mode  gemport 
  onu 2 type ZTEG-F820 sn ZTEG90007D88 vport-mode  gemport 
  onu 3 type ZTEG-F820 sn ZTEG90007D5F vport-mode  gemport 
  onu 4 type ZTEG-F660 sn ZTEG7001A0F9 vport-mode  gemport 
  onu 5 type ZTEG-F660 sn ZTEG7001912F vport-mode  gemport 
  onu 6 type ZTEG-F820 sn ZTEG90007D91 vport-mode  gemport 
  onu 7 type ZTEG-F660 sn ZTEG7001A108 vport-mode  gemport 
Register new onu using onu port 8 by adding onu type and SN. ONU Type: ZTEG-F660 ONU SN: ZTEG70016619
GPON-C220#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
GPON-C220(config)#interface gpon-olt_0/9/3
GPON-C220(config-if)#onu 8 type ZTEG-F660 sn ZTEG70016619 vport-mode  gemport 
Don't forget the type of ONU and SN must be exactly registered because if we're putting the wrong SN or Type it will not synchronize with the OLT. Confirmed the newly registered ONU using this command.
GPON-C220#show running-config interface gpon-olt_0/9/3
Building configuration...
!
interface gpon-olt_0/9/3
  name OLT-3
  auto-learning disable 
  onu 1 type ZTEG-F820 sn ZTEG900054D7 vport-mode  gemport 
  onu 2 type ZTEG-F820 sn ZTEG90007D88 vport-mode  gemport 
  onu 3 type ZTEG-F820 sn ZTEG90007D5F vport-mode  gemport 
  onu 4 type ZTEG-F660 sn ZTEG7001A0F9 vport-mode  gemport 
  onu 5 type ZTEG-F660 sn ZTEG7001912F vport-mode  gemport 
  onu 6 type ZTEG-F820 sn ZTEG90007D91 vport-mode  gemport 
  onu 7 type ZTEG-F660 sn ZTEG7001A108 vport-mode  gemport 
  onu 8 type ZTEG-F660 sn ZTEG70016619 vport-mode  gemport
!
end
After ONU is registered, continue to add the port to ONU based on ONU specification.

 
Device TypeWiFi Router
BrandZTE
ModelZTE ZXA10 F660
PlatformBroadcom BCM6362
Instruction SetMIPS32
CPU MHz360
Flash MB16
RAM MB64
Ethernet GBit ports4
Comments network portsFiber
WLAN HardwareBroadcom
WLAN 2.4GHzb/g/n
USB ports1x 2.0
Device Pagezxa10f660
GPON-C220#configure t
GPON-C220(config)#pon 
GPON-C220(config-pon)#onu-type-if ZTEG-F660 eth_0/1
GPON-C220(config-pon)#onu-type-if ZTEG-F660 eth_0/2
GPON-C220(config-pon)#onu-type-if ZTEG-F660 eth_0/3
GPON-C220(config-pon)#onu-type-if ZTEG-F660 eth_0/4
GPON-C220(config-pon)#onu-type-if ZTEG-F660 pots_0/1 
GPON-C220(config-pon)#onu-type-if ZTEG-F660 pots_0/2
GPON-C220(config-pon)#onu-type-if ZTEG-F660 wifi_0/1
GPON-C220(config-pon)#onu-type-if ZTEG-F660 wifi_0/2
GPON-C220(config-pon)#onu-type-if ZTEG-F660 wifi_0/3
GPON-C220(config-pon)#onu-type-if ZTEG-F660 wifi_0/4 

CONFIGURE ONU INTERFACE 

Enter config mode to interface gpon-onu_0/9/3:8 using this command.
GPON-C220#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
GPON-C220(config)#int gpon-onu_0/9/3:8
configure customer name, description, virtual-port mode.
GPON-C220(config-if)#name CUSTOMER-A
GPON-C220(config-if)#description Location Indonesia
GPON-C220(config-if)#vport-mode gemport def-map-type 1:1
Create PROFILE bandwidth for 5Mb for upstream and downstream.
GPON-C220(config)#traffic-profile UP-5M sir 50000 pir 50000
GPON-C220(config)#traffic-profile DOWN-5M sir 50000 pir 50000
Bind 5M upstream profile in TCONT, and downstream in GEMPORT.
GPON-C220(config-if)#tcont 1 name INTERNET-3M allocid 264 profile UP-5M
GPON-C220(config-if)#tcont 1 gap mode2
GPON-C220(config-if)#gemport 1 name CUSTOMER-A portid 137 unicast tcont 1 dir both queuex
GPON-C220(config-if)#gemport 1 traffic-limit upstream default downstream DOWN-5M 
Attached configuration to the virtual port 1.
GPON-C220(config-if)#switchport mode hybrid vport 1
GPON-C220(config-if)#switchport vlan 3997 tag vport 1
Note: Virtual port is not the access port, access port should be available in pon-onu configuration, not in gpon-onu interface. After the configuration is done, verify the configuration.
GPON-C220#show run int gpon-onu_0/9/3:8       
Building configuration...
!
interface gpon-onu_0/9/3:8
  name CUSTOMER-A
  description Location Indonesia
  vport-mode gemport def-map-type 1:1
  tcont 1 name INTERNET-5M allocid 264 profile UP-5M
  tcont 1 gap mode2
  gemport 1 name INTERNET-5M portid 137 unicast tcont 1 dir both queue 1
  gemport 1 traffic-limit upstream default downstream DOWN-5M
  switchport mode hybrid vport 1
  switchport vlan 3997  tag vport 1
!
end

PON ONU CONFIGURATION 

Enter config mode to pon-onu using this command.
GPON-C220#conf t 
Enter configuration commands, one per line.  End with CTRL/Z.
GPON-C220(config)#pon-onu-mng gpon-onu_0/9/3:8
Because we configured ONU in vport / virtual port 1, then flow configuration should bind to flow 1.
GPON-C220(gpon-onu-mng)#  flow mode 1 tag-filter vid-filter untag-filter discard
GPON-C220(gpon-onu-mng)#  flow 1 priority 0 vid 3997
GPON-C220(gpon-onu-mng)#  gemport 1 flow 1
Configure access port using port eth_0/2.
GPON-C220(gpon-onu-mng)#  vlan-filter-mode ethuni eth_0/2 tag-filter vid-filter untag-filter transparent
GPON-C220(gpon-onu-mng)#  vlan-filter ethuni eth_0/2 priority 0 vid 3997
GPON-C220(gpon-onu-mng)#  onu-vlan ethuni eth_0/2 up-mode add up-prio 0 up-vid 3997 down-mode untag
After the configuration is done, verify all the configurations.
GPON-C220(gpon-onu-mng)#show onu running config gpon-onu_0/9/3:8
pon-onu-mng gpon-onu_0/9/3:8
  flow mode 1 tag-filter vid-filter untag-filter discard
  flow 1 priority 0 vid 3980
  flow 1 priority 0 vid 3997
  gemport 1 flow 1
  vlan-filter-mode ethuni eth_0/1 tag-filter vid-filter untag-filter transparent
  vlan-filter-mode ethuni eth_0/2 tag-filter vid-filter untag-filter transparent
  vlan-filter ethuni eth_0/1 priority 0 vid 3980
  vlan-filter ethuni eth_0/2 priority 0 vid 3997
  onu-vlan ethuni eth_0/1 up-mode add up-prio 0 up-vid 3980 down-mode untag
  onu-vlan ethuni eth_0/2 up-mode add up-prio 0 up-vid 3997 down-mode untag
!

TROUBLESHOOTING GUIDE

CHECK VLAN STATUS 

After we configure OLT and ONT, verify all configuration status.
GPON-C220#show vlan 3997
vlanid          :3997
name            :CUSTOMER-A
description     :N/A
multicast-packet:flood-unknown
port(untagged):

port(tagged):
  gei_0/6/1  
  gpon-onu_0/9/3:8:1
VLAN already created in OLT 0/9/3 with ONU 8, and virtual port 1. 

CHECK TRUNK STATUS TO METRO-E 

Verify trunk status to ensure the backbone link from GPON to METRO-Ethernet is UP.
GPON-C220#show interface gei_0/6/1
gei_0/6/1 is up,  line protocol is up
  Description is LINK TO METRO 2/2/4
  Keepalive set:10 sec
  The port negotiation is enable
  The port is optical
  The optical Module Information  : 
  RxPower      :   N/A                  TxPower    :   N/A
  Bias-Current :   N/A                  Laser-Rate :   N/A
  Supply-Vol   :   N/A                  Wavelength :   N/A
  Temperature  :   N/A                  Vender-PN  :   N/A 
  Vender-Name  :   N/A 
  Duplex full
  scramble payload-enable
  VLAN mode is hybrid, pvid 1          BW 1000000 Kbits
  Last clearing of "show interface" counters never
    120 seconds input rate :           10771834 Bps,            64685 pps
    120 seconds output rate:            5067514 Bps,            60284 pps
  Interface peak rate  : 
    input            123162538 Bps, output            117623218 Bps 
  Interface utilization: input      8.617%,     output      4.054%
  Input:
    Packets      : 6954628095156            Bytes     : 696927356546918     
    Unicasts     : 6917898022760            Multicasts: 29275331692          
    Broadcasts   : 7454740698               Undersize : 0                    
    Oversize     : 97                       CRC-ERROR : 0                   
    Dropped      : 214322                   Fragments : 0                    
    Jabber       : 0                        MacRxErr  : 0                    
  Output:
    Packets      : 5442002983862            Bytes     : 458052103487629     
    Unicasts     : 5440501051864            Multicasts: 41437821             
    Broadcasts   : 1458584021               Collision : 0                   
    LateCollision: 0                   
  Input detail:
    64B       : 7460647989                  65-127B   : 6837224464767        
    128-255B  : 35404605283                 256-511B  : 9980203187           
    512-1023B : 2681872729                  1024-2047B: 61876301201       
The status is up. 

CHECK ONT STATUS 

Check the ONT status using this command.
GPON-C220#show gpon onu state gpon-olt_0/9/3
OnuIndex               Admin State  OMCC State   O7 State     Phase State
----------------------------------------------------------------------------
gpon-onu_0/9/3:1       enable       enable       operation    working      
gpon-onu_0/9/3:2       enable       enable       operation    working      
gpon-onu_0/9/3:3       enable       enable       operation    working      
gpon-onu_0/9/3:4       enable       disable      unknown      OffLine      
gpon-onu_0/9/3:5       enable       enable       operation    working      
gpon-onu_0/9/3:6       enable       enable       operation    working      
gpon-onu_0/9/3:7       enable       disable      unknown      DyingGasp    
gpon-onu_0/9/3:8       enable       enable       operation    working  
Phase State in this command showing the ONT health. 
Working: ONT up, with normal status. 
Offline: ONT is off because there is some power issue. 
Dying Gasp: A dying gasp is a message (or signal) sent by the customer premises equipment (CPE) to equipment managed by an internet service provider to indicate that the CPE has lost power. 
LOS: Most likely a fiber fault somewhere, or possibly a fiber modem fault. 

Check LAN cable status in ONT.
GPON-C220#show gpon remote-onu interface eth gpon-onu_0/9/3:8

Interfece:     eth_0/1
Admin status:  unlock
Operate status:enable
Speed status:  full-1000
Arc:           0  
Arc-interval   0
Expect-type:   0
Speed config:  auto
Eth-loop:      noloop
Max-frame:     1632
Pause-time:    0
Wiring :       dce
BridgeOrIP:    either
PPPOE-filter:  disable
Power-control: disable

Interfece:     eth_0/2
Admin status:  unlock
Operate status:enable
Speed status:  full-1000
Arc:           0  
Arc-interval   0
Expect-type:   0
Speed config:  auto
Eth-loop:      noloop
Max-frame:     1632
Pause-time:    0
Wiring :       dce
BridgeOrIP:    either
PPPOE-filter:  disable
Power-control: disable

Interfece:     eth_0/3
Admin status:  unlock
Operate status:disable
Speed status:  auto
Arc:           0  
Arc-interval   0
Expect-type:   0
Speed config:  auto
Eth-loop:      noloop
Max-frame:     1632
Pause-time:    0
Wiring :       dce
BridgeOrIP:    either
PPPOE-filter:  disable
Power-control: disable

Interfece:     eth_0/4
Admin status:  unlock
Operate status:disable
Speed status:  auto
Arc:           0  
Arc-interval   0
Expect-type:   0
Speed config:  auto
Eth-loop:      noloop
Max-frame:     1632
Pause-time:    0
Wiring :       dce
BridgeOrIP:    either
PPPOE-filter:  disable
Power-control: disable
When operate status is enabled, the port in ONT is used by the customer. 

CHECK MAC ADDRESS 

Check MAC address using this command.
GPON-C220#show mac vlan 3997

Total mac address : 2

Mac address     Vlan id   Type       Port                               Vc     Time
----------------------------------------------------------------------------
0016.9c58.3000    3997    Dynamic    gei_0/6/1                           300   
fc5b.2611.0abe    3997    Dynamic    gpon-onu_0/9/3:8          vport 1   0     
Mac-address from UPLINK is the mac coming from the gei_0/6/1 port (Trunk), and the mac from DOWNLINK comes from the customer interface. This indicates that the synchronization link from PE towards CE is normal. In case we are replacing ONT, you can delete MAC in OLT using this command.
GPON-C220#clear mac dynamic all
GPON-C220#show mac vlan 3997   
Total mac address : 1

Mac address     Vlan id   Type       Port                               Vc     Time
----------------------------------------------------------------------------
fc5b.2611.0abe    3997    Dynamic    gpon-onu_0/9/3:8          vport 1   0     
GPON-C220#show mac vlan 3997
Total mac address : 2

Mac address     Vlan id   Type       Port                               Vc     Time
----------------------------------------------------------------------------
0016.9c58.3000    3997    Dynamic    gei_0/6/1                           300   
fc5b.2611.0abe    3997    Dynamic    gpon-onu_0/9/3:8          vport 1   0    

CHANGE LINE PROFILE 

Use this command to check the line-profile used by the customer.
GPON-C220#show run int gpon-onu_0/9/3:8
Building configuration...
!
interface gpon-onu_0/9/3:8
  name CUSTOMER-A
  description Location Indonesia
  vport-mode gemport def-map-type 1:1
  tcont 1 name INTERNET-5M allocid 264 profile UP-5M
  tcont 1 gap mode2
  gemport 1 name INTERNET-5M portid 137 unicast tcont 1 dir both queue 1
  gemport 1 traffic-limit upstream default downstream DOWN-5M
  switchport mode hybrid vport 1
  switchport vlan 3997  tag vport 1
!
end
Customer used line-profile 5M configured in TCONT and GEMPORT. Verify profile 5M using this command.
GPON-C220#show gpon profile tcont UP-5M  
Name :UP-5M  
 Type           FBW(kbps)   ABW(kbps)   MBW(kbps)    

 1              5500        0           0           

GPON-C220#show gpon profile traffic UP-5M                                                                                                   
Name  :UP-5M          
 SIR(kbps)           PIR(kbps)    
 5500                5500  


GPON-C220#show gpon profile traffic DOWN-5M                                                                                                 
Name  :DOWN-5M          
 SIR(kbps)           PIR(kbps)    
 5000                5000   
Profile UP-5M is configured using 5500 for SIR/CIR, and 5500 for PIR. Profile DOWN-5M is configured using 5000 for SIR/CIR, and 5000 for PIR. Try to create a new line-profile name UP-6M, check it first before we creating that profile.
GPON-C220#show gpon profile tcont UP-6M
%Code 32306-GPONSRV : Profile does not exist.
GPON-C220#show gpon profile traffic UP-6M
%Code 32306-GPONSRV : Profile does not exist.
GPON-C220#show gpon profile traffic DOWN-6M
%Code 32306-GPONSRV : Profile does not exist.
Configuration for profile 6M does not exist, then it safe to create a new line-profile under that name, use this command to create a new line-profile.
GPON-C220(config-gpon)#profile tcont UP-6M type 1 fixed 6000
GPON-C220(config-gpon)# profile traffic DOWN-6M sir 6144 pir 6144
GPON-C220(config-gpon)#profile traffic UP-6M sir 6144 pir 6144 
After the profile creates, binding to the interface.
GPON-C220#conf t
Enter configuration commands, one per line.  End with CTRL/Z.GPON-C220(config)#interface gpon-onu_0/9/3:8
GPON-C220(config-if)#tcont 1 name INTERNET-5M allocid 264 profile UP-6M  
GPON-C220(config-if)#gemport 1 traffic-limit upstream default downstream DOWN-6M
After the profile bound, verify the configuration using this command.
GPON-C220#show running-config interface gpon-onu_0/9/3:8
Building configuration...
!
interface gpon-onu_0/9/3:8
  name CUSTOMER-A
  description Location Indonesia
  vport-mode gemport def-map-type 1:1
  tcont 1 name INTERNET-5M allocid 264 profile UP-6M
  tcont 1 gap mode2
  gemport 1 name INTERNET-5M portid 137 unicast tcont 1 dir both queue 1
  gemport 1 traffic-limit upstream default downstream DOWN-6M
  switchport mode hybrid vport 1
  switchport vlan 3980,3997  tag vport 1
!
end 

CHECK ATTENUATION 

To check attenuation in GPON, we can use this command.
GPON-C220#show pon power attenuation gpon-onu_0/9/3:8
           OLT                  ONU              Attenuation(dBm)
--------------------------------------------------------------------------
 up      Rx :-16.012           Tx:2.438             18.450         

 down    Tx :3.221             Rx:-15.968           19.189  

CHECK AND ENABLE MULTICAST 

We can check the multicast status using the show VLAN.
GPON-C220#show vlan 3997
vlanid          :3997
name            :INTERNET-5M_CUSTOMER-A
description     :N/A
multicast-packet:drop-unknown
port(untagged):

port(tagged):
  gei_0/6/1  
  gpon-onu_0/9/3:8:1
Multicast packet status is drop-unknown, which means the multicast packet is dropped by GPON, to enable forward multicast packet you can use this command.
GPON-C220#conf t
Enter configuration commands, one per line.  End with CTRL/Z.
GPON-C220(config)#vlan 3997
GPON-C220(config-vlan)#multicast-packet flood-unknown 

GPON-C220#show vlan 3997
vlanid          :3997
name            :INTERNET-5M_CUSTOMER-A
description     :N/A
multicast-packet:flood-unknown
port(untagged):

port(tagged):
  gei_0/6/1  
  gpon-onu_0/9/3:8:1
Now the multicast packet is flood-unknown, dynamic routing that runs in CE should be activated. 

CHECK ONT TYPE 

To check ONT type along with software version you can use this command.
GPON-C220# show gpon remote-onu equip gpon-onu_0/9/3:8

Vendor ID:           ZTEG 
Version:             V1.1.0P2T2H 
SN:                  ZTEG70016619 
Admin status:        unlock 
Battery backup:      false 
Security Mode:       aes 
Product code:        0 
TotalPrioQueueNum:   32 
TotalTrafficSchNum:  8 
TrafficMgmtOption:   traffic-prioqueue 
OperState:           enable 
EquipID:             LQ24B7900108 
OMCC Version:        84 
Security Capability: aes
Model:                      F660
I hope this article is useful. Don't forget to include the source if you want to copy the article.



0 comments:

Post a Comment