For example,
TERMINAL(config)#ipaddress pppoe
TERMINAL(config)#pppoe username iad password ******
To view the IAD IP address, run the display ipaddress command.
When the DHCP or PPPoE mode is used, the IAD may take about eight minutes to
restart if the IAD cannot obtain the IP address in DHCP or PPPoE mode. Verify that the
DHCP or PPPoE server is available and the server information is correct.
Changing the IP address may disconnect the Telnet connection. Then, you should
establish the Telnet connection by using a new IP address.
Step 4 Set the registered domain.
Run mgcp mg-domain-name name. The name of the IAD, which is registered on the
MGC server, is iad001.
TERMINAL(config)#mgcp mg-domain-name iad001
You can run undo mgcp mg-domain-name to delete the registered domain of the IAD.
Step 5 (Optional) Configure the DNS.
Run dns server ip-address to set the IP address of the DNS server. Then the IAD can
access other network devices according to their domain names.
You can also run dns domain-name domain-name to set the domain name suffix that
indicates where the IAD is located. The IAD automatically adds the domain name
suffix when accessing other network devices according to domain names. For example,
if the domain name suffix is set to tele.com, and the domain name of the MGC server
is softco, the IAD automatically sends the softco.tele.com domain name to the DNS
server for parsing when accessing the MGC server. (Note: The IP address
corresponding to the domain name must be set on the DNS server so that the domain
name can be parsed successfully.)
You can run display dns to view the status of the DNS.
Step 6 Configure the MGC server.
Run mgcp mgc index address ip-address. The index is 1, and the IP address is
191.168.10.20.
TERMINAL(config)#mgcp mgc 1 address 191.168.10.20
If the DNS is configured, you can run mgcp mgc index address domain-name to set the
address of the MGC server.
You can set the index to 2 to configure a backup MGC server. The IAD registers to the
MGC server of index 1; if the registration fails, the IAD registers to the MGC server of
index 2 to ensure the normal running of the service.
Run display mgcp attribute to view the configuration result.
Step 7 (Optional) Synchronize the system time with the SNTP server time.