Thursday, September 13, 2018

How to configure the Internet Access Service on Huawei MA5800?

Huawei MA5800 is connected to the remote ONT through a GPON port to provide users with high-speed Internet access services.

Prerequisites

  • The OLT is connected to the BRAS.
  • Related configurations are performed on the BRAS according to the authentication and accounting requirements for dialup users.
  • Huawei GPON ONT has been added to the OLT MA5800 X15 X17 X7. 
  • The VLAN of the LAN switch port connected to the OLT is consistent with the upstream VLAN of the OLT.
Configure the OLT
    1. Configure a traffic profile.
      Run the display traffic table ip command to query the existing traffic profiles in the system. If the traffic profiles existing in the system do not meet the requirements, you need to run the traffic table ip command to add a traffic profile.
      Set the profile ID to ftth_hsi, the CIR to 4 Mbit/s, and the priority to 0. In addition, configure the scheduling mode so that packets are scheduled according to their priorities.
      huawei(config)#traffic table ip name ftth_hsi cir 4096 priority 0 priority-policy local-setting
    2. Configure the mapping between a GEM port and a VLAN.
      The service flow of C-VLAN 1001 is mapped to GEM port 14 in the ONT line profile.
      huawei(config)#ont-lineprofile gpon profile-name ftth
      huawei(config-gpon-lineprofile-1)#gem mapping 14 0 vlan 1001
      huawei(config-gpon-lineprofile-1)#commit  
      huawei(config-gpon-lineprofile-1)#quit
    3. Configure the VLAN of the Ethernet port on the ONT.
      If the ONT is connected to the PC through Ethernet port 1, add Ethernet port 1 to VLAN 1001 in the ONT service profile.
      huawei(config)#ont-srvprofile gpon profile-name ftth
      huawei(config-gpon-srvprofile-1)#port vlan eth 1 1001
      huawei(config-gpon-srvprofile-1)#commit
      huawei(config-gpon-srvprofile-1)#quit
    4. Configure the native VLAN of the ONT port.
      Set the native VLAN ID of Ethernet port 1 to 1001.
      huawei(config)#interface gpon 0/1
      huawei(config-if-gpon-0/1)#ont port native-vlan 0 1 eth 1 vlan 1001
      huawei(config-if-gpon-0/1)#ont port native-vlan 0 2 eth 1 vlan 1001
      huawei(config-if-gpon-0/1)#quit
    5. Create an Internet access service VLAN and add an upstream port to it.
      Add upstream port 0/9/0 to VLAN 100.
      huawei(config)#vlan 100 smart
      huawei(config)#vlan attrib 100 stacking
      huawei(config)#port vlan 100 0/9 0
    6. Create service flows.
      Set the service VLAN to 100, GEM port ID to 14, and user VLAN to 1001. Use traffic profile ftth_hsi.
      huawei(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 traffic-table name 
      ftth_hsi outbound traffic-table name ftth_hsi
      huawei(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 traffic-table name 
      ftth_hsi outbound traffic-table name ftth_hsi
    7. Save the data.
      huawei(config)#save
  • The ONT does not need to be configured.

No comments:

Post a Comment