Configuration of the IPv6 Services in the FTTH (Gateway ONT) Scenario-HUAWEI

gpontutorials.com-IPv6 Services in the FTTH (Gateway ONT)
gpontutorials.com-IPv6 Services in the FTTH (Gateway ONT)

Step-1: Configure LAG for upstream ports.

Configure upstream ports 0/19/0 and 0/19/1 into an aggregation group. Each member port in the aggregation group allocates packets based on the source MAC address. The working mode is LACP static aggregation.

OLT-1(config)#link-aggregation 0/19 0-1 ingress workmode lacp-static

Step-2: Configure GPON ONT profiles.

  1. Configure a DBA profile.

Create the same DBA profile for different types of services. Set the profile name to ftth_dba, profile type to type3, assured bandwidth to 8 Mbit/s, and maximum bandwidth to 20 Mbit/s.

OLT-1(config)#dba-profile add profile-name ftth_dba type3 assure 8192 max 20480

  1. Configure an ONT line profile.

Create a GPON ONT line profile, named ftth, and bind it to the DBA profile ftth_dba.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#tcont 4 dba-profile-name ftth_dba

OLT-1(config-gpon-lineprofile-1)#gem add 11 eth tcont 4

OLT-1(config-gpon-lineprofile-1)#gem add 12 eth tcont 4

OLT-1(config-gpon-lineprofile-1)#gem add 13 eth tcont 4

OLT-1(config-gpon-lineprofile-1)#gem add 14 eth tcont 4

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

  1. Configure an ONT service profile.

Create a GPON ONT service profile, named ftth. Configure the capability set of the ETH port and POTS port to adaptive. Then the system automatically adapts to the ONT according to the actual capability of the online ONT.

OLT-1(config)#ont-srvprofile gpon profile-name ftth

OLT-1(config-gpon-srvprofile-1)#ont-port eth adaptive pots adaptive

OLT-1(config-gpon-srvprofile-1)#commit

OLT-1(config-gpon-srvprofile-1)#quit

  1. (Optional) Add an alarm profile. In this example, the default alarm profile is used, and therefore the configuration of the alarm profile is not required.

Step-3: Add ONTs.

Connect two ONTs to GPON port 0/1/0. Set the ONT IDs to 1 and 2, SNs to 32303131D659FD40 and 6877687714852901, passwords to 0100000001 and 0100000002, discovery mode for password authentication to once-on, and management mode to OMCI. Bind the two ONTs to ONT line profile ftth and ONT service profile ftth. There are two methods of adding an ONT: add an ONT offline and confirm an automatically discovered ONT.

l Add ONTs offline.

If the password of an ONT is known, run the ont add command to add an ONT offline.

OLT-1(config)#interface gpon 0/1

OLT-1(config-if-gpon-0/1)#ont add 0 1 password-auth 0100000001 once-on no-aging omci ont-lineprofile-name ftth ont-srvprofile-name ftth

OLT-1(config-if-gpon-0/1)#ont add 0 2 password-auth 0100000002 once-on no-aging omci ont-lineprofile-name ftth ont-srvprofile-name ftth

l Confirm automatically discovered ONTs

If the password or SN of an ONT is unknown, run the port portid ont-auto-find command in GPON mode to enable the ONT auto-discovery function of the GPON port. Then, run the ont confirm command to confirm the ONT.

OLT-1(config)#interface gpon 0/1

OLT-1(config-if-gpon-0/1)#port 0 ont-auto-find enable

OLT-1(config-if-gpon-0/1)#display ont autofind 0

//After this command is executed, the information about all ONTs connected to the GPON port through optical splitters is displayed.

OLT-1(config-if-gpon-0/1)#ont confirm 0 ontid 1 sn-auth 32303131D659FD40 omci ont-lineprofile-name ftth ont-srvprofile-name ftth

