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

Voice Feature Guide 01

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 Dual Homing (Multi-Homing)

Configuring the Dual Homing (Multi-Homing)

This topic describes how to configure the H.248-based, MGCP-based, and SIP-based dual homing (multi-homing). Dual homing (multi-homing) is a measure that protects the softswitch/IMS against a crash and a disaster recovery mechanism against accidents (such as a fire in the telecommunications room, disconnection of the cable connected to the telecommunications room, and abnormal power supply).

Context

The working principle of multi-homing is as follows: an MG interface (for H.248 and MGCP) or a SIP interface is homed to multiple registration servers. If the primary server malfunctions, the interface is switched to a secondary server and then continues to provide services.

Dual homing is one type of multi-homing configured with only primary/secondary servers without a disaster-recovery server.

Configuring H.248-based Dual Homing (Multi-homing)

In the case of H.248, the MA5600T/MA5603T/MA5608T supports homing of a media gateway (MG) interface to the primary/secondary media gateway controllers (MGCs) and disaster-recovery MGC. When the primary MGC malfunctions, the MG interface will register with the secondary MGC and then the disaster-recovery MGC cyclically.

Context

Technically speaking, dual homing is a configuration in which an MG is homed to the primary MGC and secondary MGC. Multi-homing is a configuration in which an MG is homed to the primary MGC, secondary MGC, and disaster-recovery MGC. Multi-homing is an enhancement of dual homing. In a broad sense, dual homing is one type of multi-homing.

The MA5600T/MA5603T/MA5608T provides different application policies for the dual homing (multi-homing) by configuring MG homing parameters and MG software parameters.

Procedure

  1. Create an MG interface and configure MG interface parameters.
    1. In the global config mode, run the interface h248 command to enter the MG interface mode.
    2. Run the if-h248 attribute command to create an MG interface and then configure the primary/secondary MGCs and disaster-recovery MGC.

      When configuring an MG interface supporting dual homing, note that:
      • The MG is dual homed to the primary/secondary MGCs. The configurable parameters include secondary-mgc-ip1 secondary-mgc-ip1, secondary-mgc-ip2 secondary-mgc-ip2, secondary-mgc-port secondary-mgc-port, or mgc-domain-name2 mgcdomainname2.
      • At least one secondary MGC (containing the IP address and port ID) is configured.
      When configuring an MG interface supporting multi-homing, note that:
      • A disaster-recovery MGC is configured based on the dual homing. The configurable parameters include stand-alone-mgc-ip1 stand-alone-mgc-ip1, stand-alone-mgc-ip2 stand-alone-mgc-ip2, and stand-alone-mgc-port stand-alone-mgc-port.
      • At least one disaster-recovery MGC (containing the IP address and port ID) is configured.

      For details about how to configure an MG interface, see Configuring an MG Interface.

  2. Configure the software parameters of an MG interface.
    1. Run the mg-software parameter 2 command to configure the MG interface supporting dual homing.

      The values of mg-software parameter 2 are described as follows:

      • When the value of mg-software parameter 2 is 0 (default value), multi-homing is not supported. Specifically, after an MG interface is unable to register with the primary MGC, the MG interface does no initiate registration with the secondary MGC or disaster-recovery MGC though it has been configured.
      • When the value of mg-software parameter 2 is 1, multi-homing is supported but auto-switching is not supported. Specifically,
        • An MG interface registering with the primary MGC will register with the secondary MGC and then the disaster-recovery MGC cyclically when the primary MGC malfunctions.
        • After the primary MGC recovers, the secondary MGC or disaster-recovery MGC will not automatically switch back to the primary MGC. Run the mgc switch(h248) command to forcibly switch the MGC to the primary MGC.
      • When the value of mg-software parameter 2 is 2, multi-homing and auto-switching are supported. Specifically,
        • An MG interface registering with the secondary MGC will automatically switch to the primary MGC after the primary MGC recovers.
        • An MG interface registering with the disaster-recovery MGC will automatically switch to the primary or secondary MGC after the primary or secondary MGC recovers.

      After an MG interface is manually or automatically switched, the MG interface will restart, causing services interrupted for a short time.

    2. (Optional) Run the mg-software parameter 36 command to configure the registration interval during MGC's multi-homing registration switchover.

      This parameter is used to configure the switch interval when an MGC (primary MGC, secondary MGC, or disaster-recovery MGC) malfunctions and switches to another MGC. It is defaulted to 40s.

    3. Run the display mg-software parameter command to query the software parameters of the MG interface.

Example

To configure dual homing on MG interface 0 with the following settings, do as follows:
  • The IP address of the primary MGC is 192.168.0.10 and the port number for the transport layer protocol is 2944.
  • The IP address of the secondary MGC is 192.168.0.20 and the port number for the transport layer protocol is 2944.
  • Auto-switching is not supported.
