No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search

Reminder

To have a better experience, please upgrade your IE browser.

upgrade

Agile POL Solution Configuration Guide 02

This document describes the service configuration guide for Huawei Agile POL solution, including enterprise campus, hotel, and campus scenarios. Service configuration cases include data, IP phone, Wi-Fi, VoD, and video surveillance.
Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document. Note: Even the most advanced machine translation cannot match the quality of professional translators. Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Configuring the VoIP Service (SIP-based)

Configuring the VoIP Service (SIP-based)

The OLT is connected to the remote ONU through a GPON port, ONU is connected to the phone through a pots port.

Prerequisites

  • The SIP interface data and POTS port data corresponding to the MG interface have been configured on the SIP server.
  • The connection between the OLT and the SIP server is set up. The OLT can ping the IP address of the SIP server successfully.
  • The ONU has been added to the OLT.

Data planning

Table 4-4  Data plan

Item

Data

Traffic profile

Profile name: traffic_table_voip

CIR: off

ONU line profile

Profile name: pol_line_all

GEM port ID: 12

Voice parameter

IP address of the SIP server: 200.200.200.200/24

Port ID of the SIP server: 5060

Home domain name: huawei.com

User phone number: 77730010

Sub digitmap scheme: [xABCD].S|[xABCD].#

Networking data

Uplink port: 0/2/0

PON access port: 0/1/0

ONU ID: 1

VLAN Planning

Single VLAN tag
  • SVLAN ID: 300
  • CVLAN ID: 300
  • VLAN type: smart
  • VLAN attribute: common

