Configure H.248 VoIP Service in ZTE OLT:
[boxads]
Today i will discuss how to Configure H.248 VoIP Service in ZTE OLT.
Prerequisites:
- Make sure that the network device works normally.
- The GPON card works normally.
- The corresponding VoIP resource data is configured on the SS.
- The in-band NM IP address of the ZXA10 C220 is configured.
- Log in to the ZXA10 C220 through HyperTerminal or Telnet.
Networking Diagram:
Below figure shows the H.248 VoIP service networking diagram.
Data Configuration:
Below table describes the H.248 VoIP service data configuration.
Configuration Flowchart:
Below figure describes the H.248 VoIP service configuration flowchart.
To configure H.248 VoIP service, perform the following steps:
1. Log in to the F820 through HyperTeminal (username: zte, password: zxr10).
2. Configure GPON SN on the F820.
i. Query card status.
ZXAN#show card Rack Shelf Slot CfgType RealType Port HardVer SoftVer Status ------------------------------------------------------------------------- 0Â 0 1 MS8E MS8E 8 V0 V1.0.0T8 INSERVICE 0 0 2 GPUA GPUA 1 INSERVICE 0 0 4 V16B V16B 1 INSERVICE
ii. Enter global configuration mode and configure GPON SN.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#pon sn ZTEG9000002B
ZXAN(config)#exit
ZXAN#
iii. Reset GPON card (GPUA card) in slot 2 and wait for 1 minute.
ZXAN#reset-card slotno 2
Confirm to reset card?[yes/no]:y
3. Configure F820 in-band NM.
i. Enter VLAN interface configuration mode, configure in-band NM IP address.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#interface inband-vlan1000
ZXAN(config-if)#ip address 10.67.1.11 255.255.255.0
ZXAN(config-if)#exit
ZXAN(config)#
Note: VLAN 1 – VLAN 4093 are created by default. The in-band NM IP address should be in the same network segment with the ZXA10 C220.
ii. Configure in-band NM route.
ZXAN(config)#ip route 0.0.0.0 0.0.0.0 10.67.1.254
4. Configure service VLAN.
Configure VLAN service port.
ZXAN(config)#interface fei_0/4/1
ZXAN(config-if)#switchport vlan 200 tag
Note: By default, VLAN 1 – VLAN 4093 exist in F820 and the uplink GPON port is each VLAN.
[bodyads]
5. Configure VoIP service on the F820.
i.
ii. Configure MG.
ZXAN(config)#voip 4
ZXAN(config-voip)#mg add 1 1 mid-flag 0 port 2944
ZXAN(config-voip)#mg net 1 mode 0 ip-address 10.63.198.173 mask 255.255.255.0 gateway 10.63.198.254 vlan-option 1 vlan-id 201 vlan-priority 7
iii. Configure MGC.
ZXAN(config-voip)#mgc add 1 ip-address 10.66.22.1 port 2944
iv. Configure user TID and RTP resource TID.
ZXAN(config-voip)#mgc h248tid user-tid-prefix AG58900-AG58915//user TID
ZXAN(config-voip)#mgc h248tid rtp-tid-prefix RTP/00000-RTP/00015 //RTP resource TID
ZXAN(config-voip)#end
ZXAN#
Note: User TID and RTP resource TID must be consistent with configuration on the SS. There is default VoIP configuration in the F820.
– MGC IP address: 10.40.123.100
– MGCID: 1
– SLC TERMID: AG58900AG58915
– RTP TERMID: RTP/00000–RTP/00015
6. Save configuration data.
ZXAN#write
Building configuration…
..[OK]
7. Configure F820 ONU type on the ZXA10 C220.
i. Enter the global configuration mode.
ZXAN#configure terminal
Enter configuration commands, one per line. End with CTRL/Z.
ZXAN(config)#
ii. Enter PON configuration mode and configure ONU type.
ZXAN(config)#pon
ZXAN(config-pon)#onu-type ZTEG-F820 gpon
iii. Configure ONU port type.
ZXAN(config-pon)#onu-type-if ZTEG-F820 pots_0/1-32
ZXAN(config-pon)#exit
ZXAN(config)#
8. Register ONU.
i. Query unconfigured ONU under GPON-OLT port.
ZXAN(config)#show gpon onu uncfg gpon-olt_0/5/1
OnuIndex                Sn                          State
————————————————————————————————————-
gpon-onu_0/5/1:1 ZTEG9000002B unknown
ii. Enter the GPON-OLT interface configuration mode.
ZXAN(config)#interface gpon-olt_0/5/1
ZXAN(config-if)#
iii. Register ONU.
ZXAN(config-if)#register 1 type ZTEG-F820 ZTEG9000002B state ready
iv. Query ONU state.
ZXAN(config-if)#show gpon onu state gpon-olt_0/5/1
OnuIndex                Admin State Omcc State O7 State Phase State
———————————————————————————————————————————-
gpon-onu_0/5/1:1 enable       enable        operation working
ZXAN(config-if)#exit
ZXAN(config)#
9. Configure bandwidth profile.
i. Enter the GPON configuration mode.
ZXAN(config)#gpon
ZXAN(config-gpon)#
ii. Configure bandwidth profile.
ZXAN(config-gpon)#bandwidth-profile voip-tcont type 1 fixed 50000
ZXAN(config-gpon)#exit
ZXAN(config)#
10. Configure T-CONT and GEM ports.
- T-CONT (Transmission Container) is the minimum unit of upstream bandwidth scheduling which is identified by Alloc ID.
- GEM port is the minimum unit of downstream traffic which is identified by port ID.
i. Enter the GPON-ONU interface configuration mode
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#
ii. Create T-CONT.
ZXAN(config-if)#tcont 1 name voiptcont traffic voip-tcont
iii. Create GEM ports.
ZXAN(config-if)#gemport 1 name NMport unicast tcont 1
ZXAN(config-if)#gemport 2 name voipport unicast tcont 1
ZXAN(config-if)#exit
ZXAN(config)#
11. Configure VLAN service port.
i. Enter the GPON-ONU interface configuration mode
ZXAN(config)#interface gpon-onu_0/5/1:1
ZXAN(config-if)#
ii. Configure port mode to hybrid.
ZXAN(config-if)#switchport mode hybrid vport 1
ZXAN(config-if)#switchport mode hybrid vport 2
iii. Add port to in-band NM VLAN and VoIP service VLAN in tag mode.
ZXAN(config-if)#switchport vlan 1000 tag vport 1
ZXAN(config-if)#switchport vlan 200 tag vport 2
ZXAN(config-if)#exit
ZXAN(config)#
Note: When a port is added to a VLAN, the VLAN is added automatically.
12. Configure VLAN uplink port.
i. Enter the OLT uplink port configuration mode.
ZXAN(config)#interface gei_0/14/1
ii. Configure uplink port mode to hybrid.
ZXAN(config-if)#switchport mode hybrid
iii. Add uplink port to service VLAN in tag mode.
ZXAN(config-if)#switchport vlan 200 tag
ZXAN(config-if)#exit
ZXAN(config)#
13. Configure ONU NM service connection.
i. Enter the ONU remote management mode.
ZXAN(config)#pon-onu-mng gpon-onu_0/5/1:1
ZXAN(gpon-onu-mng)#
ii. Configure the map between GEM port and uplink interface.
ZXAN(gpon-onu-mng)#interwork gemport NMport dot1p-bridge uplink_0/1/1 prio-list 1
iii. Configure VLAN filter mode on uplink interface.
ZXAN(gpon-onu-mng)# vlan-filter-mode uplink uplink_0/1/1 tagfilter vid-filter untag-filter discard
iv. Configure VLAN filter entry on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/1 priority 1 vid 1000
[adsense]
14. Configure ONU VoIP service connection.
i. Configure the map between GEM port and uplink interface.
ZXAN(gpon-onu-mng)#interwork gemport voipport dot1p-bridge uplink_0/1/2 prio-list 7
ii. Configure VLAN filter mode on uplink interface.
ZXAN(gpon-onu-mng)# vlan-filter-mode uplink uplink_0/1/2 tagfilter vid-filter untag-filter discard
iii. Configure VLAN filter entry on uplink interface.
ZXAN(gpon-onu-mng)#vlan-filter uplink uplink_0/1/2 priority 7 vid 200
15. Save configuration data.
ZXAN#write
Building configuration…
..[OK]
–End of Steps–
Result: The VoIP service is configured successfully.