Guest

Cisco 1700 Series Modular Access Routers

Quick Start Guide for Installing Your Cisco 1760 Modular Access Router

Table Of Contents

Cisco 1760 Modular Access Router Cabling and Installation

Cisco One-Year Limited Hardware Warranty Terms

Overview

Parts List

Mounting the Router in a Rack

Attaching Brackets to the Router

Attaching Brackets to the Rack

Attaching the Optional Cable Guide

Installing WIC/VIC Cards

Safety Information

Card Installation

Voice Port Verification

Connecting the Router to Your Local Network

Connect Power and Verify Installation

Connect a PC to the Router Console Port

Perform Initial Configuration

Initial Configuration Using Cisco Router and Security Device Manager

Initial Configuration Using Cisco CLI—Manual Configuration

Verifying the Initial Configuration

Use the CLI to Configure VoIP

Information for International Users

Saving the Configuration

Configuring the Fast Ethernet Interface

Configuring a Dial Plan

Wildcards and Number Expansion

Configuring Voice Interface Cards

Configuring FXS Interfaces

Configuring FXO Interfaces

Configuring E&M Interfaces

Configuring ISDN BRI NT/TE Interfaces

Configuring DID Interfaces

Configuring Quality of Service

IP Precedence

Low Latency Queuing

Multilink PPP with Link Fragmentation Interleave

Real-Time Transport Protocol Header Compression

Frame Relay Configuration for VoIP

Obtaining Documentation

Cisco.com

Documentation DVD

Ordering Documentation

Documentation Feedback

Cisco Product Security Overview

Reporting Security Problems in Cisco Products

Obtaining Technical Assistance

Cisco Technical Support Website

Submitting a Service Request

Definitions of Service Request Severity

Obtaining Additional Publications and Information


Quick Start Guide

Cisco 1760 Modular Access Router Cabling and Installation


INCLUDING LICENSE AND WARRANTY

1 Cisco One-Year Limited Hardware Warranty Terms

There are special terms applicable to your hardware warranty and various services that you can use during the warranty period. Your formal Warranty Statement, including the warranties and license agreements applicable to Cisco software, is available on Cisco.com. Follow these steps to access and download the Cisco Information Packet and your warranty and license agreements from Cisco.com.

1. Launch your browser, and go to this URL:

http://www.cisco.com/univercd/cc/td/doc/es_inpck/cetrans.htm

The Warranties and License Agreements page appears.

2. To read the Cisco Information Packet, follow these steps:

a. Click the Information Packet Number field, and make sure that the part number 78-5235-03A0 is highlighted.

b. Select the language in which you would like to read the document.

c. Click Go.

The Cisco Limited Warranty and Software License page from the Information Packet appears.

d. Read the document online, or click the PDF icon to download and print the document in Adobe Portable Document Format (PDF).


Note You must have Adobe Acrobat Reader to view and print PDF files. You can download the reader from Adobe's website: http://www.adobe.com


3. To read translated and localized warranty information about your product, follow these steps:

a. Enter this part number in the Warranty Document Number field:

78-10747-01C0

b. Select the language in which you would like to view the document.

c. Click Go.

The Cisco warranty page appears.

d. Read the document online, or click the PDF icon to download and print the document in Adobe Portable Document Format (PDF).

You can also contact the Cisco service and support website for assistance:

http://www.cisco.com/public/Support_root.shtml.

Duration of Hardware Warranty

One (1) Year

Replacement, Repair, or Refund Policy for Hardware

Cisco or its service center will use commercially reasonable efforts to ship a replacement part within ten (10) working days after receipt of a Return Materials Authorization (RMA) request. Actual delivery times can vary, depending on the customer location.

Cisco reserves the right to refund the purchase price as its exclusive warranty remedy.

To Receive a Return Materials Authorization (RMA) Number

Contact the company from whom you purchased the product. If you purchased the product directly from Cisco, contact your Cisco Sales and Service Representative.

Complete the information below, and keep it for reference.

Company product purchased from

 

Company telephone number

 

Product model number

 

Product serial number

 

Maintenance contract number

 

2 Overview

This document describes the hardware installation and software configuration steps necessary to install your Cisco 1760 modular access router with its complement of WAN interface cards (WICs) and voice interface cards (VICs). Additional documentation can be found on Cisco.com.

Product Serial Number Location

The serial number label for Cisco 1760 router is located on the rear of the chassis, in the lower right-hand corner.

3 Parts List

Your router package should include the following items:

One Cisco 1760 modular access router

One blue RJ-45-to-DB-9 console cable

One DB-25-to-DB-9 adapter

One black power supply cord

Cable guide

Rack-mounting brackets

Product documentation

4 Mounting the Router in a Rack


Warning To prevent bodily injury when mounting or servicing this unit in a rack, you must take special precautions to ensure that the system remains stable. The following guidelines are provided to ensure your safety.


