Table Of Contents
Configuring Your Voice Gateway Using the CLI
Follow the procedures in this chapter to manually configure the voice gateway or to change the configuration after you have run the setup command described in the "Configuring Your Voice Gateway Using the setup Command" section.
Note•This chapter does not describe every configuration possible—only a small portion of the most commonly used configuration procedures. For advanced configuration topics, see the Cisco IOS configuration guide and command reference publications.
•If you skipped Chapter 2 "Configuring Your Voice Gateway Using the setup Command," and you have never configured a voice gateway before, read it now. That chapter contains important information that you need for configuring your voice gateway.
Configuring the Hostname and Password
One of the first configuration tasks is to configure the hostname and set an encrypted password. Configuring a hostname allows you to distinguish multiple voice gateways and routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.
You can only specify a hostname if the voice gateway has a DNS server available for hostname resolution.
2. configure terminal
3. hostname name
4. enable secret password
5. line configuration line
6. exec-timeout minutes seconds
Verifying the Hostname and Password
To verify that you configured the correct hostname and password, follow these steps.
Step 1 Enter the show config command:VG# show configUsing 1888 out of 126968 bytes!version XX.X...!hostname VG204!enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/...
Step 2 Check the hostname and encrypted password displayed near the top of the command output.
Step 3 Exit global configuration mode and attempt to reenter it, using the new enable password:VG# exit...VG con0 is now availablePress RETURN to get started.VG> enablePassword: guessmeVG#
Tip If you are having trouble, ensure the following:
•Caps lock is off.
•You entered the correct passwords. Passwords are case sensitive.
Configuring Fast Ethernet Interfaces
To configure a Fast Ethernet interface, use the configuration software provided with your voice gateway. Otherwise, for greatest power and flexibility, use configuration mode (manual configuration).
This section describes basic Fast Ethernet interface configuration, including enabling the interface and specifying IP routing. Depending on your own requirements and the protocols you plan to route, you might also need to enter other configuration commands.
Before You Begin
•Connect a console to the voice gateway.
•Power on the voice gateway by plugging in the external power supply.
2. configure terminal
3. ip routing
4. interface type number
5. ip address ip address subnet mask
The following example shows how to configure the Fast Ethernet interface on the voice gateway:VG-204(config)#int fa0/0VG-204(config-if)#ip addVG-204(config-if)#ip address 184.108.40.206 255.255.255.0VG-204(config-if)#do sh runn int fa0/0Building configuration...Current configuration : 96 bytes!interface FastEthernet0/0ip address 220.127.116.11 255.255.255.0speed autohalf-duplexend
Saving Configuration Changes
Perform the following steps to save the voice gateway configuration.
2. copy running-config startup-config