huawei(config)#interface h248 0
huawei(config-if-h248-0)#if-h248 attribute primary-mgc-ip1 192.168.0.10 primary-
mgc-port 2944 secondary-mgc-ip1 192.168.0.20 secondary-mgc-port 2944
huawei(config-if-h248-0)#mg-software parameter 2 1
huawei(config-if-h248-0)#display mg-software parameter 2
  -------------------------------------------------                             
  Interface Id:0           para index:2   value:1                               
  -------------------------------------------------                             
 APPENDIX:                                                                      
  -------------------------------------------------                             
   Interface software parameter name:                                           
   2: Whether MG support multi-home function                                    
      0: Do not support the multi-homing                                        
      1: Support the multi-homing, but do not support the auto switchover       
      2: Support the multi-homing and auto switchover 
To configure dual homing on MG interface 1 with the following settings, do as follows:
  • The IP address of the primary MGC is 192.168.0.10 and the port number for the transport layer protocol is 2944;
  • The IP address of the secondary MGC is 192.168.0.20 and the port number for the transport layer protocol is 2944;
  • The IP address of the disaster-recovery MGC is 192.168.0.30 and the port number for the transport layer protocol is 2945;
  • Auto-switching is supported.
huawei(config)#interface h248 1
huawei(config-if-h248-1)#if-h248 attribute primary-mgc-ip1 192.168.0.10 primary-
mgc-port 2944 secondary-mgc-ip1 192.168.0.20 secondary-mgc-port 2944 stand-alone
-mgc-ip1 192.168.1.30 stand-alone-mgc-port 2945
huawei(config-if-h248-1)#mg-software parameter 2 2
huawei(config-if-h248-1)#display mg-software parameter 2
  -------------------------------------------------                             
  Interface Id:1           para index:2   value:2                               
  -------------------------------------------------                             
 APPENDIX:                                                                      
  -------------------------------------------------                             
   Interface software parameter name:                                           
   2: Whether MG support multi-home function                                    
      0: Do not support the multi-homing                                        
      1: Support the multi-homing, but do not support the auto switchover       
      2: Support the multi-homing and auto switchover 

Configuring MGCP-based Dual Homing

This topic describes how to configure the MGCP-based dual homing.

Context

The MA5600T/MA5603T/MA5608T supports registering with three MGCs (MGC1, MGC2, and MGC3) through the MG interface. MGC1 serves as the primary MGC. When MGC1 fails, the MG can switch to MGC2 and continue working. When MGC2 also fails, the MG can switch to MGC3 and continue working.

Prerequisite
  • MGC1 and MGC2 must be configured in the attributes of the MG interface.
  • On the MGCs, the data for interconnecting with the MG must be configured.

Procedure

  1. In the global config mode, run the interface mgcp command to enter the MG interface mode.
  2. Run the mg-software parameter 3 1 command to enable the heartbeat message function.
  3. Run the mg-software parameter 2 0 command to configure the MG interface to support dual homing.
Example

To configure MG interface 0 to support dual homing and enable the heartbeat message function, do as follows:

huawei(config)#interface mgcp 0
huawei(config-if-mgcp-0)#mg-software parameter 3 1
huawei(config-if-mgcp-0)#mg-software parameter 2 0

Configuring the SIP-based Dual Homing

the MA5600T/MA5603T/MA5608T supports the 1+1 mutual assistance mode (the active/standby mode) of the upstream proxy devices. When either of the upstream active/standby devices is faulty, the MA5600T/MA5603T/MA5608T automatically switches the service to the other device. In this way, the disaster recovery solution is implemented through SIP to improve the access reliability of the device.

Context

The MA5600T/MA5603T/MA5608T supports the SIP interface homing to two proxy servers (Proxy1 and Proxy2), where Proxy1 functions as the primary proxy server. When Proxy1 fails, the MG can switch to Proxy2 to continue working.

Prerequisite
  • The data for interconnecting with the SIP interface must be configured on the IMS.
  • When configuring the IP address of the SIP interface, make sure that the IP address (signaling IP address or media IP address) exists in the corresponding IP address pool.

Procedure

  1. In the global config mode, run the interface sip command to enter the SIP interface mode.
  2. Run the if-sip attribute basic command to configure the basic attributes of the SIP interface.

    To support dual homing, the information about the secondary proxy server must be specified here. A proxy server can be identified by its IP address or domain name.

  3. Run the reset command to reset the interface.
Example

Assume that the SIP interface ID is 0, the media IP address is 10.10.10.13, signaling IP address is 10.10.10.13, transfer protocol is UDP, and UDP port number is 5000; IP address 1 of the primary proxy server is 10.10.10.14, and port number of the primary proxy server is 5060; IP address 1 of the secondary proxy server is 10.10.10.15, and port number of the secondary proxy server is 5060; the homing domain name huawei.com, and profile ID is 1. To configure the dual homing attributes of SIP interface 0, do as follows:

huawei(config)#interface sip 0
huawei(config-if-sip-0)#if-sip attribute basic media-ip 10.10.10.13 
signal-ip 10.10.10.13 signal-port 5000 transfer udp primary-proxy-ip1 
10.10.10.14 primary-proxy-port 5060 primary-proxy-domain proxy.domain 
secondary-proxy-ip1 10.10.10.15 secondary-proxy-port 5060
huawei(config-if-sip-0)#if-sip attribute basic home-domain huawei.com sipprofile
-index 1
huawei(config-if-sip-0)#reset
Translation
Download
Updated: 2019-02-22

Document ID: EDOC1100067358

Views: 13266

Downloads: 129

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