This unit should be mounted at the bottom of the rack if it is the only unit in the rack.

When mounting this unit in a partially filled rack, load the rack from the bottom to the top with the heaviest component at the bottom of the rack.

If the rack is provided with stabilizing devices, install the stabilizers before mounting or servicing the unit in the rack.

The rack-mounting brackets supplied with the router can be attached to a 19- or 24-inch rack. Figure 1 shows the bracket mounting points that attach to the rack.

Figure 1 Bracket Mounting Points

To install the router in a 19-inch or a 24-inch standard rack, follow the instructions described in these procedures:

Attaching Brackets to the Router

Attaching Brackets to the Rack

Attaching the Optional Cable Guide

Attaching Brackets to the Router

The bracket orientation and the screws you use depend on whether you are attaching the brackets for a 19-inch or a 24-inch rack. Use two of the supplied screws to attach each bracket, according to the following guidelines:

For a 19-inch rack, use the supplied number-8 Phillips flat-head screws to attach the long side of the bracket to the router.

For a 24-inch rack, use the supplied number-8 Phillips truss-head screws to attach the short side of the bracket to the router.

Figure 2 shows how to attach brackets to the two sides of the router with the front panel forward.

Figure 2 Attaching Brackets for 19- and 24-Inch Racks

Attaching Brackets to the Rack

After the brackets are attached to the router, use the four supplied number-12 Phillips machine screws to securely attach the brackets to the rack, as shown in Figure 3.


Caution Make sure that the fans on the side of the chassis are not blocked.

Figure 3 Attaching Brackets to the Rack

Attaching the Optional Cable Guide

Cisco recommends attaching the cable guide to prevent the cables from obscuring the front panel of the router and the other devices installed in the rack. If the router is in a 19-inch or 24-inch rack, use the supplied black screw, as shown in Figure 4, to attach the cable guide to the left or right bracket.

Figure 4 Attaching the Cable Guide to the Router

5 Installing WIC/VIC Cards

The router has four card slots that hold Cisco WICs and VICs. Either one or two WICs may be installed, with the remaining slots holding VICs, as desired. If no WICs are present in the slots, up to four VICs may be installed. Each WIC has one or two WAN ports, and each VIC has two or more voice ports. This section describes the procedure for installing a WIC or a VIC in the router.


Note For details on specific WICs and VICs, on how to connect a WIC to the WAN line or a VIC to the telephone and fax line, and on how to configure the interface with Cisco IOS software, refer to the Cisco WAN Interface Cards Hardware Installation Guide that came with the cards.


Safety Information

This section lists safety warnings that you should be aware of before installing WICs or VICs in the router. To see translated versions of these warnings, refer to the Regulatory Compliance and Safety Information for the Cisco 1700 Routers document that came with the router.


Warning Before working on a system that has an on/off switch, turn off the power and unplug the power cord.



Warning Only trained and qualified personnel should be allowed to install or replace this equipment.



Warning Before working on equipment that is connected to power lines, remove jewelry (including rings, necklaces, and watches). Metal objects will heat up when connected to power and ground and can cause serious burns or weld the metal object to the terminals.



Warning Before opening the chassis, disconnect the telephone-network cables (from the card) to avoid contact with the telephone-network voltages.



Warning Do not work on the system or connect or disconnect cables during periods of lightning activity.



Caution Do not connect a WAN, telephone or fax cable to the card until you have completed the installation procedure.

Card Installation

Follow these steps to insert a card in the router:


Step 1 Make sure the router is turned off and is disconnected from AC power.


Caution Power must be removed from the system prior to installing or removing WICs or VICs to avoid damaging them. When WICs or VICs are pushed into or pulled out of a router that is powered up, there is a very good chance that they could be damaged electrically and will no longer function.

Step 2 Loosen the thumbscrews on the WIC or VIC slot cover, as shown in Figure 5.

Figure 5 Removing a WIC or VIC Slot Cover

You should be able to loosen the screws using your fingers; however, if the screws are very tight, you may need to use a Phillips screwdriver.

Step 3 Remove the metal plate that covers the card slot.

Step 4 Hold the card by the edges on either side of the card front panel, and line up the card edges with the guides inside the card slot, as shown in Figure 6.

Figure 6 Inserting a WIC or VIC in the Router

1

Interface Card

2

Guides


Step 5 Insert the card in the slot, and gently push it into the router until the front panel of the card is flush with the router.


Note Slots 2 and 3 accept VICs only. These slots have a small metal tab on the right side that interferes with a similar tab on WICs, preventing the insertion of WICs by mistake.


Step 6 Tighten the screws that are on the card.


Voice Port Verification

When the router is connected to a PC and you are running the command-line interface, as described in the "Connect a PC to the Router Console Port" section, you can enter the show voice port command to identify the port numbers of voice interfaces installed in your router:

Router# show voice port slot-number/port-number

As an example of voice port numbering, if you install VICs in both slot 1 and slot 2 of the router, the ports in each of these slots would be numbered as follows:

Slot 1—1/0 and 1/1

Slot 2—2/0 and 2/1

Figure 7 shows the Cisco 1760 router front panel and slot numbering.

Figure 7 Cisco 1760 Router Front Panel

1

WIC/VIC Slot 0

9

Ethernet Port

2

WIC/VIC Slot 1

10

Ethernet LEDs

3

Console Port

11

Slot 1 LEDs

4

VIC Slot 2

12

Slot 0 LEDs

5

VIC Slot 3

13

MOD OK LED

6

Slot 3 LEDs

14

PVDM 0/1 OK LEDs

7

Slot 2 LEDs

15

Router OK LED

8

Auxiliary Port

16

Power LED


6 Connecting the Router to Your Local Network

The router is connected to your local Ethernet network through the yellow 10/100 Ethernet port. You must provide the following items for this connection:

A straight-through, RJ-45-to-RJ-45 Ethernet cable

A 10/100-Mbps Ethernet hub or switch


Warning The ports labeled 10/100-Mbps Ethernet port and Console port are safety extra-low voltage (SELV) circuits. SELV circuits should only be connected to other SELV circuits. Because BRI circuits are treated like telephone-network voltage, avoid connecting the SELV circuits to the telephone network voltage (TNV) circuits. (To see translated versions of this warning, refer to the Regulatory Compliance and Safety Information for Cisco 1700 Routers document that came with the router.)



Caution Always connect the Ethernet cable to the yellow ports on the router. Do not connect the cable to an ISDN S/T or U port on a WIC or to an NT1 that is connected to a WIC. Accidentally connecting the cable to the wrong port can damage your router.

Follow these steps to connect the router to your local network:


Step 1 Connect one end of the Ethernet cable to the yellow Ethernet port (labeled 10/100-Mbps Ethernet port), as shown in Figure 8.

Figure 8 Connecting the Router to the Local Network

1

10/100 Ethernet port

3

Straight-through Ethernet cable

2

Ethernet hub or switch

   

Step 2 Connect the other end of the Ethernet cable to a network port on the hub or switch.


7 Connect Power and Verify Installation

Read the following warnings before connecting the power to the router.


Warning The power supply is designed to work with TN power systems.



Warning This product relies on the building's installation for short-circuit (overcurrent) protection. Ensure that a fuse or circuit breaker no larger than 120VAC, 15A U.S. (240VAC, 16A international) is used on the phase conductors (all current-carrying conductors).



Warning This equipment needs to be grounded. Use a green-and-yellow 14 AWG ground wire to connect the host to earth ground during normal use.



Warning When installing the unit, always make the ground connection first and disconnect it last.



Warning Never defeat the ground conductor or operate the equipment in the absence of a suitably installed ground conductor. Contact the appropriate electrical inspection authority or an electrician if you are uncertain that suitable grounding is available.


Follow these steps to connect power to the router and to turn the router on:


Step 1 Connect the separate power cord to the power socket on the rear panel, as shown in Figure 9.

Figure 9 Connecting the Power Supply

Step 2 Connect the other end of the separate power cord to a power outlet.

Step 3 Turn the power switch to on ( | ).

Step 4 Verify that you have correctly installed the router by checking the following LEDs:

PWR—On when power is being supplied to the router.

LINK—On when the router is correctly connected to the local Ethernet LAN through the 10/100-Mbps Ethernet port.

ETH ACT—Blinking when there is network traffic on the local Ethernet LAN.

SLOT OK—On when a WIC is correctly installed in the slot.

PVDM 0/1 OK—On when a packet voice data module (PVDM) is correctly installed in its slot and is recognized by the system.

MOD OK—On when the virtual private network (VPN) module is correctly installed in its slot and is recognized by the system.


8 Connect a PC to the Router Console Port

Connect a PC to the router's console port and establish a console session to view startup messages and verify voice card installation. Follow these steps to connect the router to a terminal or PC:


Step 1 Connect the light blue console cable to the blue console port on the router, as shown in Figure 10.

Figure 10 Connecting the Console Cable to the Router

1

Blue console port

3

Light blue console cable

2

To PC or terminal

   

Step 2 Use the console adapter to connect the other end of the cable to the terminal or PC. If your terminal or PC has a console port that does not fit the adapter included with the router, you must provide the correct adapter for that port.

Step 3 Start HyperTerminal or a similar terminal emulation program on your PC. Select the appropriate PC COM port. Set the configurations to 9600 baud, 8 data bits, 1 stop bit, no flow control, and no parity.

Startup messages 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 typed when the messages stop, which might cause the router to power off and start over. It will take a few minutes for the messages to stop.

If you see the following messages, the router has booted with a configuration file and is ready for initial configuration using the Cisco Router and Security Device Manager (SDM):

yourname con0 is now available

Press RETURN to get started.

