Configure MGU Interfaces by Command
The interfaces of the MGU (both MGU board and MX-ONE Media Server) can also be configured by MDSH commands set directly (used in the examples below). To configure the control interface use the media_gateway_config command. To configure the media interface use the media_gateway_interface command.
Example 1:

example# media_gateway_config -i -m 2B --mgw-type mgu --cidr 192.168.5.30/25 --default-gateway 192.168.5.1 --symbolic-name Stockholm
example#media_gateway_interface -i -m 2B --cidr 192.168.5.31/25 --default-gateway 192.168.5.1
Example 2:
Configure a MGU-based media gateway for Server 2 as media gateway B. Link failover redundancy is used. Interface LAN0 and LAN1 should be connected to the same switched network, but to different physical switched to achieve redundancy (MGUs internal switch interfaces eth0 is used for control and eth2 is used for media).

example# media_gateway_config -i -m 2B --mgw-type mgu --cidr 192.168.5.30/25 --default-gateway 192.168.5.1 --symbolic-name Stockholm
example#media_gateway_interface -i -m 2B --cidr 192.168.5.31/25 --default-gateway 192.168.5.1