Procedure

  1. (Option) Configure a traffic profile.

    Run the display traffic table ip command to query existing traffic profiles in the system. If the existing traffic profiles in the system do not meet the requirements, run the traffic table ip command to add a traffic profile.

    Set the profile name to traffic_table_voip and do not limit the upstream and downstream rates. Set the priority to 5 and packets are scheduled according to the priority carried.

    huawei(config)#traffic table ip name traffic_table_voip cir off priority 5 priority-policy local-setting
  2. Configure the mapping between a GEM port and a VLAN.

    The service flow of user VLAN 300 is mapped to GEM port 12 in the ONU line profile.
    huawei(config)#ont-lineprofile gpon profile-name pol_line_all
    huawei(config-gpon-lineprofile-1)#gem mapping 12 2 vlan 300
    huawei(config-gpon-lineprofile-1)#commit
    huawei(config-gpon-lineprofile-1)#quit

  3. Create a service VLAN and add an uplink port to it.

    Create a service VLAN 300, add uplink port 0/2/0 to VLAN 300.
    huawei(config)#vlan 300 smart
    huawei(config)#port vlan 300 0/2 0

  4. Create service flows.

    Create service flows. Set the service VLAN to 300, GEM port ID to 12, and user VLAN to 300, and use traffic profile traffic_table_voip.
    huawei(config)#service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service user-vlan 300 inbound traffic-table name traffic_table_voip outbound traffic-table name
    traffic_table_voip
    

  5. Configure ONU voice service profiles.

    ONU voice service profiles include the interface common profile, SIP agent profile, SIP service data profile, POTS port profile, and digitmap profile.

    • Interface common profile: saves common attributes of an ONU voice interface, including the fax mode, fax/modem negotiation mode, and priority of the coding and decoding mode.
    • SIP agent profile: saves the SIP agent information about an ONU, including the IP address and domain name of the SIP agent server and attributes of media packets and signaling packets.
    • SIP service data profile: saves the data information about ONU voice services, including the rights of the call waiting service, three-party service, call forwarding service, and call holding service.
    • POTS port profile: saves physical attributes of a POTS port on an ONU, including the impedance, transmitting gain, receiving gain, and signaling type of the POTS port.
    • Digitmap profile: saves the digitmap information about an ONU, including the timeout time of the digitmap timer and the digitmap format.

    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.

    2. Configure an SIP agent profile.

      Run the display ont-sipagent-profile command to query the existing SIP agent profile in the system. If the existing SIP agent profile in the system does not meet the requirements, run the ont-sipagent-profile add command to add an SIP agent profile.

      Create SIP agent profile 2, set the IP address of the SIP server to 200.200.200.200, and use default values for other parameters.

      huawei(config)#ont-sipagent-profile add profile-id 2 proxy-server 200.200.200.200
      
    3. Configure an SIP service data profile.

      Run the display ont-siprightflag-profile command to query the existing SIP agent profile in the system. If the existing SIP service data profile in the system does not meet the requirements, run the ont-siprightflag-profile add command to add an SIP service data profile.

      In this example, the default SIP service data profile, namely SIP service data profile 1 is used.

    4. 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.

    5. Configure a digitmap profile.

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

      This example uses the method of modifying the system default digitmap profile digitmap-profile_1, the sub digitmap scheme [xABCD].S|[xABCD].# is used.
      1. To delete sub digitmap scheme 1 from the ONT digitmap profile named digitmap-profile_1, do as follows:
        huawei(config)#ont-digitmap-profile token del profile-name digitmap-profile_1 dial-plan-id 1
      2. To add sub digitmap scheme [xABCD].S|[xABCD].# to the digitmap profile named digitmap-profile_1, do as follows:
        huawei(config)#ont-digitmap-profile token add profile-name digitmap-profile_1 dial-plan-token [xABCD].S|[xABCD].#

  6. Configure an IP address for an ONU SIP user.

    For ONU, configure the IP address obtaining mode to the DHCP mode, set the management VLAN to VLAN 300, and use default values for other parameters.

    huawei(config)#interface gpon 0/1
    huawei(config-if-gpon-0/1)#ont ipconfig 0 1 dhcp vlan 300
    
  7. Configure SIP POTS users.
    1. Add an SIP interface and apply an SIP agent profile to the interface.

      For ONU, set the MG ID to 1, apply SIP agent profile 2 to ONU, and use default values for other parameters.

      If parameters in an SIP agent profile are changed, the SIP agent profile must be reapplied to the ONU so that the changed parameters can take effect.

      huawei(config-if-gpon-0/1)#if-sip add 0 1 1 sipagent-profile profile-id 2
      
    2. Add POTS users.

      For ONU, set the MG ID to 1 (identical to the MG ID of the added SIP interface), create POTS user named huawei1, set password to user1, set phone number to 77730010 and use default values for other parameters.

      huawei(config-if-gpon-0/1)#sippstnuser add 0 1 1 mgid 1 username huawei1 telno 77730010

      Run the display sippstnuser attribute command to check whether the configuration of the POTS user is properly set.

      huawei(config-if-gpon-0/1)#display sippstnuser attribute 0 1 1
        ------------------------------------------------------------------------------
        F/S/P                       : 0/1/0
        ONT ID                      : 1
        Port ID                     : 1
      
        MG ID                       : 1
        Telephone NO.               : 77730010
        User name                   : huawei1
        Password                    : user1
      ...//The rest of the response information is omitted.
      
      

  8. Apply and bind an ONU voice service profile to an SIP interface

    Currently, the interface common profile, SIP agent profile, SIP service data profile, and POTS port profile can be applied to an SIP interface, and the digitmap profile can be bound to an SIP interface.

    For profiles that can be applied to an SIP interface, if parameters in those profiles are changed, those profiles must be reapplied to the SIP interface so that the changed parameters can take effect. For profiles that can be bound to an SIP interface, if parameters in those profiles are changed, those profiles do not need to be rebound to the SIP interface and the changed parameters can take effect.

    The method for applying an SIP agent profile is introduced in 7.a. The following will introduce the methods for applying an interface common profile, an SIP service data profile, and a POTS port profile, and the method for binding a digitmap to an SIP interface.

    1. Apply an interface common profile.

      Run the if-sip attribute command to apply an interface common profile to an SIP interface or configure the interface customized parameters, or run the ont-if-sip bat-apply from command to bulk apply the interface common profiles to SIP 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.

    2. Apply an SIP service data profile.

      Run the sippstnuser rightflag command to apply an SIP service data profile to an SIP interface or configure the interface customized parameters, or run the ont-sippstnuser bat-apply from command to bulk apply the SIP service data profiles to SIP interfaces. If you use these two commands to apply the SIP service data profiles or configure the interface customized parameters repeatedly, the last configurations take effect.

      In this example, the default SIP service data profile, namely SIP service data profile 1 is used.

    3. Apply a POTS port profile.

      Run the pstnport electric command to apply a POTS port profile to an SIP interface or configure the interface customized parameters, or run the ont-pstnport electric bat-apply command to bulk apply the POTS port profiles to SIP 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.

    4. Bind a digitmap profile.

      Run the sippstnuser digitmap command to bind a digitmap profile to an SIP interface, or run the ont-sippstnuser bat-bind from command to bulk apply the digitmap profiles to SIP interfaces. If you use these two commands to bind the SIP service data profiles to SIP ports repeatedly, the last configurations take effect.

      In this example, the default digitmap profile, namely digitmap-profile_1 is used.

  9. (Optional) Configure the SIP user codec.

    Run the sippstnuser codec command to configure the SIP user codec. The SIP user codec will not be configured independently in this example.

  10. Save the data.
    huawei(config)#save

Configuration Script

traffic table ip name traffic_table_voip cir off priority 5 priority-policy local-setting
ont-lineprofile gpon profile-name pol_line_all
gem mapping 12 2 vlan 300
commit
quit
vlan 300 smart
port vlan 300 0/2 0
service-port vlan 300 gpon 0/1/0 ont 1 gemport 12 multi-service user-vlan 300 inbound traffic-table name traffic_table_voip outbound traffic-table name traffic_table_voip
ont-sipagent-profile add profile-id 2 proxy-server 200.200.200.200 home-domain huawei.com
interface gpon 0/1
ont ipconfig 0 1 dhcp vlan 300
if-sip add 0 1 1 sipagent-profile profile-id 2
sippstnuser add 0 1 1 mgid 1 username huawei1 password user1 telno 77730010
display sippstnuser attribute 0 1 1
save
Translation
Download
Updated: 2018-10-22

Document ID: EDOC1100016413

Views: 62507

Downloads: 392

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Share
Previous Next