OLT-1(config-if-gpon-0/1)#ont confirm 0 ontid 2 sn-auth 6877687714852901 omci ont-lineprofile-name ftth ont-srvprofile-name ftth 

NOTE:

If multiple ONTs of the same type bound to the same line profile or service profile are connected to the same port, you can bulk add ONTs by bulk confirming automatically discovered ONTs to make configuration easier and more efficient. To do so, the preceding command can be modified as follows:

OLT-1(config-if-gpon-0/1)#ont confirm 0 all sn-auth omci ont-lineprofile-name ftth ont-srvprofile-name ftth

l (Optional) Bind the alarm profile to the ONT.

The default profile 1 is used in this example.

OLT-1(config-if-gpon-0/1)#ont alarm-profile 0 1 profile-id 1

OLT-1(config-if-gpon-0/1)#ont alarm-profile 0 2 profile-id 1

Step-4: Check ONT status.

After an ONT is added, run the display ont info command to query the current status of the ONT. Ensure that Config flag of the ONT is active, Run State is online, Config state is normal, and Match state is match.

 

When Config state is failed, Run state is offline, or Match state is mismatch:

=> If Control flag is deactive, run the ont active command in GPON mode to activate the ONU.

=> If Run state is offline, a physical line may be broken or the optical module may be damaged.

Check the line and the optical module.

=>If Config state is failed, the configured ONU capability exceeds the actual ONU capability. In this case, run the display ont failed-configuration command in the diagnose mode to check the failed configuration item and the failure cause. Then, rectify the fault accordingly.

=> If the ONU does not match, that is, Match state is mismatch, the port types and number of ports undermatch the actual port types and number of ports supported by the ONU. In this case, run the display ont capability command to query the actual capability of the ONU, and then select one of the following modes to modify the ONU configuration:

=>Create a proper ONU profile according to the actual capability of the ONU, and then run the ont modify command to modify the configuration data of the ONU.

=>Modify the ONU profile according to the actual capability of the ONU and save the modification. Then, the ONU automatically recovers the configuration successfully.

Step-5: Configure the traffic profile for the HSI service.

OLT-1(config)#traffic table ip name ftth_hsi cir 4096 priority 0 priority-policy local-setting

Step-6: Configure the VLAN translation policy and the service port for the HSI service.

***Scenario 1:

Configure the ONT packet processing mode. In the ONT service profile, set the packet transmission mode to TAG transparent transmission for Ethernet port 1.

OLT-1(config)#ont-srvprofile gpon profile-name ftth

OLT-1(config-gpon-srvprofile-1)#port vlan eth 1 transparent

OLT-1(config-gpon-srvprofile-1)#commit

OLT-1(config-gpon-srvprofile-1)#quit

Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 100.

OLT-1(config)#vlan 100 smart

OLT-1(config)#vlan attrib 100 stacking

OLT-1(config)#port vlan 100 0/19 0

Create service flows. Set SVLAN ID to 100 and GEM port ID to 14. Use traffic profile ftth_hsi.

OLT-1(config)#service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-service user-vlan untagged tag-transform add-double inner-vlan 1001 inbound traffictable name ftth_hsi outbound traffic-table name ftth_hsi

OLT-1(config)#service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-service user-vlan untagged tag-transform add-double inner-vlan 1002 inbound traffictable name ftth_hsi outbound traffic-table name ftth_hsi

*** Scenario 2:

Configure the mapping relationship between a GEM port and a VLAN. The service flow of user VLAN 1001 is mapped to GEM port 14 in the ONT line profile.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 100.

OLT-1(config)#vlan 100 smart

OLT-1(config)#vlan attrib 100 stacking

OLT-1(config)#port vlan 100 0/19 0

Create service flows. Set the service VLAN to 100, GEM port ID to 14, and user VLAN to 1001, and use traffic profile ftth_hsi.

OLT-1(config)#service-port vlan 100 gpon 0/1/0 ont 1 gemport 14 multi-service user-vlan 1001 tag-transform translate-and-add inner-vlan 1010 inbound traffictable name ftth_hsi outbound traffic-table name ftth_hsi

