huawei(config-if-h248-0)#if-h248 attribute mgip 10.10.10.2 mgport 2944 code text
transfer udp domainName ua5000.com primary-mgc-ip1 10.10.20.1 primary-mgc-port
2944 mg-media-ip1 10.71.46.69
Step 3 Restart the MG interface.
huawei(config-if-h248-0)#reset coldstart
Command:
reset coldstart
Are you sure to reset MG interface?(y/n)[n]:y
huawei(config-if-h248-0)#quit
Step 4 Save the data.
huawei(config)#save
----End
Result
The MG and the MGC are connected successfully. Run the display if-h248 all command to
query the status of the MG interface. The query result shows that the MG interface is in the
normal state.
4.2.2 Commissioning the MG Interface Connection (Through
MGCP)
This topic describes how to verify that the MG interface connection can communicate with the
MGC successfully through the MGCP protocol.
Prerequisites
l The UA5000 must work normally.
l The ip address command must be executed to configure the IP address used in the example
in the IP address pool.
l The data on the MGC, that is, the data corresponding to the data on the MG, and the data
on the MG interface must be configured correctly.
l The protocol supported by the system must be configured to MGCP.
NOTE
You can run the display protocol support command to query the current voice protocol type. If the
current voice protocol type is not MGCP, run the protocol support command to switch the voice
protocol to MGCP.
Networking
Figure 4-4 shows the interconnection commissioning networking of the MG interface through
the MGCP protocol.
UA5000 Universal Access Unit Product
Commissioning Guide-PVM CLI 4 Commissioning the Interconnection
Issue 04 (2012-06-25) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
101