NOTE
If the packet transmitted from the upstream port is untagged, run the native-vlan command to configure
the native VLAN of the upstream port to be the same as the VLAN of the upstream port.
Step 2 Configure the media and signaling IP address pools.
The media and signaling IP addresses are 10.50.1.10/24, and the gateway IP address is 10.50.1.1.
huawei(config)#voip
huawei(config-voip)#ip address media 10.50.1.10 10.50.1.1
huawei(config-voip)#ip address signaling 10.50.1.10
huawei(config-voip)#quit
NOTE
When configuring the MG interface attributes, ensure that the media and signaling IP addresses exist in
the corresponding address pools.
Step 3 Configure a static route to the MGC.
The IP address of the destination network segment of the static route to the MGC is 10.10.1.0/24,
and the gateway IP address is 10.50.1.1.
huawei(config)#ip route-static 10.10.1.0 255.255.255.0 10.50.1.1
Step 4 Add an MG interface.
MG interface 0 that supports the H.248 protocol is added.
huawei(config)#interface h248 0
Are you sure to add MG interface?(y/n)[n]:y
Step 5 Configure the attributes of the MG interface.
The media and signaling IP addresses of the MG interface are 10.50.1.10/24, the MG port ID is
2944, the coding mode is text, the transmission mode is UDP, the MG domain name is
MA5600T/MA5603T/MA5608T.com, the IP address of the primary MGC is 10.10.1.4/24, the
MGC port ID is 2944, and the start negotiation version of the H.248 is V2.
huawei(config-if-h248-0)#if-h248 attribute mgip 10.50.1.10 mgport 2944 code text
transfer udp domainName
MA5600T/MA5603T/MA5608T.com primary-mgc-ip1 10.14.1.4 primary-mgc-port 2944 mg-
media-ip1 10.50.1.10 start-negotiate-version 2
NOTE
The start negotiation version of the H.248 protocol for the MG interface must be the same as that on the
MGC side.
Step 6 Reset the MG interface.
The MG interface is reset through cold start.
huawei(config-if-h248-0)#reset coldstart
Are you sure to reset MG interface?(y/n)[n]:y
huawei(config-if-h248-0)#quit
Step 7 Save the data.
huawei(config)#save
----End
Result
After the MG is interconnected with the MGC successfully, you can run the display if-h248
all command to confirm that the MG interface is in the normal state.
huawei(config)#display if-h248 all
-------------------------------------------------------------------------
MGID TransMode State MGPort MGIP/DomainName MGCPort MGCIP/DomainName
-------------------------------------------------------------------------
SmartAX MA5600T/MA5603T/MA5608T Multi-service
Access Module
Commissioning and Configuration Guide
1 Commissioning
Issue 01 (2014-04-30) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
167