Procedure
Step 1 Enter the global configuration mode of the command line interface (CLI).
Open the CLI by using the user name root and password admin, and then run the
following commands.
Enter the privilege mode.
TERMINAL>enable
Enter the global configuration mode.
TERMINAL#configure terminal
If configuring the IAD will take a long time, modify the timeout interval to prevent
frequent automatic exit. (The default interval is five minutes and the maximum interval
is 255 minutes.) For example, set the timeout interval to 15 minutes.
TERMINAL(config)#terminal timeout 15
After the configuration is complete, run the exit command to exit the CLI to prevent
failure to re-open the CLI within the preset timeout interval.
After you exit the system, the timeout interval is reset to five minutes.
Step 2 Set the protocol mode.
Run the display protocol-mode command to view the current protocol mode. If not
MGCP mode, run the protocol mode mgcp command to change the mode.
Step 3 Set the IAD IP address.
There are three modes for obtaining an IP address: static, DHCP, and PPPoE. By
default, the IP address of the IAD is 192.168.100.1 after being connected to the
network. You can also use other methods for obtaining the IP address:
static mode:
Run the ipaddress staticip-address subnet-mask default-gateway command to set a
fixed IP address. For example,
TERMINAL(config)#ipaddress static 192.169.1.62 255.255.255.0
192.169.1.1
DHCP mode:
Run the ipaddress dhcp command to obtain an IP address through DHCP. (A
DHCP server is required.) For example,
TERMINAL(config)#ipaddress dhcp
PPPoE mode:
A PPPoE server is required. The user name and password must be the same as
those on the PPPoE server. The command format is as follows:
− Run the pppoe usernameuser-namepasswordpassword command to set the
PPPoE user name and password.
− Run the ipaddress pppoe command to obtain an IP address through PPPoE.
− Run display pppoe to view the configuration of pppoe on the IAD.