|
|
This chapter describes how to perform basic configuration of your Cisco Voice Gateway 200 (VG200) using the initial configuration dialog and the Cisco IOS command line interface (CLI). Basic configuration includes setting the host name and password and enabling the Fast Ethernet interface. This chapter includes the following sections:
Each individual network interface on a Cisco VG200 gateway is identified by a slot number and a unit number. The Cisco VG200 gateway chassis contains one slot in which you can install a network module. This is always slot 1.

Slot 1 contains the voice network module, which can support analog or digital connections to the Public Switched Telephone Network (PSTN), and which can hold one or two voice interface cards (VIC). Each VIC, in turn, can provide one or two ports. During configuration, you refer to each voice port by its numeric order, starting with zero. For example, 1/0/0 refers to slot 1, VIC 0, and port 0. Note that the physical ports on a Cisco VG200 gateway are numbered from right to left, with 1/0/0 identifying the right port on the right VIC, while 1/1/1 is the left port on the left VIC.
The analog voice network module and voice interface cards available at this time for the Cisco VG200 are as follows:
The initial configuration dialog provides prompts to help you configure basic information about your Cisco VG200 gateway, including the following:
The initial configuration dialog displays these prompts in your PC terminal emulation program window. Before running the initial configuration dialog, configure your PC terminal emulation program for 9600 baud, 8 data bits, no parity, and 1 stop bit.
You can also complete the following configuration steps by entering the appropriate command-line interface (CLI) commands, as described in the "Using the Cisco IOS Command-Line Interface" section. Perform the following steps to complete basic configuration of a Cisco VG200 gateway, using the initial configuration dialog:
Messages will begin to appear in your terminal emulation program window.
![]() |
Caution Do not press any keys on the keyboard until the messages stop. Any keys pressed during this time are interpreted as the first command entered when the messages stop, which might cause the gateway to power off and start over. It takes a few minutes for the messages to stop. |
![]() |
Note If you make a mistake while using the initial configuration dialog, you can exit and run the facility again. Press Ctrl-c, and enter setup at the enable mode prompt (VG200 #). |
The messages look similar to the following:
########################################################################################################################################################################################################## [OK]
Restricted Rights Legend
Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.
cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706
Cisco Internetwork Operating System Software
IOS (tm) VG200 Software (VG200-I6S-M), Experimental Version 12.0(20000117:081249) [sfry-viola_eft2 116]
Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled Fri 28-Jan-00 22:18 by sfry
Image text-base: 0x80008088, data-base: 0x8066E970
cisco VG200 (MPC860) processor (revision 0x102) with 22528K/2048K bytes of memory.
Processor board ID JAB034202S3 (0)
M860 processor: part number 0, mask 49
1 FastEthernet/IEEE 802.3 interface(s)
2 Voice FXS interface(s)
32K bytes of non-volatile configuration memory.
8192K bytes of processor board System flash (Read/Write)
Step 2 When the following message appears, enter yes to begin the initial configuration dialog:
Would you like to enter the initial configuration dialog? [yes/no]:
![]() |
Note If you enter n (for no) in response to this message, you are prompted to terminate the initial configuration dialog. If you choose to terminate, you enter the Cisco IOS software command-line interface without running the configuration dialog. |
Step 3 When the following message appears, enter yes to perform basic management setup:
Would you like to enter basic management setup? [yes/no]: yes
Step 4 Enter the host name for the VG200, as in the following example:
Configuring global parameters: Enter host name [Router]: VG200
You must make sure the same entry is used when configuring the Cisco VG200 gateway on Cisco CallManager.
Step 5 When you see the following prompt, enter an enable secret password:
Enter enable secret: xxxx The enable secret is a password used to protect access to privileged EXEC and configuration modes. This password, after entered, becomes encrypted in the configuration.
Step 6 When you see the following prompt, enter an enable password that is different from the enable secret password.
Enter enable password: guessme The enable password is used when you do not specify an enable secret password, with some older software versions, and some boot images.
![]() |
Note The enable password is not encrypted (less secure) and can be seen when viewing the configuration. |
Step 7 Enter the virtual terminal password, which prevents unauthenticated access to the gateway through ports other than the console port.
Enter virtual terminal password: guessagain The virtual terminal password is used to protect access to the gateway over a network interface.
Step 8 When you see the following prompt, identify the Fast Ethernet interface, which you must configure to use the VG200.
Current interface summary Any interface listed with OK? value "NO" does not have a valid configuration Interface IP-Address OK? Method Status Protocol FastEthernet0/0 unassigned NO unset up up Enter interface name used to connect to the management network from the above interface summary: FastEthernet0/0 d dialing? [no]:
Step 9 Configure the Fast Ethernet interface.
When you see the following prompts, enter the selections shown below, and then enter the IP address for the gateway on the Ethernet LAN.
Configuring interface parameters: Do you want to configure FastEthernet0/0 interface [yes]: Use the 100 Base-TX (RJ-45) connector? [yes]: Operate in full-duplex mode? [no]: Configure IP on this interface? [no]: yes IP addresss for this interface: 192.168.100.1
Step 10 Save the configuration, as follows:
The following configuration command script was created: hostname vg200 enable secret 5 $1$6F..$Lc8rqF6Nnos33ARvs9Uu7/ enable password cisco line vty 0 4 password lab snmp-server community public ! no ip routing ! interface FastEthernet0/0 no shutdown media-type 100BaseX full-duplex ip address 192.168.100.1 255.255.255.0 ! end : Use this configuration? [yes/no]: yes
If you answer no, the configuration information you entered is not saved, and the system displays the gateway enable prompt (VG200 #). You can then enter setup to return to the initial configuration dialog.
If you answer yes, the configuration is saved and you are returned to the EXEC prompt (for example, VG200>).
Building configuration... Use the enabled mode 'configure' command to modify this configuration.
Step 11 When the messages stop displaying on your screen, press Return to get the EXEC prompt (for example, VG200>).
Press RETURN to get started! %LINK-3-UPDOWN: Interface Ethernet0/0, changed state to up %LINK-3-UPDOWN: Interface Ethernet0/1, changed state to up ...
The VG200> prompt indicates that you are now at the CLI.
The Cisco VG200 runs the Cisco IOS Release 12.1(1)XE, which includes specialized adaptations for Voice over IP (VoIP) and Media Gateway Control Protocol (MGCP). If you are familiar with other versions of the Cisco IOS, you will find configuring the Cisco VG200 gateway straightforward because you will use the Cisco IOS CLI, with which you are familiar.
If you have never used the Cisco IOS CLI, you should still be able to perform the configuration required using the instructions and examples provided in this guide. To help get you started, this section provides a brief overview of some of the main features of the CLI. For further information, refer to the Cisco IOS configuration guides and command references for details about specific commands.
Use the question mark (?) and arrow keys to help you enter commands, as follows:
VG200> ?
VG200> s?
VG200> show ?
The Cisco IOS interface is divided into different modes. Each command mode permits you to configure different components on your gateway. The commands available at any given time depend on which mode you are currently in. Entering a question mark (?) at the prompt displays a list of commands available for each command mode. Table 2-1 lists the most common command modes.
| Command Mode | Access Method | Gateway Prompt Displayed | Exit Method |
|---|---|---|---|
Log in. | hostname> The default is router> | Use the logout command. | |
From user EXEC mode, enter the enable command. | hostname# The default is router# | To exit to user EXEC mode, use the disable, exit, or logout command. | |
From the privileged EXEC mode, enter the configure terminal command. | hostnameThe default is router (config)# | To exit to privileged EXEC mode, use the exit or end command, or press Ctrl-Z. | |
From the global configuration mode, enter the interface type number command, such as interface serial 0/0. | hostnameThe default is router (config-if)# | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-Z. | |
Dial-peer configuration | From the global configuration mode, enter the dial-peer voice command, such as dial-peer voice 1. | hostname(config- The default is router (config-dial-peer)# | To exit to global configuration mode, use the exit command. To exit directly to privileged EXEC mode, press Ctrl-Z. |
![]() |
TimeSaver Each command mode restricts you to a subset of commands. If you are having trouble entering a command, check the prompt, and enter the question mark (?) for a list of available commands. You might be in the wrong command mode or using the wrong syntax. |
In the following example, which uses the default prompt (router>), notice how the prompt changes after each command to indicate a new command mode:
router> enable Password: <enable password> router#configure terminal router(config-if)# line 0 router(config-line)# controller t1 0 router(config-controller)# exit router(config)# exit router# %SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press Return to return to the prompt.
![]() |
Note You can press Ctrl-Z in any mode to immediately return to privileged EXEC mode (router#), instead of entering exit, which returns you to the previous mode. |
If you want to undo a command you entered or disable a feature, enter the keyword no before most commands; for example, no mgcp.
You need to enter the copy running-config startup-config command to save your configuration changes to nonvolatile random-access memory (NVRAM), so the changes are not lost if there is a system reload or power outage. For example:
router# copy running-config startup-config Building configuration...
![]() |
Note It might take a minute or two to save the configuration to NVRAM. After the configuration has been saved, the privileged EXEC mode prompt (router#) reappears. |
Configuring a host name allows you to distinguish multiple Cisco gateways from each other. Setting an encrypted password allows you to prevent unauthorized configuration changes.
You might want to use CLI commands if you have already run the initial configuration dialog and you want to change your gateway configuration. This section describes how to use CLI commands to configure the host name for the Cisco VG200 gateway and to set or change an encrypted password.
Before you begin configuring the interface, make sure you do the following:
Perform the following steps to configure the host name and password using the Cisco IOS CLI:
router> enable
Password: <password>
router#
You have entered enable mode when the prompt changes to router#.
Step 2 Enter global configuration mode by entering the following command from the EXEC mode prompt:
router# configure terminalEnter configuration commands, one per line. End with CNTL/Z.router(config)#
You have entered global configuration mode when the prompt changes to router(config)#.
Step 3 Change the name of the gateway to a meaningful name by entering the following command from the EXEC mode prompt:
router(config)# hostname yourhostname
Replace yourhostname with the name you want to use to identify your gateway. This must match the domain name entry you use for configuring the Cisco VG200 gateway in Cisco CallManager Administrator.
In this and subsequent examples in this document, the host name VG200 is used.
Step 4 Enter a secret password for privileged EXEC mode by entering the following command from the EXEC mode prompt:
VG200(config)# enable secret <password>
Replace <password> with a password that will control access to privileged EXEC mode. When a user enters enable at the EXEC prompt (for example, VG200>), they must enter this password to gain access to configuration mode.
Step 5 Enter line configuration mode by entering the following command from the EXEC mode prompt:
VG200(config)# line con 0
When you enter line configuration mode, the prompt changes to router(config-line)#.
Step 6 Complete the configuration by entering the following command from line configuration mode:
VG200(config-line)# exec-timeout 0 0
This command prevents the gateway's EXEC facility from timing out if you do not enter any information on the console screen for an extended period.
Step 7 Exit back to global configuration mode by entering the following command from line configuration mode:
VG200(config-line)#exitVG200(config)#
Step 8 Verify that you configured the correct host name and password by entering the following command from the global configuration prompt:
VG200(config)# show config Using 1888 out of 126968 bytes ! version XX.X . . . ! hostname VG200 ! enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/ .
![]() |
Tips Troubleshooting: If you are having trouble, make sure that caps lock is off and that you have entered the correct passwords. Passwords are case sensitive. |
Step 9 Save the configuration by entering the following command from enable mode:
VG200# copy running-config startup-config
This saves the configuration changes to NVRAM so that they are not lost during resets, power cycles, or power outages.
You can use the initial configuration dialog, as described earlier in this chapter, to configure the Fast Ethernet interface on your Cisco VG200 gateway. Otherwise, you can configure the Ethernet interface by entering CLI commands at the gateway prompt, as shown in the following steps.
VG200 >enablePassword:<password>VG200#
You have entered enable mode when the prompt changes to VG200#.
Step 2 Enter global configuration mode by entering the following command from the EXEC mode prompt:
VG200#configure terminalEnter configuration commands, one per line. End with CNTL/Z.VG200(config)#
You have entered global configuration mode when the prompt changes to VG200(config)#.
Step 3 Enter interface configuration mode by entering the following command from the global configuration prompt:
VG200(config)# interface FastEthernet0/0
You have entered interface configuration mode when the prompt changes to VG200(config-if)#.
Step 4 Assign an IP address and subnet mask to the interface by entering the following command from the interface configuration prompt:
VG200(config-if)# ip address ipaddress subnetmask
Replace ipaddress with the IP address of the Fast Ethernet interface in dotted decimal format. Replace subnetmask with the subnet mask in use on the subnetwork connected to the Fast Ethernet interface.
Step 5 Complete the Fast Ethernet configuration by entering the following commands from the interface configuration prompt:
VG200(config-if)#no ip directed-broadcast VG200(config-if)#duplex auto VG200(config-if)#speed auto
Step 6 Exit back to global configuration mode by entering the following commands from the interface configuration prompt:
VG200(config-if)# exit
Step 7 Complete the configuration by entering the following commands from the global configuration prompt:
VG200(config)#ip default-gateway routeripaddress VG200(config)#ip classless VG200(config)#ip route0.0.0.0 0.0.0.0 FastEthernet0/0 VG200(config)#no ip http server
Replace routeripaddress with the IP address of the router that will be used to connect the subnetwork connected to the Cisco VG200 gateway to other subnetworks.
Step 8 Return to enable mode by entering the following command from the global configuration prompt:
VG200(config)# Ctrl-z
Step 9 Save the configuration by entering the following command from enable mode:
VG200# copy running-config startup-config
This saves the configuration changes to NVRAM so that they are not lost during resets, power cycles, or power outages.
At this point you can proceed to the following:
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Mon Jun 12 12:58:55 PDT 2000
Copyright 1989 - 2000©Cisco Systems Inc.