OLT-1(config)#service-port vlan 100 gpon 0/1/0 ont 2 gemport 14 multi-service user-vlan 1001 tag-transform translate-and-add inner-vlan 1011 inbound traffictable name ftth_hsi outbound traffic-table name ftth_hsi

Step-7: Configure the traffic profile for the voice service.

OLT-1(config)#traffic table ip name ftth_voip cir off priority 5 priority-policy local-setting

Step-8: Configure the VLAN translation policy and service port for the voice service.

***Scenario 1:

Configure the mapping relationship between a GEM port and a VLAN. The service flow of user VLAN 300 is mapped to GEM port 12 in the ONT line profile.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 300.

OLT-1(config)#vlan 300 smart

OLT-1(config)#port vlan 300 0/19 0

Create service flows. Set the service VLAN to 300, GEM port ID to 12, and user VLAN to 300, and use traffic profile ftth_voip.

OLT-1(config)#service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service user-vlan 300 inbound traffic-table name ftth_voip outbound traffic-table name ftth_voip

OLT-1(config)#service-port vlan 300 gpon 0/1/0 ont 2 gemport 12 multi-service user-vlan 300  inbound traffic-table name ftth_voip outbound traffic-table name ftth_voip

***Scenario 2:

Configure the mapping relationship between a GEM port and a VLAN. The service flow of user VLAN 3001 is mapped to GEM port 12 in the ONT line profile.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 3001

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 300.

OLT-1(config)#vlan 300 smart

OLT-1(config)#vlan attrib 300 stacking

OLT-1(config)#port vlan 300 0/19 0

Create service flows. Set the service VLAN to 300, GEM port ID to 12, and user VLAN to 3001. Use traffic profile ftth_voip.

OLT-1(config)#service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service user-vlan 3001 tag-transform translate inbound traffic-table name ftth_voip outboun d traffic-table name ftth_voip

OLT-1(config)#service-port vlan 300 gpon 0/1/0 ont 2 gemport 12 multi-service user-vlan 3001 tag-transform translate inbound traffic-table name ftth_voip outboun d traffic-table name ftth_voip

Step-9: Configure ONT voice service profiles.

ONT voice service profiles include the interface common profile, MGC interface profile, and POTS port profile.

=>Interface common profile: saves common attributes of an ONT voice interface, including the fax mode, fax/modem negotiation mode, and priority of the coding and decoding mode.

=> MGC interface profile: saves the IP address or domain name of the MGC, protocol port ID of the MGC transport layer to which the MG interface belongs, and DSCP priority of media packets.

=>POTS port profile: saves physical attributes of a POTS port on an ONT, including the impedance, transmitting gain, receiving gain, and signaling type of the POTS port.

  1. Configure an interface common profile.

Run the display ont-mg-attribute-profile command to query the existing interface common profile in the system. If the existing interface common profile in the system does not meet the requirements, run the ont-mg-attribute-profile add command to add an interface common profile.

In this example, the default interface common profile, namely interface common profile 1 is used.

  1. Configure an MGC interface profile.

Run the display ont-mgc-profile command to query the existing MGC interface profile in the system. If the existing MGC interface profile in the system does not meet the requirements, run the ont-mgc-profile add command to add an MGC interface profile.

Create MGC interface profile 2, set the IP address of the MGC to 200.200.200.200, and use default values for other parameters.

OLT-1(config)#ont-mgc-profile add profile-id 2 primary-mgc 200.200.200.200

  1. Configure a POTS port profile.

Run the display ont-pots-profile command to query the existing POTS port profile in the system. If the existing POTS port profile in the system does not meet the requirements, run the ont-pots-profile add command to add a POTS port profile.

In this example, the default POTS port profile, namely POTS port profile 1 is used.

