Table Of Contents
Configuring with the Command-Line Interface
Configuring the Hostname and Password
Verifying the Hostname and Password
Configuring Fast Ethernet Interfaces
Configuring with the Command-Line Interface
This chapter describes how to use the Cisco IOS software command-line interface (CLI) to configure basic Cisco voice gateway (VG) functionality.
This chapter presents the following major topics:
•
Configuring the Hostname and Password
•
Configuring Fast Ethernet Interfaces
Follow the procedures in this chapter to configure the Cisco VG manually or, if you wish, to change the configuration after you have run the setup command facility (see the "Using the setup Command Facility" section on page 2-1).
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. See the "Obtaining Documentation and Submitting a Service Request" section on page -vi.
Note
If you skipped Chapter 2, "Using the setup Command Facility," and you have never configured a Cisco VG, return to Chapter 2, "Using the setup Command Facility" and read it now. The chapter contains important information that you need for configuring your Cisco VG.
Note
Cisco VG202 and Cisco VG204 voice gateways are fixed voice gateways and do not support interface cards.
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 Cisco VGs and routers from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.
Note
A hostname can be specified only when the VG has a DNS server available for hostname resolution.
Perform the following steps to configure the hostname and password.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
hostname name
4.
enable secret password
5.
line configuration line
6.
exec-timeout minutes seconds
7.
exit
DETAILED STEPS
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(config)# show configUsing 1888 out of 126968 bytes!version XX.X...!hostname VG204!enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/...Check the hostname and encrypted password displayed near the top of the command output.
Step 2
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 Cisco VG. 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 configuring the interfaces, make sure to do the following:
•
Connect a console to the Cisco VG.
•
Power on the Cisco VG by plugging in the external power supply.
Perform the following steps to configure Fast Ethernet interfaces.
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip routing
4.
interface type number
5.
ip address ip address subnet mask
6.
exit
7.
Ctrl-z
DETAILED STEPS
Example
The following example shows how to configure the Fast Ethernet interface on the VG:
VG-204(config-if)#int fa0/0VG-204(config-if)#ip addVG-204(config-if)#ip address 9.13.38.149 255.255.255.0VG-204(config-if)#do sh runn int fa0/0Building configuration...Current configuration : 96 bytes!interface FastEthernet0/0ip address 9.13.38.149 255.255.255.0speed autohalf-duplexendSaving Configuration Changes
Perform the following steps to prevent loss of the Cisco VG configuration.
SUMMARY STEPS
1.
enable
2.
copy running-config startup-config
3.
Ctrl-z
DETAILED STEPS