See the "Initial Configuration Using Cisco Router and Security Device Manager" section to learn how to configure your router using SDM or to learn how to obtain SDM and install it on your router.

If you see the following messages, the router has booted and is ready for initial configuration using the setup command facility or the command-line interface (CLI):

--- System Configuration Dialog ---
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 '[]'.

Would you like to enter the initial configuration dialog? [yes/no]:

To learn how to use the CLI to configure the router, see the "Initial Configuration Using Cisco CLI—Manual Configuration" section.


9 Perform Initial Configuration

You can configure your router by using one of the following tools:

Security Device Manager—If your router was purchased with a VPN bundle, Security Device Manager is installed on the router. See "Initial Configuration Using Cisco Router and Security Device Manager" to determine if SDM is installed on the router. For instructions on configuring your router by using SDM, refer to the Cisco Security Device Manager (SDM) Quick Start Guide that shipped with your router. Voice over IP configuration must be done using the CLI, but you can use SDM to configure LAN and WAN connections, firewalls, VPNs, routing and other features.

Command-line interface (CLI)—If you prefer to use the Cisco IOS CLI, see the "Initial Configuration Using Cisco CLI—Manual Configuration" section for instructions on how to use the CLI.

Initial Configuration Using Cisco Router and Security Device Manager

If the following messages appear at the end of the startup sequence, Cisco Router and Security Device Manager (SDM) is installed on your router:

yourname con0 is now available

Press RETURN to get started.

For instructions on configuring your router by using SDM, refer to the Cisco Router and Security Device Manager (SDM) Quick Start Guide that shipped with your router.


Tip If the messages above do not appear, SDM and the Cisco Router and Security Device Manager (SDM) Quick Start Guide were not shipped with your router. If you want to use SDM, you can download the latest version of SDM and instructions for installing it on your router from the following location:

http://www.cisco.com/pcgi-bin/tablebuild.pl/sdm

To obtain the SDM quick start guide, SDM release notes, and other SDM documentation, go to www.cisco.com/go/sdm and click the Technical Documentation link.


Initial Configuration Using Cisco CLI—Manual Configuration

This section shows how to display a command-line interface (CLI) prompt for configuration using the CLI, and it directs you to documentation for the CLI configuration.

You can use the CLI if the following messages appear at the end of the startup sequence:

--- System Configuration Dialog ---

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 '[]'.

Would you like to enter the initial configuration dialog? [yes/no]:

If these messages do not appear, SDM and a default configuration file were installed on the router at the factory. To use SDM to configure the router, see the "Initial Configuration Using Cisco Router and Security Device Manager" section.