Step-10: Configure the IP addresses of ONT H.248 users.

For ONT 1 and ONT 2, configure the IP address obtaining mode to the dhcp mode, set the management VLAN to VLAN 20, and use default values for other parameters.

OLT-1(config)#interface gpon 0/1

OLT-1(config-if-gpon-0/1)#ont ipconfig 0 1 dhcp vlan 20

OLT-1(config-if-gpon-0/1)#ont ipconfig 0 2 dhcp vlan 20

Step-11: Configure H.248 PSTN users.

  1. Add an H.248 interface and apply an MGC interface profile to the interface.

For ONT 1 and ONT 2, set the MG ID to 1, apply MGC interface profile 2 to ONT 1 and ONT 2, and use default values for other parameters.

If parameters of an MGC interface profile are changed, the MGC interface profile must be reapplied to the ONT so that the changed parameters can take effect.

OLT-1(config-if-gpon-0/1)#if-h248 add 0 1 1 mgc-profile profile-id 2

OLT-1(config-if-gpon-0/1)#if-h248 add 0 2 1 mgc-profile profile-id 2

  1. Add PSTN users.

For ONT 1 and ONT 2, create a PSTN user, set the MG ID to 1 (identical to the MG ID of the H.248 interface), and set the physical terminal port ID to A0 and A1.

OLT-1(config-if-gpon-0/1)#mgpstnuser add 0 1 1 mgid 1 terminalid A0

OLT-1(config-if-gpon-0/1)#mgpstnuser add 0 2 1 mgid 1 terminalid A1

Run the display mgpstnuser attribute command to check whether the configuration of the PSTN user is properly set.

OLT-1(config-if-gpon-0/1)#display mgpstnuser attribute 0 1 1

 

OLT-1(config-if-gpon-0/1)#display mgpstnuser attribute 0 2 1

 

Step-12: Apply ONT voice service profiles

After ONT voice service profiles are applied, if parameters in those profiles are changed, those profiles must be reapplied so that the changed parameters can take effect.

  1. Apply an interface common profile.

Run the if-h248 attribute command to apply an interface common profile to an H.248 interface or configure the interface customized parameters, or run the ont-if-h248 batapply command to bulk apply the interface common profiles to H.248 interfaces. If you use these two commands to apply the interface common profiles or configure the interface customized parameters repeatedly, the last configurations take effect.

In this example, the default interface common profile, namely interface common profile 1 is used.

  1. Apply a POTS port profile.

Run the pstnport electric command to apply a POTS port profile to an H.248 interface or configure the interface customized parameters, or run the ont-pstnport electric batapply command to bulk apply the POTS port profiles to H.248 interfaces. If you use these two commands to apply the POTS port profiles or configure the interface customized parameters repeatedly, the last configurations take effect.

In this example, the default POTS port profile, namely POTS port profile 1 is used.

Step-13: (Optional) Configure the H.248 user codec.

Run the mgpstnuser codec command to configure the H.248 user codec. The H.248 user codec will not be configured independently in this example.

Step-14: Configure the traffic profile for the IPTV service.

OLT-1(config)#traffic table ip index 8 cir off priority 4 priority-policy local-setting

Step-15: Configure the VLAN translation policy and service port for the multicast service.

  1. Configure the mapping relationship between a GEM port and an Ethernet port on the ONT.

If the ONT is connected to the STB through Ethernet port 2, map the service flow of Ethernet port 2 to GEM port 13 in the ONT line profile.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#mapping mode port

OLT-1(config-gpon-lineprofile-1)#gem mapping 13 1 eth 2

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

  1. Configure the VLAN of the Ethernet port on the ONT.

If the ONT is connected to the STB through Ethernet port 2, add Ethernet port 2 to VLAN 1000.

OLT-1(config)#ont-srvprofile gpon profile-name ftth

OLT-1(config-gpon-srvprofile-1)#port vlan eth 2 1000

