Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
Text Part Number: OL-16191-01
Page 2
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL
STATEMENTS, INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT
WARRANTY OF ANY KIND, EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT
SHIPPED WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE
OR LIMITED WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH
ALL FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT
LIMITATION, THOSE OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF
DEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO
OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this
URL: www.cisco.com/go/trademarks. Third-party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership
relationship between Cisco and any other company. (1110R)
1Understanding Interface Numbering and Cisco IOS Software Basics1-1
About the Voice Gateways1-1
Port Numbering Conventions1-1
Understanding Cisco IOS Software Basics1-3
About Cisco IOS Software1-3
Getting Help1-4
Command Modes1-4
Undoing a Command or Feature1-5
Saving Configuration Changes1-5
Upgrading to a New Cisco IOS Release1-6
Typical Voice Gateway Deployment Scenario1-6
Where to Go Next1-6
2Configuring Your Voice Gateway Using the setup Command2-1
About Configuring Your Voice Gateway2-1
Preparing to Configure Your Cisco Voice Gateway2-1
Using the setup Command2-2
CHAPTER
CHAPTER
OL-16191-01
Completing the Configuration2-5
3Configuring Your Voice Gateway Using the CLI3-1
Configuring the Hostname and Password3-1
Verifying the Hostname and Password3-2
Configuring Fast Ethernet Interfaces3-3
Saving Configuration Changes3-5
4Configuring Voice4-1
Prerequisites4-1
Configuring the Voice Interface4-1
Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM Voice
Gateways
This preface describes the objectives, audience, and conventions of this document, and where to get the
latest version of documentation.
• Document Objectives, page v
• Audience, page v
• Documentation Conventions, page vi
• Accessibility, page vi
• Related Documentation, page vii
• Obtaining Documentation and Submitting a Service Request, page vii
Document Objectives
After installing a Cisco VG202, Cisco VG202XM, Cisco VG204, or Cisco VG204XM voice gateway,
use this guide to complete a basic configuration. This guide also contains information on using the
Cisco IOS software to perform other configuration tasks, such as configuring a VoIP interface and other
features.
This guide does not provide complete configuration instructions. See the Cisco IOS configuration guides
and command references for detailed configuration instructions.
Audience
This document is designed for the person who will be responsible for configuring your voice gateway.
This guide is intended primarily for the following audiences:
• Customers with technical networking background and experience.
OL-16191-01
• System administrators who are familiar with the fundamentals of voice gateway-based
internetworking, but who might not be familiar with Cisco IOS software.
• System administrators who are responsible for installing and configuring internetworking
equipment, and who are familiar with Cisco IOS software.
[]Keywords or arguments that appear within square brackets are optional.
{x | y | z}A choice of required keywords appears in braces separated by vertical bars. You must select one.
screen fontExamples of information displayed on the screen.
boldface screen
font
<>Nonprinting characters, for example passwords, appear in angle brackets in contexts where italic font is
[]Default responses to system prompts appear in square brackets.
Examples of information you must enter.
not available.
NoteMeans reader take note. Notes contain helpful suggestions or references to materials not contained in
this publication.
TimesaverMeans the described action saves time. You can save time by performing the action described in the
paragraph.
CautionMeans reader be careful. In this situation, you might do something that could result in equipment
damage or loss of data.
TipMeans the following information will help you solve a problem. The tips information might not be
troubleshooting or even an action, but could be useful information, similar to a Timesaver.
Accessibility
You can configure the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice
gateways by using the Cisco command-line interface (CLI). The CLI conforms to code 508 because it is
text based and relies on a keyboard for navigation. You can configure and monitor all functions of the
voice gateway through the CLI.
For a complete list of guidelines and Cisco products’ adherence to accessibility, see Cisco Accessibility
Products at the following URL:
The documents described here are available online. To be sure that you are obtaining the latest
information, you should access the online documentation.
To access online user documentation (in both PDF and HTML formats), go to Cisco.com. Under
Documentation, select Voice and Unified Communications, select Voice Gateway, and then select
Cisco VG200 Series Gateways.
• Regulatory Compliance and Safety Information for the Cisco VG202, Cisco VG202XM,
Cisco VG204, and Cisco VG204XM Voice Gateways
Obtaining Documentation and Submitting a Service Request
For information on obtaining documentation, submitting a service request, and gathering additional
information, see the monthly What’s New in Cisco Product Documentation, which also lists all new and
revised Cisco technical documentation, at:
Subscribe to the What’s New in Cisco Product Documentation as a Really Simple Syndication (RSS) feed
and set content to be delivered directly to your desktop using a reader application. The RSS feeds are a free
service and Cisco currently supports RSS version 2.0.
Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways deliver analog
voice gateways for the service provider as well as commercial and enterprise unified communication
markets. These voice gateways provide voice connectivity to devices such as analog phones, fax
machines, and modems.
Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways provide support
for 2-FXS (Cisco VG202 and Cisco VG202XM) and 4-FXS (Cisco VG204 and Cisco VG204XM) ports,
each supporting independent telephone numbers giving you two or four separate lines, and parity with
Cisco IOS fax/modem, security, and Session Initiation Protocol (SIP) features. Both voice gateways are
configurable with Cisco Unified Communications Manager (CUCM) & Cisco Unified Communications
Manager Express (CUCME).
CHAP T ER
1
NoteCisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways are fixed voice
gateways and do not support interface cards.
Port Numbering Conventions
The Cisco VG202 voice gateway supports two RJ-11 ports and supports two FXS voice ports with two
10/100 Fast Ethernet ports. Figure 1-1 shows the interfaces and ports on the Cisco VG202 voice gateway.
All interface ports are on the back of the chassis.
The Cisco VG204 voice gateway supports four RJ-11ports and supports four FXS voice ports with two
10/100 Fast Ethernet ports. Figure 1-2 shows the interfaces and ports on the Cisco VG204 voice gateway.
All interface ports are on the back of the chassis.
NoteThe Cisco VG204 and the Cisco VG204XM chassis are identical. The only difference is the model
number on the top center. On the Cisco VG204 chassis, the faceplate label says VG204. On the
Cisco VG204XM chassis, the faceplate label says VG204XM.
Figure 1-2Back Panel Feature Locations on the Cisco VG204 Chassis
Port numbering conventions for the Cisco VG202, Cisco VG202XM, Cisco VG204, and
Cisco VG204XM voice gateways are as follows:
• Foreign Exchange Station (FXS) voice port numbering begins at 0/0 and extends to 0/1 for the
Cisco VG202 and Cisco VG202XM, and extends to 0/3for the Cisco VG204 and Cisco VG204XM.
• 10/100BASE-T Fast Ethernet ports are numbered Fast Ethernet 0/0 and Fast Ethernet 0/1, from right
to left.
Serial port—console or
auxiliary3
Understanding Cisco IOS Software Basics
• About Cisco IOS Software, page 1-3
• Getting Help, page 1-4
• Command Modes, page 1-4
• Undoing a Command or Feature, page 1-5
• Saving Configuration Changes, page 1-5
• Upgrading to a New Cisco IOS Release, page 1-6
FXS ports
About Cisco IOS Software
Understanding these concepts about the Cisco IOS software will save time as you begin to use the CLI.
If you have never used Cisco IOS software or if you need a refresher, take a few minutes to read this
chapter before you proceed to the next chapter.
If you are already familiar with Cisco IOS software, proceed to Chapter 2, “Configuring Your Voice
Gateway Using the setup Command.”
For a comprehensive view of Cisco IOS configuration fundamentals, see the Cisco IOS Configuration
Fundamentals Configuration Guide, Release 12.4.
Note• Your Cisco IOS software release may not support all of the features documented in this document.
For the latest feature information and caveats, see the release notes for your platform and software
release.
• Use the Cisco Feature Navigator to find information about platform support and Cisco IOS and
Catalyst OS software image support. To access the Cisco Feature Navigator, go to
http://www.cisco.com/go/cfn. You do not need an account on Cisco.com to access the Cisco Feature
• The VG202 and VG204 devices support IOS software releases 15.0(1)M or earlier* due to memory
limitations. The VG202XM and VG204XM devices will support the latest IOS software release
15.3(2)T and beyond. Earlier releases are not supported on the VG202XM and VG204XM.
*Deployments requiring support for secure SCCP based call control are supported using 15.1(4)M
IOS release.
Getting Help
Use the question mark (?) and arrow keys to help you enter commands:
• For a list of available commands, enter a question mark:
VG> ?
• To complete a command, enter a few known characters followed by a question mark (with no space):
VG> s?
• For a list of command variables, enter the command followed by a space and a question mark:
VG> show ?
Chapter 1 Understanding Interface Numbering and Cisco IOS Software Basics
• To redisplay a command you previously entered, press the up arrow key. You can continue to press
Command Modes
The Cisco IOS user interface involves different modes. Each command mode permits you to configure
different components on your voice 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. Tab le 1-1 lists the most common command modes.
configuration mode,
enter the interface type number command, such
as
interface fast ethernet
0/0.
TimesaverEach 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.
VG(config)#To exit to privileged
EXEC mode, use the
exit or end command,
or press Ctrl-Z.
VG(config-if)#To exit to global
configuration mode, use
the exit command.
To exit directly to
privileged EXEC mode,
press Ctrl-Z.
In the following example, notice how the prompt changes after each command to indicate a new
command mode:
VG> enable
Password: <enable password>
VG# configure terminal
VG(config)# interface fastEthernet 0/0
VG(config-if)# line 0
VG(config)# exit
VG#
%SYS-5-CONFIG_I: Configured from console by console
The last message is normal and does not indicate an error. Press Return to get the VG# prompt.
NoteYou can press Ctrl-Z in any mode to immediately return to enable mode (VG#), instead of entering exit,
which returns you to the previous mode.
Undoing a Command or Feature
If you want to undo a command you entered or disable a feature, enter the keyword no before most
commands; for example, no ip routing.
Saving Configuration Changes
OL-16191-01
You need to enter the copy running-config startup-config command to save your configuration changes
to NVRAM, so the changes are not lost if there is a system reload or power outage. For example:
VG# copy running-config startup-config
Building configuration...
NoteTo simplify network operations and management of Cisco IOS software migration, see the Basics of a
Successful Cisco IOS Software Migration.
Typical Voice Gateway Deployment Scenario
Figure 1-3 shows a typical deployment scenario for a Cisco VG202, Cisco VG202XM, Cisco VG204, or
Cisco VG204XM voice gateway.
Figure 1-3Analog FXS User Interfaces
Ethernet
1
3RJ-11 cables4Analog telephones
Where to Go Next
Now that you have learned some Cisco IOS software basics and seen a typical deployment scenario, you
can begin to configure your voice gateway by using the CLI.
• You can use the question mark (?) and arrow keys to help you enter commands.
• Each command mode restricts you to a set of commands. If you have difficulty entering a command,
check the prompt and then enter the question mark (?) for a list of available commands. You might
be in the wrong command mode or be using the wrong syntax.
OL-16191-01
Page 15
Chapter 1 Understanding Interface Numbering and Cisco IOS Software Basics
• To disable a feature, generally enter the keyword no before the command; for example, no ip
routing.
• You need to save your configuration changes to NVRAM so that the changes are not lost if there is
a system reload or power outage.
Go to Chapter 2, “Configuring Your Voice Gateway Using the setup Command,” to begin configuring
your voice gateway.
Configuring Your Voice Gateway Using the setup
Command
This chapter describes how to use the setup command to configure your voice gateway. The setup
command prompts you to enter information needed to start a voice gateway functioning quickly. The
facility steps you through a basic configuration, including LAN interfaces.
• About Configuring Your Voice Gateway, page 2-1
• Preparing to Configure Your Cisco Voice Gateway, page 2-1
• Using the setup Command, page 2-2
• Completing the Configuration, page 2-5
About Configuring Your Voice Gateway
2
The Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways ship with a
default configuration. During the first boot up, the voice gateways do not enter setup mode and are
configured through auto-configuration.
If you prefer to configure the voice gateway manually or if you wish to configure a module or interface
that is not included in the setup command, proceed to “Chapter 3, “Configuring Your Voice Gateway
Using the CLI,” for step-by-step instructions.
If you prefer to configure the voice gateway using AutoInstall, see Using AutoInstall to Remotely
Configure Cisco Networking Devices.
Preparing to Configure Your Cisco Voice Gateway
Procedure
Step 1Set up the hardware as described in the Cisco VG202, Cisco VG202XM, Cisco VG204, and
Step 4Determine the addressing plan for each network protocol.
Using the setup Command
The setup command is displayed in your PC terminal emulation program window.
NoteIf you make a mistake while using the setup command, you can exit and run the command again. Press
Ctrl-C, and enter setup at the enable mode prompt (VG#).
Procedure
Step 1Plug in the external power supply.
The system begins to display messages in your terminal emulation program window.
Chapter 2 Configuring Your Voice Gateway Using the setup Command
CautionThe voice gateway does not enter setup mode during the initial configuration. During initial
configuration, the voice gateway boots up in auto-configuration. You can only use the setup command
to configure the voice gateway manually after the initial configuration. Using the setup command during
the initial configuration erases the default configuration and must be avoided.
CautionDo not press any keys on the keyboard until the messages stop. The system interprets any keys pressed
during this time as the first command typed when the messages stop, which might cause the voice
gateway to power off and start over. It takes a few minutes for the messages to stop.
The messages look similar to the following example.
System configuration has been modified. Save? [yes/no]: n
Proceed with reload? [confirm]
*Apr 21 14:23:38.051: %SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload
Command.
System Bootstrap, Version 12.4(20080415:092610)
[anyname-VG.V124_19_9_2_PIA9.14582.ios.sync 102], DEVELOPMENT SOFTWARE
Copyright (c) 1994-2008 by cisco Systems, Inc.
VG202 platform with 131072 Kbytes of main memory
Upgrade ROMMON initialized
program load complete, entry point: 0x80020000, size: 0x1437d40
Self decompressing the image:
##########################################################################################
##########################################################################################
################################# [OK]
2-2
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
Chapter 2 Configuring Your Voice Gateway Using the setup Command
(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 IOS Software, VG20X Software (VG20X-ADVIPSERVICESK9-M), Version
12.4(ORBITTY_APRIL18_POST_SYNC_BUILD.2008-04-17) UBUILDIT Image, CISCO DEVELOPMENT TEST
VERSION
Copyright (c) 1986-2008 by Cisco Systems, Inc.
Compiled Fri 18-Apr-08 02:30 by geopasaaniha
This product contains cryptographic features and is subject to United
States and local country laws governing import, export, transfer and
use. Delivery of Cisco cryptographic products does not imply
third-party authority to import, export, distribute or use encryption.
Importers, exporters, distributors and users are responsible for
compliance with U.S. and local country laws. By using this product you
agree to comply with applicable laws and regulations. If you are unable
to comply with U.S. and local laws, return this product immediately.
Using the setup Command
A summary of U.S. laws governing Cisco cryptographic products may be found at:
http://www.cisco.com/wwl/export/crypto/tool/stqrg.html
If you require further assistance please contact us by sending email to
export@cisco.com.
Cisco VG202 (MPC8300) processor (revision 0x100) with 98304K/32768K bytes of memory.
Processor board ID FOC11334C2B
MPC8300 CPU Rev: Part Number 0x8062, Revision ID 0x11
2 FastEthernet interfaces
2 Voice FXS interfaces
256K bytes of non-volatile configuration memory.
126000K bytes of ATA CompactFlash (Read/Write)
--- System Configuration Dialog ---
Would you like to enter the initial configuration dialog? [yes/no]: y
At any point you may enter a question mark '?' for help.
Use ctrl-c to abort configuration dialog at any prompt.
Default settings are in square brackets '[]'.
Step 2When the following message appears, enter yes to begin the initial configuration dialog:
Would you like to enter the initial configuration dialog? [yes/no]:
Step 3When the following message appears, press Return to see the current interface summary:
First, would you like to see the current interface summary? [yes]:
OL-16191-01
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
FastEthernet0/1 unassigned NO unset up down
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 5Enter an enable secret password. This password is encrypted (more secure) and cannot be seen when
viewing the configuration:
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.
Enter enable secret: cisco
Step 6Enter an enable password that is different from the enable secret password. This password is not
encrypted (less secure) and can be seen when viewing the configuration:
The enable password is used when you do not specify an
enable secret password, with some older software versions, and
some boot images.
Enter enable password: cisco
% Please choose a password that is different from the enable secret
Enter enable password: cisco
Chapter 2 Configuring Your Voice Gateway Using the setup Command
Step 7Enter the virtual terminal password, which prevents unauthenticated access to the voice gateway through
ports other than the console port:
The virtual terminal password is used to protect
access to the VG over a network interface.
Enter virtual terminal password: cisco
Configure SNMP Network Management? [yes]: n
Configure IP? [yes]:
Configure RIP routing? [yes]: n
Configure bridging? [no]:
Step 8Respond to the following prompts as appropriate for your network:
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? [yes]:
IP address for this interface: 9.13.38.150
Subnet mask for this interface [255.0.0.0] : 255.255.255.0
Class A network is 9.0.0.0, 24 subnet bits; mask is /24
Do you want to configure FastEthernet0/1 interface? [yes]: n
Would you like to go through AutoSecure configuration? [yes]: n
AutoSecure dialog can be started later using "auto secure" CLI
The following configuration command script was created:
hostname VG-202
enable secret 5 $1$Y0VQ$D8qM6vS3qId.BP3w.GjlE.
enable password cisco
line vty 0 4
password cisco
no snmp-server
!
ip routing
no bridge 1
!
Chapter 2 Configuring Your Voice Gateway Using the setup Command
interface FastEthernet0/0
media-type 100BaseX
half-duplex
ip address 9.13.38.150 255.255.255.0
!
interface FastEthernet0/1
shutdown
no ip address
dialer-list 1 protocol ip permit
!
end
Completing the Configuration
After you have entered all the prompted information for the setup command, the system displays the
configuration.
Procedure
Completing the Configuration
Step 1The system asks if you want to save this configuration, with the following options:
[0] Go to the IOS command prompt without saving this config.
[1] Return back to the setup without saving this config.
[2] Save this configuration to nvram and exit.
If you enter 0, the system does not save the configuration information that you entered, and you return
to the voice gateway enable prompt (
VG#). Enter setup to return to the system configuration dialog.
If you enter 1, the system returns you to the setup command without saving the configuration.
If you enter 2, the system saves the configuration and returns you to the user EXEC prompt
Step 2When the messages stop appearing on your screen, press Return to get the VG> prompt.
Step 3The VG> prompt indicates that you are now at the CLI and you have just completed a basic voice gateway
(VG>).
configuration. However, this is not a complete configuration. At this point you have two choices:
• Run the setup command again and create another configuration. Enter the following:
VG> enable
Password: password
VG# setup
• Modify the existing configuration or configure additional features with the CLI as described in
Chapter 3, “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 on page 2-1.
• Configuring the Hostname and Password, page 3-1
• Configuring Fast Ethernet Interfaces, page 3-3
• Saving Configuration Changes, page 3-5
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.
Restriction
You can only specify a hostname if the voice gateway has a DNS server available for hostname
resolution.
Chapter 3 Configuring Your Voice Gateway Using the CLI
Using 1888 out of 126968 bytes
!
version XX.X
.
.
.
!
hostname VG204
!
enable secret 5 $1$60L4$X2JYOwoDc0.kqa1loO/w8/
.
.
.
Step 2Check the hostname and encrypted password displayed near the top of the command output.
Step 3Exit global configuration mode and attempt to reenter it, using the new enable password:
VG# exit
.
.
.
VG con0 is now available
Press RETURN to get started.
VG> enable
Password: guessme
VG#
Configuring Fast Ethernet Interfaces
TipIf 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.
Chapter 3 Configuring Your Voice Gateway Using the CLI
4. interface type number
5. ip address ip address subnet mask
6. exit
7. Ctrl-z
Enters privileged EXEC mode.
Enters global configuration mode.
Enables routing protocols as required for your global
configuration. This example uses IP routing.
Step 4
Step 5
Step 6
Step 7
Example
Example:
VG(config)# ip routing
interface type [number]
Example:
VG(config)# interface fastethernet 0/0
ip address ip address subnet mask
Example:
VG(config-if)# ip address 172.16.74.3
255.255.255.0
exit
Example:
VG(config-if)# exit
Ctrl-z
Example:
VG# Ctrl-z
Enters interface configuration mode. You have entered
interface configuration mode when the prompt changes
to
VG(config-if)#.
Assigns an IP address and subnet mask to the interface.
Exits to global configuration mode.
Repeat Step 4 through Step 6 if your voice gateway has
more than one interface to configure.
Returns to enable mode when you finish configuring
interfaces.
3-4
The following example shows how to configure the Fast Ethernet interface on the voice gateway:
VG-204(config)#int fa0/0
VG-204(config-if)#ip add
VG-204(config-if)#ip address 9.13.38.149 255.255.255.0
VG-204(config-if)#do sh runn int fa0/0
Building configuration...
This chapter explains how to configure voice interfaces and ports, which convert telephone voice signals
for transmission over an IP network.
This chapter presents the following major topics:
• Prerequisites, page 4-1
• Configuring the Voice Interface, page 4-1
VoIP enables your Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways
to carry live voice traffic (for example, telephone calls and faxes) over an IP network. VoIP offers the
following benefits:
• Toll bypass
• Unified voice and data trunking
• Plain old telephone service (POTS)–Internet telephony gateways
For more information on understanding and configuring VoIP, see Configuring Voice over IP.
Prerequisites
Before you can configure your Cisco voice gateway to use VoIP, you must first do the following:
• Establish a working IP network.
• Implement a dial plan, including the following tasks:
–
Complete your company’s dial plan. That is, decide what patterns of dialed numbers will access
what telephony endpoints.
–
Establish a working telephony network based on your company’s dial plan.
–
Integrate your dial plan and telephony network into your existing IP network topology.
Configuring the Voice Interface
Whenever you install a new interface or want to change the configuration of an existing interface, you
must configure the interface.
NoteThe Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways are fixed
voice gateways and do not support interface cards.
Before you configure an interface, have the following information available:
• Protocols you plan to route on the new interface
• IP addresses, subnet masks, network numbers, zones, or other information related to the routing
protocol
TimesaverObtain this information from your system administrator or network plan before you begin configuring
your voice gateway.
To configure a voice interface, you must use configuration mode (manual configuration). In this mode,
you can enter Cisco IOS commands through the CLI.
Procedure
Step 1Connect a console to the voice gateway as described in the Cisco VG202, Cisco VG202XM,
Cisco VG204, and Cisco VG204XM Voice Gateways Hardware Installation Guide.
Step 2Power on the voice gateway. If the current configuration is no longer valid, after about one minute you
see the following prompt:
Would you like to enter the initial dialog? [yes/no]:
Answer no. You now enter the normal operating mode of the voice gateway.
NoteIf the current configuration is valid, you enter the normal operating mode automatically.
Step 3After a few seconds, you see the user EXEC prompt (VG>). Type enable and the password to enter enable
mode:
VG> enable
Password: <password>
The prompt changes to the privileged EXEC (enable) prompt (VG#):
VG#
Step 4Enter the configure terminal command to enter configuration mode:
VG# configure terminal
VG(config)#
The voice gateway enters global configuration mode, indicated by the VG(config)# prompt.
4-2
Step 5If you have not configured the voice gateway before, or you want to change the configuration, use Cisco
IOS commands to configure global parameters, passwords, network management, and routing protocols.
In this example, IP routing is enabled:
VG(config)# ip routing
For complete information about global configuration commands, see the Cisco IOS configuration guides
and command references.
Step 6To configure another interface, enter the exit command to return to the VG(config)# prompt.
Step 7To configure the voice gateway for voice traffic, see the VoIP references in the “Prerequisites” section
on page 4-1.
Step 8To exit configuration mode and return to the enable prompt, when you finish configuring interfaces,
press Ctrl-Z. To see the current operating configuration, including any changes you just made, enter the
show running-config command:
VG# show running-config
To see the configuration currently stored in NVRAM, enter the show startup-config command at the
enable prompt:
VG# show startup-config
Step 9The results of the show running-config and show startup-config commands differ if you have made
changes to the configuration but have not yet written them to NVRAM. To write your changes to
NVRAM and make them permanent, enter the copy running-config startup-config command at the
enable prompt:
VG# copy running-config startup-config
Building configuration. . .
[OK]
VG#
Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM Voice Gateways
The Cisco voice gateway is now configured to boot in the new configuration.
Auto-Configuration on the Cisco VG202, Cisco VG202XM,
Cisco VG204, and Cisco VG204XM Voice Gateways
To configure auto-configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and
Cisco VG204XM voice gateways, follow these guidelines and procedures.
• Restriction for Configuring Auto-Configuration
• Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM
Voice Gateways
• Configuring the Voice Interface for Cisco Unified Communications Manager
• Configuring the MAC Address Convention
Restriction for Configuring Auto-Configuration
Before you can connect the voice gateway to the network, you must provision the Cisco Unified
Communications Manager (CUCM) with the voice gateway information.
Auto-Configuration With a DHCP Server
When the Dynamic Host Configuration Protocol (DHCP) server is available, the voice gateway sends a
DHCP server request to provide the IP address for the Fast Ethernet 0/0 interface, and the TFTP server’s
IP address using the DHCP option 150. When the DHCP server provides the information, the voice
Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM Voice Gateways
gateway provisions itself with the CUCM configuration using Skinny Call Control Protocol (SCCP).
Analog ports which have been pre-configured on CUCM automatically register on CUCM as
SCCP-controlled ports.
To provision the voice gateway with auto-configuration when a DHCP server is available, use the
following commands.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot/port
4. ip address dhcp
5. sccp local interface-type interface-number port port-number
6. ccm-manager sccp local interface-type interface-number
7. ccm-manager sccp
8. voice service voip
Chapter 4 Configuring Voice
DETAILED STEPS
Command or ActionPurpose
Step 1
enable
Example:
VG# enable
Step 2
configure terminal
Example:
VG# configure terminal
Step 3
interface type slot/port
Example:
VG(config)# interface fastethernet 0/0
Step 4
ip address dhcp
9. fax protocol t38 [nse[force]]
10. exit
Enters privileged EXEC mode.
Enters global configuration mode. You have entered
global configuration mode when the prompt changes to
VG(config)#.
Enters interface configuration mode and specifies the
type of interface you plan to configure. You have entered
interface configuration mode when the prompt changes
to
VG(config-if)#.
Acquires an IP address on an interface from the DHCP.
Step 5
4-4
Example:
VG(config-if)# ip address dhcp
sccp local interface-type interface-number port
port-type
Enables SCCP and its related applications (transcoding
and conferencing).
ccm-manager sccp local interface-type
interface-number
Example:
VG(config)# ccm-manager sccp local fastethernet
0/0
Step 7
ccm-manager sccp
Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM Voice Gateways
Selects the local interface that the SCCP application uses
to register with CUCM.
Enables CUCM autoconfiguration of the Cisco IOS
gateway.
Example:
VG(config)# ccm-manager sccp
Step 8
voice service voip
Example:
VG(config)# voice service voip
Step 9
fax protocol t38 [nse[force]]
Example:
VG(config)# fax protocol t38 nse force
Step 10
exit
Example:
VG(config-line)# exit
Auto-Configuration Without a DHCP Server
When the DHCP server is not available, use the following commands to provision the voice gateway with
the CUCM configuration.
NoteThe ccm sccp command will remove itself if
there is no IP address configured. The command
checks every 20 seconds, up to a maximum of 8
times, then the Cisco IOS gateway will be
automatically unconfigured.
Enters voice-service configuration mode and specifies a
voice-encapsulation type.
NoteThis step is not necessary through
auto-configuration.
Specifies the global default ITU-T T.38 standard fax
protocol to be used for all VoIP dial peers.
NoteThis step is not necessary through
auto-configuration.
Exits to global configuration mode.
SUMMARY STEPS
OL-16191-01
1. enable
2. configure terminal
3. interface type slot/port
4. ip address static ip subnet mask
5. sccp local interface-type interface-number port port-number
6. voice service voip
7. fax protocol t38 [nse[force]]
8. ccm-manager sccp local interface-type interface-number
Auto-Configuration on the Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM Voice Gateways
11. exit
DETAILED STEPS
Command or ActionPurpose
Step 1
Step 2
Step 3
Step 4
enable
Example:
VG# enable
configure terminal
Example:
VG# configure terminal
interface type slot/port
Example:
VG(config)# interface fastethernet 0/0
ip address dhcp
Enters privileged EXEC mode.
Enters global configuration mode. You have entered
global configuration mode when the prompt changes to
VG(config)#.
Enters interface configuration mode and specifies the
type of interface you plan to configure. You have entered
interface configuration mode when the prompt changes
to
VG(config-if)#.
Acquires an IP address on an interface from the DHCP.
Chapter 4 Configuring Voice
Step 5
Step 6
Step 7
Step 8
Step 9
Example:
VG(config-if)# ip address dhcp
sccp local interface-type interface-number port
port-type
Example:
VG(config)# sccp local fastethernet 0/0
voice service voip
Example:
VG(config)# voice service voip
fax protocol t38 [nse[force]]
Example:
VG(config)# fax protocol t38 nse force
ccm-manager sccp local interface-type
interface-number
Example:
VG(config)# ccm-manager sccp local fastethernet
0/0
ccm-manager config server tftp_ip_address
Example:
VG(config)# ccm-manager config server tftp
9.13.38.245
Enables the SCCP and its related applications
(transcoding and conferencing).
Enters voice-service configuration mode and specifies a
voice-encapsulation type.
Specifies the global default ITU-T T.38 standard fax
protocol to be used for all VoIP dial peers.
Selects the local interface that the SCCP application uses
to register with CUCM.
Specifies the TFTP server from which the voice gateway
downloads CUCM XML configuration files and enables
the system to download the port number of the
configuration port.
Configuring the Voice Interface for Cisco Unified Communications Manager
Command or ActionPurpose
Step 10
ccm-manager sccp
Enables CUCM auto-configuration of the Cisco IOS
gateway.
Example:
VG(config)# ccm-manager sccp
Step 11
exit
Example:
VG(config-line)# exit
Exits to global configuration mode.
Configuring the Voice Interface for Cisco Unified
Communications Manager
To configure voice ports to a CUCM server and set various parameters, including IP address, port
number, and version number, use the following commands.
NoteThe following steps are required only when the voice interface is configured manually and not through
SUMMARY STEPS
auto-configuration.
1. enable
2. configure terminal
3. stcapp ccm-group group-id
4. stcapp
5. stcapp feature access-code
6. stcapp feature speed-dial
7. voice-port slot-number/port
8. timeouts initial seconds
9. timeouts interdigit seconds
10. timeouts ringing seconds infinity
11. voice-port slot-number/port
12. ccm-manager fax protocol [protocol cisco]
13. ccm-manager config [server] ip-address name seconds
14. ccm-manager sccp local interface-type interface-number
15. ccm-manager sccp
16. sccp local interface-type interface-number port port-type
VG(config)# port 0/0
VG(config)# port 0/1
VG(config)# port 0/2
exit
Chapter 4 Configuring Voice
Defines a particular dial peer, to specify the method of
voice encapsulation, and to enter dial-peer configuration
mode. Tag defines a particular dial peer. The tag range is
from 1 to 2147483647. The POTS peer uses VoIP
encapsulation on the IP backbone.
Enables STC application feature service.
Configures the port number.
Exits to global configuration mode.
Example:
VG(config)# exit
Configuring the MAC Address Convention
The voice gateways use the MAC address of the SCC local interface to define unique MAC addresses
for each voice port by using the last 9 digits of the SCCP local interface of the voice gateway.
For example, if the source interface MAC address is 000C.8639.5833, the MAC address of the voice port
MAC address will be C863.9583.3XXX. In the preceding example, the last 9 digits of the SCCP of the
local voice gateway become the first 9 digits of the voice port MAC address after dropping the leading
000.
The last 3 digits of the voice port MAC address is the slot number (3-bit) + subunit number (2-bit) + port
number (7-bit) in hexadecimal format. You combine the digits to get the last three MAC address digits.
For example, the voice-port 0/0 is slot number 0 (000): subunit 0 (00) and port number 0 (0000000). By
stringing the digits together, you get the following: 0000 0000 0000 = 0 0 0. This means that if the source
interface MAC address is 001f.cac3.b3f8, the MAC address of voice port 0/0 will be 1FCAC3b3f8000.
Table 4-1 shows the voice port to MAC address conversion table.
Table 4-1Voice Port to MAC Address Conversion Chart
The voice gateways blind-call transfer functionality allows the transfer of a call from the party you call
to a destination caller without and call commit from the original person called. For example, party A
(transferee) calls party B (transferor). The transferor wants to transfer the call to party C (transfer-target)
and uses hookflash (softkey transfer) to get a dial tone, and then dials party C’s number. When
CUCM/CUCME gets party C’s number, it transfers the party A call to party C without the need of
committment from party B.
The voice gateways consultation call transfer functionality allows happens after a call is established
between a transferor and transferee. The transferor wants to transfer the call to a transfer target by using
a softkey transfer by getting a dialtone then dialing the transfer-target’s phone number. When the call
between the transferor and transfer-target is established, the transferor hangs up the phone to commit the
transfer. The CUCM/CUCME connects the call between the transferee and the transfer-target.
Configuring Calls
SUMMARY STEPS
DETAILED STEPS
Command or ActionPurpose
Step 1
Step 2
enable
Example:
VG# enable
configure terminal
Example:
VG# configure terminal
1. enable
2. configure terminal
3. dial-peer voice tags pots
4. service stcapp
5. port port-number
6. exit
Enters privileged EXEC mode.
Enters global configuration mode. You have entered
global configuration mode when the prompt changes to
VG(config)# port 0/0
VG(config)# port 0/1
VG(config)# port 0/2
exit
Defines a particular dial peer, to specify the method of
voice encapsulation, and to enter dial-peer configuration
mode. Tag defines a particular dial peer. The tag range is
from 1 to 2147483647. The POTS peer uses VoIP
encapsulation on the IP backbone.
Enables STC application feature service.
Configures the port number.
Exits to global configuration mode.
Chapter 4 Configuring Voice
Example:
VG(config)# exit
Call Waiting
If a calling party places a call to another party and the other party is engaged in a call, and the called
party has call waiting, the party receiving the call can suspend the current telephone call and switch to
the incoming call. For example, when caller A is engaged in a call with Caller B, a second call coming
in to caller A from caller C will cause caller A to hear the call-waiting tone (one tone with 300ms
duration), which indicates a second call. Caller A should be able to use the softkey transfer button to
answer the waiting call and then use softkey transfer to switch between the two calls.
To configure call waiting on the voice gateways, use the same commands and configuration shown in
“Call Transfer” section on page 4-11.
Three-Party Conferencing
Three-party conferencing provides a three-way conversation between three call parties. The voice
gateways along with CUCM support three-party conferencing using Cisco IOS software to perform
G.711 (ITU-T standard for audio companding) software mixing for up to three Real-time Transport
Protocol (RTP) streams
To configure three-party conferencing on the voice gateways, use the same commands and configuration
shown in the “Call Transfer” section on page 4-11.
Caller ID
4-12
Caller ID transmits a caller's number to the called party's telephone during the ringing signal.
This appendix describes the ROM monitor (also called the bootstrap program), which is the firmware
that runs when you power on or restart the Cisco VG202, Cisco VG202XM, Cisco VG204, or
Cisco VG204XM voice gateway. During normal operation, the ROM monitor helps to initialize the
processor hardware and boot the operating system software. You can also use the ROM monitor to help
you isolate or rule out hardware problems that you encounter while installing your voice gateway.
• Entering the ROM Monitor Mode, page A-1
• About the ROM Monitor Commands, page A-2
• Using the Configuration Register, page A-5
• Using the Console Download Function, page A-6
• Using Debug Commands, page A-7
• Exiting the ROM Monitor Mode, page A-8
Entering the ROM Monitor Mode
To use the ROM monitor, you must be using a terminal or PC that is connected to the voice gateway over
the console port.
Perform these steps to configure the voice gateway to boot up in ROM monitor mode the next time it is
rebooted.
TimesaverBreak (system interrupt) is always enabled for 60 seconds after the voice gateway reboots, regardless of
whether it is set to on or off in the configuration register. During this 60-second window, you can break
to the ROM monitor prompt by pressing the Break key.
About the ROM Monitor Commands
• Listing the ROM Monitor Commands, page A-3
• Command Descriptions, page A-3
Reboots the voice gateway with the new configuration
register value. The voice gateway remains in ROM
monitor and does not boot the Cisco IOS software.
As long as the configuration value is 0x0, you must
manually boot the operating system from the console.
See the boot command in the “Command Descriptions”
section in this appendix.
After the voice gateway reboots, it is in ROM monitor
mode. The number in the prompt increments with each
new line.
Enter ? or help at the ROM monitor prompt to display a list of available commands and options, as
follows:
rommon 1 > ?
aliasset and display aliases command
bootboot up an external process
confregconfiguration register utility
contcontinue executing a downloaded image
contextdisplay the context of a loaded image
cookiedisplay contents of cookie PROM in hex
devList the device table
dirList files in directories-dir <directory>
disdisplay instruction stream
frameprint out a selected stack frame
helpmonitor builtin command help
historymonitor command history
iomemsetSet IO memory percent
meminfomain memory information
repeatrepeat a monitor command
resetsystem reset
rommon-prefSelect ROMMON
setdisplay the monitor variables
showmonDisplay currently selected ROM monitor
stackproduce a stack trace
syncwrite monitor environment to NVRAM
sysretprint out info from last system return
tftpdnldtftp image download
unaliasunset an alias
unsetunset a monitor variable
xmodemx/ymodem image download
rommon 1 >
About the ROM Monitor Commands
Commands are case sensitive. You can halt any command by pressing the Break key on a terminal. If
you are using a PC, most terminal emulation programs halt a command when you press the Ctrl and the
Break keys at the same time. If you are using another type of terminal emulator or terminal emulation
software, see the documentation for that product for information on how to send a Break command.
Command Descriptions
Table A-1 describes the most commonly used ROM monitor commands.
Table A-1Commonly Used ROM Monitor Commands
CommandDescription
help or ?Displays a summary of all available ROM monitor commands.
meminfoLists the main memory information; for example:
rommon 6 > meminfo:
Main memory size: 128 MB.
Available main memory starts at 0x80018000
IO (packet) memory size: 5 percent of main memory
NVRAM size: 128 KB
boot commands
For more information about the ROM monitor boot commands, see the Cisco IOS
Configuration Fundamentals and Network Management Guide.
bBoots the first image in flash memory.
b flash: [filename] Attempts to boot the image directly from the first partition of flash memory. If you
do not enter a filename, this command will boot this first image in flash memory.
Recovering Boot and System Images
If your voice gateway experiences difficulties and no longer contains a valid Cisco IOS software image
in flash memory, you can recover the Cisco IOS image by using the xmodem ROM monitor command.
Use this command if the computer attached to your console has a terminal emulator that has xmodem
capability. The xmodem command establishes a connection between a console and the voice gateway
console port for disaster recovery if both the boot and system images are erased from flash memory.
A-4
The syntax for the command is xmodem [filename]. The optional parameter argument filename specifies
the source file containing the Cisco IOS image. Other options include the following:
• -c—Use cyclic redundancy check (CRC-16).
• -y—Use Ymodem transfer protocol.
NoteThe Cisco VG202, Cisco VG202XM, Cisco VG204, and Cisco VG204XM voice gateways only
• About Changing the Configuration Register, page A-5
• Changing the Configuration Register Manually, page A-5
• Changing the Configuration Register Using Prompts, page A-5
About Changing the Configuration Register
The virtual configuration register is in nonvolatile RAM (NVRAM) and has the same functionality as
other Cisco voice gateways. You can view or modify the virtual configuration register from either the
ROM monitor or the operating system software. Within the ROM monitor, you can change the
configuration register by entering the register value in hexadecimal format, or by allowing the ROM
monitor to prompt you for the setting of each bit.
Changing the Configuration Register Manually
Using the Configuration Register
To change the virtual configuration register from the ROM monitor manually, enter the confreg
command followed by the new value of the register in hexadecimal format, as shown in the following
example:
rommon 1 > confreg 0x2101
You must reset or power cycle for new config to take effect
rommon 2 >
The value is always interpreted as hexadecimal. The new virtual configuration register value is written
into NVRAM but does not take effect until you reset or reboot the voice gateway.
Changing the Configuration Register Using Prompts
Entering the confreg command without an argument displays the contents of the virtual configuration
register and a prompt to alter the contents by describing the meaning of each bit.
In either case, the new virtual configuration register value is written into NVRAM but does not take
effect until you reset or reboot the voice gateway.
The following display shows an example of entering the confreg command:
rommon 7> confreg
Configuration Summary
enabled are:
console baud: 9600
boot: the ROM Monitor
do you wish to change the configuration? y/n [n]: y
enable “diagnostic mode”? y/n [n]: y
enable “use net in IP bcast address”? y/n [n]:
enable “load rom after netboot fails”? y/n [n]:
enable “use all zero broadcast”? y/n [n]:
enable “break/abort has effect”? y/n [n]:
enable “ignore system config info”? y/n [n]:
change console baud rate? y/n [n]: y
enter rate: 0 = 9600, 1 = 4800, 2 = 1200, 3 = 2400 [0]: 0
change the boot characteristics? y/n [n]: y
enter to boot:
0 = ROM Monitor
1 = the boot helper image
2-15 = boot system
[0]: 0
Configuration Summary
enabled are:
diagnostic mode
console baud: 9600
boot: the ROM Monitor
do you wish to change the configuration? y/n [n]:
You must reset or power cycle for new config to take effect
Using the Console Download Function
• About the Console Download Function, page A-6
• Command Description, page A-6
Appendix A Using the ROM Monitor
• Error Reporting, page A-7
About the Console Download Function
You can use console download, which is a ROM monitor function, to download either a software image
or a configuration file over the voice gateway console port. After download, the file is either saved to the
mini-flash memory module or to main memory for execution (image files only).
Use the console download function when you do not have access to a TFTP server.
NoteIf you want to download a software image or a configuration file to the voice gateway over the console
port, you must use the ROM monitor dnld command.
NoteIf you are using a PC to download a Cisco IOS image over the voice gateway console port at
115,200 bps, ensure that the PC serial port is using a 16550 universal asynchronous transmitter/receiver
(UART). If the PC serial port is not using a 16550 UART, we recommend using a speed of 38,400 bps
or less when downloading a Cisco IOS image over the console port.
Command Description
A-6
The syntax for the xmodem console download command is xmodem [-c-y]destination_file_name.
• -c—Optional. Performs the download using 16-bit cyclic redundancy check (CRC-16) error
checking to validate packets. Default is 8-bit CRC.
• -y—Optional. Sets the voice gateway to perform the download using Ymodem protocol. The default
is Xmodem protocol. The protocols differ as follows:
–
Xmodem supports a 128-block transfer size. Ymodem supports a 1024-block transfer size.
• destination_file_name—Name of the system image file or the system configuration file. In order for
Follow these steps to run the xmodem console download command.
Procedure
Step 1Move the image file to the local drive where Xmodem will execute.
Step 2Enter the xmodem command.
Error Reporting
Because the ROM monitor console download uses the console to perform the data transfer, when an error
occurs during a data transfer, the system only displays the error messages on the console after the data
transfer terminates.
If you changed the baud rate from the default rate, the error message is followed by a message telling
you to restore the terminal to the baud rate specified in the configuration register.
Using Debug Commands
–
Ymodem uses CRC-16 error checking to validate each packet. Depending on the device that the
software is being downloaded from, this function might not be supported by Xmodem
the voice gateway to recognize it, the name of the configuration file must be voice gateway_confg.
Using Debug Commands
Most ROM monitor debugging commands are functional only when the Cisco IOS software has crashed
or stops. If you enter a debugging command and the Cisco IOS crash information is not available, the
system displays the following error message:
"xxx: kernel context state is invalid, can not proceed."
The following are the ROM monitor debugging commands:
• stack or k—Produces a stack trace; for example:
rommon 6> stack
Stack trace:
PC = 0x801111b0
Frame 00: FP = 0x80005ea8 PC = 0x801111b0
Frame 01: FP = 0x80005eb4 PC = 0x80113694
Frame 02: FP = 0x80005f74 PC = 0x8010eb44
Frame 03: FP = 0x80005f9c PC = 0x80008118
Frame 04: FP = 0x80005fac PC = 0x80008064
Frame 05: FP = 0x80005fc4 PC = 0xfff03d70
• context—Displays processor context; for example:
• sysret—Displays return information from the last booted system image. This information includes
the reason for terminating the image, a stack dump of up to eight frames, and, if an exception is
involved, the address where the exception occurred; for example:
• meminfo—Displays size in bytes, starting address, available range of main memory, the starting
point and size of packet memory, and size of NVRAM; for example:
rommon 9> meminfo
Main memory size: 128 MB.
Available main memory starts at 0x10000, size 40896KB
IO (packet) memory size: 5 percent of main memory.
Exiting the ROM Monitor Mode
You must set the configuration register to a value from 0x2 to 0xF for the voice gateway to boot a
Cisco IOS image from flash memory upon startup or reloading.
The following example shows how to reset the configuration register and cause the voice gateway to boot
a Cisco IOS image stored in flash memory:
rommon 1 > confreg 0x2101
You must reset or power cycle for a new configuration to take effect:
rommon 2 > boot
The voice gateway boots the Cisco IOS image in flash memory. The configuration register changes to
0x2101 the next time that you reset or power cycle the voice gateway.