Note Be sure to save your configuration changes occasionally so that they are not lost during resets, power cycles, or power outages. Use the copy running-config startup-config command at the privileged EXEC mode prompt (Router#) to save the configuration to NVRAM.



Step 1 To proceed with manual configuration using the CLI, enter no when the power-up messages end.

Would you like to enter the initial configuration dialog? [yes/no]: no

Step 2 Press Return to terminate autoinstall and continue with manual configuration.

Would you like to terminate autoinstall? [yes] Return

Several messages appear, ending with a line similar to the following:

Copyright (c) 1986-2000 by cisco Systems, Inc.
Compiled <date> <time> by <person>

Step 3 Press Return to display the Router> prompt.

...
flashfs[4]: Initialization complete.
Router>

Step 4 Enter privileged EXEC mode.

Router> enable 
Router#

Step 5 For configuration using the CLI, refer to the applicable configuration procedures in the Cisco 1700 Router Software Configuration Guide documentation at the following URL:


Step 6 Verify the initial configuration. See the "Verifying the Initial Configuration" section for verification procedures.


Verifying the Initial Configuration

To verify that the new interfaces are operating correctly, perform the following tests:

To verify that the interfaces are operating correctly and that the interfaces and line protocol are in the correct state—up or down—enter the show interfaces command.

To display a summary status of the interfaces configured for IP, enter the show ip interface brief command.

To verify that you configured the correct host name and password, enter the show configuration command.

To identify the port numbers of voice interfaces installed in your router enter the show voice port command:

Router# show voice port slot-number/port-number

As an example of voice port numbering, if you installed VICs in both slot 1 and slot 2 of the router, the ports in each of these slots would be numbered as follows:

Slot 1—1/0 and 1/1

Slot 2—2/0 and 2/1

When you have completed and verified the initial configuration, your Cisco router is ready to configure for specific functions. Configuring the Router Using the Cisco IOS CLI

10 Use the CLI to Configure VoIP

The following sections explain how to set up basic VoIP configurations using the Cisco IOS command line interface (CLI).


Note VoIP requires one of the IP/Plus/Voice feature sets from IOS Release 12.2(2)XK, or later.


Information for International Users

Saving the Configuration

Configuring the Fast Ethernet Interface

Configuring a Dial Plan

Configuring Voice Interface Cards

Configuring Quality of Service

IP Precedence

Low Latency Queuing

Multilink PPP with Link Fragmentation Interleave

Real-Time Transport Protocol Header Compression

Frame Relay Configuration for VoIP

Information for International Users

International users must set the values of certain voice-port commands, such as cptone, that are specific to their country. Refer to the Cisco 1751 Router Software Configuration Guide, available on Cisco.com, for details.

The rest of this guide explains how to configure your router for VoIP traffic.

Saving the Configuration

You must save the new configuration to nonvolatile RAM (NVRAM) periodically during the configuration process and also when you finish configuring the router.

Cisco IOS software uses two configuration files—startup-config and running-config. The startup-config file is a backup file that has all the information you specified about the router interfaces. The startup-config file is used by the router on the next restart. The running-config file has the current operating configuration with the changes you have just made. You can make any changes to the running-config file; however, these changes will be lost when the router powers down. To make these changes permanent, copy the running-config file to the startup-config file stored in NVRAM.

Follow these steps for each router to write the new configuration to NVRAM:


Step 1 Exit configuration mode, and return to the enable prompt by pressing Ctrl-Z or entering the end global configuration command.

Step 2 To see the startup configuration stored in NVRAM, enter the following command:

Router# show startup-config

Step 3 To see the operating configuration, including any changes you have just made, enter the following command:

Router# show running-config

Step 4 To write your changes to NVRAM and make them permanent, enter the following command:

Router# copy running-config startup-config
Building configuration. . .
[OK]
Router# 

The router is now configured to start in the new configuration.


Configuring the Fast Ethernet Interface

To configure the Fast Ethernet interface, follow these steps, beginning in global configuration mode:

 
Command
Purpose

Step 1 

Router(config)# interface 
fastethernet 0/0

Enter configuration mode for the Fast Ethernet interface.

Step 2 

Router(config-if)# ip address 
20.20.20.20 255.255.255.0

Set the IP address and subnet mask for the Fast Ethernet interface.

Step 3 

Router(config-if)# no shutdown

Enable the Fast Ethernet interface.

Step 4 

Router(config-if)# exit

Exit configuration mode for the Fast Ethernet interface.

Configuring a Dial Plan

Use a dial plan to map the destination telephone numbers with the voice ports on the router. In North America, the North American Numbering Plan (NANP) is used, which consists of an area code, an office code, and a station code. Area codes are assigned geographically, office codes are assigned to specific switches, and station codes identify specific ports on each switch. The format in North America is 1Nxx-Nxx-xxxx, with N = digits 2 through 9 and x = digits 0 through 9. Internationally, each country is assigned a one- to three-digit country code; the country's dialing plan follows the country code.

In corporate environments, VoIP can be configured to recognize extension numbers and expand them into their full E.164 (international public telecommunications numbering plan) dialed numbers by using two commands in tandem: destination-pattern and num-exp. Before you configure these two commands, map individual telephone extensions with their full E.164 dialed numbers. You can do this easily by creating a number expansion table.

For Cisco voice implementations, three types of dial peers are used to match a dialed number to either a local telephony port or a remote IP address:

A POTS dial peer associates a physical voice port with a local telephone device. The key commands that you need to configure are the port and destination-pattern commands, as in the following example:

Router(config)# dial-peer voice 401 pots
Router(config-dial-peer)# destination-pattern 14085553737
Router(config-dial-peer)# port 0/0

The destination-pattern command defines the telephone number associated with the POTS dial peer. The port command associates the POTS dial peer with a specific logical dial interface, normally the voice port connecting your router to the local POTS network.

A VoIP dial peer associates a telephone number with an IP address. The key commands that you need to configure are the destination-pattern and session target commands, as in the following example:

Router(config)# dial-peer voice 501 voip
Router(config-dial-peer)# destination-pattern 1919555....
Router(config-dial-peer)# session target ipv4:192.168.11.3

The destination-pattern command defines the telephone number associated with the VoIP dial peer. The session target command specifies a destination IP address for the VoIP dial peer.

A Voice over Frame Relay (VoFR) dial peer associates a telephone number with a Frame Relay data-link connection identifier (DLCI). The key commands you need to configure are the destination-pattern and session target commands, as in the following example:

Router(config)# dial-peer voice 601 vofr
Router(config-dial-peer)# destination-pattern 14087677448
Router(config-dial-peer)# session target serial 0/0 100

The destination-pattern command defines the telephone number associated with the VoFR dial peer. The session target command specifies a destination DLCI for the VoFR dial peer.

Use the dial-peer voice command to define dial peers and to change to dial peer configuration mode. For examples, see the "Configuring FXS Interfaces" section, the "Configuring FXO Interfaces" section, and the "Configuring E&M Interfaces" section.

Wildcards and Number Expansion

Office PBXs are configured so that a user can dial a local call (within the same PBX) by dialing the extension only—for instance, the four-digit extension 3737, or the five-digit extension 53737—rather than dialing the full telephone number, 1 408 555-3737.

You can provide the same shortcut on a VoIP network by using the number-expansion (num-exp) command.

Router(config)# num-exp 5.... 1408555....

This command tells the router to expand a particular sequence of dialed numbers into a complete telephone number (destination pattern) as shown in Table 1.

Table 1 Sample Number Expansion Table

Extension
Destination Pattern
Num-Exp Command Entry
Description

3737

14085553737

num-exp 3737 14085553737

To expand 3737 to 14085553737

....

1408555....

num-exp .... 1408555....

To expand any dialed sequence of four digits (represented by four periods) by prefixing 1408555 to it

5....

1408555....

num-exp 5.... 1408555....

To expand a five-digit extension beginning with the numeral 5 by prefixing 140855 to it


You can use a period (.) as a wildcard character representing a single digit in a telephone number.

You can use the show num-exp command to verify the number expansion information.

Router# show num-exp [dialed-number]

After you have configured dial peers and assigned destination patterns to them, you can use the show dialplan number command to see how a telephone number maps to a dial peer.

Router# show dialplan number [dialed-number]


Note You must still configure each telephone number in full on a local dial peer so that the router can find the voice port to which it belongs.


Configuring Voice Interface Cards

The router supports one to four Cisco VICs. Each VIC provides two ports. You need one VIC port for each voice connection.


Note To transmit voice calls over an IP WAN, you need (in addition to the VICs) at least one WIC in the router to provide the connection to the WAN.


There are five types of VIC interfaces:

An FXS (foreign exchange station) interface connects directly to a standard telephone, a fax machine, or a similar device. The FXS VIC interface supplies ringing voltage, dial tone, and similar signals to the station. Ports on this VIC are gray.

An FXO (foreign exchange office) interface connects local calls to a PSTN central office or to a PBX that does not support E&M signaling. This is the interface a standard telephone provides. Ports on this VIC are pink.

An E&M is a signaling technique for two-wire and four-wire telephone and trunk interfaces. The E&M VIC connects remote calls from an IP network to a PBX for local distribution. Ports on this VIC are brown.

A DID is a service offered by telephone companies that allows external callers to dial an internal extension directly, without operator assistance. The VIC connects remote calls from the PSTN to a PBX for local distribution.

The ISDN BRI NT/TE VIC provides a client-side (terminal equipment, or TE) ISDN S/T physical interface for connection to an NT1 device terminating an ISDN telephone network. It can also be configured to provide a network termination (NT) interface with phantom power. Each of its two ports can carry two voice calls (one over each ISDN B channel), for a total of four calls per ISDN BRI card. At present, the ISDN BRI VIC does not support ISDN devices such as digital telephone, fax, or modem.

Figure 11 shows a typical VIC.

Figure 11 Voice Interface Card

You should install and cable the VICs before you perform the software configuration tasks that follow.

Configuring FXS Interfaces

This section explains how to configure ports on FXS VICs that connect directly to a standard telephone, a fax machine, or a similar device.

Figure 12 shows a basic voice network. A small business uses a Cisco 1760 router (named West) to provide telephone and fax connections among employees in its office. Two of these telephones are connected to an FXS VIC port in the West router.

Figure 12 Basic Voice Network (West Router)


Note You can name your router by using the global configuration hostname command.


(For information about port numbering, see the "Voice Port Verification" section.)

Table 2 West Router Telephone Numbers and Voice Ports

Telephone Number
Voice Port

408 555-3737

0/0

408 555-4141

0/1



Note If your router is configured with four 2-port VICs, you can connect a total of eight telephones and fax machines to it. As the router has only four slots, you need to replace one VIC with a WIC to provide an interface for IP connectivity to the WAN and for data traffic. To accommodate more voice devices, you need to add more routers or use an E&M VIC and a local PBX, rather than connecting every telephone to its own FXS VIC.


Local Dial Peers

To route a received voice call to the right destination, the router needs to know which telephone number belongs to each voice port. For instance, if a call comes in for 408 555-3737, the router needs to know that this telephone is connected to voice port 0/0 (as shown in Figure 12). In other words, the router needs to know the information in Table 2.

To hold this information, Cisco IOS software uses objects called dial peers. A telephone number, a voice port, and other call parameters are tied together by associating them all with the same dial peer. Configuring dial peers is similar to configuring static IP routes—you are telling the router what path to follow to route the call. All voice technologies use dial peers to define the characteristics associated with a call leg. A call leg is a segment of a call path, for instance, between a telephone and a router, a router and a network, a router and a PBX, or a router and the PSTN. Each call leg corresponds to a dial peer.

Dial peers are identified by numbers, but they are usually referred to as tags to avoid confusion with telephone numbers. Dial-peer tags are arbitrary integers that can range from 1 to 231 - 1 (2147483647). Within the allowed range, you can choose any dial-peer tag that is convenient or that makes sense to you. Dial peers on the same router must have unique tags, but you can reuse the tags on other routers.

Table 3 assigns a dial-peer tag to each telephone number and its associated voice port on the West router. This type of dial peer is called a POTS dial peer or a local dial peer. The term POTS (plain old telephone service) means that the dial peer associates a physical voice port with a local telephone device. (Voice over IP, or VoIP, dial peers are explained in the "Calling Between Routers" section.)

Table 3 West Router Local Dial Peers

Telephone Number
Voice Port
Dial-Peer Tag

408 555-3737

0/0

401

408 555-4141

0/1

402


You should construct a table similar to Table 3 for your own routers, assigning your own telephone numbers and dial-peer tags.


Note The telephone numbers used in this guide are only examples and are invalid for public use in the United States. When you configure your network, be sure to substitute your own telephone numbers.


To configure the router with the dial-peer information in Table 3, enter the following global configuration commands:

West> enable
Password:
West# configure terminal
West(config)# dial-peer voice 401 pots
West(config-dial-peer)# destination-pattern 14085553737
West(config-dial-peer)# port 0/0
West(config)# dial-peer voice 402 pots
West(config-dial-peer)# destination-pattern 14085554141
West(config-dial-peer)# port 0/1
West(config-dial-peer)# exit
West(config)# 

These commands are summarized in Figure 13.

Figure 13 West Router Configured for Local Dial Peers

The dial-peer command always takes the argument voice. The number following it is the dial-peer tag, and pots is the type of dial peer.

Cisco IOS software refers to a telephone number as a destination pattern because it is the destination for an incoming or outgoing call. Enter these numbers with the destination-pattern command. A destination pattern can include asterisks (*) and pound signs (#) from the telephone keypad, and commas (,) and periods (.), which have special meanings. Parentheses ( () ), hyphens (-), slashes (/), and spaces ( ), which are often used to make telephone numbers easier for humans to read, are not allowed.

Notice that the commands in the examples puts the prefix 1 (used in the United States to indicate a long-distance number) and an area code in front of the remaining numbers to complete the destination pattern. You need to include similar codes for your country if the VoIP equipment needs to establish a connection to the Public Switched Telephone Network (PSTN).


Note The Cisco IOS software does not check the validity of the telephone number. It accepts any string of permitted characters as a valid number.


The business that owns the West router also has a branch office, called East. Figure 14 shows the East office network, and Table 4 lists the phone numbers, voice ports, and dial-peer tags for this office.

Figure 14 Basic Voice Network (East Router)

Table 4 East Router Local Dial Peers

Telephone Number
Destination Pattern
Voice Port
Dial-Peer Tag

919 555-8282

19195558282

1/0

901

919 555-9595

19195559595

1/1

902


Enter the following commands to configure the local ports on the East router with the dial-peer information in Table 4:

East(config)# dial-peer voice 901 pots
East(config-dial-peer)# destination-pattern 19195558282
East(config-dial-peer)# port 1/0
East(config)# dial-peer voice 902 pots
East(config-dial-peer)# destination-pattern 19195559595
East(config-dial-peer)# port 1/1
East(config-dial-peer)# exit
East(config)# 

These commands are summarized in Figure 15.

Figure 15 East Router Configured for Local Dial Peers

Checking the Local Dial Peer Configuration

If you configured POTS dial peers on your router by following these examples, you can place calls between telephones connected to the same router. You can also use the show dial-peer voice command to verify that the data that you configured is correct.


Note If the voice port is off line, use the interface configuration no shutdown command at the config-voice-port prompt to enable it.


Calling Between Routers

To enable the West and East offices to send voice traffic to each other over the same IP network they use for data traffic, use a WIC on each router to provide a connection to the IP network, as shown in Figure 16.

Figure 16 IP Connection Between Routers

Look at the connection between the West router and the IP network. This connection does not include a voice port or an attached telephone—it leads from a WAN interface to a remote destination somewhere on the IP network. IP routers can locate IP addresses on the network, but they cannot locate telephone numbers. To route an outgoing voice call over this connection, the West router must associate a telephone number in the East office with the IP address of the East router.

Table 5 assigns a dial-peer tag to each telephone number and its associated IP address on the West router. This type of dial peer is called a remote dial peer or VoIP dial peer. (Remember, the dial-peer tags are arbitrary.) A VoIP dial peer associates a telephone number with an IP address.

Table 5 West Router Remote Dial Peers

Remote Location
Telephone Number
Destination Pattern
IP Address
Dial-Peer Tag

East

919 555-8282

19195558282

192.168.11.3

501

East

919 555-9595

19195559595

192.168.11.3

502


You can create a VoIP dial peer on the West router for every telephone on the East router, all associated with the same IP address. But it is much easier to use periods as wildcards, as shown in Table 6.

Table 6 West Router Remote Dial Peers with Wildcards

Remote Location
Telephone Number
Destination Pattern
IP Address
Dial-Peer Tag

East

919 555-xxxx

1919555....

192.168.11.3

501


Construct a table similar to Table 6 for your own routers, assigning your own telephone numbers, IP addresses, and dial-peer tags.


Note The IP addresses shown in this guide are meant only as examples. When you configure your network, be sure to use your own IP addresses.


Enter the following information on the West router to create the dial-peer configuration given in Table 6:

West(config)# dial-peer voice 501 voip
West(config-dial-peer)# destination-pattern 1919555....
West(config-dial-peer)# session target ipv4:192.168.11.3

Cisco IOS software describes the remote network as the session target. This command is followed by the IP address of the remote router. The prefix ipv4 means IP version 4. Alternatively, you can use the prefix dns followed by the Domain Name System (DNS) name, as follows:

West(config-dial-peer)# session target dns:voice.eastrouter.com

Configure a dial peer on each router for each telephone number on every other router connected to it.

You can simplify this process by configuring number expansion for East router telephone numbers on the West router:

West(config)# num-exp 5.... 1919555....

Now users can dial a five-digit extension beginning with 5 from a telephone on the West router to reach a telephone on the East router.

These commands are summarized in Figure 17.

Figure 17 West Router Configured for Remote Dial Peers

The West router is now configured to send calls to the East router.

Table 7 shows how to configure the East router to send calls to the West router.

Table 7 East Router Remote Dial Peers with Wildcards

Remote Location
Telephone Number
IP Address
Dial-Peer Tag

West

408 555-xxxx

192.168.19.27

801


Enter the following information on the East router to create the dial-peer configuration given in Table 7:

East(config)# num-exp 5.... 1408555....
East(config)# dial-peer voice 801 voip
East(config-dial-peer)# destination-pattern 1408555....
East(config-dial-peer)# session target ipv4:192.168.19.27

These commands are summarized in Figure 18.

Figure 18 East Router Configured for Remote Dial Peers

Other Routers on the Network

If the path between the endpoints of a voice call travels through intermediate routers, configure those routers for VoIP traffic, as described in the "Configuring FXS Interfaces" section.

You need to configure POTS or VoIP dial peers on an intermediate router only if that router also has voice devices attached to it.

Checking the Remote Dial Peer Configuration

If you configured VoIP dial peers on your router by following these examples, you can place calls from that router to telephones on the remote routers (using just the extension if you configured number expansion). If you have trouble placing calls, ping the remote router to make sure you have IP connectivity, or use the show dial-peer voice command to verify that the data you configured is correct.


Note See the "Configuring Quality of Service" section if you need to improve the quality of voice connections.


Configuring FXO Interfaces

FXO interfaces provide a gateway from the VoIP network to the analog PSTN or to a PBX that does not support E&M signaling so that users can reach telephones and fax machines outside the VoIP network. Figure 19 shows a typical FXO gateway attached to the West router.

Figure 19 FXO Gateway to PSTN

To create a POTS dial peer for an FXS interface as explained earlier, you enter the complete telephone number of the attached telephone as the destination pattern for incoming calls. However, to create a POTS dial peer for an FXO interface, the destination pattern refers to outgoing calls, and you can include wildcards in it because the PSTN performs the switching.

The VoIP feature can also remove digits that you do not want to send to the PSTN. For instance, to dial 9 to reach an outside line (that is, the analog PSTN), enter the following commands:

West> enable
Password:
West# configure terminal
West(config)# dial-peer voice 201 pots
West(config-dial-peer)# destination-pattern 9
West(config-dial-peer)# port 1/0

When you dial 9, the router makes a connection to the PSTN through voice port 1/0. The PSTN then provides a dial tone. Any digits you enter on the telephone thereafter are interpreted on the PSTN.

To enable East router users to make calls over the West router local PSTN, enter the following commands:

East(config)# dial-peer voice 701 voip
East(config-dial-peer)# destination-pattern 7
East(config-dial-peer)# session target ipv4:192.168.19.27

West(config)# dial-peer voice 601 pots
West(config-dial-peer)# destination-pattern 7
West(config-dial-peer)# port 1/0

When you dial 7 on the East router, the call is connected to the PSTN on the West router. The PSTN then provides a dial tone, and any digits you enter on the telephone thereafter are interpreted on the PSTN.


Note In this example, West router voice port 1/0 has two separate POTS dial peers associated with it. Dial peer 201 matches calls beginning with the digit 9 and handles PSTN calls originating from the West router. Dial peer 601 matches calls beginning with the digit 7 and handles calls to the PSTN originating from the East router.


Checking the FXO Configuration

If you configured your FXO interface according to the example described in the "Configuring FXO Interfaces" section, you can place outgoing calls over the PSTN. If you have trouble placing calls, use the show voice port command to make sure that the VIC is installed correctly. Use the show dial-peer voice command to make sure that the data you configured is correct, and test the PSTN by connecting a handset directly to the PSTN outlet and placing a call.