OLT-1(config-gpon-srvprofile-1)#multicast-forward untag

OLT-1(config-gpon-srvprofile-1)#commit

OLT-1(config-gpon-srvprofile-1)#quit

  1. Create a service VLAN and add an upstream port to it.

Add upstream port 0/19/0 to VLAN 1000.

OLT-1(config)#vlan 1000 smart

OLT-1(config)#port vlan 1000 0/19 0

  1. Create service flows.

Set the service VLAN to 1000, GEM port ID to 13, and user VLAN to 1000, and use traffic profile 8.

OLT-1(config)#service-port 1 vlan 1000 gpon 0/1/0 ont 1 gemport 13 multiservice user-vlan 1000 rx-cttr 8 tx-cttr 8

OLT-1(config)#service-port 2 vlan 1000 gpon 0/1/0 ont 2 gemport 13 multiservice user-vlan 1000 rx-cttr 8 tx-cttr 8

Step-16: Create an MVLAN and configure the IGMP version.

Set the IGMP version for the MVLAN to IGMP IPv6 v2.

OLT-1(config)#multicast-vlan 1000

OLT-1(config-mvlan1000)#igmp ipv6 version v2

This operation will delete all IPv6 programs with source IP addresses in the current multicast VLAN

Are you sure to change current IGMP IPv6 version? (y/n)[n]:y

 

Step-17: Configure a program library.

Set the mode for obtaining multicast programs to dynamic.

NOTE:

You can set the mode for obtaining multicast programs to dynamic only when the IGMP mode is off.

OLT-1(config-mvlan1000)#igmp ipv6 mode off

Are you sure to close IGMP IPv6? (y/n)[n]:y

 

OLT-1(config-mvlan1000)#igmp ipv6 match mode disable

 

OLT-1(config-mvlan1000)#igmp ipv6 match group ipv6 ff15:: to-ipv6 ff15::ffff

Step-18: Set the IGMP IPv6 mode.

Select the IGMP IPv6 proxy mode.

OLT-1(config-mvlan1000)#igmp ipv6 mode proxy

Are you sure to change IGMP IPv6 mode? (y/n)[n]:y

 

Step-19: Configure the IGMP upstream port.

Set the IGMP upstream port ID to 0/19/0 and working mode to default. Protocol packets are transmitted to all the IGMP upstream ports in the multicast VLAN.

OLT-1(config-mvlan1000)#igmp uplink-port 0/19/0

OLT-1(config-mvlan1000)#btv

OLT-1(config-btv)#igmp uplink-port-mode default

Are you sure to change the uplink port mode?(y/n)[n]:y

Step-20: Configure multicast users.

Add service ports 1 and 2 as multicast users.

OLT-1(config-btv)#igmp policy service-port 1 normal

OLT-1(config-btv)#igmp policy service-port 2 normal

OLT-1(config-btv)#igmp user add service-port 1

OLT-1(config-btv)#igmp user add service-port 2

OLT-1(config-btv)#multicast-vlan 1000

OLT-1(config-mvlan1000)#igmp multicast-vlan member service-port 1

OLT-1(config-mvlan1000)#igmp multicast-vlan member service-port 2

OLT-1(config-mvlan1000)#quit

Step-21: Configure the VLAN translation policy and service port for the VoD service.

  1. Configure the mapping relationship between a GEM port and a VLAN.

The service flow of user VLAN 1100 is mapped to GEM port 13 in the ONT line profile.

OLT-1(config)#ont-lineprofile gpon profile-name ftth

OLT-1(config-gpon-lineprofile-1)#gem mapping 13 4 vlan 1100

OLT-1(config-gpon-lineprofile-1)#commit

OLT-1(config-gpon-lineprofile-1)#quit

  1. Configure the VLAN of the Ethernet port on the ONT.

If the ONT is connected to the STB through Ethernet port 2, add Ethernet port 2 to VLAN 1100.

OLT-1(config)#ont-srvprofile gpon profile-name ftth

OLT-1(config-gpon-srvprofile-1)#port vlan eth 2 1100

OLT-1(config-gpon-srvprofile-1)#commit

OLT-1(config-gpon-srvprofile-1)#quit

  1. Create a service VLAN and add an upstream port to it. Add upstream port 0/19/0 to VLAN 1100.

OLT-1(config)#vlan 1100 smart

OLT-1(config)#port vlan 1100 0/19 0

  1. Create service flows.

Set the service VLAN to 1100, GEM port ID to 13, and VLAN translation mode to transparent transmission, and use traffic profile 8.

OLT-1(config)#service-port 3 vlan 1100 gpon 0/1/0 ont 1 gemport 13 rx-cttr 8 tx-cttr 8 tag-transform transparent

OLT-1(config)#service-port 4 vlan 1100 gpon 0/1/0 ont 2 gemport 13 rx-cttr 8 tx-cttr 8 tag-transform transparent

Step-22: (Optional) Configure the PITP function for PPPoE.

OLT-1(config)#raio-mode common pitp-pmode

OLT-1(config)#pitp enable pmode

Step-23: (Optional) Configure the DHCP option function for IPoE.

OLT-1(config)#raio-mode common dhcp-option82 //For DHCPv4 packets

OLT-1(config)#dhcp option82 enable //For DHCPv4 packets

OLT-1(config)#raio-mode common dhcpv6-option //For DHCPv6 packets

OLT-1(config)#dhcpv6 option enable //For DHCPv6 packets

Step-24: Save the configuration on the OLT side.

OLT-1(config)#save

Step-25: Log in to the Web configuration window.

  1. Configure the IP address of the PC network adapter to be in the same network segment with the IP address of the local maintenance Ethernet port on the ONT (default: 192.168.100.1).
  1. Open the Web browser, and enter the IP address of the local maintenance Ethernet port on

the ONT. In the login window, enter the user name (default: telecomadmin) and password (default: admintelecom) of the administrator. After the password is authenticated, the Web configuration window is displayed.

NOTE: 

The following steps are configured on the ONT through the web page.

Step-26: Configure the working mode for the LAN port.

  1. Choose LAN > LAN Port Work Mode from the navigation tree. Select the check box next to LAN1 to set port LAN1 to work in Layer 3 mode. Figure 19-8 shows the parameter settings.

 

  1. Click Apply to make the configuration take effect.

Step-27: Configure parameters for a WAN interface.

  1. Choose WAN > WAN Configuration from the navigation tree.
  2. In the right pane, click New. In the dialog box that is displayed, set the parameters as

follows:

=> Select Enable WAN Connection to enable the new WAN connection.

=>Set Encapsulation Mode to PPPOE or IPOE according to the IPv6 HSI solution.

=> Set Protocol Type to IPv4/IPv6 (dual stack) or IPv6 (DS-Lite).

=>Set Mode to Route WAN.

=> Set Service List to INTERNET.

=>Select Enable VLAN.

=> Set VLAN ID to 1001.

=> Set 802.1p to 0.

=> Set User Name to iadtest@pppoe and Password to iadtest.

=> Select the check box next to LAN1 in the Binding options area, indicating that the WAN port is bound to LAN1.

IPv4 Information:

=> Set IP Acquisition Mode to PPPoE when PPPoE is adopted for HSI. Set IP Acquisition Mode to Static or DHCP according to the data plan.

=> Select Enable NAT to enable the NAT function.

IPv6 Information:

=>DHCP-PD is recommended for Prefix Acquisition Mode.

=>DHCP is recommended for IP Acquisition Mode.

=> In case of DS-Lite solution and the Protocol Type in the Basic Information field is set to IPv6, set the DSLite Work Mode to Auto.

  1. Click Apply to make the configuration take effect.

***END***

Be the first to comment

Leave a Reply

Your email address will not be published.


*


For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.