Cisco 800 Series Software Configuration Guide
Cisco 800 Series Software Configuration Guide
Cisco 800 Series Software Configuration Guide
General Information
1
2
3
4
5
6
7
8
Document Information
On a scale of 15 (5 being the best), please let us know how we rate in the following areas:
The document is written at my
technical level of understanding.
The document is complete.
The information is well organized.
Mailing Information
Company Name
Contact Name
Date
Job Title
Mailing Address
City
State/Province
ZIP/Postal Code
Country
Phone (
Extension
Fax (
FIRST-CLASS MAIL
SAN JOSE CA
NO POSTAGE
NECESSARY
IF MAILED
IN THE
UNITED STATES
Corporate Headquarters
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 526-4100
Customer Order Number: DOC-785372=
Text Part Number: 78-5372-06
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.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as
part of UCBs public domain version of the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.
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.
CCIP, CCSP, the Cisco Arrow logo, the Cisco Powered Network mark, the Cisco Systems Verified logo, Cisco Unity, Follow Me Browsing,
FormShare, iQ Breakthrough, iQ FastTrack, the iQ Logo, iQ Net Readiness Scorecard, Networking Academy, ScriptShare, SMARTnet, TransPath,
and Voice LAN are trademarks of Cisco Systems, Inc.; Changing the Way We Work, Live, Play, and Learn, The Fastest Way to Increase Your
Internet Quotient, and iQuick Study are service marks of Cisco Systems, Inc.; and Aironet, ASIST, BPX, Catalyst, CCDA, CCDP, CCIE, CCNA,
CCNP, Cisco, the Cisco Certified Internetwork Expert logo, Cisco IOS, the Cisco IOS logo, Cisco Press, Cisco Systems, Cisco Systems Capital, the
Cisco Systems logo, Empowering the Internet Generation, Enterprise/Solver, EtherChannel, EtherSwitch, Fast Step, GigaStack, Internet Quotient,
IOS, IP/TV, iQ Expertise, LightStream, MGX, MICA, the Networkers logo, Network Registrar, Packet, PIX, Post-Routing, Pre-Routing, RateMUX,
Registrar, SlideCast, StrataView Plus, Stratm, SwitchProbe, TeleRouter, and VCO are registered trademarks of Cisco Systems, Inc. and/or its
affiliates in the U.S. and certain other countries.
All other trademarks mentioned in this document or Web site 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. (0301R)
Cisco 800 Series Software Configuration Guide
Copyright 2003, Cisco Systems, Inc.
All rights reserved.
C ON T E NT S
CHAPTER
Concepts 1-1
Overview of Cisco 800 Series and Cisco SOHO Series Routers 1-2
ADSL 1-4
SHDSL 1-5
DNS-Based X.25 Routing 1-5
Network Protocols 1-6
IP 1-6
G.DMT 1-7
U-R2 1-7
Routing Protocol Options 1-8
RIP 1-8
EIGRP 1-9
PPP Authentication Protocols 1-9
PAP 1-10
iii
Contents
CHAP 1-10
TACACS+ 1-11
Network Interfaces 1-11
Ethernet 1-12
ATM 1-12
PVC 1-12
Dialer Interface 1-13
Dial Backup 1-14
Backup Interface 1-14
Floating Static Routes 1-14
Dialer Watch 1-15
NAT 1-15
Easy IP (Phase 1) 1-16
Easy IP (Phase 2) 1-17
Cisco Easy VPN Client 1-17
VoIP 1-18
H.323 1-18
Voice Dial Peers 1-19
QoS 1-20
IP Precedence 1-20
PPP Fragmentation and Interleaving 1-21
CBWFQ 1-21
RSVP 1-22
Low Latency Queuing 1-22
Committed Access Rate 1-23
Rate Limitation 1-23
Marking of IP Precedence 1-23
Weighted Fair Queuing 1-24
Weighted Random Early Detection 1-24
iv
78-5372-06
Contents
CHAPTER
CHAPTER
78-5372-06
Contents
CHAPTER
vi
78-5372-06
Contents
vii
Contents
Configuring Dial Backup and Remote Management for the Cisco 837
Router 4-32
Configuration Example 4-33
Configuring Dial Backup and Remote Management for the Cisco 836
Router 4-36
Configuring the Cisco 836 Routers ISDN Settings 4-37
Configuring Dial Backup and Remote Management Settings 4-38
Configuring Backup Interface 4-38
Configuring Floating Static Route 4-38
Configuring Dialer Watch 4-39
Configuration Example 4-40
Configuring the Aggregator and ISDN Peer Router 4-45
Configuring Remote Management for the Cisco SOHO 97 Router 4-46
Configuration Example 4-47
Configuring Dial Backup and Remote Management for Cisco 831 Router and
Cisco SOHO 91 Router 4-48
Configuration Example for the Cisco 831 Router 4-50
Configuring Remote Management for the Cisco SOHO 91 Router 4-54
Configuration Example 4-54
Configuring the DHCP Server 4-56
Configuring the Ethernet Interface 4-57
Dynamic Addressing Received via IPCP 4-58
Configuring the Central Cisco 3620 4-58
Configuring the Central RADIUS Server 4-61
RFC 1483 Encapsulation with NAT 4-62
Configuring the Ethernet Interface 4-63
Configuring the ATM Interface 4-64
Configuring NAT 4-64
Configuration Examples 4-65
Integrated Routing and Bridging 4-67
Configuring the Default Gateway 4-68
Cisco 800 Series Software Configuration Guide
viii
78-5372-06
Contents
CHAPTER
ix
Contents
CHAPTER
78-5372-06
Contents
xi
Contents
xii
78-5372-06
Contents
xiii
Contents
CHAPTER
xiv
78-5372-06
Contents
xv
Contents
xvi
78-5372-06
Contents
Specifying IP Precedence and the Service Class for the Voice Network 7-52
Configuration Example 7-53
Configuring Dial Backup 7-53
Specifying the Backup Interface 7-54
Defining Backup Line Delays 7-54
Defining Traffic Load Threshold 7-55
Dial Backup Using the Console Port 7-55
Configuration Example 7-56
Configuration Example 7-58
Configuring IGMP Proxy and Sparse Mode 7-60
Configuration Example 7-62
Verifying Your Configuration 7-62
Configuring IP Security and GRE Tunneling 7-63
Configuring Internet Protocol Parameters 7-63
Configuring an Access List 7-64
Configuring IPSec 7-64
Configuring a GRE Tunnel Interface 7-65
Configuring the Ethernet Interfaces 7-66
Configuring Static Routes 7-66
Configuring and Monitoring High-Speed Crypto 7-67
Configuration Example 7-67
Configuring Multilink PPP Fragmentation and Interleaving 7-70
Configuration Example 7-71
Verifying Your Configuration 7-72
Configuring IP Precedence 7-72
Configuration Example 7-73
Configuring Voice 7-73
Prerequisite Tasks 7-74
Configuring Voice for H.323 Signaling 7-74
xvii
Contents
CHAPTER
xviii
78-5372-06
Contents
xix
Contents
CHAPTER
Troubleshooting 9-1
Before Contacting Cisco or Your Reseller 9-2
Cisco 800 Series Software Configuration Guide
xx
78-5372-06
Contents
xxi
Contents
xxii
78-5372-06
Contents
xxiii
Contents
xxiv
78-5372-06
Contents
xxv
Contents
xxvi
78-5372-06
Cisco 801, 802, 803, 804, 811, and 813 ISDN routers
xxvii
Audience
This guide is intended for network administrators whose backgrounds vary from
having no or little experience configuring routers to having a high level of
experience. You can use this guide in the following ways:
Note
You have configured the software using the Cisco Router Web Setup tool,
and want to configure additional advanced software features using the
command-line interface (CLI).
Organization
This guide contains the following information:
xxviii
78-5372-06
Conventions
This guide uses the following conventions for instructions and information.
Note
xxix
Caution
Timesaver
This caution symbol means reader be careful. In this situation, you might do
something that could result in equipment damage or loss of data.
Command Conventions
Table 1 describes the command syntax used in this document.
Table 1
Conventions
Convention
Description
boldface
italic
{x | x | x}
^ or Ctrl
screen font
boldface screen
font
xxx
78-5372-06
Related Documents
The following publications provide related information on these products:
xxxi
xxxii
78-5372-06
xxxiii
Obtaining Documentation
Cisco provides several ways to obtain documentation, technical assistance, and
other technical resources. These sections explain how to obtain technical
information from Cisco Systems.
Cisco.com
You can access the most current Cisco documentation on the World Wide Web at
this URL:
http://www.cisco.com/univercd/home/home.htm
You can access the Cisco website at this URL:
http://www.cisco.com
International Cisco web sites can be accessed from this URL:
http://www.cisco.com/public/countries_languages.shtml
Documentation CD-ROM
Cisco documentation and additional literature are available in a Cisco
Documentation CD-ROM package, which may have shipped with your product.
The Documentation CD-ROM is updated monthly and may be more current than
printed documentation. The CD-ROM package is available as a single unit or
through an annual subscription.
Registered Cisco.com users can order the Documentation CD-ROM (product
number DOC-CONDOCCD=) through the online Subscription Store:
http://www.cisco.com/go/subscription
Ordering Documentation
You can find instructions for ordering documentation at this URL:
http://www.cisco.com/univercd/cc/td/doc/es_inpck/pdi.htm
xxxiv
78-5372-06
Registered Cisco.com users (Cisco direct customers) can order Cisco product
documentation from the Networking Products MarketPlace:
http://www.cisco.com/en/US/partner/ordering/index.shtml
Documentation Feedback
You can submit comments electronically on Cisco.com. On the Cisco
Documentation home page, click Feedback at the top of the page.
You can e-mail your comments to bug-doc@cisco.com.
You can submit your comments by mail by using the response card behind the
front cover of your document or by writing to the following address:
Cisco Systems
Attn: Customer Document Ordering
170 West Tasman Drive
San Jose, CA 95134-9883
We appreciate your comments.
xxxv
Cisco.com
Cisco.com offers a suite of interactive, networked services that let you access
Cisco information, networking solutions, services, programs, and resources at any
time, from anywhere in the world.
Cisco.com provides a broad range of features and services to help you with these
tasks:
xxxvi
78-5372-06
xxxvii
Before calling, please check with your network operations center to determine the
level of Cisco support services to which your company is entitled: for example,
SMARTnet, SMARTnet Onsite, or Network Supported Accounts (NSA). When
you call the center, please have available your service agreement number and your
product serial number.
xxxviii
78-5372-06
http://www.cisco.com/en/US/about/ac123/ac147/about_cisco_the_internet_
protocol_journal.html
xxxix
xl
78-5372-06
C H A P T E R
Concepts
This chapter contains conceptual information that may be useful to Internet
service providers (ISPs) or network administrators when configuring Cisco 800
series and Cisco SOHO series routers. To review some typical network scenarios,
see Network Scenarios in Chapter 2. For information on specific
configurations, see Chapter 7, Router Feature Configuration, and Chapter 8,
Advanced Router Configuration.
This chapter includes the following topics:
Overview of Cisco 800 Series and Cisco SOHO Series Routers, page 1-2
78-5372-06
1-1
Chapter 1
Concepts
1-2
78-5372-06
Chapter 1
Concepts
Overview of Cisco 800 Series and Cisco SOHO Series Routers
The data-and-voice Cisco 827-4V router has four Foreign Exchange Station
(FXS)/plain old telephone service (POTS) ports in addition to the 10BASE-T
Ethernet port and one ADSL network port, and it supports Voice over IP (VoIP).
The four FXS/POTS ports will support loop-start functions for connecting to
POTS devices up to 500 ft. The Cisco 827-4V router includes a digital signal
processor (DSP) chip to support VoIP over ATM adaptation layer (AAL5)
protocol.
AAL5 operates over the ADSL physical interface for both data and voice. The
ADSL protocol supports EOC message sets defined in T1.413 DMT Issue 2 as
limited by digital subscriber line access multiplexers (DSLAMs). The ADSL
controller and line interface unit are based on Alcatel chip sets.
The Cisco 828 router is Cisco IOS-based with ATM/SHDSL support. The
Cisco SOHO 78 router also supports ATM/SHDSL. The routers send data, voice,
and video over high-speed G.SHDSL lines to connect to the Internet or corporate
intranets.
Both the Cisco 828 router and the Cisco SOHO 78 router provide a 4-port
Ethernet hub, in addition to the G.SHDSL port.
Both the Cisco 831 router and the Cisco SOHO 91 Ethernet-to-Ethernet routers
can connect a corporate telecommuter or small office to an ISP over a broadband
or Ethernet connection to corporate LANs or the Internet. The routers are capable
of bridging and multiprotocol routing between LAN and WAN ports. The
Cisco 831 router is a hardware encryptioncapable router offering business-class
features to small offices and enterprise telecommuters. The Cisco SOHO 91
router offers software encryption capability without hardware encryption.
The Cisco 836 and Cisco SOHO 96 routers are ADSL routers with an integrated
switch. These routers provide a 4-port Ethernet switch for the LAN and an ADSL
physical interface for the WAN compatibility. The Cisco 836 router is a hardware
encryptioncapable, Ethernet-to -ADSL router offering business-class features to
small offices and enterprise telecommuters. The Cisco SOHO 96 router offers
software encryption capability without hardware encryption. Both these routers
provide an ISDN basic rate interface (BRI) S/T interface as a backup for the
ADSL interface.
The Cisco 837 and Cisco SOHO 97 routers are ADSL routers with an integrated
switch. These routers provide a 4-port Ethernet switch for LAN and an ADSL
physical interface for WAN compatibility. The Cisco 837 router is a hardware
encryptioncapable, Ethernet-to -ADSL router offering business-class features to
small offices and enterprise telecommuters. The Cisco SOHO 97 router offers
software encryption capability without hardware encryption.
Cisco 800 Series Software Configuration Guide
78-5372-06
1-3
Chapter 1
Concepts
ADSL
The Cisco 831, 836, and 837, and Cisco SOHO 91, 96, and 97 routers support
switch functions which enable the routers to be connected as a 10/100 BASE-T
device. These routers crossover functionality enable them to detect MDI/MDIX
to any other PC or hub with a straight-through cable or crossover cable.
Table 1-1 summarizes what interface each Cisco model supports.
Table 1-1
Interface Supported
Ethernet to ISDN
805
Ethernet to Ethernet
ADSL
ADSL is a technology that allows both data and voice to transmit over the same
line. It is a packet-based network technology that allows high-speed transmission
over twisted-pair copper wire on the local loop (last mile) between a network
service provider (NSP) central office and the customer site, or on local loops
created either within a building or campus.
The benefit of ADSL over a serial or dial-up line is that it is always on and always
connected, increasing bandwidth and lowering the costs compared with a dial-up
or leased line. ADSL technology is asymmetric in that it allows more bandwidth
from an NSPs central office to the customer site than from the customer site to
the central office. This asymmetry, combined with always-on access (which
eliminates call setup), makes ADSL ideal for Internet and intranet accessing,
video-on-demand, and remote LAN access.
1-4
78-5372-06
Chapter 1
Concepts
SHDSL
SHDSL
SHDSL is a technology based on the G.SHDSL (G.991.2) standard that allows
both data and voice to be transmitted over the same line. SHDSL is a packet-based
network technology that allows high-speed transmission over twisted-pair copper
wire between a network service provider (NSP) central office and a customer site,
or on local loops created within either a building or a campus.
G.SHDSL devices can extend reach from central offices and remote terminals to
approximately 26,000 feet, at symmetrical data rates from 72 kbps up to
2.3 Mbps. In addition, it is repeatable at lower speeds, which means there is
virtually no limit to its reach.
SHDSL technology is symmetric in that it allows equal bandwidth between an
NSPs central office and a customer site. This symmetry, combined with
always-on access (which eliminates call setup), makes SHDSL ideal for LAN
access.
1-5
Chapter 1
Concepts
Network Protocols
With the DNS-based x.25 routing feature, it is easy to manage the X.121-to-IP
addressing correlation and the mnemonic-to-X.121 addressing correlation.
Instead of the router needing a route statement going to all destinations, all that is
needed is a wildcard route statement that covers all addresses in the DNS.
Network Protocols
Network protocols enable the network to pass data from its source to a specific
destination over LAN or WAN links. Routing address tables are included in the
network protocols to provide the best path for moving the data through the
network.
IP
The best known Transmission Control Protocol/Internet Protocol (TCP/IP) at the
internetwork layer is IP, which provides the basic packet delivery service for all
TCP/IP networks. In addition to the physical node addresses, the IP protocol
implements a system of logical host addresses called IP addresses. The IP
addresses are used by the internetwork and higher layers to identify devices and
to perform internetwork routing. The Address Resolution Protocol (ARP) enables
IP to identify the physical address that matches a given IP address.
IP is used by all protocols in the layers above and below it to deliver data, which
means that all TCP/IP data flows through IP when it is sent and received
regardless of its final destination.
IP is a connectionless protocol, which means that IP does not exchange control
information (called a handshake) to establish an end-to-end connection before
transmitting data. In contrast, a connection-oriented protocol exchanges control
information with the remote computer to verify that it is ready to receive data
before sending it. When the handshaking is successful, the computers have
established a connection. IP relies on protocols in other layers to establish the
connection if connection-oriented services are required.
IP exchanges routing information using Routing Information Protocol (RIP), a
dynamic distance-vector routing protocol. RIP is described in more detail in the
following subsections.
1-6
78-5372-06
Chapter 1
Concepts
Network Protocols
G.DMT
G.DMT full-rate ADSL is a technology that can expand the usable bandwidth of
existing copper telephone lines, delivering high-speed data communications at
rates of up to 10 Mbps. The technology brings full-motion video, efficient
telecommuting, and high-speed data transmission to the home or business, all
without interrupting normal telephone service.
American National Standards Institute (ANSI) has published an industry standard
(known as T1.413) for full-rate ADSL in the United States. The International
Telecommunication Union (ITU) has approved a nearly identical global industry
standard for full-rate ADSL, known as G.992.1. The ANSI and ITU specifications
call for operations rates of up to 8 Mbps downstream and up to 640 Kbps upstream
when operating over telephone lines at a distance of up to 18,000 feet.
Standard-compliant full-rate ADSL uses a modulation technique known as
discrete multitone, or DMT. DMT divides the upstream and downstream bands
into a collection of smaller frequency ranges of approximately 4 kHz subchannel
that carries a portion of the total data rate. By dividing the transmission bandwidth
into a collection of subchannels, DMT is able to adapt to the distinct
characteristics of each telephone line and maximize the data transmission rate.
Telephone lines are best suited for transmission of the low frequencies associated
with voice traffic (04 kHz). The high frequencies that are used for full-rate
ADSL transmissions experience distortion and attenuation when sent over
telephone lines- the higher the frequency, the more the attenuation. DMT
effectively divides the data into a collection of smaller bandwidth transmissions,
each of which occupies a smaller frequency range and is optimized to maximize
the data throughput in that range. The ANSI and ITU standards have both
established DMT as the standard modulation technique for full-rate ADSL.
U-R2
U-R2 is a German Deutsche Telekom specification for ADSL over copper loops
running ISDN in the base band (lower frequencies). It transmits and receives
ADSL signals according to the ITU-T G.992.1 Annex B standard. It is a superset
of the G.992.1 Annex B standard, allowing for greater cross-vendor
interoperability.
1-7
Chapter 1
Concepts
RIP and Enhanced IGRP protocols differ in several ways, as shown in Table 1-2.
Table 1-2
Protocol
Ideal Topology
Metric
Routing Updates
RIP
EIGRP
RIP
RIP is an associated protocol for IP, and is widely used for routing Internet
protocol traffic. RIP is a distance-vector routing protocol, which means that it
uses distance (hop count) as its metric for route selection. Hop count is the
number of routers that a packet must traverse to reach its destination. For
example, if a particular route has a hop count of 2, then a packet must traverse two
routers to reach its destination.
By default, RIP routing updates are broadcast every 30 seconds. You can
reconfigure the interval at which the routing updates are broadcast. You can also
configure triggered extensions to RIP so that routing updates are sent only when
the routing database is updated. For more information on triggered extensions to
1-8
78-5372-06
Chapter 1
Concepts
PPP Authentication Protocols
RIP, refer to the Cisco IOS 12.0(1)T documentation set. For information on
accessing the documentation, see the References to Cisco IOS Documentation
Set on page xxi.
EIGRP
EIGRP is an advanced Cisco proprietary distance-vector and link state routing
protocol, which means it uses a metric more sophisticated than distance (hop
count) for route selection. Enhanced IGRP uses a metric based on a successor,
which is a neighboring router that has a least-cost path to a destination that is
guaranteed not to be part of a routing loop. If a successor for a particular
destination does not exist but neighbors advertise the destination, the router must
recompute a route.
Each router running Enhanced IGRP sends hello packets every 5 seconds to
inform neighboring routers that it is functioning. If a particular router does not
send a hello packet within a prescribed period, Enhanced IGRP assumes that the
state of a destination has changed and sends an incremental update.
Because Enhanced IGRP supports IP, you can use one routing protocol for
multi-protocol network environments, minimizing the size of the routing tables
and the amount of routing information.
1-9
Chapter 1
Concepts
PPP with PAP or CHAP authentication is often used to inform the central site
which remote routers are connected to it.
PAP
PAP uses a two-way handshake to verify the passwords between routers. To
illustrate how PAP works, imagine a network topology in which a remote office
Cisco 827 router is connected to a corporate office Cisco 3600 router. After the
PPP link is established, the remote office router repeatedly sends a configured
username and password until the corporate office router accepts the
authentication.
PAP has the following characteristics:
The password portion of the authentication is sent across the link in clear text
(not scrambled or encrypted).
The remote office router controls the frequency and timing of the
authentication attempts.
CHAP
CHAP uses a three-way handshake to verify passwords. To illustrate how CHAP
works, imagine a network topology in which a remote office Cisco 827 router is
connected to a corporate office Cisco 3600 router.
After the PPP link is established, the corporate office router sends a challenge
message to the remote office router. The remote office router responds with a
variable value. The corporate office router checks the response against its own
calculation of the value. If the values match, the corporate office router accepts
the authentication. The authentication process can be repeated any time after the
link is established.
1-10
78-5372-06
Chapter 1
Concepts
TACACS+
Note
CHAP protects against playback attack through the use of the variable
challenge value, which is unique and unpredictable. Repeated challenges
limit the time of exposure to any single attack.
The corporate office router controls the frequency and timing of the
authentication attempts.
Cisco recommends using CHAP because it is the more secure of the two
protocols.
TACACS+
Cisco 800 series routers support the Terminal Access Controller Access Control
System Plus (TACACS+) protocol through Telnet. TACACS+ is a Cisco
proprietary authentication protocol that provides remote access authentication
and related network security services, such as event logging. User passwords are
administered in a central database rather than in individual routers. TACACS+
also provides support for separate modular authentication, authorization, and
accounting (AAA) facilities that are configured at individual routers.
Network Interfaces
This section describes the network interface protocols that Cisco 800 series
routers support. The following network interface protocols are supported:
Ethernet
ATM
ISDN
1-11
Chapter 1
Concepts
Network Interfaces
Ethernet
Ethernet is a baseband LAN protocol that transports data and voice packets to the
WAN interface using carrier sense multiple access collision detect (CSMA/CD).
The term Ethernet is now often used to refer to all CSMA/CD LANs. Ethernet was
designed to serve in networks with sporadic, occasionally heavy traffic
requirements, and the IEEE 802.3 specification was developed in 1980 based on
the original Ethernet technology.
Under the Ethernet CSMA/CD media-access process, any host on a CSMA/CD
LAN can access the network at any time. Before sending data, CSMA/CD hosts
listen for traffic on the network. A host wanting to send data waits until it detects
no traffic before it transmits. Ethernet allows any host on the network to transmit
whenever the network is quiet. A collision occurs when two hosts listen for
traffic, hear none, and then transmit simultaneously. In this situation, both
transmissions are damaged, and the hosts must retransmit at some later time.
Algorithms determine when the colliding hosts should retransmit.
ATM
Asynchronous Transfer Mode (ATM) is a high-speed, multiplexing and switching
protocol that supports multiple traffic types including voice, data, video, and
imaging.
ATM is composed of fixed-length cells that switch and multiplex all information
for the network. An ATM connection is simply used to transfer bits of information
to a destination router or host. The ATM network is considered a LAN with high
bandwidth availability. Unlike a LAN, which is connectionless, ATM requires
certain features to provide a LAN environment to the users.
Each ATM node must establish a separate connection to every node in the ATM
network that it needs to communicate with. All such connections are established
through a permanent virtual circuit (PVC).
PVC
A PVC is a connection between remote hosts and routers. A PVC is established
for each ATM end node with which the router communicates. The characteristics
of the PVC that are established when it is created are set by the ATM adaptation
1-12
78-5372-06
Chapter 1
Concepts
Network Interfaces
layer (AAL) and the encapsulation type. An AAL defines the conversion of user
information into cells. An AAL segments upper-layer information into cells at the
transmitter and reassembles the cells at the receiver.
Cisco routers support the AAL5 format, which provides a streamlined data
transport service that functions with less overhead and affords better error
detection and correction capabilities than AAL3/4. AAL5 is typically associated
with variable bit rate (VBR) traffic and unspecified bit rate traffic (UBR).
Cisco 800 series routers also support AAL1 and 2 formats.
ATM encapsulation is the wrapping of data in a particular protocol header. The
type of router you are connecting to determines the type of ATM PVC
encapsulation types.
The routers support the following encapsulation types for ATM PVCs:
Each PVC is considered a complete and separate link to a destination node. Users
can encapsulate data as needed across the connection. The ATM network
disregards the contents of the data. The only requirement is that data be sent to
the router's ATM subsystem in a manner that follows the specific AAL format.
Dialer Interface
A dialer interface assigns PPP features (such as authentication and IP address
assignment method) to a PVC. Dialer interfaces are used when configuring PPP
over ATM.
Dialer interfaces can be configured independently of any physical interface and
applied dynamically as needed.
1-13
Chapter 1
Concepts
Dial Backup
Dial Backup
Dial backup provides protection against WAN downtime by allowing user to
configure a backup modem line connection. The following can be used to bring
up the dial backup feature in the Cisco IOS software:
Backup Interface
Dialer Watch
Backup Interface
A backup interface is an interface that stays idle until certain circumstances occur,
such as WAN downtime, at which point it is activated. The backup interface can
be a physical interface such as Basic Rate Interface (BRI), or an assigned backup
dialer interface to be used in a dialer pool. While the primary line is up, the backup
interface is placed in standby mode. In standby mode, the backup interface is
effectively shut down until it is enabled. Any route associated with the backup
interface does not appear in the routing table.
Because the backup interface command is dependent on the routers identifying
that an interface is physically down, it is commonly used to back up ISDN BRI
connections and async lines and leased lines. The interfaces to such connections
go up when the primary line fails, and the backup interface quickly identifies such
failures.
1-14
78-5372-06
Chapter 1
Concepts
NAT
Dialer Watch
Dialer watch is a backup feature that integrates dial backup with routing
capabilities. Dialer watch provides reliable connectivity without having to define
traffic of interest to trigger outgoing calls at the central router. Hence, dialer
watch can be considered regular DDR with no requirement for traffic of interest.
By configuring a set of watched routes that define the primary interface, you are
able to monitor and track the status of the primary interface as watched routes are
added and deleted.
When a watched route is deleted, dialer watch checks for at least one valid route
for any of the IP addresses or networks being watched. If there is no valid route,
the primary line is considered down and unusable. If there is a valid route for at
least one of the watched IP networks defined and the route is pointing to an
interface other than the backup interface configured for dialer watch, the primary
link is considered up and dialer watch does not initiate the backup link.
NAT
Network address translation (NAT) provides a mechanism for a privately
addressed network to access registered networks, such as the Internet, without
requiring a registered subnet address. This mechanism eliminates the need for
host renumbering and allows the same IP address range to be used in multiple
intranets.
NAT is configured on the router at the border of an inside network (a network that
uses nonregistered IP addresses) and an outside network (a network that uses a
globally unique IP address; in this case, the Internet). NAT translates the inside
local addresses (the nonregistered IP addresses assigned to hosts on the inside
network) into globally unique IP addresses before sending packets to the outside
network.
With NAT, the inside network continues to use its existing private or obsolete
addresses. These addresses are converted into legal addresses before packets are
forwarded onto the outside network. The translation function is compatible with
standard routing; the feature is required only on the router connecting the inside
network to the outside domain.
1-15
Chapter 1
Concepts
Easy IP (Phase 1)
Easy IP (Phase 1)
The Easy IP (Phase 1) feature combines Network Address Translation (NAT) and
PPP/Internet Protocol Control Protocol (IPCP). This feature enables a Cisco
router to automatically negotiate its own registered WAN interface IP address
from a central server and to enable all remote hosts to access the Internet using
this single registered IP address. Because Easy IP (Phase 1) uses existing
port-level multiplexed NAT functionality within the Cisco IOS software, IP
addresses on the remote LAN are invisible to the Internet.
The Easy IP (Phase 1) feature combines NAT and PPP/IPCP. With NAT, the
router translates the nonregistered IP addresses used by the LAN devices into the
globally unique IP address used by the dialer interface. The ability of multiple
LAN devices to use the same globally unique IP address is known as overloading.
NAT is configured on the router at the border of an inside network (a network that
uses nonregistered IP addresses) and an outside network (a network that uses a
globally unique IP address; in this case, the Internet).
With PPP/IPCP, the Cisco routers automatically negotiate a globally unique
(registered) IP address for the dialer interface from the ISP router.
1-16
78-5372-06
Chapter 1
Concepts
Easy IP (Phase 2)
Easy IP (Phase 2)
The Easy IP (Phase 2) feature combines Dynamic Host Configuration Protocol
(DHCP) server and relay. DHCP is a client-server protocol that enables devices
on an IP network (the DHCP clients) to request configuration information from a
DHCP server. DHCP allocates network addresses from a central pool on an
as-needed basis. DHCP is useful for assigning IP addresses to hosts connected to
the network temporarily or for sharing a limited pool of IP addresses among a
group of hosts that do not need permanent IP addresses.
DHCP frees you from having to assign an IP address to each client manually, and
configures the router to forward UDP broadcasts, including IP address requests,
from DHCP clients.
DHCP allows for increased automation and fewer network administration
problems by
Note
When using NAT, DHCP relay cannot be used on the Cisco 800 series routers.
The built-in DHCP server should be used instead.
1-17
Chapter 1
Concepts
VoIP
After the IPSec server has been configured, a VPN connection can be created with
minimal configuration on an IPSec client, such as a supported Cisco 800 series
router. When the IPSec client then initiates the VPN tunnel connection, the IPSec
server pushes the IPSec policies to the IPSec client and creates the corresponding
VPN tunnel connection.
VoIP
The Cisco 827-4V router is a voice-and-data-capable router that provides
Voice-over-IP (VoIP) functionality and can carry voice traffic (such as telephone
calls and faxes) over an IP network.
Cisco voice support is implemented using voice packet technology. There are two
primary applications for VoIP:
In VoIP, the digital signal processor (DSP) segments the voice signal into frames
and stores them in voice packets. These voice packets are transported by using IP
in compliance with H.323 signaling standards.
H.323
H.323 is an International Telecommunication Union (ITU-T) standard that
describes packet-based video, audio, and data conferencing. H.323 is an umbrella
standard that describes the architecture of the conferencing system and refers to a
set of other standards (H.245, H.225.0, and Q.931) to describe its actual protocol.
Cisco H.323 Version 2 support upgrades Cisco IOS software to comply with the
mandatory requirements and several of the optional features of the version 2
specification. This upgrade enhances the existing VoIP gateway and the
Multimedia Conference Manager (gatekeeper and proxy). A gateway allows
H.323 terminals to communicate with non-H.323 terminals by converting
protocols, and it is an endpoint on the LAN that provides real-time, two-way
communications between H.323 terminals on the LAN and other ITU-T terminals
in the WAN or to another H.323 gateway.
Cisco 800 Series Software Configuration Guide
1-18
78-5372-06
Chapter 1
Concepts
VoIP
78-5372-06
1-19
Chapter 1
Concepts
QoS
QoS
This section describes quality of service (QoS) parameters, including the
following:
IP Precedence
CBWFQ
RSVP
IP Precedence
You can partition traffic in up to six classes of service using IP Precedence (two
others are reserved for internal network use). The queuing technologies
throughout the network can then use this signal to expedite handling.
1-20
78-5372-06
Chapter 1
Concepts
QoS
Features such as policy-based routing and committed access rate (CAR) can be
used to set precedence based on extended access-list classification. This allows
considerable flexibility for precedence assignment, including assignment by
application or user, or by destination and source subnet, and so on. Typically this
functionality is deployed as close to the edge of the network (or administrative
domain) as possible, so that each subsequent network element can provide service
based on the determined policy.
IP Precedence can also be set in the host or network client with the signaling used
optionally. IP Precedence enables service classes to be established using existing
network queuing mechanisms (such as CBWFQ), with no changes to existing
applications or complicated network requirements.
CBWFQ
In general, class-based weighted fair queuing (CBWFQ) is used in conjunction
with multilink PPP and interleaving and RSVP or IP precedence to ensure voice
packet delivery. CBWFQ is used with multilink PPP to define how data is
managed; RSVP or IP Precedence is used to give priority to voice packets.
1-21
Chapter 1
Concepts
QoS
There are two levels of queuing: ATM queues and Cisco IOS queues. CBWFQ is
applied to Cisco IOS queues. A first-in-first-out (FIFO) Cisco IOS queue is
automatically created when a PVC is created. If you use CBWFQ to create classes
and attach them to a PVC, a queue is created for each class.
CBWFQ ensures that queues have sufficient bandwidth and that traffic gets
predictable service. Low-volume traffic streams are preferred; high-volume
traffic streams share the remaining capacity, obtaining equal or proportional
bandwidth.
RSVP
RSVP enables routers to reserve enough bandwidth on an interface to ensure
reliability and quality performance. RSVP allows end systems to request a
particular QoS from the network. Real-time voice traffic requires network
consistency. Without consistent QoS, real-time traffic can experience jitter,
insufficient bandwidth, delay variations, or information loss. RSVP works in
conjunction with current queueing mechanisms. It is up to the interface queuing
mechanism (such as CBWFQ) to implement the reservation.
RSVP works well on PPP, HDLC, and similar serial-line interfaces. It does not
work well on multi-access LANs. RSVP can be equated to a dynamic access list
for packet flows.
You should configure RSVP to ensure QoS if the following conditions
characterize your network:
1-22
78-5372-06
Chapter 1
Concepts
QoS
Rate Limitation
The rate limitation feature of CAR provides the network operator with the means
to define Layer 3 aggregate or granular access, or egress bandwidth rate limits,
and to specify traffic handling policies when the traffic either conforms to or
exceeds the specified rate limits. Aggregate access or egress matches all packets
on an interface or subinterface. Granular access or egress matches a particular
type of traffic based on precedence. You can designate CAR rate limitation
policies based on physical port, packet classification, IP address, MAC address,
application flow, and other criteria specifiable by access lists or extended access
lists. CAR rate limits may be implemented either on input or output interfaces or
subinterfaces including Frame Relay and ATM subinterfaces.
An example of the use of the rate-limiting capability of CAR is application-based
rates limiting HTTP World Wide Web traffic to 50 percent of link bandwidth,
which ensures capacity for non-Web traffic including mission-critical
applications.
Marking of IP Precedence
Extended access list classification can be used to set precedence that might be
needed for features like class-based traffic shaping and CAR. This allows
considerable flexibility for precedence assignment, including assignment by
Cisco 800 Series Software Configuration Guide
78-5372-06
1-23
Chapter 1
Concepts
QoS
application or user, or by destination and source subnet, and so on. Typically this
functionality is deployed as close to the edge of the network (or administrative
domain) as possible, so that each subsequent network element can provide service
based on the determined policy.
IP Precedence can also be set in the host or network client with the signaling used
optionally. IP precedence enables service classes to be established using existing
network queuing mechanisms (such as CBWFQ), with no changes to existing
applications or complicated network requirements.
1-24
78-5372-06
Chapter 1
Concepts
Access Lists
Marks packets by setting the IP Precedence value, the QoS group, or the
differentiated service code point (DSCP) value
Access Lists
With basic standard and static extended access lists, you can approximate session
filtering by using the established keyword with the permit command. The
established keyword filters TCP packets based on whether the ACK or RST bits
are set. (Set ACK or RST bits indicate that the packet is not the first in the session
and the packet therefore belongs to an established session.) This filter criterion
would be part of an access list applied permanently to an interface.
1-25
Chapter 1
Concepts
Access Lists
1-26
78-5372-06
C H A P T E R
The following sections contain information about preparing for the configurations
and the steps to configure each of the three basic networks.
If using ISDN, order an ISDN line from your telephone service provider. For
complete information on ordering your ISDN line, see Appendix D,
Provisioning an ISDN Line.
2-1
Chapter 2
Step 2
While ordering your ISDN line, gather the following information from your
telephone service provider:
ISDN local directory numbers (LDNs), which are the local ISDN telephone
numbers of your router. Examples are 4085552222 or 5553333.
Note
Step 3
The format of the LDN varies from region to region, depending on the
telephone service provider. In some regions, you need to add the area
code to the telephone number. Find out from your local telephone
service provider whether or not you need to specify an area code for
the LDN.
Point-to-Point Protocol (PPP) client name that the ISP assigns as your login
name.
IP address information: the IP address and subnet mask of the ISP ISDN
interface. Also, if configuring a public IP network, you must gather the
registered IP addresses and subnet masks to be used on your router LAN and
WAN interfaces.
2-2
78-5372-06
Chapter 2
Step 4
Step 5
6
5
7
8
74930
10.0.0.0 255.0.0.0
9
192.168.1.100
2-3
Chapter 2
Callout
Number
Description
Private IP network
DHCP client
PPP link
CHAP or PAP
Features Used
This network uses the following features on the LAN:
IP routing
IP routing
PPP
Static routes
2-4
78-5372-06
Chapter 2
With NAT overload configured, the router uses one address for multiple hosts.
With IPCP configured, your router automatically negotiates its IP address from
the router it is attempting to connect to.
You can use either CHAP or PAP as the PPP authentication protocol. Cisco
recommends using CHAP, because it is the more secure of the two protocols.
In addition, the ISDN line is activated only when needed (DDR), using one route
that has been manually configured (static route). DDR using static routes suits
small networking environments that do not have complex routing topologies.
Configuration
To configure the features for this network example, perform the following steps
on the PC, starting in global configuration mode.
Step 1
Specify a name for the router. For example, specify SanJose as the router name:
router(config)# hostname SanJose
Step 2
Step 3
Configure the router to recognize the zero subnet range as a valid range of
addresses:
SanJose(config)# ip subnet-zero
Step 4
Disable the router from translating unfamiliar words entered during a console
session into IP addresses:
SanJose(config)# no ip domain-lookup
Step 5
Optional. Configure your router as a DHCP server. Define the DHCP relay pool
name. For example:
router(config)# ip dhcp pool DHCPpoolLAN_0
a.
2-5
Chapter 2
b.
c.
d.
e.
Step 6
b.
Set the IP address and subnet mask for the LAN interface. For example:
SanJose(config-if)# ip address 10.0.0.1 255.0.0.0
c.
Step 7
Enable NAT on your LAN. The inside network address is not directly routed to
the Internet, but is subject to translation to a routable address outside the LAN.
For example:
SanJose(config-if)# ip nat inside
Step 8
b.
c.
Enable PPP:
SanJose(config-if)# encapsulation ppp
2-6
78-5372-06
Chapter 2
d.
e.
f.
Create a dialer rotary group, specifying a number between 0 and 255. Dialer
rotary groups are useful in environments that require multiple calling
destinations. For example:
SanJose(config-if)# dialer rotary-group 0
g.
North America only. Associate the ISDN local directory numbers (LDNs)
provided by your telephone service provider with the first and second SPIDs.
You can specify the SPID number, or you can have it automatically detected
by entering a 0.
In the following example, the SPID number is represented by a 0, so that it
will be automatically detected. The primary LDN is followed by the
secondary LDN for each SPID.
SanJose(config-if)# isdn spid1 0 4085551111 4085552222
SanJose(config-if)# isdn spid2 0 4085553333 4085554444
Note
h.
Find out from your telephone service provider whether you need to
specify an area code for the LDN.
North America only. If you had manually entered the SPID number, enable
the BRI0 interface.
SanJose(config-if)# no shutdown
i.
j.
Outside of North America only. Specify the ISDN switch type. To get a
listing of supported switches, enter the isdn switch-type ? command.
The following example specifies the NET3 switch type:
router(config-if)# isdn switch-type basic-net3
2-7
Chapter 2
k.
Step 9
Follow these steps to specify characteristics of the dialer rotary group that were
created in the previous step:
a.
b.
c.
Specify that the IP address for this interface is obtained by using IPCP:
SanJose(config-if)# ip address negotiated
d.
e.
Enable DDR:
SanJose(config-if)# dialer in-band
f.
Specify the amount of time in number of seconds that the line can be idle
before it is disconnected:
SanJose(config-if)# dialer idle-timeout 300
g.
Specify the telephone number of the interface to be called if you are calling
a single site. For example:
SanJose(config-if)# dialer string 14085553333
h.
Set the maximum number of packets to be held in the outgoing queue to 10.
If an ISDN connection does not exist yet, the hold queue holds up to 10
packets before dropping them. For example:
SanJose(config-if)# dialer hold-queue 10
2-8
78-5372-06
Chapter 2
i.
Define the load level that must be exceeded on the first ISDN B channel
before the second B channel is brought up. The load-threshold variable
represents a utilization percentage and is a number between 1 and 255, where
255 equals 100 percent. For example:
SanJose(config-if)# dialer load-threshold 10 outbound
Note
j.
k.
l.
Configure PAP. To configure CHAP, skip this step and follow the previous
step.
The following command enables PAP and specifies authentication on
incoming calls only. Unidirectional authentication is used because routers
that do not support bidirectional authentication are potentially in use at the
ISP. In these cases, when the SanJose router calls the ISP, SanJose does not
authenticate. However, the ISP authenticates SanJose before allowing the
connection.
SanJose(config-if)# ppp authentication pap callin
2-9
Chapter 2
m.
Enable remote PAP support for an interface. The username and password are
sent in the PAP authentication request packet. The password must contain
from 1 to 25 upper- and lowercase alphanumeric characters; it cannot contain
spaces nor underscores.
SanJose(config-if)# ppp pap sent-username SanJose
password gocisco
n.
Step 10
Follow these steps to configure how the IP routing protocol learns routes:
a.
b.
c.
Enable IP routing and set up a static route. Typically, the ISP does not provide
IP addresses and subnet masks of their networks, but they do provide the IP
address of the ISDN router interface to which your router is connected.
The following example specifies that you need to use dialer 0 on your router
to reach the ISP router. Dialer 0 had been previously configured using the
interface dialer command.
SanJose(config)# ip routing
SanJose(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
SanJOse(config)# ip route 192.168.1.1 255.255.255.255 dialer0
Step 11
Step 12
Perform this step only if ISDN calls at 64 kbps are not supported. Specify
characteristics of the outgoing calls from an ISDN interface by using the
following steps:
a.
2-10
78-5372-06
Chapter 2
b.
Step 13
If you have a Cisco 800 series router that is connected to a telephone, fax machine,
or modem, configure the telephone interfaces by performing the following steps:
a.
b.
Enter the pots country ? command to get a list of supported countries and
codes.
This command determines the physical characteristics of the telephone
interfaces. By specifying a country, you are configuring your telephone to use
country-specific default settings for each of the physical characteristics.
c.
Create dial peers to determine how incoming calls are routed to the telephone
ports. In the following example, the dial-peer tag is 1, the ISDN local
directory number LDN is 5551111, the telephone port is 1, and call waiting
is disabled:
SanJose(config)# dial-peer
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config)#
Note
voice 1 pots
destination-pattern 5551111
port 1
no call-waiting
exit
d.
2-11
Chapter 2
e.
Specify that incoming voice calls shall be forwarded to the devices connected
to the telephone ports:
SanJose(config-if)# isdn incoming-voice modem
Step 14
Step 15
Step 16
2-12
78-5372-06
Chapter 2
Figure 2-2
6
5
7
8
74930
10.0.0.0 255.0.0.0
192.168.1.100
Callout
Number
Description
Private IP network
DHCP client
PPP link
CHAP or PAP
2-13
Chapter 2
Features Used
This network uses the following features on the LAN:
IP routing
IP routing
PPP
IPCP (optional)
DDR
Static routes
If the ISP does not assign an IP address and subnet mask for your WAN interface,
you can use IPCP to automatically negotiate its IP address from the router to
which it is attempting to connect.
You can use either CHAP or PAP as the PPP authentication protocol. Cisco
recommends using CHAP because it is the more secure of the two protocols.
In addition, the ISDN line is activated only when needed (DDR), using one route
that has been manually configured (static route). DDR using static routes suits
small networking environments that do not have complex routing topologies.
Configuration
To configure the features for this network example, perform the following steps
on the PC, starting in the global configuration mode.
Step 1
Specify a name for the router. For example, specify SanJose as the router name:
router(config)# hostname SanJose
2-14
78-5372-06
Chapter 2
Step 2
Step 3
Configure the router to recognize the zero subnet range as a valid range of
addresses:
SanJose(config)# ip subnet-zero
Step 4
Disable the router from translating unfamiliar words entered during a console
session into IP addresses:
SanJose(config)# no ip domain-lookup
Step 5
b.
c.
d.
e.
f.
Step 6
2-15
Chapter 2
b.
Set an IP address and subnet mask for the LAN interface. For example, set
the IP address and subnet mask to 10.1.1.1 and 255.0.0.0, respectively:
SanJose(config-if)# ip address 10.1.1.1 255.0.0.0
Step 7
b.
c.
Enable PPP:
SanJose(config-if)# encapsulation ppp
d.
e.
Create a dialer rotary group, specifying a number between 0 and 255. Dialer
rotary groups are useful in environments that require multiple calling
destinations. For example:
SanJose(config-if)# dialer rotary-group 0
f.
North America only. Associate the ISDN local directory numbers (LDNs)
provided by your telephone service provider to the first and second SPIDs.
You can specify the SPID number or you can have it automatically detected
by entering a 0.
In the following example, the SPID number is represented by a 0 so that it
will be automatically detected. The primary LDN is followed by the
secondary LDN for each SPID.
SanJose(config-if)# isdn spid1 0 4085551111 4085552222
SanJose(config-if)# isdn spid2 0 4085553333 4085554444
Note
Find out from your telephone service provider whether or not you
need to specify an area code for the LDN.
2-16
78-5372-06
Chapter 2
g.
North America only. If you had manually entered the SPID number, enable
the BRI0 interface.
SanJose(config-if)# no shutdown
h.
North America only. If you had specified the automatic detection of SPID
numbers, enable the automatic detection of ISDN SPID numbers and switch
type:
SanJose(config-if)# isdn autodetect
i.
Outside of North America only. Specify the ISDN switch type. To see a
listing of supported switches, enter the isdn switch-type ? command.
The following example specifies the NET3 switch:
SanJose(config-if)# isdn switch-type basic-net3
j.
Step 8
Follow these steps to specify characteristics of the dialer rotary group that you
created earlier:
a.
b.
Create a dialer rotary group leader and specify a number between 0 to 255 to
represent your dialer rotary group. For example:
SanJose(config)# interface dialer 0
c.
Set the IP address and subnet mask for the WAN interface provided by the
ISP. For example:
SanJose(config-if)# ip address 192.168.1.2 255.255.255.0
d.
Optional. If the ISP did not provide an IP address and subnet mask for the
WAN interface, set up IPCP to obtain them from the router to which it is
connecting:
SanJose(config-if)# ip address negotiated
e.
Enable PPP:
SanJose(config-if)# encapsulation ppp
2-17
Chapter 2
f.
Enable DDR:
SanJose(config-if)# dialer in-band
g.
Specify the amount of time (in seconds) that the line can be idle before it is
disconnected. For example:
SanJose(config-if)# dialer idle-timeout 300
h.
i.
Set the number of packets to be held in the outgoing queue to 10. If an ISDN
connection does not exist yet, the hold-queue holds up to 10 packets before
dropping them. For example:
SanJose(config-if)# dialer hold-queue 10
j.
Define the load level that must be exceeded on the first ISDN B channel
before the second B channel is brought up. The load-threshold variable
represents a utilization percentage and is a number between 1 and 255, where
255 equals 100 percent.
SanJose(config-if)# dialer load-threshold 10 outbound
Note
k.
l.
2-18
78-5372-06
Chapter 2
these cases, when SanJose calls the ISP, SanJose does not authenticate.
However, the ISP authenticates SanJose before allowing the connection. For
example:
SanJose(config-if)# ppp authentication chap callin
SanJose(config-if)# ppp chap hostname SanJose
SanJose(config-if)# ppp chap password gocisco1
m.
Configure PAP. To configure CHAP, skip this step, and follow the previous
step.
SanJose(config-if)# ppp authentication pap callin
Enable remote PAP support for an interface. In the following example, the
username and password (SanJose and gocisco1, respectively) are sent in the
PAP authentication request packet. The password must contain from 1 to 25
uppercase and lowercase alphanumeric characters and cannot contain spaces
or underscores.
SanJose(config-if)# ppp pap sent-username SanJose
password gocisco1
o.
Step 9
Follow these steps to configure how the IP routing protocol learns the routes:
a.
b.
2-19
Chapter 2
c.
Step 10
Step 11
Perform this step only if ISDN calls at 64 kbps are not supported. Follow these
steps to specify the characteristics of outgoing calls from an ISDN interface. The
unique identifier for the class is 56k.
a.
b.
c.
Step 12
If you have a Cisco 800 series router that is connected to a telephone, fax
machine, or modem, configure the telephone interfaces by performing the
following steps:
a.
2-20
78-5372-06
Chapter 2
Create dial peers to determine how incoming calls are routed to the telephone
ports. In the following example, the dial-peer tag is 1, the ISDN local
directory number (LDN) is 5551111, the telephone port is 1, and call waiting
is disabled:
SanJose(config)# dial-peer
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
Note
voice 1 pots
destination-pattern 5551111
port 1
no call-waiting
exit
c.
d.
Specify that incoming voice calls are forwarded to the devices connected to
the telephone ports:
SanJose(config-if)# isdn incoming-voice modem
e.
2-21
Chapter 2
2
1
10.1.0.0
10.2.0.0
4
Callout
Number
Description
Site 1
IP network at Site 1
PPP link
CHAP or PAP
74931
Figure 2-3
2-22
78-5372-06
Chapter 2
Site 2
IP network at Site 2
Site 1
Features Used
This network uses the following features on the LAN:
IP routing
PPP
IPCP
DDR
Static routes
With IPCP configured, your router automatically negotiates its IP address from
the router it is attempting to connect.
You can use either CHAP or PAP as the PPP authentication protocol. Cisco
recommends using CHAP because it is the more secure of the two protocols.
Because DDR is configured, the ISDN line is activated only when needed using
one route that has been manually configured (static route). Because a static route
is configured, the routers do not need to exchange routing updates. As a result, the
ISDN line is activated only when traffic demands.
2-23
Chapter 2
Step 2
Step 3
Specify the username of any client that will potentially dial into your router and
the password that your router and the client will share. Specify the username and
password of the central office router (the central office network administrator
should provide this information). For example:
SanJose(config)# username LosAngeles password gocisco1
Step 4
b.
c.
d.
Step 5
b.
2-24
78-5372-06
Chapter 2
c.
Enable PPP:
SanJose(config-if)# encapsulation ppp
d.
e.
Create a dialer rotary group, specifying a number between 0 and 255. Dialer
rotary groups are useful in environments that require multiple calling
destinations. For example:
SanJose(config-if)# dialer rotary-group 0
f.
North America only. Associate the ISDN local directory numbers (LDNs)
provided by your telephone service provider to the first and second SPIDs.
You can specify the SPID number or you can have it automatically detected
by entering a 0.
In the following example, the SPID number is represented by a 0 so that it
would be automatically detected. The primary LDN is followed by the
secondary LDN for each SPID.
SanJose(config-if)# isdn spid1 0 4085551111 4085552222
SanJose(config-if)# isdn spid2 0 4085553333 4085554444
Note
g.
Find out from your telephone service provider whether you need to
specify an area code for the LDN.
North America only. If you had entered the SPID number, enable the BRI0
interface.
SanJose(config-if)# no shutdown
h.
i.
Outside of North America only. Specify the ISDN switch type. To see a
listing of supported switches, enter the isdn switch-type ? command.
The following example specifies the NET3 switch:
SanJose(config-if)# isdn switch-type basic-net3
2-25
Chapter 2
j.
Disable CDP.
SanJose(config-if)# no cdp enable
Step 6
Specify the characteristics of the dialer rotary group that you created earlier by
performing the following steps:
a.
b.
c.
Enable PPP:
SanJose(config-if)# encapsulation ppp
d.
Enable DDR:
SanJose(config-if)# dialer in-band
e.
Specify the amount of time (in seconds) that the line can be idle before it is
disconnected. For example:
SanJose(config-if)# dialer idle-timeout 300
f.
Set the number of packets to be held in the outgoing queue to 10. If an ISDN
connection does not exist yet, the hold-queue holds up to 10 packets before
dropping them. For example:
SanJose(config-if)# dialer hold-queue 10
g.
Define the load level that must be exceeded on the first ISDN B channel
before the second B channel is brought up. The load-threshold variable
represents a utilization percentage and is a number between 1 and 255, where
255 equals 100 percent.
SanJose(config-if)# dialer load-threshold 150 outbound
2-26
78-5372-06
Chapter 2
Note
h.
i.
Configure CHAP. To configure PAP, skip this step, and go on to the next
step. This command enables CHAP and specifies authentication on incoming
and outgoing calls.
SanJose(config-if)# ppp authentication chap
j.
Configure PAP. To configure CHAP, skip this step, and go to the previous
step. This command enables PAP and specifies authentication on incoming
and outgoing calls.
SanJose(config-if)# ppp authentication pap
k.
Step 7
Perform this step only if ISDN calls at 64 kbps are not supported on your line.
Specify the characteristics of outgoing calls from an ISDN interface by
performing the following steps:
a.
b.
c.
2-27
Chapter 2
Step 8
If you have a Cisco 800 series router that is connected to a telephone, fax
machine, or modem, configure the telephone interface by performing the
following steps:
a.
Create dial peers to determine how incoming calls are routed to the telephone
ports. In the following example, the dial-peer tag is 1, the ISDN local
directory number (LDN) is 5551111, the telephone port is 1, and call waiting
is disabled:
SanJose(config)# dial-peer
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config-dial-peer)#
SanJose(config)#
Note
c.
voice 1 pots
destination-pattern 5551111
port 1
no call-waiting
exit
Find out from your telephone service provider whether you need to
specify an area code for the LDN.
d.
Specify that incoming voice calls are forwarded to the devices connected to
the telephone ports:
SanJose(config-if)# isdn incoming-voice modem
2-28
78-5372-06
Chapter 2
IP Routing Configuration
To configure IP routing, perform the following steps on your PC:
Step 1
Step 2
Configure the router to recognize the zero subnet range as a valid range of
addresses:
SanJose(config)# ip subnet-zero
Step 3
Disable the router from translating unfamiliar words entered during a console
session into IP addresses:
SanJose(config)# no ip domain-lookup
Step 4
b.
Set an IP address and subnet mask for the LAN interface. For example:
SanJose(config)# ip address 10.1.0.1 255.255.0.0
Step 5
Follow these steps to specify characteristics of the dialer rotary groups that were
created earlier:
a.
b.
c.
2-29
Chapter 2
d.
To configure the WAN interface to call a site or to receive calls from a site,
create a dialer map. In the following example, the same command is entered
twice, once for each dial string provided for the two B channels. The next hop
address is 10.3.1.2, and the host name is LosAngeles in both entries.
SanJose(config-if)# dialer map ip 10.3.1.2
name LosAngeles speed 56 14085553333
SanJose(config-if)# dialer map ip 10.3.1.2
name LosAngeles speed 56 14085554444
Step 6
Follow these steps to configure how the IP routing protocol learns the routes:
a.
b.
c.
Set up static routes. In the following example, the LosAngeles local network
is 10.2.0.0, the subnet mask is 255.255.0.0, and the router ISDN interface is
10.2.0.1:
SanJose(config)# ip route 10.2.0.0 255.255.0.0 10.2.1.2
Note
Step 7
2-30
78-5372-06
Chapter 2
Step 2
Step 3
Specify the username of any client that will potentially dial in to your router and
the password that your router and the client will share. The following example
specifies SanJose and gocisco1 as the username and password:
LosAngeles# username SanJose password gocisco1
Step 4
Step 5
b.
c.
2-31
Chapter 2
d.
e.
Step 6
b.
Enable PPP:
LosAngeles(config-if)# encapsulation ppp
c.
d.
Create a dialer rotary group, specifying a number between 0 and 255. Dialer
rotary groups are useful in environments that require multiple calling
destinations. For example:
LosAngeles(config-if)# dialer rotary-group 0
e.
North America only. Specify the SPID numbers assigned to your B channels,
using the isdn spid1 command for the B1 channel and the isdn spid2
command for the B2 channel. For example:
LosAngeles(config-if)# isdn spid1 0155533330101
LosAngeles(config-if)# isdn spid2 0155544440101
f.
Disable CDP.
LosAngeles(config-if)# no cdp enable
Step 7
b.
2-32
78-5372-06
Chapter 2
c.
Enable PPP:
LosAngeles(config-if)# encapsulation ppp
d.
Enable DDR:
LosAngeles(config-if)# dialer in-band
e.
Specify the amount of time (in seconds) that the line can be idle before it is
disconnected. For example:
LosAngeles(config-if)# dialer idle-timeout 300
Set the number of packets to be held in the outgoing queue to 10. In the
following example, if an ISDN connection does not exist yet, the hold queue
holds up to 10 packets before dropping them.
LosAngeles(config-if)# dialer hold-queue 10
f.
Define the load level that must be exceeded on the first ISDN B channel
before the second B channel is brought up.The load variable represents a
utilization percentage and is a number between 1 and 255, where 255 is
100 percent.
LosAngeles(config-if)# dialer load-threshold 10 outbound
Note
g.
Assign this interface to dialer access group 1. The dialer access group is
defined later in this procedure.
LosAngeles(config-if)# dialer-group 1
h.
Configure CHAP. To configure PAP, skip this step, and go to step i. This
command enables CHAP and specifies authentication on incoming and
outgoing calls.
LosAngeles(config-if)# ppp authentication chap
2-33
Chapter 2
i.
IP Routing Configuration
To configure IP routing, perform the following steps on the PC connected to the
other router.
Step 1
Step 2
Step 3
Step 4
b.
Set an IP address and subnet mask for the LAN interface. For example:
LosAngeles(config)# ip address 10.2.0.1 255.255.0.0
Step 5
Follow these steps to specify characteristics of the dialer rotary group that were
created earlier:
a.
2-34
78-5372-06
Chapter 2
b.
c.
d.
To configure the WAN interface to call a site or to receive calls from a site,
create a dialer map in global configuration mode.
In this example, this command is entered twice, once for each B channel. The
next hop address is 10.3.1.1, the host name is SanJose, and the dial strings are
408555111100 and 408555222200:
LosAngeles(config-if)# exit
LosAngeles(config)# dialer map ip 10.3.1.1 name SanJose
speed 56 408555111100
LosAngeles(config)# dialer map ip 10.3.1.1 name SanJose
speed 56 408555222200
Step 6
Follow these steps to configure how the IP routing protocol learns routes:
a.
b.
c.
Set up static routes. In the following example, the destination (San Jose)
network is 10.1.0.0, the subnet mask is 255.255.0.0, and the San Jose router
ISDN interface is 10.3.1.1.
LosAngeles(config)# ip route 10.1.0.0 255.255.0.0 10.3.1.1
Note
Step 7
You must configure the route to the San Jose network as well as the
route to the San Jose router ISDN interface. The route to the San Jose
router is through the dialer 0 port of the LosAngeles router.
2-35
Chapter 2
2-36
78-5372-06
C H A P T E R
3-1
Chapter 3
Cisco recommends that you familiarize yourself with the features in the
configuration examples to help you decide which features you wish to include in
your network.
Note
Certain protocols (IP, User Datagram Protocol [UDP], and Network Time
Protocol [NTP]) send updates that can cause an ISDN line to be activated
excessively. For information on preventing this situation, refer to the Controlling
the DDR ISDN Line Activation section on page 3-26.
Order your ISDN line from your telephone service provider. For complete
information on ordering your ISDN line, see Appendix D, Provisioning an ISDN
Line.
Step 2
While ordering your ISDN line, gather the following information from your
telephone service provider:
ISDN local directory numbers (LDNs), which are the local ISDN telephone
numbers of your routers, such as 4085552222 and 5553333.
Note
The format of the LDN varies from region to region, depending on the
telephone service provider. In some regions, you need to add the area
code to the telephone number. Find out from your local telephone
service provider whether or not you need to specify an area code for
the LDN.
3-2
78-5372-06
Chapter 3
Step 3
Step 4
Step 5
PPP client name that the ISP assigns as your login name
IP address information: the IP address and subnet mask of the ISP ISDN
interface
If you are setting up a connection to a corporate network, you and the network
administrator of the corporate network must decide on or generate the following
information for the WAN interfaces of your routers and share this information:
If you are setting up IP routing, collect information on the addressing scheme for
your IP network.
3-3
Chapter 3
Figure 3-1
10.0.0.0
2
800
3600
5
Callout
Number
Description
Private network
Site 1
ISDN
Site 2
74932
3-4
78-5372-06
Chapter 3
Features Used
This network uses the following features on the LAN:
IP routing
IP routing
PPP
NAT overload
With NAT overload configured, your router can use one address for multiple
hosts. With IPCP configured, your router can automatically negotiate its IP
address from the router it is attempting to connect to.
You can use CHAP or PAP as the PPP authentication protocol. Cisco recommends
using CHAP, because it is more secure.
For the ISDN connection, you can use one of the following options:
DDR using snapshot routing (the ISDN line is activated only when needed)
For complete information on these options, including how to configure them, see
the Configuring the ISDN Line section on page 3-19.
The IP routing protocol can use either RIP or EIGRP to learn routes dynamically.
You can also use triggered extensions to RIP to control when RIP sends routing
updates. For information on how to configure these options, see the Configuring
Dynamic Routing section on page 3-23.
3-5
Chapter 3
Before you begin to configure your router, review the Before Configuring
Advanced Networks or Features section on page 3-2.
Starting from global configuration mode, follow these steps to configure the
Cisco 800 series router in the private IP network to connect to the Internet and the
corporate network. For more information on the commands used, refer to the
Cisco IOS documentation.
Command
Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
c804(config)# ip subnet-zero
Step 7
Step 8
Step 9
c804(dhcp-config)# dns-server
192.168.1.100
3-6
78-5372-06
Chapter 3
Command
Purpose
Step 10
c804(dhcp-config)# netbios-name-server
10.1.1.2 10.1.1.3
Step 11
Step 12
c804(dhcp-config)# exit
Step 13
Step 14
c804(config-if)# exit
Step 15
Step 16
Enable PPP.
Step 17
Step 18
Step 19
Step 21
Step 22
Step 23
Step 24
Enable PPP.
Step 25
3-7
Chapter 3
Command
Purpose
Step 26
Step 27
Step 28
Step 29
Step 30
Step 31
c804(config-if)# dialer-group 1
Step 32
Step 33
Step 35
Step 36
Step 37
Enable PPP.
Step 38
Step 39
Step 40
Step 41
3-8
78-5372-06
Chapter 3
Command
Purpose
Step 42
Step 43
Step 44
c804(config-if)# dialer-group 1
Step 45
Step 46
Step 48
Step 49
c804(config-if)# exit
Step 50
Step 52
c804(config-dial-peer)# destination-pattern
5551212
c804(config-dial-peer)# port 1
Step 53
c804(config-dial-peer)# exit
3-9
Chapter 3
Step 54
Command
Purpose
c804(config-dial-peer)# destination-pattern
5551313
c804(config-dial-peer)# port 2
Step 55
c804(config-dial-peer)# exit
Step 56
Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
3600(config)# ip subnet-zero
Step 6
3600(config)# no ip domain-lookup
3-10
78-5372-06
Chapter 3
Command
Purpose
Step 7
Step 8
Step 9
Step 10
3600(dhcp-config)# netbios-name-server
192.168.1.11 192.168.1.12
Step 11
3600(dhcp-config)# default-router
192.168.1.1
Step 12
3600(dhcp-config)# exit
Step 13
Step 14
3600(config)# interface e0
Step 15
3600(config-if)# exit
Step 16
Step 17
Step 18
3600(config-if)# isdn spid1 0155533330101 North America only. Specify SPID numbers
assigned to B channels by telephone service
3600(config-if)# isdn spid2 0155544440101
provider.
Step 19
3-11
Chapter 3
Command
Purpose
Step 20
Step 21
Step 22
Disable CDP.
Step 23
3600(config-if)# exit
3600(config)# ip classless
3600
3
800
74933
3600
3-12
78-5372-06
Chapter 3
Callout
Number
Description
Site 1
ISDN network
Site 2
Site 3
Features Used
This network uses the following features on the LAN:
IP routing
PPP
NAT overload
IPCP
With NAT overload configured, your router can use one address for multiple
hosts. With IPCP configured, your router can automatically negotiate its IP
address from the router it is attempting to connect to.
You can use either CHAP or PAP as the PPP authentication protocol. Cisco
recommends using CHAP because it is the more secure of the two protocols.
For the ISDN connection, you can use one of the following options:
DDR using snapshot routing (the ISDN line is activated only when needed)
For complete information on these options, including how to configure them, see
the Configuring the ISDN Line section on page 3-19.
Cisco 800 Series Software Configuration Guide
78-5372-06
3-13
Chapter 3
The IP routing protocol can use either RIP or EIGRP to learn routes dynamically.
You can use either one of these options. You can also use triggered extensions to
RIP to control when RIP sends routing updates. For information on how to
configure these options, see the Configuring Dynamic Routing section on
page 3-23.
Before you begin to configure your router, review the Before Configuring
Advanced Networks or Features section on page 3-2 .
Starting from global configuration mode, follow these steps to configure the
Cisco 800 series router in the remote network to two corporate networks. For
information on the commands used in this table, refer to the Cisco IOS
documentation.
Command
Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
c804(config)# ip subnet-zero
Step 6
Step 7
3-14
78-5372-06
Chapter 3
Command
Purpose
Step 8
Step 9
c804(dhcp-config)# netbios-name-server
172.29.20.41 172.29.20.51
Step 10
c804(dhcp-config)# default-router
192.168.1.1
Step 11
c804(dhcp-config)# exit
Step 12
Step 13
Step 14
c804(config-if)# exit
Step 15
Step 16
Enable PPP.
Step 17
Step 18
Step 19
Step 20
Step 21
Step 22
c804(config-if)# dialer-group 1
Step 23
Step 24
Step 25
Step 26
3-15
Chapter 3
Command
Purpose
Step 27
Step 28
Step 29
Enable PPP.
Step 30
Step 31
Step 32
Step 33
Step 34
Step 35
c804(config-if)# dialer-group 2
Step 36
Step 37
Step 38
Step 39
Step 40
c804(config-if)# exit
c804(config)#
Step 41
Step 43
Step 44
3-16
78-5372-06
Chapter 3
Command
Purpose
Step 45
Enable PPP.
Step 46
Step 48
Step 49
Step 50
c804(config-if)# exit
Step 51
c804(config-dial-peer)# destination-pattern
5551212
c804(config-dial-peer)# port 1
Step 52
c804(config-dial-peer)# exit
Step 53
Step 54
c804(config-dial-peer)# exit
Step 55
3-17
Chapter 3
Purpose
Step 1
Step 2
Step 3
Step 4
Step 5
3600(config)# ip subnet-zero
Step 6
3600(config)# no ip domain-lookup
Step 7
Step 8
Step 9
Step 10
Step 11
3600(dhcp-config)# netbios-name-server
1.2.2.2 1.2.2.3
3-18
78-5372-06
Chapter 3
Command
Purpose
Step 12
Step 13
3600(dhcp-config)# exit
Step 14
Step 15
Step 17
3600(config-if)# isdn spid1 0155533330101 North America only. Specify SPID numbers
3600(config-if)# isdn spid2 0155544440101 assigned to B channels by telephone service
provider.
Step 18
Step 19
Step 20
Step 21
Disable CDP.
Step 22
3600(config-if)# exit
Step 23
3600(config)# ip classless
Enable PPP.
DDR using snapshot routing (the ISDN line is activated only when needed)
This section provides further information on these features and how to configure
them.
Cisco 800 Series Software Configuration Guide
78-5372-06
3-19
Chapter 3
Note
Some protocols (IP, UDP, and NTP) send updates that can cause an ISDN line to
be activated excessively. For information on preventing this situation, see the
Controlling the DDR ISDN Line Activation section on page 3-26.
Configuration
Starting from interface configuration mode, follow these steps to configure DDR
using snapshot routing. For information on the commands used in this
configuration, refer to the Cisco IOS documentation.
Step 1
Command
Purpose
Step 3
Step 4
Step 5
Enable DDR.
Step 6
Step 7
3-20
78-5372-06
Chapter 3
Command
Purpose
Step 8
router(config-if)# dialer load-threshold 150 Define the load level that must be exceeded
either
on first ISDN B channel before the second B
channel is brought up, and whether the load
level is defined for inbound or outbound
traffic, or for either type.
Step 9
router(config-if)# dialer-group 2
Step 10
Step 11
Step 12
Step 13
router(config-map-class)# exit
Step 15
router(config-if)# exit
Step 17
Step 18
router(config-if)# exit
3-21
Chapter 3
Purpose
Step 1
Step 2
Purpose
Step 1
Step 2
3-22
78-5372-06
Chapter 3
Purpose
Step 1
Step 2
router(config-router)# network
network-number
Step 3
router(config-router)# version
{1 | 2}
3-23
Chapter 3
Figure 3-3
5
3
10.1.1.1
3600
20.1.1.1
Callout
Number
Description
NT client
Network A
ISDN
Network B
NT server
74934
800
3-24
78-5372-06
Chapter 3
Command
Purpose
Step 1
Step 2
Step 3
router(config-if)# ip
helper-address address
Note
By default, eight other UDP ports, including 137 (NetBIOS name server) and 138
(NetBIOS datagram service), are enabled. For more information, refer to the
Cisco IOS documentation.
DHCP Relay
3
800
3600
74935
2
1
3-25
Chapter 3
Callout
Number
Description
DHCP client
DHCP relay
ISDN network
DHCP server
DHCP relay configures the router to forward UDP broadcasts, including IP
configuration requests, from DHCP clients. However, if your network uses a
DDR ISDN line, you might find that this line is activated excessively by the IP
configuration requests and other UDP broadcasts. If keeping monthly ISDN costs
low is a concern, you can control the activation of your ISDN line. For more
information, refer to the UDP Broadcasts in DHCP Relay Environment section
on page 3-28.
Purpose
Step 1
Step 2
router(config)# ip dhcp-server
ip-address
3-26
78-5372-06
Chapter 3
Purpose
Step 1
Step 2
Step 3
router(config-if)# dialer-group 1
Step 4
router(config-if)# exit
Step 5
Step 6
3-27
Chapter 3
Command
Purpose
Step 7
Step 8
router(config)# dialer-list 1
protocol ip list 100
Note
Configuration
Starting in global configuration mode, use the following steps to configure an
extended access list so that UDP broadcasts do not activate the ISDN line. For
more information on the commands listed, refer to the Cisco IOS documentation.
Command
Purpose
Step 1
Step 2
Step 3
router(config-if)# dialer-group 1
3-28
78-5372-06
Chapter 3
Command
Purpose
Step 4
router(config-if)# exit
Step 5
router(config)# access-list 100 deny udp any Set location services packets not to activate
any eq 135
the ISDN line.
Step 6
Step 7
Configuration
Starting in global configuration mode, use the following steps to configure an
extended access list so that UDP broadcasts associated with NTP do not activate
the ISDN line. For more information on the commands listed, refer to the
Cisco IOS documentation.
Command
Purpose
Step 1
Step 2
Step 3
router(config-if)# dialer-group 1
Step 4
router(config-if)# exit
Step 5
router(config)# access-list 100 deny udp any Set NTP packets not to activate the ISDN line.
any eq ntp
3-29
Chapter 3
Command
Purpose
Step 6
Step 7
IP Traffic
You can configure an extended access list so that IP broadcasts, including RIP and
EIGRP broadcasts, do not activate the ISDN line. An extended access list controls
packets. When defining this list, you can specify complex addresses and permit
or deny specific protocols.
Configuration
Starting in global configuration mode, use the following steps to configure an
extended access list so that IP packets do not activate the ISDN line. For more
information on the commands listed, refer to the Cisco IOS documentation.
Command
Purpose
Step 1
Step 2
Step 3
router(config-if)# dialer-group 1
Step 4
router(config-if)# exit
Step 5
Step 6
router(config)# access-list 100 deny udp any Set RIP packets not to activate the ISDN line.
any eq rip
Step 7
router(config)# access-list 100 permit ip any Allow other packets to activate the ISDN line.
any
3-30
78-5372-06
Chapter 3
Note
Figure 3-5
This network example and extended access list include commonly anticipated
restrictions. The information in this section is meant to be used as a base from
which you can add or delete restrictions as they relate to your particular network.
The extended access list that you create depends on your particular network.
5
1
192.168.1.2
192.168.1.1
10.0.0.1
800
4
10.0.0.3
74936
192.168.1.3
3
192.168.1.4
3-31
Chapter 3
Callout
Number
Description
Web server
FTP server
DNS server
Table 3-1
Access Permitted
Access Denied
Permit any host on network 192.168.1.0 to access any Prevent any Internet host from spoofing any
Internet host.
host on the network. (Spoofing is illegally
misrepresenting the address of the sender.)
Permit the outside Internet Domain Name System
(DNS) server to send TCP replies to any host on the
network 192.168.1.0.
3-32
78-5372-06
Chapter 3
Command
Purpose
Step 1
Step 2
Step 3
router(config-if)# dialer-group 1
Step 4
router(config-if)# exit
Step 5
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
router(config)# access-list 100 deny tcp any Restrict any Internet host from making a
192.168.1.0 0.0.0.255 eq telnet
Telnet connection to any host on the specified
network.
Step 13
Step 14
3-33
Chapter 3
3-34
78-5372-06
C H A P T E R
Network Scenarios
This chapter provides sample network scenarios and configurations using
Cisco 800 series and Cisco SOHO series routers. This chapter is useful if you are
building a new network and want examples of features or configurations.
If you already have a network set up and you want to add specific features, see
Chapter 7, Router Feature Configuration.
This chapter includes the following sections:
4-1
Chapter 4
Network Scenarios
Figure 4-1
Corporate intranet
Cisco 3640
ISP POP
ISP POP
ISP POP
Cisco 6400
Cisco
7200
DSLAM
Cisco
6400
Cisco 6400
Cisco
827/827-4V
PSTN
74576
Cisco MGX
4-2
78-5372-06
Chapter 4
Network Scenarios
Cisco 837 Router Network Connections
Callout
Number
Description
ISP POP (data center) with videoconferencing multipoint control units (MCUs) and
IP/TV video servers
Data and voice local exchange carrier connecting through a Cisco MGX voice gateway
Small business or remote user, connecting to the network through a Cisco 827/827-4V
router
In the example, the Cisco 827 router sends data or voice packets from the remote
user to the service provider or corporate network through high-speed,
point-to-multipoint asymmetric digital subscriber line (ADSL) technology.
PSTN
Corporate intranet
4-3
Chapter 4
Network Scenarios
Figure 4-2
Cisco 3640
ISP POP
ISP POP
ISP POP
Cisco 6400
Cisco
7200
DSLAM
Cisco
6400
Cisco 6400
Cisco 837
3
Cisco 7200
4
PSTN
82256
4
5
Callout
Number
Description
ISP POP (data center) with videoconferencing MCUs and IP/TV video servers
Dial backup or remote management that keeps the traffic working in case the primary
lines traffic shuts down
Small business or remote user, connecting to the network through a Cisco 837 router
4-4
78-5372-06
Chapter 4
Network Scenarios
Cisco 831 Router Virtual Private Network Connections
In the topology, the Cisco 837 router sends data packets from the remote user to
the service provider or corporate network through high-speed, point-to-multipoint
ADSL technology.
Ethernet
Cisco 831
router
xDSL or cable
modem
ISP
Cisco 831
router
xDSL or cable
modem
Ethernet
3
3
82255
DES/3-DES IPSec
PSTN
4-5
Chapter 4
Network Scenarios
Callout
Number
Description
Small business or remote user, connecting to the network through a Cisco 831 router
ISDN
Corporate intranet
4-6
78-5372-06
Chapter 4
Network Scenarios
Cisco 836 or Cisco SOHO 96 Network Connection
Figure 4-4
Cisco 3640
ISP POP
ISP POP
ISP POP
Cisco 6400
Cisco
7200
DSLAM
Cisco
6400
Cisco 6400
Cisco 836
3
Cisco 7200
82797
4
ISDN
5
Callout
Number
Description
ISP POP (data center) with videoconferencing MCUs and IP/TV video servers
4-7
Chapter 4
Network Scenarios
Callout
Number
Description
Dial backup or remote management that keeps the traffic working in case of
primary line shutdown
Small business or remote user, connecting to the network through a Cisco 836
router
Configuring Dial Backup and Remote Management for the Cisco 837 and
Cisco SOHO 97 Routers
Configuring Dial Backup and Remote Management for the Cisco 836 and
Cisco SOHO 96 Routers
Data Network
Voice Network
4-8
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Each scenario is described. Also, for each scenario, a network diagram, steps for
configuring network scenarios, and a configuration example are provided.
4-9
Chapter 4
Network Scenarios
Figure 4-5 and Table 4-5 show the network topology for this scenario.
Replacing a Bridge or Modem with a Cisco 827 Router
DSLAM
Cisco
827/827-4V
Callout
Number
Cisco
6400
Cisco
6400
74577
Figure 4-5
DHCP
Description
Small business or remote user, connecting to the network through a Cisco 827 or
Cisco 827-4V router
The Internet
The Cisco 827 router is configured to act as a bridge on the WAN, so the data
packets are bridged through the Cisco 6400 router onto the Internet. This network
setup allows the simplicity of bridging data but also maintains router control. This
network is very simple, but it limits more complex services, such as stopping
broadcast traffic. If you want more services available on your network, you may
want to consider some of the others scenarios in this chapter.
If you have only a single ATM PVC for your bridging network, you do not have
to configure the protocol bridge broadcast.
This scenario includes configuration tasks and a configuration example. To add
additional features to this network, see Chapter 7, Router Feature
Configuration.
4-10
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
After configuring your router, you need to configure the PVC endpoint. For a
general configuration example, see the Cisco 3640 Gateway Configuration
Example section on page 4-89.
Follow the steps below to replace a bridge or modem with the Cisco 827 router,
beginning in global configuration mode. Each step includes the same values that
are shown in the bridging configuration example at the end of this section.
Command
Task
Step 1
no ip routing
Disable IP routing.
Step 2
Step 3
interface ethernet 0
Step 4
bridge-group 1
Step 5
no shutdown
Step 6
exit
Step 7
interface ATM 0
Step 8
pvc 8/35
Step 9
encapsulation aal5snap
Step 10
bridge-group 1
Step 11
no shutdown
Step 12
exit
4-11
Chapter 4
Network Scenarios
Configuration Example
The following is a configuration example for this network scenario. You do not
have to enter the commands marked default. These commands appear
automatically in the configuration file generated when you use the show
running-config command.
no ip routing
!
interface Ethernet0
no ip address
no ip directed-broadcast (default)
bridge-group 1
!
interface ATM0
no ip address
no ip directed-broadcast (default)
pvc 8/35
encapsulation aal5snap
!
bridge-group 1
!
ip classless (default)
!
bridge 1 protocol ieee
!
end
4-12
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Figure 4-6
Cisco 837/SOHO97
DSLAM
56956
1
Callout
Number
Description
Access concentrator, concentrating data and LAN into ATM service over E1/T1 links.
PPPoE session, which is initiated on the client side by a Cisco 837 or Cisco SOHO 97
router. If the session has a timeout, or if the session is disconnected, the PPPoE client
immediately attempts to reestablish the session.
4-13
Chapter 4
Network Scenarios
Configuration Example
Note
Step 1 through Step 4 are not necessary for the Cisco SOHO 96 and 97 routers.
Command
Task
Step 1
vpdn enable
Enable VPDN.
Step 2
Step 3
request-dialin
Step 4
protocol pppoe
Step 5
interface ATM0
mtu 1492
pvc 8/35
Step 6
pppoe-client dial-pool-number 1
Step 7
4-14
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Task
Step 1
interface atm 0
Step 2
Step 3
Step 4
pvc vpi/vci
Step 5
ppoe-client dial-pool-number 1
Step 6
no shutdown
Task
Step 1
Step 2
interface dialer 0
Step 3
ip address negotiated
Step 4
ip mtu 1492
Step 5
encapsulation ppp
4-15
Chapter 4
Network Scenarios
Command
Task
Step 6
dialer pool 1
Step 7
dialer-group 1
Step 8
Step 9
exit
Step 10
If you enter the clear vpdn tunnel pppoe command with a PPPoE client session
already established, the PPPoE client session terminates, and the PPPoE client
immediately tries to reestablish the session.
Configuration Example
The following example shows a configuration of a PPPoE client.
vpdn enable
vpdn-group 1
request-dialin
protocol pppoe
!
interface atm0
no ip address
no atm ilmi-keepalive
pvc 1/100
pppoe-client dial-pool-number 1
!
interface dialer 1
ip address negotiated
ppp authentication chap
dialer pool 1
dialer-group 1
!
dialer-list 1 protocol ip permit
4-16
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Note
These four steps are not necessary for the Cisco SOHO 96 and 97 routers.
Command
Task
Step 1
vpdn enable
Enable VPDN.
Step 2
Step 3
request-dialin
Step 4
protocol pppoe
Task
Step 1
interface atm 0
Step 2
4-17
Chapter 4
Network Scenarios
Command
Task
Step 3
pvc vpi/vci
Step 4
ppoe-client dial-pool-number 1
dial-on-demand
Step 5
no shutdown
Task
Step 1
Step 2
interface dialer 0
Step 3
ip address negotiated
Step 4
ip mtu 1492
Step 5
ip nat outside
Step 6
encapsulation ppp
Step 7
dialer pool 1
Step 8
dialer-group 1
Step 9
Step 10
exit
Step 11
4-18
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
If you enter the clear vpdn tunnel pppoe command with a PPPoE client session
already established, the PPPoE client session terminates, and the PPPoE client
immediately tries to reestablish the session.
Configuration Example
The following example shows a configuration of a PPPoE client.
interface Ethernet0
no ip address
ip tcp adjust-mss 1400
no keepalive
hold-queue 100 out
!
vpdn enable
vpdn-group 1
request-dialin
protocol pppoe
!
interface atm0
no ip address
no atm ilmi-keepalive
pvc 1/100
pppoe-client dial-pool-number 1 dial-on-demand
!
interface dialer 1
ip address negotiated
ppp authentication chap
dialer pool 1
dialer-group 1
!
dialer-list 1 protocol ip permit
4-19
Chapter 4
Network Scenarios
Figure 4-7
Cisco 827/827-4V
Cisco 6400
DSLAM
2
192.168.1.1/24
Cisco
6400
74578
Callout
Number
Description
The Internet
In this scenario, the small business or remote user on the Ethernet LAN can
connect to the Internet through ADSL. The Ethernet interface carries the data
packet through the LAN and offloads it to the PPP connection on the ATM
interface. The dialer interface is used to connect to the Internet or the corporate
office. The number of ATM PVCs is set by default.
NAT (represented as the dashed line at the edge of the Cisco 827 router) signifies
two addressing domains and the inside source address. The source list defines
how the packet travels through the network.
This section covers the following topics:
4-20
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Configuring NAT
Configuration Example
Task
Step 1
interface ethernet 0
Step 2
Step 3
no shutdown
Step 4
exit
Task
Step 1
interface dialer 0
Step 2
ip address negotiated
4-21
Chapter 4
Network Scenarios
Command
Task
Step 3
ip nat outside
Step 4
encapsulation ppp
Step 5
dialer pool 1
Step 6
exit
Task
Step 1
interface ATM 0
Step 2
pvc 8/35
Step 3
Step 4
dialer pool-member 1
Step 5
no shutdown
Step 6
exit
4-22
78-5372-06
Chapter 4
Network Scenarios
Internet Access Scenarios
Configuring NAT
Follow the steps below to configure NAT, beginning in global configuration
mode.
Command
Task
Step 1
ip nat inside source list 1 interface dialer 0 Enable dynamic translation of addresses
overload
permitted by the access list to one of
addresses specified in the dialer interface.
Step 2
Step 3
Step 4
interface ethernet 0
Step 5
ip nat inside
Step 6
no shutdown
Step 7
exit
Configuration Example
In the following configuration example, you do not have to enter the commands
marked default. These commands appear automatically in the configuration file
that is generated when you use the show running-config command.
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
ip nat inside
!
interface ATM0
no ip address
no ip directed-broadcast (default)
ip nat outside
no atm ilmi-keepalive (default)
pvc 8/35
4-23
Chapter 4
Network Scenarios
4-24
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Note
Cisco 836 and 837 Routers and Cisco SOHO 96 and 97 Routers
The following can be used to bring up the dial backup feature in the Cisco IOS
software for the Cisco 836 and 837 routers and the Cisco SOHO 96 and 97 routers:
Backup Interfaces
Dialer Watch
Backup Interfaces
When the device receives an indication that the primary line is down, the backup
interface is brought up. You can configure the backup interface to go down (after
a specified time) when the primary connection is restored.
The dial-on-demand routing (DDR) backup call is triggered by traffic of interest.
Even if the backup interface comes out of standby mode, the router will not trigger
the backup call unless it receives traffic of interest for that backup interface.
4-25
Chapter 4
Network Scenarios
Floating static routes are independent of line protocol status. This is an important
consideration on Frame Relay circuits wherein line protocol may not go down if
the data-link connection identifier (DLCI) is inactive. Floating static routes are
also encapsulation independent.
Note
When static routes are configured, the primary interface protocol must go down
in order to activate the floating static route.
Dialer Watch
Only the Extended Interior Gateway Routing Protocol (EIGRP) link-state
dynamic routing protocols are supported.
There is a bottleneck in supporting bridging over console backup interfaces
because bridging is not supported over slower interfaces such as console ports or
auxiliary ports.
In the Cisco 836 and 837 routers, the dial backup feature is supported for the
encapsulations identified in Table 4-1.
4-26
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Table 4-1
Encapsulation Types Supported by Dial Backup FeatureCisco 836 and 837 Routers
Encapsulation
Type (WAN)
Dial Backup
Possible
Yes
PPP over
Ethernet
Backup interface
method
Floating static
routes
Dialer watch
Limitations
Floating static route and dialer watch
need a routing protocol to run in the
router. The dialer watch method
brings up the backup interface as
soon as the primary link goes down.
The backup interface is brought
down as soon as the dialer timeout is
reached and the primary interface is
up. Router checks the primary
interface only when the dialer
timeout expires. The backup
interface remains up until the dialer
timeout is reached, even though the
primary interface is up.
For the dialer watch method, a
routing protocol does not need to be
running in the router, if the IP address
of the peer is known.
RFC 1483
(AAL5, SNAP,
and MUX)
Yes
Backup interface
method
Floating static
routes
Dialer watch
4-27
Chapter 4
Network Scenarios
Encapsulation Type
Dial Backup
Possible
PPPoE
Yes
Dialer watch
Normal IP in cable
modem scenario
No
Dialer watch
Limitations
4-28
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Figure 4-8
1
ATM
3620
837
Modem
Modem
2
PSTN
82269
3
Modem
PC
Callout
Number
Description
Dial backup; serves as a failover link when primary line goes down
Remote management; serves as dial-in access to allow changes or updates to Cisco IOS
configurations
4-29
Chapter 4
Network Scenarios
Figure 4-9
Cisco 836 Router Dial Backup and Remote ManagementDial Backup Through CPE
Splitter, DSLAM, and CO Splitter
1
ATM Aggregator
DSLAM
ATM
network
Cisco 836
CPE
splitter
CO
splitter
ISDN Peer
Router
ISDN switch
Internet
ISDN
3
Administrator
Web
server
82892
Callout
Number
Description
Dial backup and remote management via ISDN interface; serves as a failover link
when primary line goes down
Administrator remote management via ISDN interface when the primary ADSL link
is down; serves as dial-in access to allow changes or updates to Cisco IOS
configuration
4-30
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Figure 4-10 Cisco 836 Router Dial Backup and Remote ManagementDial Backup Directly from
Router to ISDN Switch
1
Aggregator
DSLAM
ATM
network
PC
CPE
splitter
836
Internet
3
ISDN
switch
Administrator
Web
server
Callout
Number
Description
Dial backup and remote management via ISDN interface; serves as a failover link
when primary line goes down
Administrator remote management via ISDN interface when the primary ADSL
link is down; serves as dial-in access to allow changes or updates to Cisco IOS
configuration
88208
PPP over ATM with Centrally Managed Addressing and with Dial
Backup
When customer premises equipment such as a Cisco 837 router is connected to an
ISP, an IP address is dynamically assigned to the router, or the IP address may be
assigned by its peer through the centrally managed function. The dial backup
feature can be added to provide a failover route in case the primary line fails.
4-31
Chapter 4
Network Scenarios
Configuring Dial Backup and Remote Management for the Cisco 837 Router
Follow the steps below to configure dial backup and remote management for the
Cisco 837 router.
Command
Task
Step 1
ip name-server 206.13.28.12
Step 2
ip dhcp pool 1
Step 3
vpdn enable
Enable VPDN.
Step 4
vpdn-group 1
Step 5
Step 6
interface Async1
Step 7
interface Dialer3
Step 8
dialer watch-group 1
Step 9
Step 10
Step 11
Step 12
Step 13
line con 0
Step 14
modem enable
Step 15
line aux 0
Step 16
4-32
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Configuration Example
The following configuration example for a Cisco 837 router specifies an IP
address for the ATM interface via PPP/IPCP address negotiation and dial backup
over the console port.
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Router
!
memory-size iomem 20
enable password cisco
!
ip subnet-zero
ip name-server 206.13.28.12
ip name-server 206.13.31.12
ip name-server 63.203.35.55
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool 1
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
ip audit notify log
ip audit po max-events 100
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
! Need to use your own correct ISP phone number
modemcap entry MY-USER_MODEM:MSC=&F1S0=1
chat-script Dialout ABORT ERROR ABORT BUSY AT OK ATDT 5555102\T
TIMEOUT 45 CONNECT \c
!
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
4-33
Chapter 4
Network Scenarios
4-34
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
4-35
Chapter 4
Network Scenarios
4-36
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Note
Traffic of interest must be present to activate the backup ISDN line by means of
the backup interface and floating static routes methods. Traffic of interest is not
needed for the dialer watch to activate the backup ISDN line.
Command
Task
Step 1
Step 2
interface BRI0
Step 3
encapsulation ppp
Step 4
dialer pool-member 1
Step 5
Step 6
exit
Step 7
interface Dialer0
Step 8
ip address negotiated
Step 9
encapsulation ppp
Step 10
dialer pool 1
Step 11
Step 12
dialer-group 1
4-37
Chapter 4
Network Scenarios
Command
Task
Step 13
exit
Step 14
Task
Step 1
interface ATM0
Step 2
4-38
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Command
Task
Step 1
Step 2
Note
When the static routes are configured, the primary interface protocol must go
down in order to activate the floating static route.
Follow the steps below to configure the dynamic route on the Cisco 836 router
ISDN port, beginning in global configuration mode.
Command
Task
Step 1
router rip
Step 2
network 22.0.0.0
Step 3
Note
The floating static route depends on the routing protocol convergence times when
dynamic routing is activated.
4-39
Chapter 4
Network Scenarios
Command
Task
Step 1
interface Dialer0
Step 2
dialer watch-group 1
Step 3
exit
Step 4
Step 5
Step 6
Configuration Example
The next three configuration examples shows sample configurations for the three
dial backup interface and remote management methods.
The following is an example of configuring dial backup and remote management
using the backup interface command.
Cisco836#
!
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
!
!Specifies the ISDN switch type
isdn switch-type basic-net3
!
interface Ethernet0
4-40
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
4-41
Chapter 4
Network Scenarios
4-42
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 2
dialer-group 2
!
ip classless
no cdp enable
!Primary and backup interface given route metric (This example using
static routes, thus atm0 line protcol must be brought down for backup
interface to function.)
ip route 0.0.0.0 0.0.0.0 22.0.0.2
ip route 0.0.0.0 0.0.0.0 192.168.2.2 150
ip http server
!
!Specifies interesting traffic to trigger backup ISDN traffic
dialer-list 1 protocol ip permit
4-43
Chapter 4
Network Scenarios
pppoe-client dial-pool-number 2
!
dsl operating-mode auto
!
! Dial backup interface, associated with physical BRI0 interface.
Dialer pool 1 associates it with BRI0s dialer pool member 1. Note
dialer watch-group 1 associates a watch list with corresponding
dialer watch-list command
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 30
dialer string 384040
dialer watch-group 1
dialer-group 1
!
! Primary interface associated with physical ATM0 interface, dialer
pool 2 associates it with ATM0s dial-pool-number2
interface Dialer2
ip address negotiated
ip mtu 1492
encapsulation ppp
dialer pool 2
dialer-group 2
no cdp enable
!
ip classless
!Primary and backup interface given route metric
ip route 0.0.0.0 0.0.0.0 22.0.0.2
ip route 0.0.0.0 0.0.0.0 192.168.2.2 80
ip http server
!
!Watch for interesting traffic
dialer watch-list 1 ip 22.0.0.2 255.255.255.255
!Specifies interesting traffic to trigger backup ISDN traffic
dialer-list 1 protocol ip permit
!
4-44
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
4-45
Chapter 4
Network Scenarios
ip classless
ip route 0.0.0.0 0.0.0.0 22.0.0.1 50
ip route 0.0.0.0 0.0.0.0 30.1.1.2.80
4-46
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Command
Task
Step 1
interface Async1
Step 2
line con 0
Step 3
modem enable
Step 4
line aux 0
Step 5
flowcontrol hardware
Configuration Example
The following configuration example for a Cisco SOHO 97 router specifies the IP
address for the ATM interface via PPP/IPCP address and supports dial-in
maintenance over the console port.
!
!Remote management account
username dialin password cisco
modemcap entry MY_USR_MODEM:MSC=&F1S0=1
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 0/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
dsl operating-mode auto
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
autodetect encapsulation ppp
async default routing
4-47
Chapter 4
Network Scenarios
4-48
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
Figure 4-11 Cisco 831 Router Dial Backup and Remote Management in a DSL Modem Environment
Ethernet
DSL
DSL
modem
831
3620
Modem
Modem
2
PSTN
82270
3
Modem
PC
Callout
Number
Description
Dial backup; serves as a failover link when primary line goes down
Remote management; serves as a dial-in access to allow change or update of Cisco IOS
configurations
Follow the steps below to configure dial backup and remote management for the
Cisco 831 router.
Command
Task
Step 1
ip name-server 206.13.28.12
Step 2
ip dhcp pool 1
Step 3
vpdn enable
Enable VPDN.
Step 4
vpdn-group 1
4-49
Chapter 4
Network Scenarios
Command
Task
Step 5
Step 6
interface Async1
Step 7
interface Dialer3
Step 8
Step 9
Step 10
Step 11
Step 12
line con 0
Step 13
modem enable
Step 14
line aux 0
Step 15
flowcontrol hardware
4-50
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
memory-size iomem 20
enable password cisco
!
ip subnet-zero
ip name-server 206.13.28.12
ip name-server 206.13.31.12
ip name-server 63.203.35.55
ip dhcp excluded-address 192.168.1.1
!
ip dhcp pool 1
import all
network 192.168.1.0 255.255.255.0
default-router 192.168.1.1
!
ip audit notify log
ip audit po max-events 100
vpdn enable
!
vpdn-group 1
request-dialin
protocol pppoe
!
! Need to use your own correct ISP phone number
modemcap entry MY-USER_MODEM:MSC=&F1S0=1
chat-script Dialout ABORT ERROR ABORT BUSY AT OK ATDT 5555102\T
TIMEOUT 45 CONNECT \c
!
!
!
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
ip tcp adjust-mss 1452
hold-queue 100 out
!
interface Ethernet1
no ip address
no ip route-cache
no ip mroute-cache
pppoe enable
pppoe-client dial-pool-number 1
!
!Dial backup and remote management physical interface
interface Async1
no ip address
encapsulation ppp
dialer in-band
4-51
Chapter 4
Network Scenarios
dialer pool-member 3
async default routing
async dynamic routing
async mode dedicated
ppp authentication pap callin
!
! Primary wan link
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
ppp authentication pap callin
ppp pap sent-username account password 7 pass
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
! Dialer backup logical interface
interface Dialer3
ip address negotiated
ip nat outside
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool 3
dialer idle-timeout 60
dialer string 5555102 modem-script Dialout
dialer watch-group 1
!
! Remote management PC ip address
peer default ip address 192.168.2.2
no cdp enable
!
! Need to use your own ISP account and password
ppp pap sent-username account password 7 pass
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
! IP NAT over Dialer interface using route-map
ip nat inside source route-map main interface Dialer1 overload
ip nat inside source route-map secondary interface Dialer3 overload
ip classless
!
! When primary link is up again, distance 50 will override 80 if dial
backup hasnt timeout
4-52
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
4-53
Chapter 4
Network Scenarios
exec-timeout 0 0
!
! To enable and communicate with the external modem properly
script dialer Dialout
modem InOut
modem autoconfigure discovery
transport input all
stopbits 1
speed 115200
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
password cisco
login
!
scheduler max-task-time 5000
end
Task
Step 1
interface Async1
Step 2
line con 0
Step 3
modem enable
Step 4
line aux 0
Step 5
flowcontrol hardware
Configuration Example
The following example shows how to configure a Cisco SOHO 91 router to
obtain the IP address for ATM interface via PPP/IPCP address negotiation and
shows how to configure and support dial-in maintenance over the console port.
4-54
78-5372-06
Chapter 4
Network Scenarios
Configuring Dial Backup over the ISDN Interface
!
!Remote management account
username dialin password cisco
modemcap entry MY_USR_MODEM:MSC=&F1S0=1
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
ip nat inside
hold-queue 100 out
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
autodetect encapsulation ppp
async default routing
async dynamic routing
async mode dedicated
pap authentication pap callin
peer default ip address 192.168.2.2
!
ip nat inside source list 101 interface Dialer1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer1 150
!
no ip http server
ip pim bidir-enable
!
!
access-list 101 permit ip 192.168.0.0 0.0.255.255 any
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
modem enable
stopbits 1
line aux 0
exec-timeout 0 0
script dialer Dialout
modem Dialin
modem autoconfigure discovery
transport input all
stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
login local
!
4-55
Chapter 4
Network Scenarios
Note
Whenever you change server properties, you must reload the server to load the
configuration data from the Network Registrar database.
To configure the DHCP server, you must accept Network Registrars defaults or
supply the data explicitly:
The IP address of the servers interface (Ethernet card). This interface must
have a static IP address that is not assigned dynamically by DHCP.
The subnet mask, which identifies the network membership of the interface.
The subnet mask defaults to the appropriate value, based on the network class
of the interface address. In most cases, the subnet mask is 255.255.255.0.
4-56
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Use the dhcp-interface commands to add, remove, and list the IP addresses of
your servers hardware cards. Interfaces are named with the IP address and net
mask for the physical device.
If you have two interface cards for the server host, use two dhcp-interface create
commands to register them both. Use the net mask suffix 16 or 24 as part of the
address.
nrcmd> dhcp-interface 192.168.1.12/24 create
nrcmd> dhcp-interface 10.1.2.3/24 create
Use the dhcp-interface set ignore=true command if you want Network Registrar
to use only one interface, you have to set all the other ones to be ignored.
nrcmd> dhcp-interface 10.1.2.3/24 set ignore=true
Task
Step 1
interface ethernet 0
Step 2
Step 3
no shutdown
Step 4
exit
4-57
Chapter 4
Network Scenarios
4-58
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
4-59
Chapter 4
Network Scenarios
no cdp enable
!
interface ATM1/0
no ip address
no atm ilmi-keepalive
!
interface ATM1/0.1 point-to-point
pvc 1/40
encapsulation aal5mux ppp Virtual-Template1
!
!
interface ATM1/0.2 point-to-point
pvc 1/41
encapsulation aal5snap
protocol pppoe
!
!
interface Virtual-Template1
ip unnumbered Loopback1
peer default ip address pool test
!
interface Virtual-Template2
ip unnumbered Loopback2
ip mtu 1492
!
interface Async65
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 1
autodetect encapsulation ppp
async default routing
async dynamic routing
async mode dedicated
!
interface Dialer0
ip unnumbered Async65
encapsulation ppp
dialer pool 1
dialer remote-name c837
dialer string 5555101 modem-script Dialout
dialer-group 1
autodetect encapsulation ppp
no cdp enable
!
ip local pool test 21.0.0.10 21.0.0.200
ip kerberos source-interface any
ip classless
4-60
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
no ip http server
!
dialer-list 1 protocol ip permit
no cdp run
!
!
dial-peer cor custom
!
!
!
!
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
exec-timeout 0 0
no activation-character
script dialer Dialout
no vacant-message
modem InOut
modem autoconfigure type MY_USR_MODEM
transport input all
transport output telnet
escape-character NONE
autohangup
stopbits 1
speed 38400
flowcontrol hardware
line vty 0 4
exec-timeout 0 0
login
!
end
4-61
Chapter 4
Network Scenarios
Use line and interface commands to enable the defined method lists to be
used.
For instructions on configuring a RADIUS client, refer to the Cisco IOS Security
Configuration Guide.
Cisco 827/827-4V
ATM 0
200.200.100.254
Cisco 6400
DSLAM
2
192.168.1.1/24
Cisco
6400
74579
4-62
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Callout
Number
Description
The Internet
In this scenario, the small business or remote user on the Ethernet LAN can
connect to the Internet through ADSL. The Ethernet interface carries the data
packet through the LAN and offloads it to the RFC 1483 connection on the ATM
interface. The number of ATM PVCs is set by default.
NAT (represented as the dashed line at the edge of the 827 routers) signifies two
addressing domains and the inside source address. The source list defines how the
packet travels through the network.
The following configuration topics are covered in this section:
Configuring NAT
Configuration Examples
4-63
Chapter 4
Network Scenarios
Command
Task
Step 1
interface ethernet 0
Step 2
Step 3
no shutdown
Step 4
exit
Task
Step 1
interface ATM 0
Step 2
Step 3
pvc 8/35
Step 4
Step 5
encapsulation type
Step 6
no shutdown
Step 7
exit
Configuring NAT
Complete the follow steps to configure NAT, beginning in global configuration
mode.
4-64
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Command
Task
Step 1
Step 2
Step 3
Step 4
interface ethernet 0
Step 5
ip nat inside
Step 6
exit
Step 7
interface atm 0
Step 8
ip nat outside
Step 9
exit
Configuration Examples
In the following configuration examples, you do not have to enter the commands
marked default. These commands appear automatically in the configuration file
that is generated when you use the show running-config command.
The following example shows an RFC 1483 LLC/SNAP encapsulation over
ATM.
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
ip nat inside
!
interface ATM0
4-65
Chapter 4
Network Scenarios
4-66
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Cisco 827/827-4V
Cisco 6400
Cisco
6400
DSLAM
2
192.168.1.1/24
74580
Callout
Number
Description
The Internet
4-67
Chapter 4
Network Scenarios
One side of the network (the WAN, in this scenario) is configured to act as a
bridge. The Bridge-Group Virtual Interface (BVI) is configured to act as a routed
interface from the WAN bridge-group to the nonbridged LAN interface. From the
LAN, the network appears as a router. From the WAN, the network appears as a
bridge.
The ATM interface uses AAL5SNAP encapsulation. The number of PVCs is set
by default.
NAT (represented as the dashed line at the edge of the Cisco 827 router) signifies
two addressing domains and the inside source address. The source list defines
how the packet travels through the network.
This section covers the following configuration topics:
Configuring NAT
Configuration Example
4-68
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Command
Task
Step 1
bridge irb
Specify IRB.
Step 2
bridge 1 route ip
Step 3
Step 4
interface ethernet 0
Step 5
Step 6
no shutdown
Step 7
exit
Task
Step 1
interface ATM 0
Step 2
pvc 8/35
Step 3
encapsulation aal5snap
Step 4
bridge-group 1
Step 5
no shutdown
Step 6
exit
4-69
Chapter 4
Network Scenarios
Task
Step 1
interface bvi 1
Step 2
Step 3
exit
Configuring NAT
Follow the steps below to configure NAT, beginning in global configuration
mode.
Command
Task
Step 1
ip nat pool test 200.200.100.1 200.200.100.1 Create pool of global IP addresses for NAT.
255.255.255.0
Step 2
Step 3
Step 4
interface ethernet 0
Step 5
ip nat inside
Step 6
no shutdown
Step 7
exit
4-70
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Command
Task
Step 8
interface ATM 0
Step 9
ip nat outside
Step 10
no shutdown
Step 11
exit
Step 12
interface bvi 1
Step 13
ip nat outside
Step 14
no shutdown
Step 15
end
Configuration Example
In the following configuration example, you do not have to enter the commands
marked default. These commands appear automatically in the configuration file
that is generated when you use the show running-config command.
bridge irb
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
ip nat inside
!
interface ATM0
no ip address
no ip directed-broadcast (default)
ip nat outside
no atm ilmi-keepalive (default)
pvc 8/35
encapsulation aal5snap
!
bridge-group 1
!
interface BVI1
ip address 200.200.100.1 255.255.255.0
4-71
Chapter 4
Network Scenarios
no ip directed-broadcast (default)
ip nat outside
!
ip nat pool test 200.200.100.1 200.200.100.1 netmask 255.255.255.0
ip nat inside source list 101 pool test overload
ip classless (default)
!
bridge 1 protocol ieee
bridge 1 route ip
!
access-list 101 permit ip 192.168.1.0 0.0.0.255 any log
!
ip route 0.0.0.0 0.0.0.0 200.200.100.254 (default gateway)
!
end
4-72
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Cisco
827/827-4V
3
Cisco 6400
Cisco
6400
1
DSLAM
74581
3640
Voice
gateway
Callout
Number
Description
Ethernet 0 bridge
ATM connection, ATM0.1 PVC 1/40 Voice 1.0.0.1/24, ATM0.2 PVC 8/35 data
The Internet
Concurrent routing and bridging are accomplished using different subinterfaces
under the ATM interface. Each ATM subinterface that is created is treated
uniquely in the network.
Data traffic in this scenario is bridged across ATM subinterface 2, using
AAL5SNAP encapsulation. A single PVC is created with a vpi/vci value of 8/35.
Voice traffic is routed across ATM0 subinterface 0.1. There is a single PVC
created with a VPI/VCI value of 1/40 for voice. The voice subinterface is
configured with remote dial peers to determine where outgoing calls are sent and
with local dial peers to determine what numbers each port should respond to. Each
VoIP dial peer is configured for H.323 signaling.
4-73
Chapter 4
Network Scenarios
Configuration Example
Task
Step 1
bridge crb
Specify CRB.
Step 2
interface ethernet 0
Step 3
bridge-group 1
Step 4
exit
Step 5
4-74
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Task
Step 1
Step 2
Step 3
pvc 1/40
Step 4
encapsulation aal5snap
Step 5
Step 6
Step 7
pvc 8/35
Step 8
encapsulation aal5snap
Step 9
bridge-group 1
Step 10
no shutdown
Step 11
exit
4-75
Chapter 4
Network Scenarios
Command
Task
Step 1
Step 2
destination-pattern string
Step 3
voice port-number
Table 4-3
Destination Pattern
Port
101
14085271111
102
14085272222
103
14085273333
104
14085274444
Task
Step 1
Step 2
destination-pattern string
Step 3
codec g711ulaw
Step 4
4-76
78-5372-06
Chapter 4
Network Scenarios
Configuring the DHCP Server
Table 4-4
Destination Pattern
1100
12123451111
1200
12123452222
1300
12123453333
1400
12123454444
Configuration Example
In the following configuration example, you do not have to enter the commands
marked default. These commands appear automatically in the configuration file
that is generated when you use the show running-config command.
ip subnet-zero
!
bridge crb
!
interface Ethernet0
no ip address
no ip directed-broadcast (default)
bridge-group 1
!
interface ATM0
no ip address
no ip directed-broadcast (default)
no atm ilmi-keepalive (default)
bundle-enable
!
interface ATM0.1 point-to-point
ip address 1.0.0.1 255.255.255.0
no ip directed-broadcast (default)
pvc voice 1/40
protocol ip 1.0.0.2 broadcast
encapsulation aal5snap
!
interface ATM0.2 point-to-point
no ip address
no ip directed-broadcast (default)
pvc data 8/35
encapsulation aal5snap
!
4-77
Chapter 4
Network Scenarios
bridge-group 1
!
ip classless (default)
!
bridge 1 protocol ieee
!
voice-port 1
local-alerting
!
voice-port 2
local-alerting
!
voice-port 3
local-alerting
!
voice-port 4
local-alerting
!
dial-peer voice 101 pots
destination-pattern 14085271111
port 1
!
dial-peer voice 1100 voip
destination-pattern 12123451111
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 102 pots
destination-pattern 14085272222
port 2
!
dial-peer voice 1200 voip
destination-pattern 12123452222
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 103 pots
destination-pattern 14085273333
port 3
!
dial-peer voice 1300 voip
destination-pattern 12123453333
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 104 pots
destination-pattern 14085274444
port 4
4-78
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
!
dial-peer voice 1400 voip
destination-pattern 12123454444
codec g711ulaw
session target ipv4:1.0.0.2
!
end
Voice Scenario
This section describes a voice scenario configuration using the Cisco 827 router
in an H.323 signaling environment.
Setting up voice on the router actually includes two configurationsone for data
and one for voice. When you have completed the configuration for the data
scenario, you can add voice by configuring the POTS and VoIP dial peers and
voice ports. Scenarios for data and voice are provided in the sections that follow.
Data Network
Figure 4-15 and Table 4-19 show a data network with traffic routing through the
Cisco 827 router and then switching on to the ATM interface.
4-79
Chapter 4
Network Scenarios
Voice Scenario
Cisco
827
Cisco
6400
ATM
DSLAM
1
Cisco
6400
ATM 0
10.10.10.20
255.255.255.0
PVC 8/35
74582
Cisco
3640
20.20.20.20
255.255.255.0
PVC 0/40
10.10.10.36
255.255.255.0
3
Cisco
3640
Callout
Number
Description
4-80
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
Voice Network
Figure 4-16 and Table 4-20 show a voice network with an 827-4V router and a
Cisco 3640 router as the VoIP gateway using H.323 signaling (H.323 gateway).
Figure 4-16 Voice Network
Cisco
6400
ATM
DSLAM
Cisco
6400
PVC 0/14
10.10.10.36
255.255.255.0
Cisco 3640
2
74584
5
Cisco 3640
4-81
Chapter 4
Network Scenarios
Voice Scenario
Callout
Number
Description
Configuration Tasks
To configure the voice scenario, you must first configure the data network and
then configure the voice network.
4-82
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
Then, configure the voice network by following the procedures in these sections:
For configuration examples, see the Configuring the Class Map, Route Map, and
Policy Map section on page 4-83, the Configuring the Ethernet Interface
section on page 4-84, the Configuring the ATM Interface section on page 4-84,
the Configuring EIGRP section on page 4-85, the Configuring the POTS Dial
Peers section on page 4-86, and the Configuring VoIP Dial Peers for H.323
Signaling section on page 4-86 provided in the sections below.
Configuration examples are shown for the Cisco 827-4V router and the gateway
and gatekeeper endpoint routers.
After configuring your router, you need to configure the PVC endpoint. For a
general configuration example, see the Cisco 3640 Gateway Configuration
Example section on page 74.
Task
Step 1
Step 2
class-map voice
Step 3
Step 4
Step 5
ip precedence routine
4-83
Chapter 4
Network Scenarios
Voice Scenario
Command
Task
Step 6
policy-map mypolicy
Step 7
class voice
Step 8
priority 176
Step 9
class class-default
1.
Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
Task
Step 1
interface ethernet 0
Step 2
Step 3
Step 4
ip route-cache policy
Step 5
no shutdown
Step 6
exit
4-84
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
Command
Task
Step 1
interface ATM 0
Step 2
Step 3
pvc 8/35
Step 4
encapsulation aal5snap
Step 5
Step 6
Step 7
Step 8
no shutdown
Step 9
exit
Configuring EIGRP
Follow the steps below to configure EIGRP, beginning in global configuration
mode.
Command
Task
Step 1
Step 2
network number
Step 3
exit
4-85
Chapter 4
Network Scenarios
Voice Scenario
Task
Step 1
Step 2
destination-pattern string
Step 3
port number
Task
Step 1
Step 2
destination-pattern string
Step 3
codec g711ulaw
Step 4
ip precedence 5
Step 5
Configuration Examples
This section contains the following configuration examples:
4-86
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
4-87
Chapter 4
Network Scenarios
Voice Scenario
network 10.0.0.0
network 20.0.0.0
!
ip classless (default)
no ip http server
!
access-list 101 permit ip any any precedence critical(5)
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line vty 0 4
login
!
!
voice-port 1
local-alerting
!
voice-port 2
local-alerting
!
voice-port 3
local-alerting
!
voice-port 4
local-alerting
!
dial-peer voice 10 voip
destination-pattern .......
ip precedence 5
session target ras
!
dial-peer voice 1 pots
destination-pattern 4085258111
port 1
!
dial-peer voice 2 pots
destination-pattern 14085258222
port 2
!
dial-peer voice 3 pots
destination-pattern 14085258333
port 3
!
dial-peer voice 4 pots
destination-pattern 14085258444
port 4
4-88
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
!
end
4-89
Chapter 4
Network Scenarios
Voice Scenario
destination-pattern 12125253333
port 1/1/0
!
dial-peer voice 4 pots
destination-pattern 12125253444
port 1/1/1
!
process-max-time 200
gateway
!
interface Ethernet0/0
ip address 172.17.1.36 255.255.255.0
no ip directed-broadcast
h323-gateway voip interface
h323-gateway voip id gk-twister ipaddr 172.17.1.1 1719
h323-gateway voip h323-id gw-3640
h323-gateway voip tech-prefix 1#
!
interface ATM2/0
ip address 10.10.10.36 255.255.255.0
no ip directed-broadcast
no atm ilmi-keepalive
pvc 8/35
service-policy output mypolicy
protocol ip 10.10.10.20 broadcast
vbr-rt 1000 600 1
encapsulation aal5snap
!
router eigrp 100
network 10.0.0.0
network 172.17.0.0
!
no ip classless
no ip http server
!
access-list 101 permit ip any any precedence critical (5)
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
line vty 0 4
login
!
!
end
4-90
78-5372-06
Chapter 4
Network Scenarios
Voice Scenario
4-91
Chapter 4
Network Scenarios
Voice Scenario
4-92
78-5372-06
C H A P T E R
The framing protocols supported by CAPI include High-Level Data Link Control
(HDLC), HDLC inverted, bit transparent (speech), and V.110
synchronous/asynchronous. CAPI integrates the following data link and network
layer protocols:
78-5372-06
5-1
Chapter 5
CAPI Features
CAPI Features
CAPI supports the following features:
One or more BRIs as well as PRI on one or more Integrated Services Digital
Network (ISDN) adapters
Multiple applications
Operating-system-independent messages
5-2
78-5372-06
Chapter 5
When the router receives packets destined for one of the DCP clients on its BRI
port, the router formats the packet as a DCP message and sends it to the
corresponding client. The router supports all of the DCP messages in the
ISDN-DCP specifications defined by RVS-COM.
CAPI layer B1
64 kbps with HDLC framing
64 kbps bit transparent operation with byte framing from the network
T.30 modem for fax Group 3
Modem with full negotiation
CAPI layer B2
V.120
Transparent
T.30 modem for fax Group 3
Modem with full negotiation
CAPI layer B3
Transparent
T.90NL with compatibility to T.70NL according to T.90 Appendix II
ISO 8208 (X.25 DTE-DTE) module 8 and windows size 2, no multiple
logical connections
T.30 for fax Group 3
Modem with full negotiation
5-3
Chapter 5
T.30 for fax Group 3 (SFF file format [default], sending and receiving up to
14400 bits/sec with ECM option, modulations V.17, V.21, V.27ter, V.29)
Supported Applications
ISDN-DCP supports CAPI and non-CAPI applications. Applications are
supported that use one or two B channels for data transfer, different HDLC-based
protocols, Euro file transfer, or G4 fax; also supported are applications that send
bit-transparent data such as A/Mu law audio, group 3 faxes, analog modem, or
analog telephones.
Requirements
Before you can enable the RCAPI feature on the Cisco 800 series router, the
following requirements must be met:
Cisco 800 series software with RCAPI support is installed on the router.
Both the CAPI local device console and RCAPI client devices on the LAN
are correctly installed and configured with RVS-COM client driver software.
5-4
78-5372-06
Chapter 5
Configuring RCAPI
The following procedure provides step-by-step instructions for configuring
RCAPI on the Cisco 800 series router:
Step 1
Step 2
Set the switch type. In the following example, the switch type is set to European
Telecommunication Standards Institute (ETSI).
router(config)# isdn switch-type basic-net3
Step 3
Enter the RCAPI directory number assigned by the ISDN provider for the device.
For example:
router(config)# rcapi number 12345
Step 4
Optional. Perform this step only if you wish to specify a port number for RCAPI
functions. Otherwise, the default port 2578 is used. Configure the same number
on both the router and client PC. For example:
router(config)# rcapi server port 2000
Step 5
5-5
Chapter 5
Configuring RCAPI
Step 6
Set the switch type for the BRI0 interface. In the following example, the switch
type is set to ETSI.
router(config-if)# isdn switch-type basic-net3
Step 7
Set the modem as the default handler for incoming voice calls.
router(config-if)# isdn incoming-voice modem
Step 8
Step 9
Step 10
Optional. In privileged EXEC mode, start the debug program to run in the
background.
router# debug rcapi events
Step 11
5-6
78-5372-06
C H A P T E R
Physical Characteristics
This section discusses the following:
6-1
Chapter 6
Physical Characteristics
Command
Purpose
Step 1
Step 2
pots line-type
{type1 | type2 | type3}
Step 3
pots dialing-method
{overlap | enblock}
Step 4
pots disconnect-supervision
{osi | reversal}
Step 5
6-2
78-5372-06
Chapter 6
Command
Purpose
Step 6
pots tone-source
{local | remote}
Step 7
pots ringing-freq
{20Hz | 25Hz | 50Hz}
Step 8
Step 9
Step 10
Step 11
6-3
Chapter 6
Note
REN
You can connect multiple devices (analog telephone or fax machine) to a router
telephone port. The number of devices that you can connect depends on the
following:
REN of each device that you plan to connect. (You can usually find the REN
on the bottom of a device.)
If the REN of each device you plan to connect is one, then you can connect a
maximum of five devices to that particular telephone port.
6-4
78-5372-06
Chapter 6
Command
Purpose
Step 1
Step 2
destination-pattern ldn
Step 3
port port-number
Step 4
no call-waiting
Step 5
ring cadence-number
Step 6
For example, if you have connected one voice device (555-1111) to port 1 and
another (555-2222) to port 2, you can create two dial peers. The following output
example shows two dial peers:
dial-peer voice 1 pots
destination-pattern 5551111
port 1
no call-waiting
ring 0
dial-peer voice 2 pots
destination-pattern 5552222
port 2
no call-waiting
ring 0
When a caller dials 555-1111, the call is routed to port 1. When a caller dials
555-2222, the call is routed to port 2. If the dial peers are not created, calls to both
numbers are routed to port 1.
6-5
Chapter 6
Note
Make sure that all ISDN directory numbers associated with a service profile
identifier (SPID) are associated with one port. For example, if both 555-1111 and
555-2222 are associated with SPID 1 and you associate 555-1111 to port 1 and
555-2222 to port 2, you will not be able to make calls on ports 1 and 2
simultaneously.
Purpose
Step 1
interface bri0
Step 2
6-6
78-5372-06
Chapter 6
Note
If you do not enter the isdn incoming-voice modem command, the router rejects
incoming ISDN voice calls.
A voice call always supercedes (bumps) a data call. This is the default
setting.
A voice call supercedes a data call only if there are more than one call to the
same destination.
Purpose
6-7
Chapter 6
For example, if you enter the following command, the outgoing voice priority for
all directory numbers specified in the isdn spid1 command is set to conditional:
router(config-if)# isdn spid1 0 4085551111 4085552222 4085553333
router(config-if)# isdn voice-priority 5551111 out conditional
Table 6-1 describes the possible data call scenarios, what happens when a voice
call comes in, and what happens when you place an outgoing voice call with a
particular configuration.
Table 6-1
Scenario
Always
Conditional
Off
The setting of the pots dialing-method command determines whether you hear a
busy signal if a data call cannot be bumped when you are trying to make an
outgoing call. If the setting is overlap, you hear a busy signal when you pick up
the handset. If the setting is enblock, you hear a dial tone initially, then a busy
signal.
6-8
78-5372-06
Chapter 6
74937
6-9
Chapter 6
Table 6-2
Callout
Number
Description
Analog telephone
Ethernet LAN
Figure 6-2
Table 6-3
Callout
Number
Description
Analog telephone
Router
Ethernet LAN
74938
6-10
78-5372-06
Chapter 6
Note
When the router is configured for DOV, ISDN BRI calls are made with VBC,
which has a data rate of 56 kbps, instead of the usual ISDN BRI data rate of
64 kbps.
Use the following command to configure the router to accept incoming DOV
calls:
isdn incoming-voice data 56
Follow these steps to configure the router to place outgoing DOV calls:
Command
Purpose
Step 1
Step 2
Step 3
dialer voice-call
Step 4
Distinctive Ringing
A ringing cadence is a pattern of a ringing and a quiet period. There are two types
of ringing cadences: a primary ringing cadence and distinct ringing. The primary
cadence is determined by the country where your router is located. In addition to
the primary cadence, you can configure up to two distinctive rings on a telephone
port.
Because the router associates a distinctive ring with the ISDN directory number
assigned to an interface, you must configure a distinctive ring with a dial peer. For
information on dial peers and how to configure them, see the Creating Dial
Peers section on page 6-4.
6-11
Chapter 6
Note
Generally your telephone service provider assigns one ISDN directory number for
each SPID. You must have one ISDN directory number for each distinctive ring
that you set up. Therefore, if you want to set up two distinctive rings, you must
request an additional ISDN directory number from your telephone service
provider.
To configure the ringing cadence, insert the following commands into a dial-peer
configuration:
ring cadence-number
where cadence-number can be 0, 1, or 2.
Type 1 is a distinctive ring0.8 seconds on, 0.4 seconds off, 0.8 seconds on,
4 seconds off.
Type 2 is a distinctive ring0.4 seconds on, 0.2 seconds off, 0.4 seconds on,
0.2 seconds off, 0.8 seconds on, 4 seconds off.
By default, the ring cadence is set to 0, which means that the interface uses the
primary ringing cadence.
You can also insert the following command syntax into a dial-peer configuration:
pots distinctive-ring-guard-time milliseconds
where milliseconds can be a number from 50 to 1000. This command configures
the delay, in milliseconds, before a telephone port can be rung after a previous call
is disconnected. The default is no delay.
Caller Identification
In addition to an analog telephone or fax machine, North American users can
connect a caller ID device to the router telephone ports. This device displays the
telephone numbers of incoming callers. The Cisco 800 series routers support the
following caller ID devices:
AT&T 25
AT&T 85 Plus
6-12
78-5372-06
Chapter 6
CIDCO
Fans Callscreener
The Cisco 800 series routers do not support the following devices:
TTY System
6-13
Chapter 6
Step 2
Send the entire set of digits to the switch by using one of the following methods:
Wait 12 seconds without entering any digits. After 12 seconds, the router
sends the set of digits to the switch.
Note
Call Waiting
Call Transfer
Call Forwarding
6-14
78-5372-06
Chapter 6
Put the active call on hold, and get a dial tone by quickly pressing the telephone
receiver (flash) button once, and then entering **95# on the telephone keypad.
Step 2
Step 3
Toggle between the two calls by quickly pressing the flash button.
If you hang up with a call still on hold, the phone rings to remind you of the
outstanding call. Pick up the handset to reconnect to the call.
Call Waiting
For this feature to work, you must request it when you order your ISDN line. For
information on ordering your ISDN line, see Appendix D, Provisioning an ISDN
Line.
By default, call waiting is enabled. You can disable it permanently by using the
no call-waiting command. (You might want to disable it for fax machines.)
Because the router associates call waiting with the ISDN directory number
assigned to a telephone interface, you should disable call waiting at the same time
that you are configuring a dial peer. For information on dial peers and how to
configure them, refer to the Creating Dial Peers section on page 6-4.
To disable call waiting on a per-call basis, enter **99# on the telephone keypad.
During an active voice call, a call-waiting tone sounds if another call comes in.
Subsequent tones sound at 10-second intervals until the incoming caller hangs up
or until you answer the call. During this time, the incoming caller hears ringing.
6-15
Chapter 6
When you hear the call-waiting tone, you can do one of the following:
Put the current call on hold, and answer the incoming call
To put the current call on hold and answer the incoming call, quickly press the
telephone receiver (flash) button once. Press this button again to go back to the
current call.
Put the first party on hold and get a dial tone by quickly pressing the telephone
receiver (flash) button once.
Step 2
Step 3
Add the first party to the call by quickly pressing the flash button.
6-16
78-5372-06
Chapter 6
Call Transfer
For this feature to work, you must request it when you order your ISDN line. For
information on ordering your ISDN line, see Appendix D, Provisioning an ISDN
Line.
If you are connected to a National ISDN-1 (NI1) or a Northern Telecom DMS-100
Custom switch, you might need to activate this feature, using the following
command syntax:
isdn transfer-code range
The range is from 0 to 999. The default code is 61. Your telephone service
provider should provide a code when you order this feature; if a code other than
61 is provided, you need to reconfigure the code by using the isdn transfer-code
command.
Otherwise, you do not need to configure the router to make this feature work.
You can transfer an incoming or outgoing voice call to another party. To transfer
a call, do the following:
Note
If you are connected to an NTT switch, you will not be able to transfer an outgoing
call.
Step 1
Put the first party on hold, and get a dial tone by quickly pressing the telephone
receiver (flash) button once.
Step 2
Dial the second party to which you want to transfer the call.
Step 3
Hanging up
If you hang up, the telephone rings to indicate that the first party is still on hold.
6-17
Chapter 6
Call Forwarding
The call forwarding feature works for Sweden and Finland only. For this feature
to work, you must request it when you order your ISDN line. For information on
ordering your ISDN line, see Appendix D, Provisioning an ISDN Line.
The router supports the following call forwarding features:
Call forwarding no reply (CFNR)you can forward incoming calls that are
not answered within a defined period to another telephone number.
Call forwarding busy (CFB)you can forward incoming calls that get a busy
signal to another telephone number.
To make sure that the router accepts the activation and deactivation of the call
forwarding features using the telephone keypad, use the pots country country
command in global configuration mode. The country variable is the country that
your router is in. Enter the pots country ? command to get a list of supported
countries and the code you must enter to indicate a particular country.
To activate call forwarding unconditional, call forwarding no reply, or call
forwarding busy, follow these steps:
Step 1
Step 2
Your telephone service provider should provide the number for each call
forwarding feature. For example, to forward a call to 408-555-2222, enter the
following:
*21*4085552222#
Step 3
6-18
78-5372-06
Chapter 6
Step 2
Your telephone service provider should provide the number for each call
forwarding feature. For example, to deactivate call forwarding, enter the
following:
#21#
Step 3
Note
In the U.S., the call forwarding variable (CFV) feature is available with the NI1
capability package EZ-1. With CFV, you can forward incoming calls. You can
turn this feature on or off through access codes supplied by your telephone service
provider.
6-19
Chapter 6
where port is the port number 1 or 2, and number is the telephone number to dial.
Note
The router does not turn off dual tone multifrequency (DTMF) detection from
the telephone when you enter the POTS dial command. If you do not terminate
the number variable with a pound (#) character, you can complete the call by
using the telephone key pad.
The following example shows the POTS dial command:
router# test pots 1 dial 4085551234#
Output Example
The following is an example of the show pots csm command screen output:
router# show pots csm 1
POTS PORT: 1
CSM Finite State Machine:
Call 0 - State: idle, Call Id: 0x0
Active: no
Event: CSM_EVENT_NONE Cause: 0
6-20
78-5372-06
Chapter 6
0x0
Cause: 0
0x0
Cause: 0
router#
Entering this command activates events by which your dial application can
determine the progress of calls to and from the ports.
6-21
Chapter 6
or
hh:mm:ss: EVENT_FROM_ISDN:dchan_idb=0x???????, call_id=0x????, ces=?
bchan=0x????????, event=0x?, cause=0x??
where:
bchan is the channel used by the call. A value of 0xFFFFFFFF indicates that
a channel is not assigned.
CSM States
Table 6-4 shows the values for CSM states.
Table 6-4
CSM States
CSM State
Description
CSM_IDLE_STATE
Telephone on hook
CSM_RINGING
Telephone ringing
6-22
78-5372-06
Chapter 6
Table 6-4
CSM State
Description
CSM_SETUP
CSM_DIALING
CSM_IVR_DIALING
CSM_CONNECTING
CSM_CONNECTED
Call connected
CSM_DISCONNECTING
CSM_NEAR_END_DISCONNECTING
CSM_HARD_HOLD
CSM_CONSULTATION_HOLD
CSM_WAIT_FOR_HOLD
CSM_WAIT_FOR_CONSULTATION_HOLD
CSM_CONFERENCE
CSM_TRANSFER
CSM_APPLIC_DIALING
CSM Events
Table 6-5 shows the values for CSM events.
Table 6-5
CSM Events
CSM Events
Description
CSM_EVENT_INTER_DIGIT_TIMEOUT
CSM_EVENT_TIMEOUT
CSM_EVENT_ISDN_CALL
Incoming call
CSM_EVENT_ISDN_CONNECTED
Call connected
CSM_EVENT_ISDN_DISCONNECT
6-23
Chapter 6
Table 6-5
CSM Events
Description
CSM_EVENT_ISDN_DISCONNECTED
Call disconnected
CSM_EVENT_ISDN_SETUP
CSM_EVENT_ISDN_SETUP_ACK
CSM_EVENT_ISDN_PROC
CSM_EVENT_ISDN_CALL_PROGRESSING
CSM_EVENT_ISDN_HARD_HOLD
CSM_EVENT_ISDN_HARD_HOLD_REJ
CSM_EVENT_ISDN_CHOLD
CSM_EVENT_ISDN_CHOLD_REJ
CSM_EVENT_ISDN_RETRIEVED
Call retrieved
CSM_EVENT_ISDN_RETRIEVE_REJ
CSM_EVENT_ISDN_TRANSFERRED
Call transferred
CSM_EVENT_ISDN_TRANSFER_REJ
CSM_EVENT_ISDN_CONFERENCE
CSM_EVENT_ISDN_CONFERENCE_REJ
CSM_EVENT_ISDN_IF_DOWN
CSM_EVENT_ISDN_INFORMATION
CSM_EVENT_VDEV_OFFHOOK
CSM_EVENT_VDEV_ONHOOK
Telephone on hook
CSM_EVENT_VDEV_FLASHHOOK
CSM_EVENT_VDEV_DIGIT
CSM_EVENT_VDEV_APPLICATION_CALL
6-24
78-5372-06
Chapter 6
Events
Table 6-6 shows the values for events that are translated into CSM events.
Table 6-6
Hexadecimal
Value
Event
CSM Event
0x0
DEV_IDLE
CSM_EVENT_ISDN_DISCONNECTED
0x1
DEV_INCALL
CSM_EVENT_ISDN_CALL
0x2
DEV_SETUP_ACK
CSM_EVENT_ISDN_SETUP_ACK
0x3
DEV_CALL_PROC
CSM_EVENT_ISDN_PROC
0x4
DEV_CONNECTED
CSM_EVENT_ISDN_CONNECTED
0x5
DEV_CALL_PROGRESSING
CSM_EVENT_ISDN_CALL_PROGRESSING
0x6
DEV_HOLD_ACK
CSM_EVENT_ISDN_HARD_HOLD
0x7
DEV_HOLD_REJECT
CSM_EVENT_ISDN_HARD_HOLD_REJ
0x8
DEV_CHOLD_ACK
CSM_EVENT_ISDN_CHOLD
0x9
DEV_CHOLD_REJECT
CSM_EVENT_ISDN_CHOLD_REJ
0xa
DEV_RETRIEVE_ACK
CSM_EVENT_ISDN_RETRIEVED
0xb
DEV_RETRIEVE_REJECT
CSM_EVENT_ISDN_RETRIEVE_REJ
0xc
DEV_CONFR_ACK
CSM_EVENT_ISDN_CONFERENCE
0xd
DEV_CONFR_REJECT
CSM_EVENT_ISDN_CONFERENCE_REJ
0xe
DEV_TRANS_ACK
CSM_EVENT_ISDN_TRANSFERRED
0xf
DEV_TRANS_REJECT
CSM_EVENT_ISDN_TRANSFER_REJ
6-25
Chapter 6
Cause Values
Table 6-7 shows cause values that are assigned only to call-progressing events.
Table 6-7
Hexadecimal
Value
Cause Definitions
0x01
UNASSIGNED_NUMBER
0x02
NO_ROUTE
0x03
NO_ROUTE_DEST
0x04
NO_PREFIX
0x06
CHANNEL_UNACCEPTABLE
0x07
CALL_AWARDED
0x08
CALL_PROC_OR_ERROR
0x09
PREFIX_DIALED_ERROR
0x0a
PREFIX_NOT_DIALED
0x0b
EXCESSIVE_DIGITS
0x0d
SERVICE_DENIED
0x10
NORMAL_CLEARING
0x11
USER_BUSY
0x12
NO_USER_RESPONDING
0x13
NO_USER_ANSWER
0x15
CALL_REJECTED
0x16
NUMBER_CHANGED
0x1a
NON_SELECTED_CLEARING
0x1b
DEST_OUT_OF_ORDER
0x1c
INVALID_NUMBER_FORMAT
0x1d
FACILITY_REJECTED
0x1e
RESP_TO_STAT_ENQ
0x1f
UNSPECIFIED_CAUSE
6-26
78-5372-06
Chapter 6
Table 6-7
Hexadecimal
Value
Cause Definitions
0x22
NO_CIRCUIT_AVAILABLE
0x26
NETWORK_OUT_OF_ORDER
0x29
TEMPORARY_FAILURE
0x2a
NETWORK_CONGESTION
0x2b
ACCESS_INFO_DISCARDED
0x2c
REQ_CHANNEL_NOT_AVAIL
0x2d
PRE_EMPTED
0x2f
RESOURCES_UNAVAILABLE
0x32
FACILITY_NOT_SUBSCRIBED
0x33
BEARER_CAP_INCOMPAT
0x34
OUTGOING_CALL_BARRED
0x36
INCOMING_CALL_BARRED
0x39
BEARER_CAP_NOT_AUTH
0x3a
BEAR_CAP_NOT_AVAIL
0x3b
CALL_RESTRICTION
0x3c
REJECTED_TERMINAL
0x3e
SERVICE_NOT_ALLOWED
0x3f
SERVICE_NOT_AVAIL
0x41
CAP_NOT_IMPLEMENTED
0x42
CHAN_NOT_IMPLEMENTED
0x45
FACILITY_NOT_IMPLEMENT
0x46
BEARER_CAP_RESTRICTED
0x4f
SERV_OPT_NOT_IMPLEMENT
0x51
INVALID_CALL_REF
0x52
CHAN_DOES_NOT_EXIST
0x53
SUSPENDED_CALL_EXISTS
6-27
Chapter 6
Table 6-7
Hexadecimal
Value
Cause Definitions
0x54
NO_CALL_SUSPENDED
0x55
CALL_ID_IN_USE
0x56
CALL_ID_CLEARED
0x58
INCOMPATIBLE_DEST
0x5a
SEGMENTATION_ERROR
0x5b
INVALID_TRANSIT_NETWORK
0x5c
CS_PARAMETER_NOT_VALID
0x5f
INVALID_MSG_UNSPEC
0x60
MANDATORY_IE_MISSING
0x61
NONEXISTENT_MSG
0x62
WRONG_MESSAGE
0x63
BAD_INFO_ELEM
0x64
INVALID_ELEM_CONTENTS
0x65
WRONG_MSG_FOR_STATE
0x66
TIMER_EXPIRY
0x67
MANDATORY_IE_LEN_ERR
0x6f
PROTOCOL_ERROR
0x7f
INTERWORKING_UNSPEC
6-28
78-5372-06
Chapter 6
Call Scenario 1
In this call scenario, port 1 is on-hook, the application dial is set to call
4085552221, and the far end successfully connects. The following example shows
the Cisco IOS command:
router# test pots 1 dial 4085552221#
router#
The following screen output shows an event indicating that port 1 is being used
by the dial application:
01:0, port = 1
The following screen output shows events indicating that the CSM is receiving
the application digits of the number to dial:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
01:58:27:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
call
call
call
call
call
call
call
call
call
call
id
id
id
id
id
id
id
id
id
id
=
=
=
=
=
=
=
=
=
=
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
port
port
port
port
port
port
port
port
port
port
=
=
=
=
=
=
=
=
=
=
1
1
1
1
1
1
1
1
1
1
The following screen output shows that the telephone connected to port 1 is off
hook:
01:58:39: CSM_PROC_APPLIC_DIALING: CSM_EVENT_VDEV_OFFHOOK, call id = 0x0, port = 1
The following screen output shows a call-proceeding event pair indicating that the
router ISDN software has sent the dialed digits to the ISDN switch:
01:58:40: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8004, ces=0x1 bchan=0x0,
event=0x3, cause=0x0
01:58:40: CSM_PROC_ENBLOC_DIALING: CSM_EVENT_ISDN_PROC, call id = 0x8004, port = 1
The following screen output shows the call-progressing event pair indicating that
the telephone at the far end is ringing:
01:58:40: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8004, ces=0x1 bchan=0xFFFFFFFF,
event=0x5, cause=0x0
01:58:40: CSM_PROC_ENBLOC_DIALING: CSM_EVENT_ISDN_CALL_PROGRESSING, call id = 0x8004, port
= 1
6-29
Chapter 6
The following screen output shows a call-connecting event pair indicating that the
telephone at the far end has answered:
01:58:48: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8004, ces=0x1 bchan=0xFFFFFFFF,
event=0x4, cause=0x0
01:58:48: CSM_PROC_CONNECTING: CSM_EVENT_ISDN_CONNECTED, call id = 0x8004, port = 1
The following screen output shows a call-progressing event pair indicating that
the telephone at the far end has hung up, and the calling telephone is receiving an
in-band tone from the ISDN switch:
01:58:55: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8004, ces=0x1 01:58:55:
CSM_PROC_CONNECTED: CSM_EVENT_ISDN_CALL_PROGRESSING,
call id = 0x8004, port = 1
The following screen output shows that the telephone connected to port 1 has
hung up:
01:58:57: CSM_PROC_CONNECTED: CSM_EVENT_VDEV_ONHOOK, call id = 0x8004, port = 1
The following screen output shows an event pair indicating that the call has been
terminated:
01:58:57: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8004, ces=0x1 bchan=0xFFFFFFFF,
event=0x0, cause=0x0
01:58:57: CSM_PROC_NEAR_END_DISCONNECT: CSM_EVENT_ISDN_DISCONNECTED, call id = 0x8004,
port = 1
813_local#
Call Scenario 2
In this scenario, port 1 is on-hook, the application dial is set to call 4085552221,
and the destination number is busy. The following example shows the Cisco IOS
command:
router# test pots 1 dial 4085552221#
router#
The following screen output shows that your dial application is using port 1:
01:59:42: CSM_PROC_IDLE: CSM_EVENT_VDEV_APPLICATION_CALL, call id = 0x0, port = 1
The following screen output shows the events indicating that the CSM is
receiving the application digits of the number to call:
01:59:42: CSM_PROC_APPLIC_DIALING: CSM_EVENT_VDEV_DIGIT, call id =
0x0, port = 1
Cisco 800 Series Software Configuration Guide
6-30
78-5372-06
Chapter 6
01:59:42:
01:59:42:
01:59:42:
01:59:42:
01:59:42:
01:59:42:
01:59:42:
01:59:42:
01:59:42:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_PROC_APPLIC_DIALING:
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
CSM_EVENT_VDEV_DIGIT,
call
call
call
call
call
call
call
call
call
id
id
id
id
id
id
id
id
id
=
=
=
=
=
=
=
=
=
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
0x0,
port
port
port
port
port
port
port
port
port
=
=
=
=
=
=
=
=
=
1
1
1
1
1
1
1
1
1
The following screen output shows an event indicating that the telephone
connected to port 1 is off-hook:
01:59:52: CSM_PROC_APPLIC_DIALING: CSM_EVENT_VDEV_OFFHOOK, call id = 0x0, port = 1
The following screen output shows a call-proceeding event pair indicating that the
telephone at the far end is busy:
01:59:52: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8005, ces=0x1 bchan=0x0,
event=0x3, cause=0x11
01:59:52: CSM_PROC_ENBLOC_DIALING: CSM_EVENT_ISDN_PROC, call id = 0x8005, port = 1
The following screen output shows a call-progressing event pair indicating that
the calling telephone is receiving an in-band busy tone from the ISDN switch:
01:59:58: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8005, ces=0x1 bchan=0xFFFFFFFF,
event=0x5, cause=0x0
01:59:58: CSM_PROC_ENBLOC_DIALING: CSM_EVENT_ISDN_CALL_PROGRESSING, call id = 0x8005, port
= 1
The following screen output shows an event indicating that the calling telephone
has hung up:
02:00:05: CSM_PROC_ENBLOC_DIALING: CSM_EVENT_VDEV_ONHOOK, call id = 0x8005, port = 1
The following screen output shows an event pair indicating that the call has
terminated:
02:00:05: EVENT_FROM_ISDN:dchan_idb=0x280AF38, call_id=0x8005, ces=0x1 bchan=0xFFFFFFFF,
event=0x0, cause=0x0
02:00:05: CSM_PROC_NEAR_END_DISCONNECT: CSM_EVENT_ISDN_DISCONNECTED, call id = 0x8005,
port = 1
6-31
Chapter 6
Call Scenario 3
In this call scenario, port 1 is on-hook, the application dial is set to call
4086661112, the far end successfully connects, and the command test pots
disconnect terminates the call.
router# debug pots csm
router# test pots 1 dial 4086661112
router#
The following screen output follows the same sequence of events as shown in Call
Scenario 1:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
1d03h:
The test pots disconnect command disconnects the call before you have to put
the telephone back on hook.
1d03h: CSM_PROC_CONNECTING: CSM_EVENT_VDEV_APPLICATION_HANGUP_CALL, call id = 0x8039,
port = 1
1d03h: EVENT_FROM_ISDN:dchan_idb=0x2821F38, call_id=0x8039, ces=0x1
bchan=0xFFFFFFFF, event=0x0, cause=0x0
6-32
78-5372-06
Chapter 6
Caller ID Display
E Ya Yo
Voice Warp
Nariwake
Trouble-Call Blocking
I Number
6-33
Chapter 6
Caller ID Display
This feature displays the caller ID information provided by the INS-NET-64
switch on analog telephones connected to the PHONE 1 or 2 port of the Cisco 813
router.
Note
Configuration of the router using the Cisco IOS command pots country jp
6-34
78-5372-06
Chapter 6
Configuration of the router using the Cisco IOS command pots country jp.
where number is the telephone number to block. You can use a period (.) as a
wildcard to substitute for one or more numbers to block. For example, to block all
numbers ending in the number 5, you can enter the following:
block-caller .5
You can enter up to ten caller ID numbers for each LDN. However, you cannot
exceed the maximum of ten numbers. You must remove one or more numbers
before you can add any new numbers to block.
If no caller ID numbers are specified for a particular LDN, all voice calls to that
LDN are accepted.
6-35
Chapter 6
6-36
78-5372-06
Chapter 6
Configuration of the router using the Cisco IOS command pots country jp
The call waiting defaults to remote if this feature is not configured. In that case,
the call holding pattern follows the settings of the service provider rather than
those of the router.
To display the call waiting setting, use the show run or show pots status
command.
Note
The ISDN call waiting service will be used if it is available on the ISDN line
connected to the router even if local call waiting is configured on the router.
If ISDN call waiting is used, the local call waiting configuration on the router
is ignored.
6-37
Chapter 6
E Ya Yo
This feature conceals the caller ID of the outgoing call from the receiving device.
Configuration of the router using the Cisco IOS command pots country jp
Configuring E Ya Yo
According to the NTT specification, dialing the prefix 184 followed by the
destination device number will render your caller ID invisible to the receiving
party.
Voice Warp
The voice warp feature on the INS-NET-64 switch forwards all incoming calls for
a terminal device to another device. Voice warp registration, activation, and
deactivation requests are sent to the switch for each LDN. The Cisco 813 router
supports the registration, activation, and deactivation requests for any device
attached to the PHONE 1 or 2 port. The forwarding function itself is performed
by the INS-NET-64 switch.
During the registration phase of the device, you can:
Create a list of forwarding destination numbers and to select one as the active
destination.
6-38
78-5372-06
Chapter 6
During the activation phase of this feature, you determine whether calls are
redirected all the time or only if the receiving device is busy or does not answer
within the no-answer time period specified during registration.
This feature can be deactivated after its registration and activation phases.
Note
The Cisco 813 router supports this feature for one LDN only. If more than one
LDN is configured, only the primary LDN can be used with this feature.
Note
Configuration of the router using the Cisco IOS command pots country jp
Activating the voice warp feature disables the support for the call waiting
feature for both local and network calls.
6-39
Chapter 6
Note
The Cisco 813 router supports this feature for one LDN only. If more than one
LDN is configured, only the primary LDN can be used with this feature.
Note
Configuration of the router using the Cisco IOS command pots country jp
Activating the voice select warp feature disables the support for the call
waiting feature for both local and network calls.
Nariwake
Nariwake checks for caller IDs that you register for each LDN and presents a
distinctive ring to the telephone port receiving the incoming call if a match is
detected. The Cisco 813 router provides three different ring cadences that you can
set for calls from registered and unregistered callers. The number of caller IDs
you can register for each LDN at one time is defined by the INS-NET-64 switch
and not by the router.
You can register this feature with the list of caller IDs for each LDN, cancel the
registration for the LDN, or get registration information from the INS-NET-64
switch.
6-40
78-5372-06
Chapter 6
Note
The Cisco 813 router supports this feature for one LDN only. If more than one
LDN is configured, only the primary LDN can be used with this feature.
Note
Configuration of the router using the Cisco IOS command pots country jp
Activating the Nariwake feature disables support for the call waiting feature
for both local and network calls.
Configuring Nariwake
To configure the ring cadence for this feature, use the registered-caller ring
command in the dial-peer configuration mode:
registered-caller ring cadence
Note
If your ISDN line is provisioned for the I Number or dial-in services, you must
also configure a dial-peer using the Cisco IOS command destination-pattern
not-provided. Either port 1 or 2 can be configured under this dial-peer. The
router will then forward the incoming call to the voice port 1 using the default
cadence 0. See the Example of Nariwake Configuration section for details.
If more than one dial-peer is configured with destination-pattern
not-provided, the router uses only the first dial-peer for the incoming calls.
6-41
Chapter 6
To hear the caller ID registration details, use the keypad dialing sequence
specified in the NTT user manual. Information is transmitted only by voice.
Trouble-Call Blocking
The trouble-call blocking feature causes all future incoming calls from a
particular telephone number to be rejected by the network if the recipient
activates this feature after the initial call. As the recipient of the call, you are not
required to specify the telephone number of the caller and will not be notified of
subsequent connection attempts from that telephone number. When this feature is
activated, the caller will hear a standard telephone announcement and a
disconnect message. For information about the announcement or message, see
your NTT user manual.
6-42
78-5372-06
Chapter 6
The number of callers that you can block is defined by the service provider at the
time the service is provisioned. If you request an additional telephone number to
block after having reached the limit, the oldest number is discarded (unblocked)
before the latest telephone number is registered for blocking.
Configuration of the router using the Cisco IOS command pots country jp
Note
To activate this feature, you must dial the keypad sequence within 60 seconds
after you hang up from the call. You will be notified over the telephone
whether or not the activation is successful.
You can disable this feature for only the last registered number or for all numbers
registered for blocking. You will be notified over the telephone whether or not the
cancellation is successful.
You can request to hear the results of the trouble-call blocking. You will hear the
number of attempted calls that were blocked for the past two months.
I Number
This feature supports the use of multiple terminal devices with one subscriber
line. The telephone numbers of the subscriber line and router ports are assigned
by the service provider. Calls coming into any of the assigned numbers will route
through the same subscriber line to the terminal device attached to the target port.
6-43
Chapter 6
Configuration of the router using the Cisco IOS command pots country jp
Configuring I Number
To configure this feature, perform the following steps:
Step 1
Use the isdn i-number command in the BRI interface configuration mode to
configure the I number:
isdn i-number number ldn
where number is a value from 1 to 3 (based on NTT specifications) and ldn is your
local directory number configured under the dial-peer. The number variable maps
the I number to one of the LDNs.
Step 2
6-44
78-5372-06
Chapter 6
6-45
Chapter 6
caller-id
no forward-to-unused-port
call-waiting
ring 0
no silent-fax
registered-caller ring 1
port 2
volume 3
destination-pattern 7773100
!
Caller ID presentation and restriction are available for Denmark and Finland.
For more information, see the Configuring Caller ID for the Net3 Switch
section on page 6-47.
Call forwarding is enabled by using Cisco IOS and dual tone multifrequency
(DTMF) commands. For more information, see the Call Forwarding for the
Net3 Switch section on page 6-48.
Call transfer enables you to connect two call destinations. The request for this
service must originate from an active, outgoing call.
6-46
78-5372-06
Chapter 6
Call holding
Call transfer
Call forwarding
Call waiting
Note
Caller ID for the Net3 switch is always enabled, provided that the POTS
country type is correctly defined. Caller ID cannot be disabled using the
Cisco IOS command-line interface (CLI).
To verify whether caller ID is enabled, use the show pots status command. The
following is an example of the output from that command:
router# show pots status
POTS Global Configuration:
Country:Denmark
Dialing Method:Overlap, Tone Source:Local, CallerId Support:YES
---------------------Out Going Hunt:Disabled
6-47
Chapter 6
Call forward busy (CFB) redirects your call to another number if your number
is busy.
Call forward no reply (CFNR) forwards your call to another number if your
number does not answer within a specified period of time.
You can select one or more call forwarding services at a time. However, CFU has
the highest precedence, CFB the next highest, and CFNR the lowest. The default
setting is that no forwarding type is selected.
Note
If you had configured call forwarding for a POTS port and the router finds that
a dial peer is also configured for that port, call forwarding works only for the
number defined in the destination-pattern dial-peer command and ignores all
other numbers for that telephone. If the router does not find a dial peer, or if
the destination pattern is not defined, call forwarding works for all numbers
allocated to the ISDN line.
To enable and configure this feature, follow these steps:
Step 1
Enable and select the call forwarding method. See the Configuring the Call
Forwarding Method section on page 6-49.
Step 2
6-48
78-5372-06
Chapter 6
Functional method gives control to the router. If you select this method, use
the DTMF commands documented in the Configuring the Call Forwarding
Service section on page 6-49.
To enable the call forwarding method, use the Cisco IOS pots
forwarding-method command in global configuration mode:
pots forwarding-method {functional | keypad}
no pots forwarding-method
Note
Task
Activate CFU
**21*number#
where number is the telephone number to which your calls are forwarded
Deactivate CFU
#21#
6-49
Chapter 6
Table 6-8
Task
Activate CFNR
**61*number#
where number is the telephone number to which your calls are forwarded
Deactivate CFNR
#61#
Activate CFB
**67*number#
where number is the telephone number to which your calls are forwarded
Deactivate CFB
#67#
You should hear a dial tone after you enter the DTMF commands if the call
forwarding service is successfully configured. If you hear a busy signal, the
command is invalid or the switch does not support that service.
:33236877
:33795742
6-50
78-5372-06
Chapter 6
Configuring CLIR
Configure CLIR by following these steps:
Step 1
Step 2
Step 3
Step 4
Repeat Steps 2 and 3 for each outgoing call for which you wish to restrict your
calling identification.
For more information about using debug commands, refer to the Cisco IOS
documentation.
6-51
Chapter 6
Prefix Dialing
Redial
Call Transfer
Volume Adjustments
Prefix Dialing
Cisco 803 and Cisco 804 routers support prefix dialing. You can add a telephone
prefix and create a prefix filter to the dialed number for analog telephone calls.
When a telephone number is dialed through the telephone port, the router checks
for prefix filters. If the router finds a match, no prefix is added to the dialed
number. If no filter match is found, the router adds the user-defined prefix to the
called number.
where number is a prefix number from 1 to 5 digits in length. Only one prefix can
be configured at a time, and configuring a new number will overwrite the existing
one.
6-52
78-5372-06
Chapter 6
where number is a prefix filter from 1 to 8 digits in length. You can define up to
ten filters for your router. If you have reached the maximum number of filters
defined, no new filter configurations are accepted until you remove at least one
existing filter number using the no pots prefix filter number command.
The following are examples of how to set prefix filters:
router# configure terminal
router(config)# pots prefix
router(config)# pots prefix
router(config)# pots prefix
router(config)# pots prefix
router(config)# pots prefix
filter
filter
filter
filter
filter
192
1
9
0800
08456
During a call between ports, an incoming voice call cannot supersede the data
calls. The router sends a disconnect message to the network for incoming
voice calls.
If voice priority is set on the router and two data calls are in progress, an
attempted call between ports takes precedence over one of the data calls. This
applies to the overlap mode of dialing.
6-53
Chapter 6
The call waiting tone is not activated for the local telephone ports even if call
waiting is enabled locally or at the switch. An external calling party hears a
busy tone if the telephone ports are engaged.
POTS 1
POTS 2
B1
Channel
B2
Channel
IDLE
IDLE
Free
IDLE
IDLE
IDLE
IDLE
Command
Result
Free
Intercom call is
established.
Data call
in
progress
Free
Intercom call is
established.
IDLE
Data call
in
progress
Data call
in
progress
Intercom call is
established. But in
overlap mode, one data
call is bumped
IDLE
Data call
in
progress
Data call
in
progress
Intercom call is
established successfully
in enblock mode. User
gets busy tone in overlap
mode.
6-54
78-5372-06
Chapter 6
Table 6-9
POTS 1
POTS 2
IDLE
B1
Channel
B2
Channel
IDLE
Data call
in
progress
Intercom
Intercom
Intercom
Command
Result
Data call
in
progress
Free
Free
Intercom
Free/data
call
Free/data
call
IDLE
External
voice call
IDLE
External
voice call
IDLE
External
voice call
6-55
Chapter 6
Redial
This feature enables you to redial the last number called on either telephone
port 1 or 2. The following conditions apply:
This feature recalls only the last digits dialed, to a maximum of 65.
The router does not store feature access codes starting with an asterisk (*),
interactive voice response (IVR) digits, or the pound (#) key.
Event/Condition
Command
Result
6-56
78-5372-06
Chapter 6
Call Transfer
The call transfer feature enables you to transfer an external call from one
telephone port to the other. Call transfer does not require any subscription from
the switch.
Event/Condition
External caller dialed
POTS 1 or POTS 2 port
and the user decides to
transfer the call to the
other port.
Called
Port
IDLE
BUSY
External caller dialed
POTS 1 or POTS 2 port.
POTS 1 or POTS 2
decides to transfer the call
to the other port, but that
port is busy with a call.
Command
Result
6-57
Chapter 6
Called
Port
Event/Condition
External caller dialed
POTS 1 or POTS 2. The
user decides to transfer
the call to the other port
and keep the phone on
hook without checking
the availability of the
port.
IDLE
Command
Result
Volume Adjustments
The volume adjustment features enables you to adjust the receiver volume of the
POTS ports.
To configure the telephone receiver volume on each port, use the Cisco IOS
volume command in the dial-peer configuration mode:
volume number
Number
Volume Setting in dB
-12
-9
-6
-3
6-58
78-5372-06
Chapter 6
Note
The distinctive ringing feature does not require subscription to any special
service on the ISDN switch. However, if the Nariwake subscription is already
active, then Nariwake takes precedence over this feature.
6-59
Chapter 6
Cadence
Description
0.25 sec on, 0.2 sec off, 0.25 sec on, 2.3 sec off
(NTT defined non-regular ring)
0.5 sec on, 0.25 sec off, 0.25 sec on, 2 sec off
(Cisco defined non-regular ring)
6-60
78-5372-06
Chapter 6
Condition
Event
Result
An incoming voice
call comes from the
configured caller ID
for POTS 1 or POTS
2.
An incoming voice
call comes from the
caller ID number
configured for
POTS 1 or POTS 2.
An incoming voice
call comes from that
caller ID number
configured for
POTS 1 or POTS 2.
6-61
Chapter 6
6-62
78-5372-06
Chapter 6
no subaddress number
where number is the subaddress of a POTS port. Only one subaddress can be
configured for each port. By default, no subaddresses are configured.
Subaddressing Scenarios
Table 6-15 shows scenarios for subaddresses for a POTS port.
Table 6-15 Subaddress Scenarios
Condition
Event
Result
An external voice
call comes in with a
called number and
subaddress to the
router.
An external voice
call comes in with a
called number and a
subaddress to the
router.
6-63
Chapter 6
6-64
78-5372-06
Chapter 6
For more information about using debug commands, refer to the Cisco IOS
documentation.
If the forwarded destination does not pick up the call within the timeout
period, the router disconnects the call.
6-65
Chapter 6
Note
The call forwarding feature uses the B channels to forward the voice call and
to connect the caller and the forwarded destination. If one or both B channels
are busy with data calls, the incoming voice call supersedes the data calls.
Condition
B1 Channel
B2 Channel
Event
Result
The feature is
enabled through
the
command-line
interface.
Free.
Free.
An external
voice call comes
in to POTS 1 or
POTS 2.
6-66
78-5372-06
Chapter 6
Condition
B1 Channel
B2 Channel
Event
Result
The feature is
enabled through
the
command-line
interface.
The feature is
enabled through
the
command-line
interface.
An external
voice call comes
in to POTS 1 or
POTS 2.
The feature is
enabled through
the
command-line
interface.
Voice call
Voice call
An external
in progress. in progress. voice call comes
in to POTS 1 or
POTS 2.
6-67
Chapter 6
Condition
B1 Channel
B2 Channel
Event
Result
Local call
forwarding
is on.
An external
voice call comes
in to POTS 1 or
POTS 2.
Local call
forwarding
is on.
pots
8765432 after 0
pots
1234567 after 3
6-68
78-5372-06
Chapter 6
ring 0
volume 2
caller 1111111 ring 1
caller 2223323 ring 2
caller 3213213 ring 3
caller 8552345ring 1
caller 2223456 ring 2
caller 3214567 ring 2
subaddress 10
forward 1234567 after 3
E-mail service
This enables the user to send and receive e-mail messages. E-mail is a basic
service of the PHS multimedia communications menu.
Fax service
This enable faxing of data stored in a Personal Digital Assistant (PDA).
Internet access
Internet access has influenced PHS in that many users want to be able to
obtain necessary information in a timely manner when they are outdoors. It
is also projected that PHS will be used extensively to form intranets for
in-house communications by facilitating the expansion of office LAN access
points.
6-69
Chapter 6
The Cisco 800 series routers will accept incoming PIAFS calls from a peer
supporting PIAFS 2.2 and will behave as speed variable type 2 devices. The
Cisco 800 series routers will not request speed change but will respond to the
speed change requests from the peer. See Table 6-17 below.
Table 6-17 PIAFS Protocol for Request and Response
Fixed speed
Fixed speed
The table indicates that the Cisco 800 series routers will act only as a PIAFS speed
variable type 2 device for all the peers supporting PIAFS 2.2.
Configuring PIAFS
This feature is available by default in all images. It is enabled when the ISDN
switch type is set to INS (NTT) and PPP encapsulation is configured on the ISDN
interface.
6-70
78-5372-06
Chapter 6
PIAFS Scenarios
Table 6-18 shows scenarios for PIAFS. The feature is activated when the ISDN
switch type is set to INS(NTT) and PPP encapsulation is configured on the ISDN
interface.
Table 6-18 Scenarios for PIAFS
B1 Channel
B2 Channel
Event
Result
Free
Free
An incoming PIAFS
call comes in to the
router.
Data or voice
Free
call in progress
An incoming PIAFS
call comes in to the
router.
Data or voice
Data or voice
An incoming PIAFS
call in progress call in progress call comes in to the
router.
Free
Free
6-71
Chapter 6
B1 Channel
B2 Channel
Event
Free
Free
The router is handling a Since PIAFS 2.0 supports only fixed rate
64 kbps PIAFS 2.0 call. PIAFS call, the router does not accept the
PIAFS call.
During handover, the
new cell is not able to
allocate two channels
for maintaining
64 kbps, so it requests
the router to decrease
the speed of the PIAFS
call from 64 kbps to
32 kbps.
The router is handling a
64 kbps PIAFS 2.1 call.
During handover, the
new cell is not able to
allocate two channels
for maintaining
64 kbps, so it requests
the router to decrease
the speed of the PIAFS
call from 64 kbps to
32 kbps.
Free
PIAFS call in
progress
Result
6-72
78-5372-06
Chapter 6
PIAFS Status
The status of the PIAFS calls on the router can be checked by using the following
command in privileged mode:
show piafs status
6-73
Chapter 6
6-74
78-5372-06
C H A P T E R
Note
7-1
Chapter 7
Determine the number of PVCs that your service provider is giving you,
together with their virtual path identifiers (VPIs) and virtual channel
identifiers (VCIs).
For each PVC determine the type of AAL5 encapsulation supported. It can be
one of the following:
AAL5SNAP: This can be either routed RFC 1483 or bridged RFC 1483.
In the case of routed RFC 1483, the service provider has to provide you
with a static IP address. In the case of bridged RFC 1483, you may use
DHCP to obtain your IP address or you may be given a static IP address
from your service provider.
AAL5MUX PPP: With this type, you need to determine PPP-related
configuration items.
7-2
78-5372-06
Chapter 7
name.
PPP authentication type: Challenge Handshake Authentication Protocol
If you are setting up a connection to a corporate network, you and its network
administrator must generate and share the following information for the
WAN interfaces of the routers:
PPP authentication type: CHAP or PAP.
PPP client name to access the router.
PPP password to access the router.
If you are setting up IP routing, generate the addressing scheme for your IP
network.
7-3
Chapter 7
For complete information on how to access global configuration mode, see the
Entering Global Configuration Mode section on page A-8. For more
information on the commands used in the following tables, refer to the Cisco IOS
Release 12.0 documentation set.
Task
Step 1
configure terminal
Step 2
hostname name
Step 3
Step 4
ip subnet-zero
Step 5
no ip domain-lookup
Task
Step 1
interface ethernet 0
Step 2
7-4
78-5372-06
Chapter 7
Command
Task
Step 3
no shutdown
Step 4
exit
Configuration Example
The following example shows the Ethernet interface configuration. You do not
need to enter the commands marked default. These commands appear
automatically in the configuration file that is generated when you use the show
running-config command.
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
!
7-5
Chapter 7
Task
Step 1
Step 2
encapsulation ppp
Step 3
Step 4
Step 5
pvc vpi/vci
Step 6
Step 7
Step 8
dialer-group number
Step 9
exit
Configuration Example
The following example shows the dialer interface configuration. You do not need
to input the commands marked default. These commands appear automatically
in the configuration file that is generated when you use the show running-config
command.
!
interface atm0
pvc 1/40
encapsulation aal5mux ppp dialer
7-6
78-5372-06
Chapter 7
dialer pool-member 1
!
interface dialer 0
ip address 200.200.100.1 255.255.255.0
encapsulation ppp
dialer pool 1
!
Virtual-access 1 is up means that the interface is up and running. If you see the
output Virtual-access 1 is down, it means that the interface is administratively
down, and the interface is configured with the shutdown command. To bring the
interface up, you must enter the no shutdown command.
7-7
Chapter 7
Configuration Tasks
Follow the steps below to configure the loopback interface.
Command
Task
Step 1
interface Loopback 0
Step 2
Step 3
ip nat outside
Step 4
exit
Sample Configuration
The loopback interface in this sample configuration is used to support NAT on the
virtual-template interface. This sample configuration shows the loopback
interface configured on the Ethernet interface with an IP address of
200.200.100.1/24, which acts as a static IP address. The loopback interface points
back to virtual-template1, which has a negotiated IP address.
!
interface Loopback0
ip address 200.200.100.1 255.255.255.0 (static IP address)
ip nat outside
!
interface Virtual-Template1
ip unnumbered loopback0
no ip directed-broadcast
ip nat outside
!
7-8
78-5372-06
Chapter 7
Another way to verify the loopback interface is to send multiple ping packets to it:
Router#ping 200.200.100.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 200.200.100.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 1/2/4 ms
7-9
Chapter 7
Note
The default service class for configuring the ATM interface is unspecified bit rate
(ubr). You can change the service class to variable bit rate non-real time (vbr-nrt)
or variable bit rate real time (vbr-rt) by using one of these commands: vbr-nrt or
vbr-rt. Refer to the Cisco IOS Release 12.0 documentation set. For more
information on definitions of service classes, see Chapter 1, Concepts.
Command
Task
Step 1
interface ATM 0
Step 2
Step 3
Step 4
Step 5
Step 6
pvc vpi/vci
Step 7
Step 8
encapsulation protocol
Step 9
tx-ring-limit number
Step 10
no shutdown
Step 11
exit
1. This step is optional. If you specify the AAL5MUX PPP encapsulation, you will need to add an additional step to specify the
dialer pool-member number using the command dialer-pool member number.
7-10
78-5372-06
Chapter 7
7-11
Chapter 7
Virtual-access 1 is up means that the interface is up and running. If you see the
output Virtual-access 1 is down, it means that the interface is administratively
down, and the interface is configured with the shutdown command. To bring the
interface up, you must enter the no shutdown command.
7-12
78-5372-06
Chapter 7
Task
Step 1
line console 0
Step 2
password password
Step 3
login
Step 4
exec-timeout 10 0
Step 5
line vty 0 4
Step 6
password password
Step 7
login
Step 8
end
Configuration Example
The following configuration shows the command-line access commands.
You do not need to input the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
line con 0
exec-timeout 10 0
password 4youreyesonly
7-13
Chapter 7
Configuring Bridging
login
transport input none (default)
stopbits 1 (default)
line vty 0 4
password secret
login
!
Configuring Bridging
Bridges are store-and-forward devices that use unique hardware addresses to filter
traffic that would otherwise travel from one segment to another. You can
configure the routers as pure bridges.
Follow the steps below to configure bridging, beginning in global configuration
mode.
Command
Task
Step 1
no ip routing
Disable IP routing.
Step 2
Step 3
interface ethernet 0
Step 4
bridge-group number
Step 5
no shutdown
Step 6
exit
Step 7
interface ATM 0
Step 8
Step 9
7-14
78-5372-06
Chapter 7
Command
Task
Step 10
Step 11
pvc vpi/vci
Step 12
encapsulation type
Step 13
bridge-group number
Step 14
no shutdown
Step 15
end
Configuration Example
The following configuration example uses bridging with AAL5SNAP
encapsulation. You do not need to enter the commands marked default. These
commands appear automatically in the configuration file that is generated when
you use the show running-config command.
This configuration example shows the Ethernet and ATM interfaces configured.
The Ethernet interface has IP addressing turned off for bridging, and IP directed
broadcast is disabled, which prevents the translation of directed broadcasts to
physical broadcasts. The bridge-group number to which the ATM interface is
associated is set to 1.
The ATM interface has a PVC of 8/35, and the encapsulation is set to
AAL5SNAP. The IP address is disabled for bridging and the IP directed broadcast
is disabled, which prevents the translation of directed broadcasts to physical
broadcasts. The bridge protocol is set to 1 to define the STP.
no ip routing
!
interface Ethernet0
no ip address
no ip directed-broadcast (default)
Cisco 800 Series Software Configuration Guide
78-5372-06
7-15
Chapter 7
Configuring Bridging
bridge-group 1
!
interface ATM0
no ip address
no ip directed-broadcast (default)
pvc 8/35
encapsulation aal5snap
!
bridge-group 1
!
ip classless (default)
!
bridge 1 protocol ieee
!
end
7-16
78-5372-06
Chapter 7
Task
Step 1
ip classless
Step 2
Step 3
end
Configuration Example
In the following configuration example, the static route is sending all IP packets
with a destination of 1.0.0.0 and a subnet mask of 255.0.0.0 out on the ATM
interface to another device with an IP address of 14.0.0.1. Specifically, the
packets are being sent to the configured PVC.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
7-17
Chapter 7
!
ip classless (default)
ip route 1.0.0.0 255.0.0.0 atm0 14.0.0.1
no ip http server (default)
!
7-18
78-5372-06
Chapter 7
Configuring RIP
Follow the steps below to configure RIP routing protocol on the router, beginning
in global configuration mode.
Command
Task
Step 1
router rip
Step 2
version 2
Step 3
network network-number
Step 4
no auto-summary
Step 5
end
Configuration Example
The following configuration shows RIP version 2 enabled in IP network
10.10.10.0.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
router rip
version 2
network 10.0.0.0
no auto-summary
!
7-19
Chapter 7
Configuring IP EIGRP
C
R
Configuring IP EIGRP
Follow the steps below to configure IP EIGRP, beginning in global configuration
mode.
Command
Task
Step 1
Step 2
network network-number
Step 3
end
7-20
78-5372-06
Chapter 7
Configuration Example
The following configuration shows EIGRP routing protocol enabled in IP
networks 10.0.0.0 and 172.17.0.0. The EIGRP autonomous system number is
assigned as 100.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
router eigrp 100
network 10.0.0.0
network 172.17.0.0
!
C
D
7-21
Chapter 7
Configuring NAT
You can configure NAT for either static or dynamic address translations.
Follow the steps below to configure static or dynamic inside source translation,
beginning in global configuration mode.
Command
Task
Step 1
Step 2
Step 3
Step 4
ip nat inside source static local-ip global-ip Enable static translation of specified inside
number extendable
local address to globally unique IP address.
This command is optional.
Step 5
interface ethernet 0
Step 6
ip nat inside
Step 7
exit
Step 8
interface atm 0
Step 9
7-22
78-5372-06
Chapter 7
Command
Task
Step 10
Step 11
Step 12
ip nat outside
Step 13
exit
Note
If you want to use NAT with a virtual template interface, you must configure a
loopback interface.
For complete information on the NAT commands, refer to the
Cisco IOS Release 12.0 documentation set. For general information on NAT
concepts, see Chapter 1, Concepts.
Configuration Example
The following configuration shows NAT configured for the Ethernet and ATM
interfaces.
The Ethernet 0 interface has an IP address of 192.168.1.1 with a subnet mask of
255.255.255.0. NAT is configured for inside, which means that the interface is
connected to the inside network that is subject to NAT translation.
The ATM 0 interface has an IP address of 200.200.100.1 and a subnet mask of
255.255.255.0. NAT is configured for outside, which means that the interface is
connected to an outside network, such as the Internet.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
no ip directed-broadcast (default)
7-23
Chapter 7
ip nat inside
!
interface ATM0
ip address 200.200.100.1 255.255.255.0
no ip directed-broadcast (default)
ip nat outside
no atm ilmi-keepalive (default)
pvc 8/35
encapsulation aal5snap
!
ip route 0.0.0.0.0.0.0.0 200.200.100.254
!
ip nat pool test 200.200.100.1 200.200.100.1 netmask 255.255.255.0
ip nat inside source list 101 pool test overload
ip classless (default)
!
7-24
78-5372-06
Chapter 7
Task
Step 1
access-list access-list-number permit source Define a standard access list that permits
[source-wildcard]
nonregistered IP addresses of hosts.
Step 2
Step 3
interface ethernet 0
Step 4
ip nat inside
Step 5
no shutdown
Step 6
exit
Step 7
interface dialer
Step 8
ip address negotiated
Step 9
ip nat outside
Step 10
Step 11
exit
Step 12
interface ATM 0
Step 13
Step 14
78-5372-06
7-25
Chapter 7
Command
Task
Step 15
Step 16
pvc vpi/vci
Step 17
Step 18
Step 19
no shutdown
Step 20
exit
7-26
78-5372-06
Chapter 7
Figure 7-1
2
Cisco 827
Cisco 3600
74583
ATM
3
5
Table 7-1
Callout
Number
Description
DHCP client
DHCP relay
DHCP server
Configuring DHCP
The following sections describe how to configure the router as a DHCP client,
server, or relay.
Configure the BVI interface by entering the ip address dhcp client-id Ethernet
0 command.
7-27
Chapter 7
Configuring DHCP
Specifying the value client-id ethernet0 means that the MAC address of the
Ethernet interface is used as the client ID when the DHCP request is sent.
Otherwise, the MAC address of the BVI interface is used as the client ID.
Step 2
Step 3
Configure NAT:
a.
b.
c.
d.
Configure the Cisco router to act as a DHCP server. This step is optional.
a.
At the config-if router prompt, enter the ip dhcp pool server name
command.
b.
Enter the import all command to have the Cisco router retrieve the Microsoft
Windows nameserver (WINS) and domain name system (DNS) server
addresses for name resolution.
Configuration Example
The following example shows a configuration of the DHCP client.
Current configuration:
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname c827
!
!
ip subnet-zero
ip dhcp excluded-address 10.10.10.1
!
ip dhcp pool SERVER
network 10.10.10.0 255.255.255.0
7-28
78-5372-06
Chapter 7
default-router 10.10.10.1
import all
!
bridge irb
interface Ethernet0
ip address 10.10.10.1 255.255.255.0
no ip directed-broadcast
ip nat inside
!
interface ATM0
no ip address
no ip directed-broadcast
no atm ilmi-keepalive
bundle-enable
hold-queue 208 in
!
interface ATM0.1 point-to-point
no ip directed-broadcast
pvc 1/100
encapsulation aal5snap
!
bridge-group 1
!
interface ATM0.2 point-to-point
ip address 5.0.0.2 255.0.0.0
no ip directed-broadcast
pvc 1/101
protocol ip 5.0.0.1 broadcast
protocol ip 5.0.0.5 broadcast
encapsulation aal5snap
!
!
interface BVI1
ip address dhcp client-id Ethernet0
no ip directed-broadcast
ip nat outside
!
ip nat inside source list 1 interface BVI1 overload
ip classless
ip route 0.0.0.0 0.0.0.0 BVI1
no ip http server
!
access-list 1 permit 10.10.10.0 0.0.0.255
bridge 1 protocol ieee
bridge 1 route ip
!
voice-port 1
timing hookflash-in 0
7-29
Chapter 7
Configuring DHCP
!
voice-port 2
timing hookflash-in 0
!
voice-port 3
timing hookflash-in 0
!
voice-port 4
timing hookflash-in 0
!
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line vty 0 4
password lab
login
!
scheduler max-task-time 5000
end
Task
Step 1
Step 2
Step 3
Step 4
dns-server ip-address
Step 5
netbios-name-server ip-address
Step 6
default-router ip-address
7-30
78-5372-06
Chapter 7
Command
Task
Step 7
Step 8
exit
Configuration Example
The following configuration shows a DHCP server configuration for the IP
address 20.1.1.2.
!
ip dhcp pool CLIENT
network 20.20.20.0 255.255.255.0
domain-name cisco.com
default-router 20.20.20.20
netbios-name-server 1.1.1.1
dns-server 1.1.1.2
lease 0 1
!
sh dhcp server
dhcp binding
dhcp conflict
dhcp server statics
7-31
Chapter 7
Configuring DHCP
Follow the steps below to configure the DHCP relay, beginning in global
configuration mode.
Command
Task
Step 1
interface Ethernet 0
Step 2
ip helper-address address
Step 3
no shutdown
Step 4
exit
Configuration Example
The following configuration contains commands relevant to DHCP relay only.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
int Ethernet0
ip address 192.168.100.1 255.255.255.0
ip helper-address 200.200.200.1
!
7-32
78-5372-06
Chapter 7
Acks:0
Bad: 0
Naks:0
Configuring TACACS+
The Cisco 806, 827, 831, 836, 837, 827H, and 827-4V routers and the
Cisco SOHO 71, 91, 96, and 97 routers support the Terminal Access Controller
Access Control System Plus (TACACS+) protocol through Telnet. TACACS+ is
a Cisco proprietary authentication protocol that provides remote access
authentication and related network security services, such as event logging. User
passwords are administered in a central database rather than in individual routers.
TACACS+ also provides support for separate modular authentication,
authorization, and accounting (AAA) facilities that are configured at individual
routers.
To configure your router to support TACACS+, perform the following tasks:
Command
Task
Step 1
aaa new-model
Step 2
tacacs-server host
Step 3
tacacs-server key
7-33
Chapter 7
Command
Task
Step 4
aaa authentication
Step 5
line
Task
Step 1
Step 2
access-list 100 deny ip ip adddress-mask any Deny any Internet host from spoofing any
host on the network.
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
access-list 100 deny tcp any ip address-mask Restrict any Internet host from making a
Telnet connection to any host on the network.
7-34
78-5372-06
Chapter 7
Command
Task
Step 9
interface atm 0
Step 10
Step 11
Step 12
Step 13
ip access-group 100 in
Step 14
no shutdown
Step 15
exit
Configuration Example
This configuration shows an access list being applied to IP address 192.168.1.0.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file generated when you use the
show running-config command.
!
access-list 101 permit tcp any host 192.168.1.0 0.0.0.255
!
7-35
Chapter 7
Note
Configuring a policy map and specify priority queuing for voice class
Associating the policy map to the ATM PVC and decreasing the MTU of the
ATM interface
7-36
78-5372-06
Chapter 7
Configuring IP Precedence
IP Precedence gives voice packets a higher priority than other IP data traffic. The
ip precedence command is used by the router to differentiate voice traffic from
data traffic. Therefore, you need to ensure that the data IP packets do not have the
same IP precedence as that of the voice packets.
Follow the steps below to configure real-time voice traffic precedence over other
IP network traffic, beginning in global configuration mode.
Command
Task
Step 1
Step 2
destination-pattern number
Step 3
Step 4
ip precedence number
Step 5
exit
Note
Task
access-list 101 permit ip any any precedence Configure an access list to match voice
5
packets.
7-37
Chapter 7
Command
Task
Step 2
class-map voice
Step 3
Task
Step 1
Step 2
class voice
Step 3
priority number
1.
Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
Configuring a Policy Map and Specifying Priority Queuing for Voice Class
Follow the steps below to associate the policy map to the ATM PVC and decrease
the MTU of the ATM interface so that large data packets are fragmented,
beginning in global configuration mode.
Command
Task
Step 1
Step 2
class voice
Step 3
priority bandwidth
Step 4
exit
1.
Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
7-38
78-5372-06
Chapter 7
Associating the Policy Map to the ATM PVC and Decreasing the ATM Interface
MTU
Use the following table to associate the policy map to the ATM PVC and decrease
the MTU, beginning in global configuration mode. It is recommended that 300 is
used for the MTU size because it is larger than the size of the voice packets
generated by the different codecs.
Note
The default service class for configuring the ATM interface is unspecified bit rate
(ubr). In order to attach the policy map to the ATM PVC, you must use a service
class of vbr-nrt or vbr-rt.
Command
Task
Step 1
interface ATM 0
Step 2
Step 3
pvc vpi/vci
Step 4
encapsulation protocol
Step 5
Step 6
Step 7
exit
Step 8
mtu number
Step 9
no shutdown
Step 10
exit
7-39
Chapter 7
Configuration Example
The following example shows a voice QoS configuration in a single-PVC
environment using AAL5SNAP encapsulation.
!
dial-peer voice 105 voip
destination-pattern 3..
session target ipv4:10.1.2.3
ip precedence 5
access-list 101 permit ip any any precedence critical
class-map voice
match access-group 101
policy-map mypolicy
class voice
priority 480
int atm0
mtu 300
pvc 8/35
encapsulation aal5snap
service-policy out mypolicy
vbr-rt 640 640 10
!
7-40
78-5372-06
Chapter 7
Associating the Policy Map with the ATM PVC and Using TCP MSS Adjust
Note
Task
Step 1
access-list 101 permit ip any any precedence Configure an access list to match voice
packets.
Step 2
class-map voice
Step 3
7-41
Chapter 7
Task
Step 1
Step 2
class voice
Step 3
priority bandwidth
1.
Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
Associating the Policy Map with the ATM PVC and Using TCP
MSS Adjust
Perform the steps below to associate the policy map with the ATM PVC and to
use the TCP MSS adjust command to control delay, beginning in global
configuration mode.
Note
The default service class for configuring the ATM interface is unspecified bit rate
(ubr). To attach the policy map to the ATM PVC, you must use a service class of
vbr (nrt) or vbr (rt).
Command
Task
Step 1
interface ATM 0
Step 2
Step 3
Step 4
7-42
78-5372-06
Chapter 7
Command
Task
Step 5
pvc vpi/vci
Step 6
encapsulation protocol
Step 7
Step 8
Step 9
exit
Step 10
Step 11
no shutdown
Step 12
exit
Configuration Example
The following example shows a voice QoS configuration in a single-PVC
environment using AAL5SNAP encapsulation.
access-list 101 permit ip any any precedence critical
class-map voice
match access-group 101
policy-map mypolicy
class voice
7-43
Chapter 7
Configuring a Single-PVC Environment Using PPP over ATM and Multilink Encapsulation
priority 480
int atm0
dsl equipment-type CPE
dsl linerate AUTO
ip tcp-mss 1452
pvc 8/35
encapsulation aaal5snap
service-policy out mypolicy
vbr-rt 1000 1000 1
tx-ring-limit 5
!
7-44
78-5372-06
Chapter 7
Note
Command
Task
Step 1
Step 2
class voice
Step 3
priority bandwidth
1.
Total bandwidth for the policy map may not exceed 75 percent of the total PVC bandwidth.
Task
Step 1
interface ATM 0
Step 2
Step 3
78-5372-06
7-45
Chapter 7
Configuring a Single-PVC Environment Using PPP over ATM and Multilink Encapsulation
Command
Task
Step 4
Step 5
pvc vpi/vci
Step 6
encapsulation protocol
Step 7
Step 8
Step 9
exit
The purpose of LFI is to reduce latency for delay-sensitive traffic. Two things
happen when LFI is used:
Small packets received from delay-sensitive sources are interleaved with the
large packet fragments.
7-46
78-5372-06
Chapter 7
Command
Task
Step 1
bandwidth bandwidth-kpts
Step 2
ppp multilink
Step 3
Step 4
Step 5
Step 6
Step 7
Step 8
policy-map name
Step 9
class name
Step 10
priority number
Step 11
Step 12
Note
LFI should not be used when you have a link that exceeds 1 Mbps because, at this
high speed, the latency of sending a big packet is small enough that the benefit of
LFI is not required. Using LFI may actually increase latency because the extra
processing time required to fragments packets may become a bottleneck.
7-47
Chapter 7
10.0.0.0
c827
11.0.0.0
Ethernet 0
P1 P2 P3 P4
Task
Step 1
Step 2
Step 3
pvc vpi/vci
7-48
78-5372-06
Chapter 7
Command
Task
Step 4
encapsulation type
Step 5
Step 6
Step 7
Step 8
pvc vpi/vci
Step 9
encapsulation type
Step 10
Step 11
exit
Configuration Example
The following example shows a voice QoS configuration with all data traffic on
the 30.0.0.1 network and all voice traffic on the 20.0.0.1 network.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
interface ATM0.1 point-to-point
ip address 20.0.0.1 255.0.0.0
no ip directed-broadcast (default)
pvc 1/100
protocol ip 20.0.0.2 broadcast
vbr-rt 424 424 5
encapsulation aal5snap
!
interface ATM0.2 point-to-point
ip address 30.0.0.1 255.0.0.0
no ip directed-broadcast (default)
pvc 1/101
protocol ip 30.0.0.2 broadcast
encapsulation aal5snap
7-49
Chapter 7
Voice and Data on the Same Subnet with Virtual Circuit Bundling
1
c827
74586
4
P1 P2 P3 P4
Callout Number
Description
Ethernet 0
Bundle
7-50
78-5372-06
Chapter 7
The tasks for configuring a voice and data network on the same subnet with virtual
circuit bundling are as follows:
Configuring the ATM Interface, PVC-Bundle for Voice and Data, and IP
Precedence for Voice Packets
Follow the steps below to configure the ATM interface, the PVC-bundle for voice
and data, and IP Precedence for the voice packets, beginning in global
configuration mode.
Command
Task
Step 1
interface ATM 0
Step 2
Step 3
Step 4
Step 5
Step 6
bundle name
Step 7
encapsulation type
Step 8
Step 9
Step 10
Step 11
ip precedence number
7-51
Chapter 7
Command
Task
Step 12
Step 13
ubr pcr
Step 14
precedence other
Step 15
exit
1.
2.
Task
Step 1
Step 2
destination-pattern number
Step 3
Step 4
precedence number
Note
7-52
78-5372-06
Chapter 7
Configuration Example
The following configuration shows both voice and data on the same subnet with
virtual circuit bundling. IP precedence is set to 5 for the voice packets, but not for
the data packets so that the traffic can be separated onto two different ATM PVCs.
!
interface atm0
ip address 20.0.0.1 255.0.0.0
bundle test
encapsulation aal5snap
protocol ip 20.0.0.2 broadcast
!
pvc-bundle voice 1/100
vbr-rt 424 424 5
precedence 5
!
pvc-bundle data 1/101
precedence other
!
dial-peer voice 100 voip
destination-pattern 26..
session target ipv4:20.0.0.8
ip precedence 5
!
Then configure the backup interface for DDR, so that calls are placed as needed.
7-53
Chapter 7
Note
When you use a BRI for a dial backup, neither of the B channels can be used while
the interface is in standby mode. In addition, when a BRI is used as a backup
interface and the BRI is configured for legacy DDR, only one B channel is usable.
Once the backup is initiated over one B channel, the second B channel is
unavailable. When the backup interface is configured for dialer profiles, both B
channels can be used.
For more information regarding the available dial backup mechanisms in IOS,
please go to the following URL:
http://www.cisco.com/warp/public/123/backup-main.html
A delay that applies after the primary line goes down but before the secondary
line is activated
A delay that applies after the primary line comes up but before the secondary
line is deactivated
7-54
78-5372-06
Chapter 7
7-55
Chapter 7
Configuration Example
The following example shows configuration of dial backup and remote router
management on the Cisco 831 and Cisco 837 routers using the console port and
dialer watch.
!
username Router password !PASSWORD
!
modemcap entry MY_USR_MODEM:MSC=&F1S0=1
!
chat-script Dialout ABORT ERROR ABORT BUSY "" "AT" OK "ATDT 5555102\T"
TIMEOUT 60 CONNECT \c
!
interface Async1
no ip address
encapsulation ppp
dialer in-band
dialer pool-member 3
autodetect encapsulation ppp
async default routing
async dynamic routing
async mode dedicated
pap authentication pap callin
!
! Dialer3 is for dial backup and remote router management
!
interface Dialer3
ip address negotiated
encapsulation ppp
no ip route-cache
no ip mroute-cache
dialer pool 3
dialer remote-name !REMOTE-NAME
dialer idle-timeout 300
dialer string 5555102 modem-script Dialout
dialer watch-group 1
dialer-group 1
autodetect encapsulation ppp
peer default ip address 192.168.2.2
no cdp enable
ppp pap sent-username ! USER SPECIFIC password ! USER SPECIFIC
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
! IP NAT over Dialer interface using route-map
7-56
78-5372-06
Chapter 7
7-57
Chapter 7
Configuration Example
The following example shows dial backup and remote management configuration
on the Cisco 836 router, using the ISDN S/T port and dialer watch.
Cisco836#
!
7-58
78-5372-06
Chapter 7
vpdn enable
!
vpdn-group 1
accept-dialin
protocol pppoe
!
!Specifies the ISDN switch type
isdn switch-type basic-net3
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
hold-queue 100 out
!
!ISDN interface to be used as a backup interface
interface BRI0
no ip address
encapsulation ppp
dialer pool-member 1
isdn switch-type basic-net3
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 1/40
encapsulation aal5snap
pppoe-client dial-pool-number 2
!
dsl operating-mode auto
!
! Dial backup interface, associated with physical BRI0 interface.
Dialer pool 1 associates it with BRI0s dialer pool member 1. Note
dialer watch-group 1 associates a watch list with corresponding
dialer watch-list command
interface Dialer0
ip address negotiated
encapsulation ppp
dialer pool 1
dialer idle-timeout 30
dialer string 384040
dialer watch-group 1
dialer-group 1
!
! Primary interface associated with physical ATM0 interface, dialer
pool 2 associates it with ATM0s dial-pool-number2
interface Dialer2
ip address negotiated
ip mtu 1492
encapsulation ppp
7-59
Chapter 7
dialer pool 2
dialer-group 2
no cdp enable
!
ip classless
!Primary and backup interface given route metric
ip route 0.0.0.0 0.0.0.0 22.0.0.2
ip route 0.0.0.0 0.0.0.0 192.168.2.2 80
ip http server
!
!Watch for interesting traffic
dialer watch-list 1 ip 22.0.0.2 255.255.255.255
!Specifies interesting traffic to trigger backup ISDN traffic
dialer-list 1 protocol ip permit
!
Task
Step 1
ip multicast-routing
Step 2
Step 3
interface ethernet 0
Step 4
Step 5
Step 6
interface Ethernet 1
7-60
78-5372-06
Chapter 7
Command
Task
Step 7
Step 8
Step 9
Step 10
end
Step 11
interface loopback 0
Step 12
Step 13
ip pim sparse-mode
Step 14
Step 15
ip igmp proxy-service
7-61
Chapter 7
Configuration Example
The following example shows the relevant IGMP proxy and sparse mode
commands. The Ethernet 0, Ethernet 1, and loopback 0 interfaces have been
configured for PIM sparse mode; the PIM RP address has been defined as
10.5.1.1.
ip pim rp-address 10.5.1.1 5
access-list 5 permit 239.0.0.0 255.255.255.255
!
interface loopback 0
ip address 10.7.1.1 255.255.255.0
ip pim sparse-mode
ip igmp helper-address udl ethernet 0
ip igmp proxy-service
!
interface ethernet 0
ip address 10.2.1.2 255.255.255.0
ip pim sparse-mode
ip igmp unidirectional link
!
interface ethernet 1
ip address 10.5.1.1 255.255.255.0
ip pim sparse-mode
ip igmp mroute-proxy loopback 0
!
7-62
78-5372-06
Chapter 7
Configuring IPSec
Configuration Example
7-63
Chapter 7
Command
Task
Step 1
ip subnet-zero
Step 2
no ip finger
Step 3
no ip domain-lookup
Step 4
ip classless
Configuring IPSec
Follow the steps below to configure IPSec, starting in global configuration mode.
Command
Task
Step 1
Step 2
hash md5
Step 3
authentication pre-share
Step 4
exit
7-64
78-5372-06
Chapter 7
Command
Task
Step 5
crypto isakmp key name address ip-address Configure a pre-shared key and static IP
address for each VPN client.
Step 6
Step 7
Step 8
Step 9
Step 10
Step 11
Step 12
exit
Task
Step 1
interface tunnel 0
Step 2
Step 3
Step 4
tunnel destination
default-gateway-ip-address
7-65
Chapter 7
Command
Task
Step 5
Step 6
exit
Task
Step 1
interface ethernet 0
Step 2
Step 3
exit
Step 4
interface ethernet 1
Step 5
Step 6
Step 7
end
7-66
78-5372-06
Chapter 7
Command
Task
Step 1
Step 2
Step 3
Step 4
end
For more information on configuring IPSec, refer to the Cisco IOS Security
Configuration Guide.
Configuration Example
This configuration example for the Cisco 831 router shows IPSec being used over
a GRE tunnel. The example also applies to a Cisco SOHO 91 router. You do not
need to enter the commands marked default. These commands appear
automatically in the configuration file that is generated when you use the show
running-config command.
!
version 12.2
no service pad
service timestamps debug datetime msec
7-67
Chapter 7
7-68
78-5372-06
Chapter 7
!
access-list 151 permit gre host 100.1.1.2 host 100.1.1.1
!
line con 0
no modem enable
stopbits 1
line aux 0
line vty 0 4
!
scheduler max-task-time 5000
7-69
Chapter 7
Task
Step 1
interface dialer
Step 2
ppp multilink
7-70
78-5372-06
Chapter 7
Command
Task
Step 3
bandwidth n
Step 4
Step 5
Step 6
Step 7
exit
Configuration Example
The following configuration defines a dialer interface that enables multilink PPP
with interleaving and a maximum real-time traffic delay of 20 ms. The
encapsulation type is defined as aal5mux.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file generated when you use the
show running-config command.
7-71
Chapter 7
Configuring IP Precedence
!
interface dialer 1
ppp multilink
encapsulated ppp
ppp multilink interleave
bandwidth 640
ppp multilink fragment-delay 20
ip rtp reserve 16384 100 64
!
interface ATM0
pvc 8/35
encapsulation aal5mux ppp dialer
dialer pool-member 1
Configuring IP Precedence
IP Precedence gives voice packets higher priority than other IP data traffic.
Complete the following steps to configure real-time voice traffic precedence over
other IP network traffic, beginning in global configuration mode.
Command
Task
Step 1
configure terminal
Step 2
Step 3
destination-pattern number
Step 4
ip precedence number
7-72
78-5372-06
Chapter 7
Note
Configuration Example
This configuration example shows a voice configuration with IP Precedence set.
The IP destination target is set to 8 dialing digits, which automatically sets the IP
precedence to 5 on the Cisco routers. The dial peer session target is RAS, which
is a protocol that runs between the H.323 voice protocol gateway and gatekeeper.
You do not need to enter the commands marked default. These commands
appear automatically in the configuration file that is generated when you use the
show running-config command.
!
access-list 101 permit
route-map data permit 10
set ip precedence routing
!
Configuring Voice
Command
Task
Step 1
configure dial-peer
Step 2
The Cisco 827 voice-enabled routers support voice using the H.323 signaling
protocol as the default signaling protocol.
7-73
Chapter 7
Configuring Voice
Prerequisite Tasks
Before you can configure your router to use voice, you need to perform the
following tasks:
Integrate your dial plan and telephony network into your existing IP network
topology.
Task
Step 1
Step 2
destination-pattern string
Step 3
port number
7-74
78-5372-06
Chapter 7
Command
Task
Step 1
Step 2
destination-pattern string
Step 3
codec string
Step 4
Task
Step 1
configure dial-peer
Step 2
voice-port port
Step 3
cptone country
Step 4
Step 5
description string
Step 6
comfort-noise
Step 7
impedance
7-75
Chapter 7
Configuring Voice
extension-number extension-string
To verify that you have mapped the telephone numbers correctly, enter the
show num-exp command.
After you have configured dial peers and assigned destination patterns to them,
enter the show dialplan number command to see how a telephone number maps
to a dial peer.
For complete information on the number expansion commands, refer to the
Cisco IOS documentation set.
Configuration Example
This configuration shows voice traffic configured. You do not need to enter the
commands marked default. These commands appear automatically in the
configuration file that is generated when you use the show running-config
command.
!
class-map voice
match access-group 101
!
policy-map mypolicy
class voice
priority 128
class class-default
fair-queue 16
!
ip subnet-zero
!
gateway
!
interface Ethernet0
7-76
78-5372-06
Chapter 7
7-77
Chapter 7
timeouts call-disconnect 0
!
voice-port 3
local-alerting
timeouts call-disconnect 0
!
voice-port 4
local-alerting
timeouts call-disconnect 0
!
dial-peer voice 10 voip
destination-pattern........
ip precedence 5
session target ras
!
dial-peer voice 1 pots
destination-pattern 5258111
port 1
!
dial-peer voice 2 pots
destination-pattern 5258222
port 2
!
dial-peer voice 3 pots
destination-pattern 5258333
port 3
!
dial-peer voice 4 pots
destination-pattern 5258444
port 4
!
end
7-78
78-5372-06
Chapter 7
7-79
Chapter 7
timeouts call-disconnect 0
!
voice-port 2
local-alerting
timeouts call-disconnect 0
!
voice-port 3
local-alerting
timeouts call-disconnect 0
!
voice-port 4
local-alerting
timeouts call-disconnect 0
!
dial-peer voice 101 pots
destination-pattern 14085271111
port 1
!
dial-peer voice 1100 voip
destination-pattern 12123451111
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 102 pots
destination-pattern 14085272222
port 2
!
dial-peer voice 1200 voip
destination-pattern 12123452222
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 103 pots
destination-pattern 14085273333
port 3
!
dial-peer voice 1300 voip
destination-pattern 12123453333
codec g711ulaw
session target ipv4:1.0.0.2
!
dial-peer voice 104 pots
destination-pattern 14085274444
port 4
!
dial-peer voice 1400 voip
destination-pattern 12123454444
codec g711ulaw
7-80
78-5372-06
Chapter 7
7-81
Chapter 7
ip classless (default)
!
line con 0
exec-timeout 10 0
password 4youreyesonly
login
transport input none (default)
stopbits 1 (default)
line vty 0 4
password secret
login
!
end
7-82
78-5372-06
Chapter 7
network 30.0.0.0
no auto-summary
!
no ip http server (default)
ip classless (default)
!
protocol ip 2.0.0.1 broadcast
!
line con 0
exec-timeout 0 0
transport input none (default)
stopbits 1 (default)
line vty 0 4
password secret
login
!
end
7-83
Chapter 7
!
voice-port 1/1/0
!
voice-port 1/1/1
!
dial-peer voice 101 pots
destination-pattern 5552222
port 1/0/0
!
dial-peer voice 102 pots
destination-pattern 5554444
port 1/0/1
!
dial-peer voice 103 pots
destination-pattern 5556666
port 1/1/0
!
dial-peer voice 104 pots
destination-pattern 5558888
port 1/1/1
dial-peer voice 1100 voip
destination-pattern 5551111
codec g711alaw
ip precedence 5
no vad
session target ipv4:2.0.0.3
!
dial-peer voice 1101 voip
destination-pattern 5553333
codec g711alaw
ip precedence 5
no vad
session target ipv4:2.0.0.3
!
dial-peer voice 1102 voip
destination-pattern 5555555
codec g711alaw
ip precedence 5
session target ipv4:2.0.0.3
!
dial-peer voice 1103 voip
destination-pattern 5557777
codec g711alaw
ip precedence 5
session target ipv4:2.0.0.3
!
process-max-time 200
!
7-84
78-5372-06
Chapter 7
interface Ethernet0/1
no ip address
no ip directed-broadcast (default)
shutdown
!
router rip
version 2
network 3.0.0.0
!
ip classless (default)
ip route 0.0.0.0 0.0.0.0 Ethernet 0/0
ip route 1.0.0.0 255.0.0.0 3.0.0.0
ip route 2.0.0.0 255.0.0.0 3.0.0.1
ip route 5.0.0.0 255.0.0.0 3.0.0.1
ip route 40.0.0.0 255.255.255.0 172.28.9.1
ip route 172.28.5.0 255.255.255.0 172.28.9.1
ip route 172.28.9.0 255.255.255.0 172.28.9.1
no http server
!
line con 0
transport input none (default)
line aux 0
line vty 0 4
login
!
end
7-85
Chapter 7
7-86
78-5372-06
C H A P T E R
Note
78-5372-06
8-1
Chapter 8
8-2
78-5372-06
Chapter 8
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
Cisco 828
The PPPoE client is supported on an ATM permanent virtual circuit (PVC). Only
one PPPoE client is supported on a single ATM PVC.
Follow these steps to configure the router for PPPoE client support:
Step 1
Step 2
Step 3
b.
Configure the VPDN group by entering the vpdn group tag command.
c.
d.
Specify the type of protocol in the VPDN group by entering the protocol
pppoe command.
b.
c.
Configure the PPPoE client and specify the dialer interface to use for cloning
by entering the pppoe-client dial-pool-number number command.
Configure the dialer interface by entering the int dialer number command.
a.
b.
c.
Configure the dialer pool number by entering the dialer pool number
command.
8-3
Chapter 8
Note
d.
e.
Multiple PPPoE clients can run on a different PVCs, in which case each client
has to use a separate dialer interface and a separate dialer pool, and the PPP
parameters need to be applied on the dialer interface.
A PPPoE session is initiated on the client side by the network. If the session has
a timeout or is disconnected, the PPPoE client immediately attempts to reestablish
the session.
If you enter the clear vpdn tunnel pppoe command with a PPPoE client session
already established, the PPPoE client session stops, and the PPPoE client
immediately tries to reestablish the session.
Configuration Example
The following example shows a configuration of a PPPoE client.
vpdn enable
vpdn-group 1
request-dialin
protocol pppoe
int atm0
pvc 1/100
pppoe-client dial-pool-number 1
int dialer 1
ip address negotiated
ppp authentication chap
dialer pool 1
dialer-group 1
8-4
78-5372-06
Chapter 8
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
Cisco 828
Configuration Example
The following example shows a configuration of a PPPoE client.
vpdn enable
no vpdn logging
!
vpdn-group 1
request-dialin
protocol pppoe
!
interface Ethernet0
ip address 192.168.100.1 255.255.255.0
ip tcp adjust-mss 1452
ip nat inside
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 8/35
pppoe-client dial-pool-number 1
8-5
Chapter 8
!
dsl operating-mode auto
!
interface Dialer1
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap callin
ppp pap sent-username sohodyn password 7 141B1309000528
!
ip nat inside source list 101 interface Dialer1 overload
ip route 0.0.0.0.0.0.0.0 Dialer1
access-list 101 permit ip 192.168.100.0.0.0.0.255 any
Cisco 806
Cisco 828
Link fragmentation and interleaving (LFI) reduces voice traffic delay and jitter by
fragmenting large data packets and interleaving voice packets within the data
fragments.
8-6
78-5372-06
Chapter 8
Step 2
Step 3
Step 4
Ensure that the voice and data packets have different IP precedence values so
that the router can differentiate between them. Normally, data packets should
have an IP precedence of 0, and voice packets should have an IP precedence of 5.
If the VoIP packets are generated from within the router, you may set the IP
precedence to 5 for these packets by entering the ip precedence number
command in dial-peer voice configuration mode as follows:
a.
b.
Create an access list and a class map for the voice packets.
a.
Create an access list by entering the access-list 101 permit ip any any
precedence 5 command.
b.
Create a class map for the voice packets by entering class-map match-all
voice command.
c.
Link the class map to the access list by entering the match access-group 101
command.
b.
c.
Assign the priority bandwidth to the voice traffic. The priority bandwidth
assigned to the voice traffic depends on the codec used and the number of
simultaneous calls that you allow. For example, a G.711 codec call consumes
200 kbps; therefore, to support one G.711 voice call you would enter a
priority 200 command.
b.
8-7
Chapter 8
Configuring LFI
Configuring LFI
Follow the steps below to configure the router for LFI.
Note
When you are configuring LFI, the data fragment size must be greater than the
voice packet size; otherwise, the voice packets fragment, and voice quality
deteriorates.
Step 1
Configure the dialer bandwidth. The dialer interface has a default bandwidth of
56 kbps, which may be less than the upstream bandwidth of your digital
subscriber line (DSL) connection. You can find the upstream bandwidth of your
DSL connection by entering the show dsl interface atm0 command in dialer
interface configuration mode. If you have two or more PVCs sharing the same
DSL connection, the bandwidth configured for the dialer interface must be the
same as the bandwidth allocated to its assigned PVC.
Step 2
Enable PPP multilink, and configure fragment delay and interleaving for the
dialer interface.
a.
b.
Specify the dialer bandwidth by entering the bandwidth 640 command. The
bandwidth is specified in kilobits per second (kbps).
c.
d.
e.
f.
8-8
78-5372-06
Chapter 8
Cisco 806
Cisco 831
CBTS can be used to control the WAN interface traffic transmission speed to
match the speed of the attached broadband modem or of the remote target
interface. CBTS ensures that the traffic conforms to the policies configured for it,
thereby eliminating topology bottlenecks with data-rate mismatches.
The shape average kbps and the shape peak kbps commands enable you to define
traffic shaping for an interface.
Note
b.
c.
8-9
Chapter 8
Step 2
Step 3
b.
c.
d.
e.
Enter class class-default to use the default class for all traffic other than
voice traffic. The name class-default is well known, and does not have to be
predefined using the class-map command.
f.
g.
b.
Enter class class-default to associate the default class with this policy map.
c.
Set the transmission speed to be used after traffic shaping to match the speed
of the broadband modem or remote interface by entering the shape average
kbps command, where kbps is a value in kilobits per second.
Caution
8-10
78-5372-06
Chapter 8
Step 4
Step 5
d.
Enter service-policy name to associate the LLQ policy map with the
traffic-shaping policy map. If the map name for the low-latency queue were
LLQ, then name would be LLQ.
e.
b.
Configuration Example
The following example shows how a Cisco 806 router can be configured to
connect to a broadband modem with limited bandwidth, while ensuring voice line
quality. Two policy maps are configured:
Policy map LLQ ensures that voice traffic has a strict priority queue with
bandwidth of up to 300 kbps. The policy map shape limits the total throughput to
2.2 MBps.
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password encryption
!
hostname 806-uut
!
ip subnet-zero
!
class-map match-all voice
match ip precedence 5
!
!
8-11
Chapter 8
policy-map LLQ
class voice
priority 300
class class-default
fair-queue
policy-map shape
class class-default
shape average 2250000
service-policy LLQ
!
interface Ethernet0
ip address 1.7.65.11 255.255.0.0
!
interface Ethernet1
ip address 192.168.1.101 255.255.255.0
service-policy output shape
!
ip classless
ip http server
ip pim bidir-enable
!
line con 0
stopbits 1
line vty 0 4
login
!
!
scheduler max-task-time 5000
end
!
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
Cisco 828
8-12
78-5372-06
Chapter 8
If both voice and data packets share the same PVC, it is important to reduce the
PVC transmit (TX) ring size. This reduces the maximum number of data packets
and fragments that can be in front of a voice packet in the hardware queue, thus
reducing latency.
Follow these steps to reduce the PVC TX ring size:
Step 1
Step 2
Step 3
Configuration Example
The following example combines LFI, LLQ, and the PVC TX ring configurations.
class-map match-all voice
match access-group 101
!
policy-map mypolicy
class voice
priority 200
class class-default
fair-queue
!
interface Ethernet0
ip address 70.0.0.1 255.255.255.0
no ip mroute-cache
!
interface ATM0
no ip address
bundle-enable
dsl operating-mode auto
!
interface ATM0.1 point-to-point
no ip mroute-cache
pvc 1/40
encapsulation aal5mux ppp dialer
dialer pool-member 1
tx-ring-limit 3
!
interface Dialer1
bandwidth 640
8-13
Chapter 8
8-14
78-5372-06
Chapter 8
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96 and SOHO 97
Cisco 828
Follow the steps below to configure the Cisco router for DHCP server import:
Step 1
Configure the asynchronous transfer mode (ATM) interface and the asymmetric
digital subscriber line (ADSL) operating mode.
Step 2
Create an ATM PVC for data traffic, enter virtual circuit configuration mode,
and specify the virtual path identifier/virtual channel identifier (VPI/VCI)
values, the encapsulation type, and the dial-pool member.
Step 3
Step 4
Step 5
a.
b.
c.
d.
e.
f.
Configure the network and domain name (if needed) for the DHCP pool.
b.
Configure a dialer list and a static route for the dialer interface.
Configuration Examples
The following example shows a configuration of the DHCP server import on the
Cisco 800 series and Cisco SOHO series routers.
router-820#show run
Building configuration...
Current configuration :1510 bytes
version 12.1
no service single-slot-reload-enable
no service pad
Cisco 800 Series Software Configuration Guide
78-5372-06
8-15
Chapter 8
8-16
78-5372-06
Chapter 8
!
interface Dialer0
ip address negotiated
ip mtu 1492
ip nat outside
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication chap
ppp ipcp dns request
ppp ipcp wins request
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
ip nat inside source list 101 interface Dialer0 overload
access-list 101 permit ip any any
dialer-list 1 protocol ip list 101
snmp-server manager
!
voice-port 1
voice-port 2
voice-port 3
voice-port 4
!
line con 0
transport input none
stopbits 1
line vty 0 4
scheduler max-task-time 5000
end
8-17
Chapter 8
memory-size iomem 10
ip subnet-zero
!
no ip finger
!
ip address-pool dhcp-proxy-client
ip dhcp-server 192.150.1.101
vpdn enable
no vpdn logging
!
vpdn-group 1
accept-dialin
protocol pppoe
virtual-template 1
!
call rsvp-sync
cns event-service server
!
interface Ethernet0/0
ip address 192.150.1.100 255.255.255.0
half-duplex
!
interface Ethernet0/1
no ip address
shutdown
half-duplex
!
interface ATM1/0
no ip address
no atm scrambling cell-payload
no atm ilmi-keepalive
pvc 1/40
encapsulation aal5snap
protocol pppoe
!
interface Virtual-Template1
ip address 2.2.2.1 255.255.255.0
ip mtu 1492
peer default ip address dhcp
ppp authentication chap
!
ip kerberos source-interface any
ip classless
ip route 0.0.0.0 0.0.0.0 Ethernet0/0
no ip http server
!
dialer-list 1 protocol ip permit
dial-peer cor custom
8-18
78-5372-06
Chapter 8
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
line vty 0 4
login
end
The following example shows a configuration on the remote DHCP server on the
Cisco 800 series and Cisco SOHO series routers.
2500ref-4#show run
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
service udp-small-servers
service tcp-small-servers
!
hostname 2500ref-4
!
no logging console
!
ip subnet-zero
no ip domain-lookup
ip host PAGENT-SECURITY-V3 45.41.44.82 13.15.0.0
ip dhcp excluded-address 2.2.2.1
!
ip dhcp pool 1
network 2.2.2.0 255.255.255.0
dns-server 53.26.25.23
netbios-name-server 66.22.66.22
domain-name ribu.com
lease 0 0 5
!
cns event-service server
!
interface Ethernet0
ip address 192.150.1.101 255.255.255.0
interface Ethernet1
ip address 192.168.254.165 255.255.255.0
interface Serial0
no ip address
shutdown
no fair-queue
interface Serial1
no ip address
8-19
Chapter 8
shutdown
!
ip classless
ip route 0.0.0.0 0.0.0.0 1.1.1.1
ip route 0.0.0.0 0.0.0.0 Ethernet0
no ip http server
!
dialer-list 1 protocol ip permit
line con 0
exec-timeout 0 0
transport input none
line aux 0
transport input all
line vty 0 4
login
no scheduler max-task-time
end
Cisco 806
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96, and SOHO 97
Cisco 828
The Cisco IOS CPE device requests and uses the subnet.
8-20
78-5372-06
Chapter 8
The provider edge or the edge router helps in providing the subnet through
IPCP.
DHCP is no longer supported on the client side because the CPE can now receive
both the IP address and the subnet mask during the PPP setup negotiation. If the
CPE uses the DHCP servers to allocate addresses for its own network, subnets can
be assigned through the node route processor (NRP) on the network access server
(NAS) and distributed to the remote CPE DHCP servers.
Follow the steps below to configure the CPE for IPCP:
Step 1
Configure the ATM interface, and enter the ADSL operating mode.
Step 2
Step 3
Step 4
a.
Create an ATM PVC for data traffic, enter virtual circuit configuration mode,
and specify the VPI and VCI values.
b.
Set the encapsulation of the PVC as aal5mux ppp to support data traffic.
b.
c.
d.
e.
Configure CHAP.
f.
g.
b.
Step 5
Configure the Ethernet interface, and assign an IP address pool. Enter the pool
name that you defined in Step 4.
Step 6
Configure a dialer list and a static route for the dialer interface.
8-21
Chapter 8
Configuration Examples
The following example shows a IPCP configuration on the Cisco 827-4V router:
router-8274v-1# show run
Building configuration...
Current configuration :1247 bytes
version 12.2
no service single-slot-reload-enable
no service pad
service timestamps debug datetime msec
service timestamps log uptime
no service password-encryption
!
hostname router-8274v-1
!
no logging buffered
logging rate-limit console 10 except errors
!
username 6400-nrp2 password 0 lab
ip subnet-zero
ip dhcp smart-relay
!
ip dhcp pool IPPOOLTEST
import all
origin ipcp
lease 0 0 1
!
no ip dhcp-client network-discovery
!
interface Ethernet0
ip address pool IPPOOLTEST
no shutdown
hold-queue 32 in
!
interface ATM0
no ip address
atm ilmi-keepalive
bundle-enable
dsl operating-mode auto
hold-queue 224 in
!
interface ATM0.1 point-to-point
pvc 1/40
no ilmi manage
encapsulation aal5mux ppp dialer
dialer pool-member 1
!
8-22
78-5372-06
Chapter 8
interface Dialer0
ip unnumbered Ethernet0
encapsulation ppp
dialer pool 1
dialer-group 1
no cdp enable
ppp authentication chap callin
ppp chap hostname router-8274v-1
ppp chap password 7 12150415
ppp ipcp accept-address
ppp ipcp dns request
ppp ipcp wins request
ppp ipcp mask request
!
ip classless
ip route 0.0.0.0 0.0.0.0 Dialer0
no ip http server
!
dialer-list 1 protocol ip permit
!
line con 0
exec-timeout 0 0
stopbits 1
line vty 0 4
login
!
scheduler max-task-time 5000
end
The following example shows an IPCP configuration on the remote server for a
Cisco 827-4V router:
6400-nrp2#show run
Building configuration...
Current configuration :1654 bytes
!
version 12.1
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 6400-nrp2
!
aaa new-model
aaa authentication ppp default group radius
aaa authorization network default group radius
aaa nas port extended
8-23
Chapter 8
8-24
78-5372-06
Chapter 8
!
ip classless
no ip http server
!
ip radius source-interface FastEthernet0/0/0
!
radius-server host 192.168.100.100 auth-port 1645 acct-port 1646
radius-server retransmit 3
radius-server attribute nas-port format d
radius-server key foo
!
line con 0
exec-timeout 0 0
transport input none
line aux 0
line vty 0 4
password lab
!
end
The following example shows an IPCP configuration on the RADIUS server for
a Cisco 827-4V router (Cisco Access Registrar 1.5):
/opt/AICar1/usrbin-4 % ./aregcmd
Access Registrar Configuration Utility Version 1.5
Copyright (C) 1995-1998 by American Internet Corporation, and
1998-2000 by
Cisco Systems, Inc. All rights reserved.
Cluster:localhost
User:admin
Password:
Logging in to localhost
400 Login failed/opt/AICar1/usrbin-5 % ./aregcmd
Access Registrar Configuration Utility Version 1.5
Copyright (C) 1995-1998 by American Internet Corporation, and
1998-2000 by
Cisco Systems, Inc. All rights reserved.
Cluster:localhost
User:admin
Password:
Logging in to localhost
[ //localhost ]
LicenseKey = SBUC-7DQF-PM1E-5HPC (expires in 51 days)
Radius/
Administrators/
Server 'Radius' is Running, its health is 10 out of 10
8-25
Chapter 8
--> cd radius
[ //localhost/Radius ]
Name = Radius
Description =
Version = 1.6R1
IncomingScript~ =
OutgoingScript~ =
DefaultAuthenticationService~ = local-users
DefaultAuthorizationService~ = local-users
DefaultAccountingService~ = local-file
DefaultSessionService~ =
DefaultSessionManager~ =
UserLists/
UserGroups/
Policies/
Clients/
Vendors/
Scripts/
Services/
SessionManagers/
ResourceManagers/
Profiles/
Rules/
Translations/
TranslationGroups/
RemoteServers/
Advanced/
Replication/
--> cd profile
[ //localhost/Radius/Profiles ]
ls
Entries 1 to 6 from 6 total entries
Current filter:<all>
default-PPP-users/
default-SLIP-users/
default-Telnet-users/
StaticIP/
router-8274v-1/
TB2-8274v-2/
--> ls
[ //localhost/Radius/Profiles ]
Entries 1 to 6 from 6 total entries
8-26
78-5372-06
Chapter 8
Current filter:<all>
default-PPP-users/
default-SLIP-users/
default-Telnet-users/
StaticIP/
router-8274v-1/
TB2-8274v-2/
--> cd router-8274v-1
[ //localhost/Radius/Profiles/router-8274v-1 ]
Name = router-8274v-1
Description =
Attributes/
--> ls
[ //localhost/Radius/Profiles/router-8274v-1 ]
Name = router-8274v-1
Description =
Attributes/
--> cd attribute
[ //localhost/Radius/Profiles/router-8274v-1/Attributes ]
cisco-avpair = "ip:wins-servers=100.100.100.100 200.200.200.200"
cisco-avpair = "ip:dns-servers=60.60.60.60 70.70.70.70"
Framed-Compression = none
Framed-IP-Address = 40.1.2.30
Framed-IP-Netmask = 255.255.255.0
Framed-MTU = 1500
Framed-Protoc
l = ppp
Framed-Routing = None
Service-Type = Framed
Cisco 806
8-27
Chapter 8
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
Cisco 828
Cisco 806
Cisco 828
8-28
78-5372-06
Chapter 8
Cisco 806
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 96, and SOHO 97
Cisco 828
You can identify IP access lists with an alphanumeric string (name) instead of a
number. When you use named access lists, you can configure more IP access lists
in a router.
For configuration information on this command, refer to the
Cisco IOS Release 12.0 documentation set.
Italy
Denmark
Australia
International phone support commands configure voice port settings and caller ID
settings.
H.323 international phone support has been tested and verified to work with the
following equipment identified for Italy and Denmark.
The following devices are supported in Italy:
Telephones:
Siemens Gigaset 3015 Class Model
Telecom Italia MASTER s.p. LUPO VIEW
Alcatel Dial Face Mod. SIRIO 2000 Basic A
8-29
Chapter 8
Caller ID devices:
BRONDI INDOVINO
Fax equipment:
Canon FAX-B155
Telephones:
Tele Danmark dana classic
Tele Danmark Danafon Topas
Caller ID devices:
DORO Danmark DOROX5
Follow the steps below to configure a voice port to support caller ID, international
cadence, impedance, and ring frequency, starting in global configuration mode:
Command
Task
Step 1
voice-port number
Step 2
cptone country-code
Step 3
caller-id enable
caller-id block
Step 5
end
Configuration Example
The following voice-port configuration example shows two voice ports
configured for the progress tone and line characteristics for Denmark. Caller ID
is enabled on both ports, and port 1 requests that caller ID information be blocked
at the other end when a phone call originates from this port. The second port uses
the line-reversal alerting method.
8-30
78-5372-06
Chapter 8
!
voice-port 1
cptone dk
caller-id enable
caller-id block
timeouts call-disconnect 0
!
voice-port 2
cptone dk
caller-id alerting line-reversal
timeouts call-disconnect 0
Parameters
dk
Denmark
8-31
Chapter 8
Code Country
Parameters
it
Italy
au
Australia
Meaning
define
User-defined cadence
pattern01
pattern02
pattern03
pattern04
pattern05
pattern06
pattern07
pattern08
pattern09
pattern10
8-32
78-5372-06
Chapter 8
Value
Meaning
pattern11
pattern12
50
Impedance
600c
600-ohm complex
600r
600-ohm real
900c
900-ohm complex
900r
900-ohm real
8-33
Chapter 8
complex1
complex 1
complex2
complex 2
The c600r option selects the current POTS line type 0 implementation.
The 900r option selects the current POTS line type 1 implementation.
The 600c, 900c, complex1, and complex2 options select the current POTS
line type 2 implementation.
The country code specified in the cptone command must represent one of the
countries for which caller ID is supported. Caller ID is disabled by default.
8-34
78-5372-06
Chapter 8
Description
line-reversal
pre-ring
The default alerting method is ring 1. If the country in which the router is
installed uses a different alerting method, the appropriate alerting method must be
configured. The caller-id alerting ring command can be used in countries using
the BellCore/Telcordia standard. The caller-id alerting line-reversal, the
caller-id alerting pre-ring, and caller-id alerting ring commands can be used in
countries that do not use the BellCore/Telcordia standard.
The caller-id alerting command automatically enables caller ID support for the
specific voice port.
8-35
Chapter 8
Note
The calling party information is included in the routed on-net call, as this
information is often required for other purposes, such as billing and call
blocking. The request to block display of the calling party information on
terminating FXS ports is normally accepted by Cisco routers, but no guarantee
can be made regarding the acceptance of the request by other equipment.
Cisco 806
Cisco 828
Use the committed access rate (CAR) to limit bandwidth transmission rates to
traffic sources and destinations and to specify policies for handling traffic that
breaches the specified bandwidth allocations. To enable CAR, enter the
rate-limit command while in ATM interface configuration mode.
Configuration Example
The following example shows a CAR configuration:
interface ATM0.1 point-to-point
mtu 576
8-36
78-5372-06
Chapter 8
Cisco 806
Cisco 828
This feature includes client software that does not use Transmission Control
Protocol (TCP) wrapping or User Datagram Protocol (UDP) wrapping. On Cisco
routers, this feature allows the simultaneous use of multiple, PC-based IPSec
clients on which IPSec packet wrapping is disabled or is not supported. When PCs
connected to the router create an IPSec tunnel, network address translation (NAT)
on the router translates the private IP addresses in these packets to public IP
addresses. This NAT feature also supports multiple Point-to-Point Tunnel
Protocol (PPTP) sessions, which may be initiated by PCs with PPTP client
software.
You must enter the following command in global configuration mode for this
feature to work:
ip nat inside source list number interface BVI number overload
8-37
Chapter 8
Cisco 806
The NAT command has been extended to allow you to specify an inside local
address to receive packets that do not match criteria in other NAT statements in
the configuration.
The syntax is as follows:
ip nat inside source static inside_local interface interface_name
Configuration Example
The following example shows configuration of a Cisco 806 router supporting two
devices with the addresses 20.0.0.14, and 20.0.0.16, as shown in Figure 8-1.
Figure 8-1
20.0.0.14
Cisco 806
NAT default
inside server
20.0.0.16
10.0.0.0
65369
20.0.0.0
8-38
78-5372-06
Chapter 8
Several NAT statements direct traffic to the address 20.0.0.14. All packets not
matching those NAT statements will be routed to 20.0.0.16.
Current configuration :942 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname c806-1
!
ip subnet-zero
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
crypto mib ipsec flowmib history tunnel size 200
crypto mib ipsec flowmib history failure size 200
!
interface Ethernet0
ip address 20.0.0.1 255.0.0.0
ip nat inside
hold-queue 100 out
!
interface Ethernet1
ip address 10.0.0.1 255.0.0.0
ip nat outside
!
ip nat inside source static tcp 20.0.0.14 80 interface Ethernet1 80
ip nat inside source static udp 20.0.0.14 161 interface Ethernet1 161
!
ip nat inside source static 20.0.0.16 interface Ethernet1
! 20.0.0.16 is defined as the catch-all address
!
ip nat inside source static udp 20.0.0.14 1000 interface Ethernet1
1000
! udp port 1000 traffic will be routed to 20.0.0.14
!
ip nat inside source static tcp 20.0.0.14 23 interface Ethernet1 23
! telnet traffic will be routed to 20.0.0.14
!
ip classless
no ip http server
!
!
line con 0
8-39
Chapter 8
stopbits 1
line vty 0 4
password lab
login
!
Task
Step 1
Step 2
Step 3
exit
Step 4
Step 5
8-40
78-5372-06
Chapter 8
Command
Task
Step 6
mode bles
Step 7
exit
Step 8
interface atm0
Step 9
Step 10
Step 11
encapsulation aal2
Step 12
no atm cell-clumping-disable
Step 13
exit
Step 14
Step 15
Step 16
Step 17
8-41
Chapter 8
Command
Task
Step 18
Step 19
voice-class permanent 1
Step 20
no vad
Step 21
exit
Step 22
voice port #
Step 23
Step 24
Step 25
end
Note
One phone line requires a minimum setting of 78 kbps for both peak cell rate
(PCR) and allowed cell rate (ACR) values.
Configuration Example
The following example shows the configuration for two voice ports using
Profile 9, and the G.711 a-law codec. VBR-RT, PCR, and ACR values are 312 to
accommodate four phone lines, although only two phone lines are currently
configured.
voice service voatm
!
session protocol aal2
mode bles
!
!
voice class permanent 1
signal timing oos timeout disabled
8-42
78-5372-06
Chapter 8
!
interface atm 0
no atm cell-clumping-disable
pvc 1/100
vbr-rt 312 312 32
encapsulation aal2
!
voice-port 1
playout-delay mode fixed no-timestamps
cptone DK
timeouts wait-release 3
connection trunk 8881052
caller-id enable
!
voice-port 2
playout-delay mode fixed no-timestamps
cptone DK
timeouts wait-release 3
connection trunk 8881053
caller-id enable
!
!dial-peer voice 1000 voatm
destination-pattern 8881052
voice-class permanent 1
session protocol aal2-trunk
session target ATM0 pvc 1/100 16
codec aal2-profile ATMF 9 g711alaw
no vad
!
dial-peer voice 1001 voatm
destination-pattern 8881053
voice-class permanent 1
session protocol aal2-trunk
session target ATM0 pvc 1/100 17
codec aal2-profile ATMF 9 g711alaw
no vad
!
8-43
Chapter 8
Use the no form of this command to disable continuity checking on the segment.
no oam-pvc manage cc segment direction [ source | sink | both ]
Configuration Example
The following configuration example activates CC over the segment and causes
the router to function as the source.
interface ATM0
ip address 10.0.0.3 255.255.255.0
pvc 0/33
8-44
78-5372-06
Chapter 8
The following configuration example activates CC over the segment and causes
the router to function as the sink.
interface ATM0
ip address 10.0.0.3 255.255.255.0
pvc 0/33
oam-pvc manage cc segment direction sink
!
end
The following configuration example activates CC over the segment and causes
the router to function both as the source of CC cells and as the sink:
interface ATM0
ip address 10.0.0.3 255.255.255.0
pvc 0/33
oam-pvc manage cc segment direction both
!
end
8-45
Chapter 8
Configuration Example
The following configuration example sets the CC activation and deactivation
counts, as well as the retry frequency:
interface ATM0
ip address 10.0.0.3 255.255.255.0
pvc 0/33
oam-pvc manage cc segment direction source
retry activation-count 10 deactivation-count 10 retry-frequency 3
!
end
Configuration Example
The following configuration example denies segment CC:
interface ATM0
ip address 10.0.0.3 255.255.255.0
pvc 0/33
oam-pvc manage cc deny
!
end
8-46
78-5372-06
Chapter 8
Task
Step 1
interface atm 0
Step 2
Step 3
oam-pvc manage 3
Step 4
oam retry 5 5 10
The following example enables OAM management on an ATM PVC. The PVC is
assigned the name router A and the VPI and VCI are assigned 0 and 32,
respectively. OAM management is enabled with a frequency of 3 seconds
between OAM cell transmissions.
interface atm 2/0
pvc routerA 0/32
oam-pvc manage 3
oam retry 5 5 10
8-47
Chapter 8
Example Output
The following example output of the debug atm oam cc command records
activity beginning with the entering of the oam-pvc manage cc command, and
ending with the entering of the no oam-pvc manage cc command. The ATM 0
interface is specified, and the both segment direction is specified. The output
shows an activation request sent and confirmed, a series of CC cells sent by the
routers on each end of the segment, and a deactivation request and confirmation.
router#debug atm oam cc interface atm0
Generic ATM:
ATM OAM CC cells debugging is on
router#
00:15:05: CC ACTIVATE MSG (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM
Type:8 OAM Func:1 Direction:3 CTag:5
00:15:05: CC ACTIVATE CONFIRM MSG (ATM0) O:VCD#1 VC 1/40 OAM Cell
Type:4 OAM Type:8 OAM Func:1 Direction:3 CTag:5
00:15:06: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1
00:15:07: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:08: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:09: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:10: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:11: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:12: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:13: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:14: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:15: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:16: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:17: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:18: CC CELL (ATM0) O:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:19: CC CELL (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM Type:1 OAM
00:15:19: CC DEACTIVATE MSG (ATM0) I:VCD#1 VC 1/40 OAM Cell Type:4 OAM
Type:8 OAM Func:1 Direction:3 CTag:6
00:15:19: CC DEACTIVATE CONFIRM MSG (ATM0) O:VCD#1 VC 1/40 OAM Cell
Type:4 OAM Type:8 OAM Func:1 Direction:3 CTag:6
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Func:4
Description
00:15:05
Time stamp.
CC ACTIVATE MSG
(ATM0)
Source.
8-48
78-5372-06
Chapter 8
Field
Description
Sink.
VC 1/40
Direction:3
Cisco 806
Cisco 828
Cisco 806
Cisco 828
8-49
Chapter 8
The Cisco Easy VPN client feature supports two modes of operation:
Network ExtensionSpecifies that the PCs and other hosts at the client end
of the VPN tunnel should be given IP addresses in the destination enterprise
networks IP address space, so that they form one logical network.
Both modes of operation also optionally support split tunneling, which allows
secure access to corporate resources through the VPN tunnel while also allowing
Internet access through a connection to an ISP or other service (thereby
eliminating the corporate network from the path for Web access). This
configuration is enabled by a simple access list implemented on the IPSec server.
Note
Cisco 800 series routers are supported as IPSec clients of VPN 3000
concentrators. Support for other IPSec servers will be available in a future
release. Be sure to refer to the Cisco IOS release notes for the current release
to determine if there are any other limitations on the use of Cisco Easy VPN
Client.
The release note Cisco EZVPN Client for the Cisco uBR905/uBR925 Cable Access
Routers provides instructions for configuring the DHCP server pool and the
Easy VPN client profile required for implementing Easy VPN. The release note
also provides configuration examples for the IPSec server and descriptions of
commands for managing Easy VPN.
Configuration Example
This section provides a client mode configuration example for the Cisco 827
router.
The following example configures a Cisco 827 router as an IPSec client, using the
Cisco Easy VPN feature in the client mode of operation. This example shows the
following components of the Cisco Easy VPN client configuration:
8-50
78-5372-06
Chapter 8
Note
The second crypto ipsec client ezvpn hw-client command (ATM 0 interface
configuration mode) assigns the EzVPN client configuration to the ATM 0
interface, so that all traffic received and transmitted on that interface is sent
through the VPN tunnel.
8-51
Chapter 8
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
crypto ipsec client ezvpn hw-client
group hw-client-groupname key hw-client-password
mode client
peer 188.185.0.5
!
interface Ethernet0
ip address 192.168.100.1 255.255.255.0
hold-queue 100 out
!
interface ATM0
ip address 192.168.101.18 255.255.255.0
no atm ilmi-keepalive
protocol ip 192.168.101.19 broadcast
encapsulation aal5snap
!
dsl operating-mode auto
crypto ipsec client ezvpn hw-client
!
ip classless
ip route 0.0.0.0 0.0.0.0 ATM0
ip route 50.0.0.0 255.0.0.0 40.0.0.19
ip http server
ip pim bidir-enable
!
line con 0
stopbits 1
line vty 0 4
login
!
Cisco 806
8-52
78-5372-06
Chapter 8
Cisco SOHO 77, SOHO 77H, SOHO 78, SOHO 91, SOHO 96, and SOHO 97
Cisco 828
DDR for the PPPoE client provides flexibility for subscribers whose ISP charges
are based on the amount of time that they are connected to the network
(non-flat-rate services). With the DDR for PPPoE client feature, you can
designate a type of traffic as traffic of interest. You can then configure the router
so that it will bring up the PPPoE connection when any traffic of interest arrives
from the LAN interface and so that it will bring down the connection when the
dialer idle timer expires.
DDR is configured in Ethernet 1 configuration mode, using the pppoe-client
dial-pool-number command with the dial-on demand keyword. The syntax is
shown below.
pppoe-client dial-pool-number number [dial-on-demand]
Step 2
Step 3
Enable VPDN.
a.
b.
b.
b.
c.
8-53
Chapter 8
Step 4
b.
c.
d.
e.
Enter the dialer pool number command to associate the dialer interface with
the dialer pool created for the Ethernet 1 interface.
f.
Set the idle timer interval by entering dialer idle-timeout 180 either. The
either keyword specifies that either inbound or outbound traffic can reset the
idle timer.
Note
A value of 0 specifies that the timer will never expire and that the
connection will always be up.
g.
Enter dialer hold-queue 100 to set the queue to a size that will hold packets
of interest before the connection is established.
h.
Enter dialer-group 1 to specify the dialer list that defines traffic of interest.
i.
Step 5
Step 6
Create a static route for the Dialer 1 interface by entering the ip route
0.0.0.0 0.0.0.0 dialer 1 permanent command.
Step 7
8-54
78-5372-06
Chapter 8
Cisco 806
Cisco 828
WFQ has certain limitations. It is not scalable if the flow amount increases
considerably, and native WFQ is not available on high-speed interfaces such as
ATM interfaces. Class-based WFQ, available on Cisco IOS Plus images,
overcomes these limitations.
Configuring WFQ
Follow the steps below to apply WFQ to the ATM interface of a Cisco router.
Step 1
Step 2
Step 3
b.
Enter class class-default to use the default class for all traffic.
c.
d.
Enter interface atm number, where number is the ATM interface number.
b.
Enter pvc vpi/vci to specify which PVC you are applying the policy map to.
c.
8-55
Chapter 8
Example Configuration
The following configuration applies WFQ to PVC 0/33 on the ATM 0.1 interface.
The policy map named wfq is created, and WFQ is applied to the default class
referenced in that policy map. Then, wfq is referenced in the ATM 0.1 interface
configuration.
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password encryption
!
hostname 806-uut
!
ip subnet-zero
!
policy-map wfq
class class-default
fair-queue
!
interface Ethernet0
ip address 192.168.1.1 255.255.255.0
!
interface atm0.1
no ip address
pvc 0/33
service-policy output wfq
!
ip classless
ip http server
ip pim bidir-enable
!
line con 0
stopbits 1
line vty 0 4
login
!
scheduler max-task-time 5000
end
!
8-56
78-5372-06
Chapter 8
Task
Step 1
dsl noise-margin
Step 2
max-tone-bits
Step 3
gain-setting rx-offset
Step 4
gain-setting tx-offset
Configuration Example
The following is a configuration example for the dsl command.
interface ATM0
no ip address
no atm ilmi-keepalive
dsl operating-mode auto
dsl noise-margin 0
dsl max-tone-bits 14
dsl gain-setting tx-offset 0
dsl gain-setting rx-offset 1
Cisco 828
By default, a DSL training log is retrieved each time the Cisco router establishes
contact with the DSLAM. The training log is a record of the events that occur
when the router trains, or negotiates communication parameters, with the
DSLAM at the central office. However, retrieving this log adds significant
Cisco 800 Series Software Configuration Guide
78-5372-06
8-57
Chapter 8
amount of time to the training process, and retrieval is not always necessary after
the router has successfully trained. You must use the dsl enable-training-log
command to enable the retrieval of this log. The no form of this command
disables retrieval of the DSL training log.
dsl enable-training-log
no dsl enable-training-log
Retrieving the DSL Training Log and Then Disabling Further Retrieval of the
Training Log
Complete the following tasks to retrieve the training log, examine it, and then
disable the router from retrieving the training log the next time it trains with the
DSLAM.
Step 1
b.
c.
Step 2
Unplug the DSL cable from the DSL socket on the back of the router, wait a few
seconds, and then plug the cable back in.
Step 3
When the DSL line up message appears, issue the show dsl int atm number
command, where number is the number of the ATM interface, to display the
retrieved log.
Step 4
When you have decided that it is no longer necessary for the router to retrieve
the training log, reconfigure the router to disable the retrieval of the log by
completing the following tasks.
a.
b.
c.
8-58
78-5372-06
Chapter 8
To revert to using the primary firmware, enter the no form of this command.
no dsl firmware secondary
Note
The router must retrain in order for the configuration changes to take effect.
To retrain the line, you can unplug the DSL cable from the DSL socket on the
back of the router and then plug the DSL cable back in again.
You can use the show dsl interface atm number command to compare firmware
versions in use before retraining the DSL line, and after retraining.
Output Example
The following example output contains show dsl interface atm command output
before the dsl secondary firmware command is added to the configuration.
827-sus2#sh dsl int atm0
ATU-R (DS)
Modem Status:
Showtime (DMTDSL_SHOWTIME)
DSL Mode:
ITU G.992.1 (G.DMT)
ITU STD NUM:
0x01
Vendor ID:
'ALCB'
Vendor Specific:0x0000
Vendor Country: 0x00
Capacity Used: 66%
Noise Margin:
16.5 dB
Output Power:
8.0 dBm
Attenuation:
0.0 dB
Defect Status: None
Last Fail Code: None
Selftest Result:0x49
Subfunction:
0x02
Interrupts:
652 (1 spurious)
Activations:
1
SW Version:
3.8129
ATU-C (US)
0x01
'GSPN'
0x0002
0x00
74%
17.0 dB
12.0 dBm
4.0 dB
None
8-59
Chapter 8
FW Version:
0x1A04
After adding the dsl firmware secondary command to the configuration and
retraining, the show dsl interface ATM0 output shows that the software version
has changed to 3.7123.
827-sus2#sh dsl int atm0
ATU-R (DS)
Modem Status:
Showtime (DMTDSL_SHOWTIME)
DSL Mode:
ITU G.992.1 (G.DMT)
ITU STD NUM:
0x01
Vendor ID:
'ALCB'
Vendor Specific:0x0000
Vendor Country: 0x00
Capacity Used: 71%
Noise Margin:
18.0 dB
Output Power:
7.5 dBm
Attenuation:
0.0 dB
Defect Status: None
Last Fail Code: None
Selftest Result:0x00
Subfunction:
0x02
Interrupts:
1206 (2 spurious)
Activations:
2
SW Version:
3.7123
FW Version:
0x1A04
ATU-C (US)
0x01
'GSPN'
0x0002
0x00
74%
17.0 dB
12.0 dBm
4.0 dB
None
Configuration Example
The following example shows configuration of a Cisco 827 router using
secondary DSL firmware.
827-sus2#sh run
Building configuration...
Current configuration :738 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
no service dhcp
!
hostname 827-sus2
!
ip subnet-zero
8-60
78-5372-06
Chapter 8
no ip domain-lookup
!
ip ssh time-out 120
ip ssh authentication-retries 3
!
interface Ethernet0
ip address 192.168.5.23 255.255.255.0
no cdp enable
hold-queue 100 out
!
interface Virtual-Template1
ip address 2.2.3.4 255.255.255.0
!
interface ATM0
no ip address
no atm ilmi-keepalive
pvc 1/40
encapsulation aal5mux ppp Virtual-Template1
!
dsl operating-mode itu-dmt
dsl firmware secondary ===========> New CLI
!
ip classless
ip http server
ip pim bidir-enable
!
line con 0
exec-timeout 0 0
stopbits 1
line vty 0 4
login
!
scheduler max-task-time 5000
end
827-sus2#
8-61
Chapter 8
8-62
78-5372-06
Chapter 8
Caution
8-63
Chapter 8
With the authentication proxy feature, users can log into the network or access the
Internet via HTTP. Their specific access profiles are automatically retrieved and
applied from a Cisco Secure ACS or other RADIUS or TACACS+ authentication
server. The user profiles are active only when there is active traffic from the
authenticated users.
The authentication proxy is compatible with other Cisco IOS security features
such as Network Address Translation (NAT), Context-based Access Control
(CBAC), IP Security (IPSec) encryption, and VPN client software.
For instructions on configuring authentication proxy, refer to the
Cisco IOS Security Configuration Guide.
8-64
78-5372-06
Chapter 8
Using CBAC inspection rules, you can configure alerts and audit trail information
on a per-application protocol basis. For example, if you want to generate audit
trail information for HTTP traffic, you can specify that in the CBAC rule covering
HTTP inspection.
For instructions on configuring CBAC audit trails and alerts, refer to the
Cisco IOS Security Configuration Guide.
8-65
Chapter 8
8-66
78-5372-06
C H A P T E R
Troubleshooting
Use the information in this chapter to help isolate problems you might encounter
with Cisco 800 series and Cisco SOHO series routers or to rule out the router as
the source of the problem. This chapter contains the following sections:
9-1
Chapter 9
Troubleshooting
Brief description of the steps you have taken to isolate the problem
ADSL Troubleshooting
This section describes some asymmetric digital service line (ADSL)
troubleshooting checks that you can perform if the router is not working properly.
If you experience trouble with the ADSL connection, make sure to verify the
following:
That the ADSL line is connected and is using pins 3 and 4. For more
information on the ADSL connection, refer to the hardware guide for your
router.
That the ADSL CD LED is on. If it is not on, the router may not be connected
to the digital subscriber line access multiplexer (DSLAM). For more
information on the ADSL LEDs, refer to the hardware installation guide
specific to your router.
That you are using the correct Asynchronous Transfer Mode (ATM) variable
path indentifier/variable circuit identifier (VPI/VCI).
9-2
78-5372-06
Chapter 9
Troubleshooting
G.SHDSL Troubleshooting
G.SHDSL Troubleshooting
Symmetrical high-data-rate digital subscriber line (G.SHDSL) is available on
Cisco 828 and Cisco SOHO 78 routers. This section describes some G.SHDSL
troubleshooting checks that you can perform if the router is not working properly.
If you experience trouble with the G.SHDSL connection, verify the following:
That the G.SHDSL line is connected and is using pins 3 and 4. For more
information on the G.SHDSL connection, refer to the Cisco 828 Router and
SOHO 78 Router Hardware Installation Guide.
That the G.SHDSL CD LED is on. If it is not on, the router may not be
connected to the DSLAM. For more information on the G.SHDSL LEDs,
refer to the Cisco 828 Router and SOHO 78 Router Hardware Installation
Guide.
Customer Premise
G.SHDSL Annex A
Fixed rate Mode
1
72 Kbps
72 Kbps
Data (0x1)
37 dB
0.4294963186 dB
11.7 dBm
4.2040 dB (2271, 4210, 90)
No Failure (0x0)
2
1
9-3
Chapter 9
Troubleshooting
G.SHDSL Troubleshooting
Firmware Version:
Country Code:
Provider Code:
Vendor Data:
R1.0
0xB500
0x4E505347
0x0 0x0 0x0 0x0
0x0 0x0 0x0 0x0
Current 24
0Hr
0
0
0
0
0
0
Table 9-1 describes possible command output for the show dsl interface
command. Each line in the command output example corresponds to a row in this
table.
Table 9-1
Output
Description
Equipment Type
Operating Mode
Reset Count
9-4
78-5372-06
Chapter 9
Troubleshooting
G.SHDSL Troubleshooting
Table 9-1
Output
Description
Requested rate
Actual rate
Modem Status
Received SNR
Loop Attenuation
Transmit Power
Receiver Gain
CRC Errors
Chipset Version
Firmware Version
Country Code
Provider Code
Vendor data
Vendor-specific information.
9-5
Chapter 9
Troubleshooting
Table 9-1
Output
Description
This command sends five OAM F5 loopback packets to the DSLAM (segment
OAM packets). If the PVC is configured at the DSLAM, the ping is successful.
9-6
78-5372-06
Chapter 9
Troubleshooting
ATM Troubleshooting Commands
To test whether the PVC is being used at the aggregator, enter the following
command:
Router# ping atm interface atm 0 1 200 end-loopback
Type escape sequence to abort.
Sending 5, 53-byte end-to-end OAM echoes, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max =
400/401/404 ms
This command sends end-to-end OAM F5 packets, which are echoed back by the
aggregator.
9-7
Chapter 9
Troubleshooting
Table 9-2 describes possible command output for the show interface command.
Each line in the command output example corresponds to a row in this table.
Table 9-2
Output
Description
9-8
78-5372-06
Chapter 9
Troubleshooting
ATM Troubleshooting Commands
Table 9-2
Output
Description
The following is an example of output from the show interface atm command:
tw_820#sh atm int atm 0
Interface ATM0:
AAL enabled: AAL5 , Maximum VCs:11, Current VCCs:0
Maximum Transmit Channels:0
Max. Datagram Size:1528
PLIM Type:INVALID - 640Kbps, Framing is INVALID,
DS3 lbo:short, TX clocking:LINE
0 input, 0 output, 0 IN fast, 0 OUT fast
9-9
Chapter 9
Troubleshooting
Avail bw = 640
Config. is ACTIVE
Field
Description
ATM interface
AAL enabled
Maximum VCs
Current VCCs
Maximum
Transmit
Channels
Max Datagram
Size
PLIM Type
9-10
78-5372-06
Chapter 9
Troubleshooting
ATM Troubleshooting Commands
Caution
Table 9-4
Debugging is assigned a high priority in your router CPU process, and it can
render your router unusable. For this reason, use debug commands only to
troubleshoot specific problems. The best time to use debug commands is during
periods of low network traffic so that other activity on the network is not
adversely affected.
Additional documentation
Disabling debugging
Telnet sessions
Bad
Bad
Bad
Bad
Bad
SAP
SAP
SAP
SAP
SAP
received
received
received
received
received
4500
4500
4500
4500
4500
9-11
Chapter 9
Troubleshooting
This command displays ATM events that occur on the ATM interface processor
and is useful for diagnosing problems in an ATM network. It provides an overall
picture of the stability of the network.
If the interface is successfully communication with the DSLAM at the telephone
company, the modem state is 0x10. If the interface is not communicating with the
DSLAM, the modem state is 0x8.
The following output indicates that the ADSL line is up (training successful):
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:03:00:
00:03:02:
00:03:05:
00:03:07:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
00:03:09:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
In case of failure, you may see the modem state remain at 0x8 and not move to
0x10:
00:02:57: DSL: Send ADSL_OPEN command.
00:02:57: DSL: Using subfunction 0xA
00:02:57: DSL: Using subfunction 0xA
9-12
78-5372-06
Chapter 9
Troubleshooting
ATM Troubleshooting Commands
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:02:57:
00:03:00:
00:03:00:
00:03:00:
00:03:00:
00:03:00:
00:03:00:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
DSL:
vc vpi/vci number
The debug atm packet command displays all process-level ATM packets for both
outbound and inbound packets. This command is useful for determining whether
packets are being received and transmitted correctly.
Caution
9-13
Chapter 9
Troubleshooting
Table 9-5 describes the fields shown in the debug atm packet command output.
Table 9-5
Field
Description
ATM0
(O)
Pak size
VCD: 0xn
VPI: 0xn
DM: 0xn
MUXETYPE:
n
Multiplex type.
Length: n
9-14
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Telephone Interfaces
Symptom
Possible Problem
Solution
9-15
Chapter 9
Troubleshooting
Table 9-7
Command
Possible Problem
Solution
One of your dial peers might Check the settings of the destination pattern
contain an invalid destination. in each dial peer. If a setting is incorrect,
use the destination-pattern ldn command.
Frame Relay
X.25
9-16
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Detecting Problems
Use the following steps to detect clocking conflicts on your serial interface:
Step 1
Enter the show interfaces serial 0 privileged EXEC command on the routers at
both ends of the link.
Step 2
Examine the output for cyclic redundancy check (CRC) or framing errors and
aborts.
If the number of CRC or framing errors exceeds an approximate range of 0.5 to
2.0 percent of traffic on the serial interface, clocking problems are likely to exist
somewhere in the WAN.
Step 3
Isolate the source of the clocking conflicts by performing a series of ping tests and
loopback tests (both local and remote).
Step 4
Reenter the show interfaces serial 0 privileged EXEC command on the routers
at both ends of the link. Determine if CRC and framing errors are increasing and
if so, where they are accumulating.
If input errors are accumulating on both ends of the connection, clocking of the
CSU is the likely problem. If input errors are accumulating on one end of the
connection, clocking of the DSU or cabling are the likely problems. If aborts are
occurring on one end of the connection, the other end could be sending bad
information or there could be a problem with the serial line.
9-17
Chapter 9
Troubleshooting
Table 9-8 describes possible CSU/DSU clocking problems your router might be
experiencing and the solutions for solving those problems.
Table 9-8
Symptom
Solution
Check the line build out (LBO) setting on the CSU to ensure
that the impedance matches that of the physical line. For
information on configuring your CSU, refer to your CSU
documentation.
Determine whether the DSUs at both ends of the serial line have
serial clock transmit external (SCTE) mode enabled.
9-18
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Step 2
Use the ping privileged EXEC command to send different data patterns and
packet sizes.
Place the CSU/DSU in local loop mode (refer to your CSU/DSU documentation).
In local loop mode, the use of the line clock (from the T1 service) is terminated,
and the DSU is forced to use the local clock.
Step 2
Enter the show interfaces serial 0 privileged EXEC command to determine if the
line status changes from line protocol is down to line protocol is up (looped),
or if it remains down.
If the line protocol comes up when the CSU or DSU is in local loopback mode, a
problem could be occurring on the remote end of the serial connection. If the
status line does not change state, there is a possible problem in the router,
connecting cable, or CSU/DSU.
If the problem appears to be local, enter the debug serial interface privileged
EXEC command and go on to the next step.
Step 3
9-19
Chapter 9
Troubleshooting
Step 4
Step 5
Check the local router and CSU/DSU hardware, and any attached cables.
Make certain the cables are within the recommended lengths (no more than 50 feet
[15.24 meters], or 25 feet [7.62 meters] for a T1 link). Make certain the cables are
attached to the proper ports. Swap faulty equipment as necessary.
Put the remote CSU or DSU into remote loopback mode (refer to the your
CSU/DSU documentation).
Step 2
Enter the show interfaces serial 0 privileged EXEC command to determine if the
line protocol remains up with the status line indicating Serial x is up, line
protocol is up (looped), or if it goes down with the status line indicating line
protocol is down.
If the line protocol remains up (looped), the problem is probably at the remote end
of the serial connection (between the remote CSU/DSU and the remote router).
Perform both local and remote tests at the remote end to isolate the problem
source.
If the line status changes to line protocol is down when remote loopback mode
is activated, make certain that ones density is being properly maintained. The
CSU/DSU must be configured to use the same framing and coding schemes used
by the leased-line or other carrier service (for example, ESF and B8ZS).
9-20
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
From privileged EXEC command mode, enter the show interfaces serial 0
command.
If you see the line Serial0 is up, line protocol is up, the serial line is
functioning properly. You do not need to take further action.
Step 2
9-21
Chapter 9
Troubleshooting
Table 9-9
Line State
Problem
Solution
Serial 0 is down;
line protocol is
down.
9-22
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Table 9-9
Line State
Problem
Solution
Serial 0 is up;
line protocol is
down.
9-23
Chapter 9
Troubleshooting
Table 9-9
Line State
Problem
Solution
Serial 0 is up;
line protocol is up
(looped).
The possible cause is a loop in the circuit. Following are some steps you can
take to isolate the problem:
The sequence number in the keepalive
packet changes to a random number
Use the write terminal
when a loop is first detected. If the same
privileged EXEC command to
random number is returned over the line,
display any instances of the
a loop exists.
loopback command. If the router
has been configured with the
loopback command, enter the
no loopback command to
remove the loop.
9-24
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Table 9-9
Line State
Problem
Solution
9-25
Chapter 9
Troubleshooting
Link Does Not Deactivate or Stays Activated Too Long, page 9-42
Step 2
If you see one of the following modem states, see Table 9-10:
Ready
9-26
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Modem State
Ready
Problem
A session exists on the line. Enter the show users privileged EXEC
command and the clear line 0 privileged EXEC command to stop the
session if desired.
Data set ready (DSR) is high. There are two possible reasons for this:
Cabling problemsIf your modem connector uses DB-25 pin 6
and has no pin 8, you must move the pin from 6 to 8 or get the
appropriate connector.
Modem configured for data carrier detect (DCD) always
If your software does not support modem control, you must configure
the router line to which the modem is connected with the no exec
command in asynchronous line configuration mode. Clear the line
with the clear line privileged EXEC command, initiate a reverse
Telnet session with the modem, and reconfigure the modem so that
DCD is high only on CD. End the Telnet session by entering
disconnect and reconfigure the router line with the EXEC command
in asynchronous line configuration mode.
78-5372-06
9-27
Chapter 9
Troubleshooting
Modem State
Problem
Configure the router line to which the modem is connected by entering the
no exec command in asynchronous line configuration mode. Clear the line
with the clear line privileged EXEC command, initiate a reverse Telnet
session with the modem, and reconfigure the modem so that DCD is high
only on CD. End the Telnet session by entering disconnect. Reconfigure
the router line with the exec command in asynchronous line configuration
mode.
Note
Ready CTS*
DSR* DTR RTS1
If this string appears in the Modem state field, modem control is probably
not enabled on the router. Enter the modem inout command in
asynchronous line configuration mode to enable modem control on the
line.
1. An asterisk (*) next to a signal indicates one of two things: Either the signal has changed within the last few seconds, or the
signal is not being used by the modem control method selected.
9-28
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Incorrect cabling.
Check the cabling between the modem and the router. Refer to the
Cisco 805 Router Hardware Installation Guide for information on how to
select the serial cable and how to connect the modem.
Hardware problem.
Check the cabling between the modem and the router. Refer to the
Cisco 805 Router Hardware Installation Guide for information on
how to select the serial cable and how to connect the modem.
Use the show line 1 privileged EXEC command on the router. The
output should show inout or RIisCD in the Modem column, which
indicates that modem control is enabled on the line of the router.
Problem
Solution
Incorrect cabling
Check the cabling between the modem and the router. Refer to the
Cisco 805 Router Hardware Installation Guide for information on how to
select the serial cable and how to connect the modem.
Modem hardware problem Check the modem's physical connection. Make sure the modem is on and
is connected securely to the correct port. Make sure the transmit and
receive indicator lights flash when the chat script is running.
9-29
Chapter 9
Troubleshooting
Problem
Solution
No packets of interest
defined
If necessary, modify the access list commands so that they define the
proper traffic as interesting.
Verify that the command response to each chat script step is correct.
9-30
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Incorrect cabling
Check the cabling between the modem and the router. Refer to the
Cisco 805 Router Hardware Installation Guide for information on how to
select the serial cable and how to connect the modem.
If the DTR indicator light is on, the modem is seeing a DTR signal
from the router. You can also enter the show line 1 privileged EXEC
command to check for DTR. If the Modem state shows the string
noDTR, then the router is configured to hold DTR low, and the
modem is not seeing a DTR signal.
Make sure that you are using the correct telephone line. Replace the
remote modem with a telephone, and call again. If the phone rings,
you are using the correct telephone line.
Contact the telephone company to make sure that the line is good.
Most modems have an LED indicator for DTR. Check to make sure
that this indicator comes on.
9-31
Chapter 9
Troubleshooting
Problem
Solution
Enter the show line 1 privileged EXEC command on the router. The
output for the serial port should indicate the currently configured
transmit (Tx) and receive (Rx) speeds.
If the line is not configured to the correct speed, use the speed
command in asynchronous line configuration mode to set the speed on
the router line. Set the value to the highest speed in common between
the modem and the router port. If for some reason you cannot use flow
control, limit the line speed to 9600 bps. Faster speeds are likely to
result in lost data.
Use the show line 1 command again, and confirm that the line speed
is set to the desired value.
When you are certain that the router line is configured for the desired
speed, initiate a reverse Telnet session to the modem on that line.
Use a modem command string that includes the lock DTE speed
command for your modem. See your modem documentation for exact
configuration command syntax.
The lock DTE speed command, which might also be referred to as
port rate adjust or buffered mode, is often related to the way in which
the modem handles error correction. This command varies widely
between modems.
Locking the modem speed ensures that the modem always
communicates with the Cisco router at the speed configured on the
Cisco serial port. If this command is not used, the modem will revert
to the speed of the data link (the telephone line) instead of
communicating at the speed configured on the router.
9-32
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Modem control is not
enabled on the router.
Solution
Use the show line 1 privileged EXEC command on the router. The
output for the port should show inout or RIisCD in the Modem
column, which indicates that modem control is enabled on the line of
the router.
Use the debug ppp chap privileged EXEC command to see whether
PPP authentication was successful. Check the output for the phrase
Passed authentication with remote. If you see this output,
authentication was successful.
Enter the debug chat privileged EXEC command. If you see the
output Success at the end of the chat script, the chat script
completed successfully.
Make the timeout in the chat script longer at the point where it fails.
If the problem persists, verify that the command response to each chat
script step is correct. Open a reverse Telnet session to the modem and
step through the chat script.
9-33
Chapter 9
Troubleshooting
Problem
Solution
Autoselect is enabled on
the line
Use the show line 1 privileged EXEC command to view the status of
the appropriate line. Check the Capabilities field for the phrase says
EXEC suppressed. If this is the case, the no exec line configuration
command is enabled.
Enter the show line 0 privileged EXEC command, and look for the
following in the Capabilities field:
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol
Out...
9-34
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Enter the show line 1 privileged EXEC command on the router. The
output for the serial port should indicate the currently configured
transmit (Tx) and receive (Rx) speeds.
If the line is not configured to the correct speed, use the speed
command in asynchronous line configuration mode to set the speed
on the router line. Set the value to the highest speed in common
between the modem and the router port. If for some reason you cannot
use flow control, limit the line speed to 9600 bps. Faster speeds are
likely to result in lost data.
Use the show line 1 command again, and confirm that the line speed
is set to the desired value.
When you are certain that the router line is configured for the desired
speed, initiate a reverse Telnet session to the modem on that line.
Use a modem command string that includes the lock DTE speed
command for your modem. See your modem documentation for the
exact configuration command syntax.
The lock DTE speed command, which might also be referred to as
port rate adjust or buffered mode, is often related to the way in which
the modem handles error correction. This command varies widely
between modems.
Locking the modem speed ensures that the modem always
communicates with the Cisco router at the speed configured on the
Cisco serial port. If this command is not used, the modem will revert
to the speed of the data link (the telephone line) instead of
communicating at the speed configured on the router.
9-35
Chapter 9
Troubleshooting
Problem
Solution
Enter the show line 1 privileged EXEC command on the router. The
output for the serial port should indicate the currently configured
transmit (Tx) and receive (Rx) speeds.
If the line is not configured to the correct speed, use the speed
command in asynchronous line configuration mode to set the speed
on the router line. Set the value to the highest speed in common
between the modem and the router port. If for some reason you cannot
use flow control, limit the line speed to 9600 bps. Faster speeds are
likely to result in lost data.
Use the show line 1 command again, and confirm that the line speed
is set to the desired value.
When you are certain that the router line is configured for the desired
speed, initiate a reverse Telnet session to the modem on that line.
Use a modem command string that includes the lock DTE speed
command for your modem. See your modem documentation for the
exact configuration command syntax.
The lock DTE speed command, which might also be referred to as
port rate adjust or buffered mode, is often related to the way in which
the modem handles error correction. This command varies widely
between modems.
Locking the modem speed ensures that the modem always
communicates with the Cisco router at the speed configured on the
Cisco serial port. If this command is not used, the modem will revert
to the speed of the data link (the telephone line) instead of
communicating at the speed configured on the router.
9-36
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problems
Solutions
Incorrect cabling.
Check the cabling between the modem and the router. Refer to the
Cisco 805 Router Hardware Installation Guide for information on how to
select the serial cable and how to connect the modem.
Enter the show line 1 privileged EXEC command on the router. The
output for the serial port should show inout or RIisCD in the Modem
column, which indicates that modem control is enabled on the router
line.
You might have to configure the router line to which the modem is
connected with the no exec command in asynchronous line
configuration mode. Clear the line with the clear line privileged
EXEC command, initiate a reverse Telnet session with the modem,
and reconfigure the modem so that DCD is high only on CD.
9-37
Chapter 9
Troubleshooting
Problem
Solution
Enter the show line 1 privileged EXEC command on the router. The
output for the serial port should indicate the currently configured
transmit (Tx) and receive (Rx) speeds.
If the line is not configured to the correct speed, use the speed
command in asynchronous line configuration mode to set the speed
on the router line. Set the value to the highest speed in common
between the modem and the router port. If for some reason you cannot
use flow control, limit the line speed to 9600 bps. Faster speeds are
likely to result in lost data.
Use the show line 1 command again, and confirm that the line speed
is set to the desired value.
When you are certain that the router line is configured for the desired
speed, initiate a reverse Telnet session to the modem on that line.
Use a modem command string that includes the lock DTE speed
command for your modem. See your modem documentation for the
exact configuration command syntax.
The lock DTE speed command, which might also be referred to as
port rate adjust or buffered mode, is often related to the way in which
the modem handles error correction. This command varies widely
between modems.
Locking the modem speed ensures that the modem always
communicates with the Cisco router at the speed configured on the
Cisco serial port. If this command is not used, the modem will revert
to the speed of the data link (the telephone line) instead of
communicating at the speed configured on the router.
9-38
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Enter the show line 0 privileged EXEC command, and look for the
following in the Capabilities field:
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol
Out...
9-39
Chapter 9
Troubleshooting
Problem
Solution
Make sure that IP routing is enabled on the local and remote routers.
No default gateway
specified on PC
Enter the show slip privileged EXEC command. Make sure that the
specified IP address is the same as the default gateway specification
on the PC.
Enter the show line 0 privileged EXEC command, and look for the
following in the Capabilities field:
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol
Out...
9-40
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
If the router and workstation are not configured to use DNS, use the
ip domain-lookup, ip domain-name, and ip name-server
commands to configure the router.
Problem
Solution
Enter the hangup DTR modem command string. This command tells
the modem to drop carrier when the DTR signal is no longer being
received. For the exact syntax of this command, see the your modem
documentation.
9-41
Chapter 9
Troubleshooting
Problem
Solution
Use the show line 1 privileged EXEC command on the router. The
output should show inout or RIisCD in the Modem column, which
indicates that modem control is enabled on the line of the router.
Problem
Solution
Make sure that the access lists describe all the traffic that should keep
the link active. Reconfigure the access lists to include additional
traffic if necessary.
9-42
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Table 9-22 Link Does Not Deactivate or Stays Activated Too Long
Problem
Solution
Modems misconfigured
Make sure that the access lists do not describe traffic that should not
keep the link active. Reconfigure the access lists if necessary.
Make sure that the local and remote modems are properly configured. In
particular, both modems should be configured to disconnect on loss of
DTR (Hangup DTR). For the exact syntax of this command, see your
modem documentation.
9-43
Chapter 9
Troubleshooting
Problem
Solution
Make certain the modem is configured for error correction. For the exact
syntax of the command, see your modem documentation.
Enter the show line 0 privileged EXEC command, and look for the
following in the Capabilities field:
Capabilities: Hardware Flowcontrol In, Hardware Flowcontrol
Out...
9-44
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Cabling, hardware, or carrier Perform these steps on the local and remote routers.
problem
Use the show interfaces serial 0 command to see if the interface
and line protocol are up.
If the interface and line protocol are down, refer to the Cisco 805
Router Hardware Installation Guide to confirm that you are using
the correct serial cable to connect the CSU/DSU and that you
connected the CSU/DSU correctly. Make sure that cables are
securely attached.
If the cable does not work on the second port, replace the cable. If
it still does not work, there might be a problem with the DCE.
Contact your carrier about the problem.
9-45
Chapter 9
Troubleshooting
Problem
Solution
Encapsulation mismatch
If the output shows the interface is up but the line protocol is down,
enter the show frame-relay lmi privileged EXEC command to see
which LMI type is configured on the Frame Relay interface.
Make sure that the LMI type is the same for all devices in the path
from source to destination. Enter the frame-relay lmi-type {ansi
| cisco | q933a} command in serial interface configuration mode to
change the LMI type on the router.
9-46
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
Data-link connection
identifier (DLCI) inactive or
deleted
Problem
Solution
Encapsulation mismatch
9-47
Chapter 9
Troubleshooting
Problem
Solution
Continue testing access lists until all access lists are restored and
connections still work.
9-48
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Solution
If you do not see an address map for the DLCI, enter the clear
frame-relay-inarp privileged EXEC command. Then enter the
show frame-relay map command again to see if there is now a
map to DLCI.
No broadcast keyword in
frame-relay map statements
1. You can eliminate the need for static Frame Relay address maps by using Inverse Address Resolution Protocol (ARP) instead.
Use the frame-relay interface-dlci dlci broadcast interface configuration command to configure an interface to use Inverse
ARP. For more information about the use of this command, refer to the Cisco IOS Wide-Area Networking Configuration
Guide and Wide-Area Networking Command Reference.
9-49
Chapter 9
Troubleshooting
Problem
Solution
No default gateway on
workstation
If all your attempts fail, check to see whether the local workstation
or server can ping the Frame Relay interface of the local router.
If you are unable to ping the Frame Relay interface of the local
router, check the local workstation or server to see whether it is
configured with a default gateway specification.
X.25 Problems
This section describes how to troubleshoot the following X.25 symptoms:
9-50
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Problem
Incorrect cabling or bad
router hardware
Link is down
Solution
Check all cabling and hardware for damage or wear. Replace cabling
or hardware as required. For more information on the Cisco 805
router and serial cables, refer to the Cisco 805 Router Hardware
Installation Guide.
If the LAPB state is not CONNECT, use the debug lapb privileged
EXEC command (or attach a serial analyzer) to look for set
asynchronous balance mode requests (SABMs) being sent, and for
UA packets being sent in reply to SABMs. If UAs are not being sent,
one of the other possible problems described in this table is the likely
cause.
9-51
Chapter 9
Troubleshooting
Problem
Solution
Misconfigured protocol
parameters
Enable the debug lapb privileged EXEC command and look for set
asynchronous balance mode requests (SABMs) being sent. If no
SABMs are being sent, disable the debug lapb command and enable
the debug x25 events privileged EXEC command.
Verify that all critical LAPB parameters (modulo, T1, N1, N2, and k)
and the critical X.25 parameters (modulo, X.121 addresses, SVC
ranges, PVC definitions, and default window and packet sizes) match
the parameters required by the X.25 service provider.
Make sure that x25 map commands specify the correct address
mappings.
Make sure that all router X.25 configuration options match the
settings of attached switches. Reconfigure the router or the switch as
necessary.
Enable the debug x25 events privileged EXEC command and look
for RESTART messages (for PVCs) or CLEAR REQUESTS with non-zero
cause codes (for SVCs). To interpret X.25 cause and diagnostic codes
provided in the debug x25 events output, refer to the Debug
Command Reference document.
REQUESTS
with
9-52
78-5372-06
Chapter 9
Troubleshooting
Troubleshooting Serial Line Problems
Note
If any of these fields is increasing and represents more than 0.5 percent of the
number of IFRAMEs, there is likely a problem somewhere in the X.25 network.
There should always be at least one SABM. However, if there are more than 10,
the packet switch probably is not responding.
Table 9-28 outlines causes of this problem and describes possible solutions.
Problem
Incorrect cabling or bad
router hardware
Solution
Check all cabling and hardware for damage or wear. Replace cabling
or hardware as required. For more information on the Cisco 805
router and serial cables, refer to the Cisco 805 Router Hardware
Installation Guide.
If the LAPB state is not CONNECT, use the debug lapb privileged
EXEC command (or attach a serial analyzer) to look for SABMs
being sent, and for UA packets being sent in reply to SABMs. If UAs
are not being sent, one of the other possible problems described in
this table is the likely cause.
9-53
Chapter 9
Troubleshooting
Copy the new software image to Flash memory over the LAN or WAN while
the existing Cisco IOS software image is operating.
Copy the new software image to Flash memory over the LAN while the boot
image (ROM monitor) is operating.
Copy the new software image over the console port while in ROM monitor
mode.
From the ROM monitor mode, boot the router from a software image that is
loaded on a TFTP server. To use this method, the TFTP server must be on the
same LAN as the router.
2.
3.
Resetting the Password and Saving Your Changes (for lost enable secret
passwords only)
4.
Note
These procedures can be done only when you are connected to the router through
the console port. These procedures cannot be performed through a Telnet session.
Note
See the Hot Tips section on Cisco Connection Online (CCO) for additional
information on replacing enable secret passwords.
9-54
78-5372-06
Chapter 9
Troubleshooting
Recovering a Lost Password
Step 2
Configure the terminal to operate at 9600 baud, 8 data bits, no parity, and
1 stop bit.
Step 3
At the privileged EXEC prompt (router_name >), enter the show version
command to display the existing configuration register value :
820-uut2#sh ver
Cisco Internetwork Operating System Software
IOS (tm) C827 Software (C827-NSY6-M), Version 12.0
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 22-Nov-99 11:20 by dahsue
Image text-base:0x80013170, data-base:0x8081B748
ROM:System Bootstrap, Version 12.0(19990519:174856)
[jakumar-twister_dev 1055], DEVELOPMENT SOFTWARE
Jay uptime is 48 minutes
System returned to ROM by reload
Running default software
CISCO C827 (MPC855T) processor (revision 0x00) with 19456K/1024K bytes
of memory.
Processor board ID 00000000, with hardware revision 0000
CPU rev number 5
Bridging software.
4 POTS Ports
1 Ethernet/IEEE 802.3 interface(s)
1 ATM network interface(s)
128K bytes of non-volatile configuration memory.
16384K bytes of processor board System flash (Read/Write)
Configuration register is 0x100
Step 4
9-55
Chapter 9
Troubleshooting
Step 5
Note
If break is enabled, go to Step 2. If break is disabled, turn the router off ( O ), wait
5 seconds, and turn it on ( | ) again. Within 60 seconds, press the Break key. The
terminal displays the ROM monitor prompt. Go to Step 3.
Note
Step 2
Some terminal keyboards have a key labeled Break. If your keyboard does
not have a Break key, refer to the documentation that came with the
terminal for instructions on how to send a break.
Step 3
Step 4
The router cycles its power, and the configuration register is set to 0x142. The
router uses the boot ROM system image, indicated by the system configuration
dialog:
--- System Configuration Dialog ---
9-56
78-5372-06
Chapter 9
Troubleshooting
Recovering a Lost Password
Step 5
Step 6
Step 7
Enter the enable command to enter enable mode. Configuration changes can be
made only in enable mode:
Router> enable
Step 8
If you are recovering an enable password, skip the following Resetting the
Password and Saving Your Changes section on page 9-59, and complete the
password recovery process by performing the steps in the Resetting the
Configuration Register Value section on page 9-59.
If you are recovering an enable secret password, it is not displayed in the
show startup-config command output. Complete the password-recovery process
by performing the steps in the following Resetting the Password and Saving
Your Changes section on page 9-59.
9-57
Chapter 9
Troubleshooting
Step 2
Enter the enable secret command to reset the enable secret password in the
router:
Router(config)# enable secret password
Step 3
Step 4
Step 2
Enter the configure register command and the original configuration register
value that you recorded.
Router(config)# config-reg value
Step 3
9-58
78-5372-06
Chapter 9
Troubleshooting
Managing the Cisco Router Web Setup Tool
Note
Step 4
To return to the configuration being used before you recovered the lost
enable password, do not save the configuration changes before rebooting
the router.
Simplified setup
Advanced configuration
Router security
Router monitoring
9-59
Chapter 9
Troubleshooting
9-60
78-5372-06
A P P E N D I X
A-1
Appendix A
PC Operating System
Software
Windows 3.1
Terminal
(included with Windows software)
Macintosh
ProComm, VersaTerm
(supplied separately)
You can use the terminal emulation software to change settings for the type of
device that is connected to the PC, in this case a router. Configure the software to
the following standard VT-100 emulation settings so that your PC can
communicate with your router:
9600 baud
8 data bits
No parity
1 stop bit
No flow control
These settings should match the default settings of your router. To change the
router baud, data bits, parity, or stop bits settings, you must reconfigure
parameters in the ROM monitor. For more information, refer to Appendix B,
ROM Monitor. To change the router flow control setting, use the flowcontrol
line configuration command.
For information on how to enter global configuration mode so that you can
configure your router, see the Entering Global Configuration Mode section on
page A-8.
Cisco 800 Series Software Configuration Guide
A-2
78-5372-06
Appendix A
User EXEC
Privileged EXEC
Global configuration
Table A-2 lists the command modes that are used in this guide, how to access each
mode, the prompt you see in that mode, and how to exit to a mode or enter the
next mode. Because each mode configures different router elements, you might
need to enter and exit modes frequently. You can see a list of available commands
for a particular mode by entering a question mark (?) at the prompt. For a
description of each command, including syntax, refer to the Cisco IOS 12.0
documentation set.
A-3
Appendix A
Table A-2
Mode
Access Method
Prompt
User EXEC
Router>
Privileged
EXEC
Router#
Exit/Entrance
Method
To exit router
session, enter the
logout command.
To exit to user
EXEC mode, enter
the disable
command.
To enter global
configuration
mode, enter the
configure
command.
Change terminal
settings.
Display system
information.
Configure your
router operating
parameters.
Perform the
verification steps
shown in this guide.
To prevent
unauthorized
changes to your
router
configuration,
access to this mode
should be protected
with a password as
described in
Enable Secret and
Enable Passwords
later in this chapter.
A-4
78-5372-06
Appendix A
Table A-2
Mode
Access Method
Global
Enter the configure
configuration command from
privileged EXEC
mode.
Exit/Entrance
Method
Prompt
To exit to
privileged EXEC
mode, enter the exit
or end command,
or press Ctrl-Z.
Router
(config)#
To enter interface
configuration
mode, enter the
interface
command.
Interface
Enter the interface
configuration command (with a
specific interface,
such as interface
ethernet 0) from
global configuration
mode.
Router
(config-if)#
To exit to global
configuration
mode, enter the exit
command.
To exit to
privileged EXEC
mode, enter the end
command, or press
Ctrl-Z.
Interface
configuration
Router
configuration
Line configuration
To enter
subinterface
configuration
mode, specify a
subinterface with
the interface
command.
A-5
Appendix A
Getting Help
Table A-2
Mode
Access Method
Prompt
Router
Enter your router
configuration command followed
by the appropriate
keyword, for example
router rip, from
global configuration
mode.
Router
(configrouter)#
Line
Specify the line
configuration command with the
desired keyword, for
example, line 0, from
global configuration
mode.
Router
(configline)#
Exit/Entrance
Method
Getting Help
You can use the question mark (?) and arrow keys to help you enter commands.
For a list of available commands at that command mode, enter a question mark:
router> ?
access-enableCreate a temporary access-list entry
access-profileApply user-profile to interface
clearReset functions
...
A-6
78-5372-06
Appendix A
For a list of command variables, enter the show command followed by a space
and a question mark:
router> show ?
clock
Display the system clock
dialerDialer parameters and statistics
exceptionexception information
...
To redisplay a command you previously entered, press the up-arrow key. You can
continue to press the up arrow key for more commands.
You must enter an enable secret password to gain access to privileged EXEC
mode commands.
For maximum security, the passwords should be different. If you enter the same
password for both during the setup process, your router accepts the passwords, but
warns you that they should be different.
An enable secret password can contain from 1 to 25 uppercase and lowercase
alphanumeric characters. An enable password can contain any number of
uppercase and lowercase alphanumeric characters. In both cases, a number cannot
be the first character. Spaces are also valid password characters; for example, two
words is a valid password. Leading spaces are ignored; trailing spaces are
recognized.
A-7
Appendix A
After your router boots up, answer no when the following question displays:
Would you like to enter the initial configuration dialog [yes]: no
Step 2
Step 3
If you have configured your router with an enable password, enter it when you are
prompted.
The enable password does not show on the screen when you enter it. This example
shows how to enter privileged EXEC mode:
Password:
router#
enable_password
Enable mode is indicated by the # in the prompt. You can now make changes to
your router configuration.
Step 4
A-8
78-5372-06
Appendix A
Using Commands
This section provides some tips about entering Cisco IOS commands at the
command-line interface (CLI).
Abbreviating Commands
You only have to enter enough characters for the router to recognize the command
as unique. This example shows how to enter the show version command:
router # sh v
Undoing Commands
If you want to disable a feature or undo a command you entered, you can enter the
keyword no before most commands; for example, no ip routing.
A-9
Appendix A
Table A-3
Error Message
Meaning
% Ambiguous command:
"show con"
% Incomplete command.
A-10
78-5372-06
Appendix A
It might take a minute or two to save the configuration to NVRAM. After the
configuration has been saved, the following message appears:
Building configuration...
router #
A-11
Appendix A
Summary
Command
Task
Step 1
Step 2
Note
The squeeze function is applicable only to the Cisco 831, Cisco 837,
Cisco SOHO 91, and Cisco SOHO 97 routers.
Summary
Now that you have reviewed some Cisco IOS software basics, you can begin to
configure your router. Remember the following:
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 are having
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 using the wrong syntax.
If you want to disable a feature, enter the keyword no before the command;
for example, no ip routing.
Save your configuration changes to NVRAM so that they are not lost if there
is a system reload or power outage.
A-12
78-5372-06
Appendix A
Where to Go Next
To configure your router, see Chapter 7, Router Feature Configuration, and
Chapter 8, Advanced Router Configuration.
A-13
Appendix A
Where to Go Next
A-14
78-5372-06
A P P E N D I X
ROM Monitor
This appendix describes the Cisco 820 series routers ROM monitor (also called
the bootstrap program). The ROM monitor firmware runs when the router is
powered up or reset. The firmware helps to initialize the processor hardware and
boot the operating system software. You can use the ROM monitor to perform
certain configuration tasks, such as recovering a lost password or downloading
software over the console port. If there is no Cisco IOS software image loaded on
the router, the ROM monitor runs the router.
This appendix contains the following sections:
Using the TFTP Download Command Without Writing the Image to Flash
Memory, page B-10
B-1
Appendix B
ROM Monitor
Task
Step 1
enable
Step 2
configure terminal
Step 3
config-reg 0x0
Step 4
exit
Step 5
reload
Timesaver
Break (system interrupt) is always enabled for 60 seconds after the router 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.
B-2
78-5372-06
Appendix B
ROM Monitor
Entering the ROM Monitor
Download the ROMMON image from CCO, and place it on your TFTP server.
Step 2
Connect the Ethernet cable to the same hub that the TFTP server is attached to.
Step 3
Place your Cisco router in ROMMON mode by sending the Telnet command
break during a router reboot sequence. Make sure that all the parameters are exact
and are in capital letters. The following prompt is displayed when the router is in
ROMMON mode:
rommon 1 >
Step 4
1
1
1
1
1
1
>
>
>
>
>
>
IP_ADDRESS=ip_address
IP_SUBNET_MASK=ip_subnet_mask
DEFAULT_GATEWAY=default_gateway
TFTP_SERVER=TFTP_server
TFTP_FILE=TFTP_file
B-3
Appendix B
ROM Monitor
Step 5
Parameter
Value
IP_ADDRESS=
IP_SUBNET_MASK=
DEFAULT_GATEWAY=
TFTP_SERVER=
TFTP_FILE=
Verify parameter settings, using the set command. Correct any errors by
reentering the parameters and their values. For example:
rommon > set
TFTP_CHECKSUM=0
IP_SUBNET_MASK=255.255.255.0
DEFAULT_GATEWAY=1.6.0.1
TFTP_SERVER=223.255.254.254
IP_ADDRESS=1.6.97.20
TFTP_FILE=/auto/tftpload/ROMMON/C820_RM_ALT.srec.122-1r.XE2
Step 6
Note
rommon >tftpdnld -u
IP_ADDRESS:1.6.97.20
IP_SUBNET_MASK:255.255.255.0
DEFAULT_GATEWAY:1.6.0.1
TFTP_SERVER:223.255.254.254
TFTP_FILE:/auto/tftpload/ROMMON/C820_RM_ALT.srec.122-1r.XE2
WARNING: alternate copy of rommon exists, filename:C820_RM_ALT.srec
all existing data in the alternate copy of rommon will be lost.
Do you wish to continue? y/n: [n]:
B-4
78-5372-06
Appendix B
ROM Monitor
ROM Monitor Commands
Step 7
Enter y to start the download. Successive exclamation points (!!!!!!) indicate that
the download is occurring. The router reboots when the download is complete.
Download the ROMMON image from CCO, and place it on your TFTP server.
Step 2
In EXEC mode, save the current configuration, using the copy running-config
startup-config command.
Step 3
Enter the copy tftp rommon command, and answer the prompts. Replace the
variables shown in the following example with the correct values for your router:
820-2#copy tftp:rommon:
Address or name of remote host []? IP_address_of_remote_host
Source filename []? rommon_image_source_file_name
Destination filename [rommon]? rommon_image_destination_file_name
?
set and display aliases command
boot up an external process
set/show/clear the breakpoint
configuration register utility
continue executing a downloaded image
display the context of a loaded image
display contents of cookie PROM in hex
list the device table
list files in file system
display instruction stream
serial download a program module
print out a selected stack frame
monitor builtin command help
monitor command history
B-5
Appendix B
ROM Monitor
Command Descriptions
meminfo
repeat
reset
set
stack
sync
sysret
tftpdnld
unalias
unset
xmodem
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, refer
to the documentation for that product for information on how to send a Break
command.
Command Descriptions
Table B-1 describes the most commonly used ROM monitor commands.
Table B-1
Command
Description
help or ?
-?
The output for this command is slightly different for the xmodem download
command:
rommon 11 > xmodem -?
xmodem: illegal option -- ?
usage: xmodem [-cyrxu] <destination filename>
-c CRC-16
-y ymodem-batch protocol
-r copy image to dram for launch
-x do not launch on download completion
-u upgrade ROMMON, System will reboot after upgrade
B-6
78-5372-06
Appendix B
ROM Monitor
Disaster Recovery with TFTP Download
Table B-1
Command
Description
reset or i
dev
dir device:
Checksum
0x2073
File name
c806-oy6-mz
boot commands
For more information about the ROM monitor boot commands, refer to the
Cisco IOS Configuration Guide and the Cisco IOS Command Reference.
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.
B-7
Appendix B
ROM Monitor
Note
The commands described in this section are case sensitive and must be entered
exactly as shown.
Required Variables
These variables must be set with these commands before using the tftpdnld
command.
Variable
Command
IP_ADDRESS=ip_address
IP_SUBNET_MASK=ip_address
TFTP_SERVER=ip_address
TFTP_FILE=filename
B-8
78-5372-06
Appendix B
ROM Monitor
Disaster Recovery with TFTP Download
Optional Variables
The following variables should be set with these commands before using the
tftpdnld command.
Variable
Command
Initializing interface.
TFTP_CHECKSUM=setting
B-9
Appendix B
ROM Monitor
Using the TFTP Download Command Without Writing the Image to Flash Memory
Use the appropriate commands to enter all the required variables and any optional
variables described earlier in this section.
Step 2
Note
Step 3
If you are sure that you want to continue, enter y in response to the question in the
output:
Do you wish to continue? y/n:
[n]:y
B-10
78-5372-06
Appendix B
ROM Monitor
Configuration Register
Configuration Register
The virtual configuration register is in nonvolatile RAM (NVRAM) and has the
same functionality as other Cisco routers. You can view or modify the virtual
configuration register from either the ROM monitor or the operating system
software. Within 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.
You must reset or power cycle for new config to take effect
rommon 2 >
B-11
Appendix B
ROM Monitor
Console Download
[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
Console Download
You can use console download, a ROM monitor function, to download over the
router console port either a software image or a configuration file. Make sure that
the Cisco IOS image is in the same PC where you are to perform this function.
After download, the file is either saved to the mini-Flash memory module or to
main memory for execution (image files only).
Use console download when you do not have access to a TFTP server.
Note
If you want to download a software image or a configuration file to the router over
the console port, you must use the ROM monitor command.
B-12
78-5372-06
Appendix B
ROM Monitor
Console Download
Note
If you are using a PC to download a Cisco IOS image over the router 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 or less when downloading
a Cisco IOS image over the console port.
Command Description
The following are the syntax and descriptions for the xmodem console download
command:
xmodem [-cyrx] destination_file_name
destination_ The name of the system image file or the system configuration
file_name
file. In order for the router to recognize it, the name of the
configuration file must be router_confg.
B-13
Appendix B
ROM Monitor
Debug Commands
Move the image file to the local drive where the Xmodem will execute.
Step 2
Error Reporting
Because the ROM monitor console download uses the console to perform the data
transfer, error messages are displayed on the console only when the data transfer
is terminated.
If an error does occur during a data transfer, the transfer is terminated, and an
error message is displayed. If you have 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.
Debug Commands
Most ROM monitor debugging commands are functional only when the Cisco
IOS software has crashed or is halted. If you enter a debugging command and
Cisco IOS crash information is not available, you see the following error
message:
"xxx: kernel context state is invalid, cannot proceed."
PC
PC
PC
PC
PC
PC
=
=
=
=
=
=
0x801111b0
0x80113694
0x8010eb44
0x80008118
0x80008064
0xfff03d70
B-14
78-5372-06
Appendix B
ROM Monitor
Debug Commands
recent exception:
0x00009032 CR = 0x53000035
LR
0xa0006d36
DAR = 0xffffffff
DSISR =
0xffffffff
TBL = 0xffffffff
IMMR
0x80005ea8
R2
= 0xffffffff
R3
0x80657d00
R6
= 0x80570000
R7
0x80570000
R10 = 0x0000954c
R11
0xffffffff
R14 = 0xffffffff
R15
0xffffffff
R18 = 0xffffffff
R19
0xffffffff
R22 = 0xffffffff
R23
0xffffffff
R26 = 0xffffffff
R27
0xffffffff
R30 = 0xffffffff
R31
sysretdisplays 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:
rommon 8> sysret
System Return Info:
count: 19, reason: user break
pc:0x801111b0, error address: 0x801111b0
Stack Trace:
FP: 0x80005ea8, PC: 0x801111b0
FP: 0x80005eb4, PC: 0x80113694
FP: 0x80005f74, PC: 0x8010eb44
FP: 0x80005f9c, PC: 0x80008118
FP: 0x80005fac, PC: 0x80008064
FP: 0x80005fc4, PC: 0xfff03d70
FP: 0x80005ffc, PC: 0x00000000
FP: 0x00000000, PC: 0x00000000
B-15
Appendix B
ROM Monitor
Note
If you want to download a software image or a configuration file to the router over
the console port, you must use the rom monitor command.
Note
If you are using a PC to download a Cisco IOS image over the router console port
at 115,200 bps, ensure that the PC serial port is using a 16550 UART. If the PC
serial port is not using a 16550 UART, we recommend using a speed of 38,400 or
less when downloading a Cisco IOS image over the console port.
Command Description
Following are the syntax and descriptions for the xmodem console download
command:
xmodem [-cyrx] destination_file_name
B-16
78-5372-06
Appendix B
ROM Monitor
Disaster Recovery with Console Download of Cisco IOS Software
destination_ The name of the system image file or the system configuration
file_name
file. In order for the router to recognize it, the name of the
configuration file must be router_confg.
Follow the steps below to run Xmodem:
1.
Move the image file to the local drive where the Xmodem will execute.
2.
Error Reporting
Because the ROM monitor console download uses the console to perform the data
transfer, error messages are displayed on the console only when the data transfer
is terminated.
If an error does occur during a data transfer, the transfer is terminated, and an
error message is displayed. If you have 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.
B-17
Appendix B
ROM Monitor
Debug Commands
Most ROM monitor debugging commands are functional only when the Cisco
IOS software has crashed or is halted. If you enter a debugging command and
Cisco IOS crash information is not available, you see the following error
message:
xxx:kernel context state is invalid, cannot proceed.
PC
PC
PC
PC
PC
PC
=
=
=
=
=
=
0x801111b0
0x80113694
0x8010eb44
0x80008118
0x80008064
0xfff03d70
B-18
78-5372-06
Appendix B
ROM Monitor
Disaster Recovery with Console Download of Cisco IOS Software
sysretdisplays 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:
rommon 8> sysret
System Return Info:
count: 19, reason: user break
pc:0x801111b0, error address: 0x801111b0
Stack Trace:
FP = 0x80005ea8 PC = 0x801111b0
FP = 0x80005eb4 PC = 0x80113694
FP = 0x80005f74 PC = 0x8010eb44
FP = 0x80005f9c PC = 0x80008118
FP = 0x80005fac PC = 0x80008064
FP = 0x80005fc4 PC = 0xfff03d70
FP = 0x80005ffc PC = 0x00000000
FP = 0x00000000 PC = 0x00000000
B-19
Appendix B
ROM Monitor
You must reset or power cycle for new config to take effect
rommon 2 >boot
The router will boot the Cisco IOS image in Flash memory. The configuration
register will change to 0x2101 the next time the router is reset or power cycled.
B-20
78-5372-06
A P P E N D I X
Port
Keyword
Description
Reserved
14
Unassigned
RJE
ECHO
Echo
DISCARD
Discard
11
USERS
Active users
13
DAYTIME
Daytime
15
NETSTAT
Who is up or NETSTAT
17
QUOTE
19
CHARGEN
Character generator
20
FTP-DATA
21
FTP
23
TELNET
Terminal connection
25
SMTP
C-1
Appendix C
Table C-1
Port
Keyword
Description
37
TIME
Time
39
RLP
42
NAMESERVER
43
NICNAME
Who is
49
LOGIN
53
DOMAIN
67
BOOTPS
68
BOOTPC
69
TFTP
75
77
79
FINGER
Finger
95
SUPDUP
SUPDUP Protocol
101
HOST NAME
102
ISO-TSAP
103
X400
X400
104
X400-SND
X400-SND
111
SUNRPC
113
AUTH
Authentication Service
117
UUCP-PATH
119
NNTP
123
NTP
126
SNMP
137
NETBIOS-NS
C-2
78-5372-06
Appendix C
Table C-1
Port
Keyword
Description
138
NETBIOS-DGM
139
NETBIOS-SSN
161
SNMP
162
SNMP-TRAP
512
rexec
513
TCPrlogin
UDPrwho
TCPUNIX rlogin
514
TCPrsh
UDPsyslog
515
Printer
520
RIP
525
Timed
Time server
C-3
Appendix C
C-4
78-5372-06
A P P E N D I X
Whether to order only data applications or both data and voice applications.
A data application is one that runs over a B channel of any Cisco 800 series
router. A voice application is one that runs over the telephone interface of
Cisco 803 or Cisco 804 routers.
If you use a National ISDN-1 (NI1) switch, which capability package, if any,
to use. A capability package is a set of standardized ISDN line features that
simplify the ISDN line configuration.
D-1
Appendix D
Note
Cisco 803 and Cisco 804 routers also support voice applications.
Some telephone service providers charge a lower rate for an ISDN line that
supports only data applications.
If you do not need voice capability on your ISDN line, Cisco recommends
provisioning your ISDN line for only data applications.
Feature
Description
Subaddressing
D-2
78-5372-06 Rev B0
Appendix D
Table D-2
Feature
Description
Speech/3.1-kHz audio-bearer
capability
Call waiting
Call bumping
Call transferring
Call forwarding
Caller ID
The data and voice applications described in this section might be referred to by
different names, depending on the telephone service provider. The terms can
differ even within a country. Table D-3 lists the names and codes that could be
used by telephone service providers outside of North America.
D-3
Appendix D
Table D-3
Other Names
Code
Call hold
CH HOLD
Call waiting
Anklopfen 1
CW
SDA MSN
1. Germany only
Note
Switches that comply with the NI1 standard provide the best
performance with the call-bumping feature. If you order this feature,
Cisco recommends using an NI1 switch.
Lucent 5ESS custom switches can run in either custom mode or NI1 mode. In
custom mode, the switch can operate in either a point-to-point or a multipoint
configuration. Point-to-point configuration supports one piece of terminal
equipment on the BRI line and does not require service profile identifiers
(SPIDs). Multipoint configuration supports multiple pieces of terminal
equipment on the same BRI line and requires SPIDs.
Note
D-4
78-5372-06 Rev B0
Appendix D
Nortel DMS-100 custom switches support a custom mode used with older
terminal equipment.
International Switches
Cisco 800 series routers support most ISDN BRI lines outside North America,
which generally use one of the following switch types:
Note
EURO-ISDN
1TR6
VN3
TPH
The Cisco 800 series routers support 1TR6 switches for data applications only.
The routers do not support 1TR6 switches for voice applications.
Note
Cisco 803 and Cisco 804 routers require two SPIDs for the telephone ports to
operate simultaneously, so that you can have a data and a voice call at the same
time. If a line is assigned only one SPID, the analog telephone ports cannot
operate simultaneously.
If you are not using an NI1 switch, you must order your ISDN line configured as
described in the Other Switches section later in this appendix.
If you have any problems with your ISDN NI1 provisioning, contact Cisco ISDN
Support Services (U.S. only). To access this service or to obtain more
information, call (800) 553-NETS (6387) and select the Customer Service option.
D-5
Appendix D
Other Switches
Capability Package R
Package R provides circuit-switched data on both B channels (no voice
capabilities). Data capabilities include calling number identification. Cisco
recommends this NI1 capability package for Cisco 801 and Cisco 802 routers.
Capability Package S
Package S provides alternate voice and circuit-switched data with no additional
features. Cisco recommends this NI1 capability package for Cisco 803 and
Cisco 804 routers when you want a minimum feature set.
Other Switches
This section contains provisioning summaries for other switches. Each summary
is a list of codes used by the telephone service provider when installing and
configuring your line. When you order your ISDN line, photocopy the appropriate
summary for your ISDN switch type, and attach it to your order form, which will
ensure that your ISDN line is ordered correctly.
The term provisioning refers to the features that can be ordered and configured on
the ISDN BRI line before terminal equipment, such as the router, can use the
features.
Cisco recommends using the BRI switch provisions listed in the Lucent 5ESS
Custom Provisioning and Nortel DMS-100 Custom Provisioning sections in
this appendix to support voice priority on one BRI B channel.
D-6
78-5372-06 Rev B0
Appendix D
Table D-4 provides a list of commonly used ISDN terms and their definitions that
you might find helpful when deciding how to provision your ISDN line and when
ordering your ISDN line.
Table D-4
Term
Definition
CSD
CSD CHL
CSD LIMIT
CSV
CSV ACO
CSV CHL
CSV LIMIT
CSV
NBLIMIT
EKTS
MAXB CHL
MTERM
TERMTYP
D-7
Appendix D
Other Switches
Line Provision
2B1Q line
code1
Configuration
N/A
2B&D line
N/A
B1
B2
Signaling only
MTERM
MAXB CHNL
ACT USR
CSD
CSD CHL
Any
TERMTYP
Type A
DISPLAY
CA PREF
CA PREF
CA PREF
D-8
78-5372-06 Rev B0
Appendix D
Table D-5
Line Provision
Configuration
Call transfer
1. Order this line provision when connecting the router to the U interface.
2. If you do not need voice capability, provision B1 for data only.
3. If you do not need voice capability, provision B2 for data only.
Note
Incoming voice priority is not available with Lucent 5ESS custom switches.
You can order the following additional features with the Lucent 5ESS custom
switch:
Call forwarding
Call pickup
Line Provision
Configuration
2B&D line
N/A
N/A
Issue 2 (NI1)
N/A
Call transfer
Yes
Cisco 800 Series Software Configuration Guide
78-5372-06 Rev B0
D-9
Appendix D
Other Switches
Table D-6
Line Provision
Configuration
Yes
TEI
Dynamic
CS
Yes
EKTS
No
Set Option
Key 1-ACOU 1
Key 2-AFC
1. Order this line provision when connecting the router to the U interface.
Table D-7
Line Provision
Configuration
2B&D line
N/A
N/A
Issue 2 (NI1)
N/A
TEI
Dynamic
CACH
No
CS
Yes
Call transfer
Yes
Yes
EKTS
Yes
Set option
2 call appearances
1. Order this line provision when connecting the router to the U interface.
D-10
78-5372-06 Rev B0
Appendix D
Step 2
Step 3
If you have Cisco 803 or Cisco 804 routers, order the additional call offering
option if desired.
With this feature, the router can handle voice calls while in use.
Step 4
Obtain and record the following information from your telephone service
provider:
a.
b.
D-11
Appendix D
NI1 Switch
The following table lists the router configuration requirements when using
Cisco 800 series routers with a Lucent 5E NI1 switch in a multipoint
configuration.
Note
NI1 Configuration
Parameter
Configuration
Software Command
Switch type
NI1
isdn switch-type
basic-ni1 1
SPID, directory
number
1. If the automatic detection of ISDN switch type is enabled, you do not need to enter this command.
2. If the automatic detection of SPIDs is enabled, you do not need to specify the actual SPID number
provided by your telephone service provider; instead, you can specify any number or numerical
string, such as 0.
D-12
78-5372-06 Rev B0
Appendix D
Point-to-Point Configuration
Table D-9 lists the router configuration requirements for using a Lucent 5ESS
custom switch in a point-to-point configuration.
Table D-9
Parameter
Configuration
Software Command
Switch type
5ESS
isdn switch-type
basic-5ess1
SPIDs, directory
number
1. If the automatic detection of ISDN switch type is enabled, you do not need to enter this command.
2. If SPIDs are not used or if the automatic detection of SPIDs is enabled, you do not need to specify
an actual SPID number provided by your telephone service provider; instead, you can specify any
number or numerical string, such as 0.
Multipoint Configuration
Table D-10 lists the router configuration requirements for using Lucent 5ESS
custom switch in a multipoint configuration.
D-13
Appendix D
Parameter
Configuration
Software Command
Switch type
5ESS
isdn switch-type
basic-5ess1
SPIDs, directory
number
1. If the automatic detection of ISDN switch type is enabled, you do not need to enter this command.
2. If the automatic detection of SPIDs is enabled, you do not need to specify the actual SPID number
provided by your telephone service provider; instead, you can specify any number or numerical
string, for example, 0.
Parameter
Configuration
Software Command
Switch type
DMS
isdn switch-type
basic-dms100 1
SPIDs, directory
numbers
Two required
1. If the automatic detection of ISDN switch type is enabled, you do not need to enter this command.
D-14
78-5372-06 Rev B0
Appendix D
2. If the automatic detection of SPIDs is enabled, you do not need to specify the actual SPID number
provided by your telephone service provider; instead, you can specify any number or numerical
string, such as 0.
Note
Parameter
Configuration
Software Command
Switch type
DMS
isdn switch-type
basic-dms100 1
SPIDs, directory
number
One required
1. If the automatic detection of ISDN switch type is enabled, you do not need to enter this command.
2. If the automatic detection of SPIDs is enabled, you do not need to specify the actual SPID number
provided by your telephone service provider; instead, you can specify any number or numerical
string, such as 0.
D-15
Appendix D
1TR6 Switch
The 1TR6 lines can be configured for multiple subscriber numbers, usually
referred to as extended addressing in Germany. The line is usually assigned a
group of eight sequential directory numbers that can be used for the different
pieces of terminal equipment used on the BRI line. These numbers are also used
for allocation to the analog telephone port and for call routing.
D-16
78-5372-06 Rev B0
A P P E N D I X
Cause Value1
Hex Value2
Cause Message
Definition
0001
Unassigned number.
0002
0003
No route to destination.
78-5372-06
E-1
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
0006
Channel unacceptable.
0007
16
0010
17
0011
User busy.
18
0012
No user responding.
19
0013
21
0015
Call rejected.
22
0016
Number changed.
26
001A
E-2
78-5372-06
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
27
001B
28
001C
29
001D
Facility rejected.
30
001E
Response to STATUS
ENQUIRY.
31
001F
Normal, unspecified.
34
0022
No circuit or channel
available.
38
0026
41
0029
Temporary failure.
E-3
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
42
002A
Switching equipment
congestion.
43
002B
44
002C
47
002F
Resource unavailable,
unspecified.
49
0031
Quality of service
unavailable.
50
0032
57
0039
58
003A
63
003F
E-4
78-5372-06
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
65
0041
66
0042
69
0045
70
0046
79
004F
81
0051
82
0052
83
0053
84
0054
E-5
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
85
0055
No call suspended.
86
0056
88
0058
Incompatible destination.
91
005B
95
005F
96
0060
Mandatory information
element is missing.
E-6
78-5372-06
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
97
0061
98
0062
99
0063
Information element
nonexistent or not
implemented.
100
0064
101
0065
102
0066
111
006F
E-7
Appendix E
Table E-1
Cause Value1
Hex Value2
Cause Message
Definition
127
007F
Interworking, unspecified.
UNKNOWN
N/A
E-8
78-5372-06
I N D EX
Symbols
? command A-6
See ARP
ADSL
Numerics
5ESS custom switch D-4, D-8, D-13
A
AAL 1-13
AAL3/4 1-13
AAL5 1-13
AAL5MUXPPP encapsulation configuration
example 7-12
access lists
interface
configuring 7-9
IP traffic 3-30
overview 1-12
IN-1
Index
queues 1-22
call 1-19
caller ID devices 6-12
See AAL
ATM interface
See ATM
ATM OAM F5 continuity check support,
configuring 8-44
authentication protocols
features 5-2
basic calls, making 6-13
overview 5-1
RVS-COM 5-2
bootstrap program
See ROM monitor
bridge, replacing 4-9 to 4-12
bridging
CAR
configuring, configuration example 8-36
description 1-23
caution, described xxx
CBWFQ 1-21
IN-2
78-5372-06
Index
commands
abbreviating A-9
ATM troubleshooting 9-6 to 9-14
boot B-7
completing A-6
confreg B-11
context B-15
copy tftp flash B-7
debug ATM 9-10 to 9-14
dev B-7
dir device B-7
finding available A-6
frame B-15
help with A-6
i B-7
isdn spid1 D-12
isdn spid2 D-12
isdn switch-type D-13
k B-14
meminfo B-16
privileged EXEC, accessing A-7
redisplaying A-7
reset B-7
ROM monitor B-5 to B-7
ROM monitor debugging B-14 to B-16
stack B-14
sysret B-15
tftpdnld B-7
IN-3
Index
undoing A-9
xmodem B-13
command variables
listing A-7
configuration examples
AAL5MUX PPP encapsulation 7-12
AAL5SNAP encapusulation 7-11
See CAR
Common Application Programming Interface
See CAPI
common applications 6-69
configuration
IP EIGRP 7-21
caller ID 6-47
IP Precedence 7-73
NAT 7-23
PPP over ATM with NAT 4-19, 4-23 to 4-24
replacing a bridge or modem 4-9 to 4-12
CLIR 6-51
feature by feature 7-1, 8-1
PIAFS 6-70
prefix filter 6-53
prefix number 6-52
private IP network to Internet 2-3 to 2-12
private IP network to Internet and corporate
network 3-3 to 3-12
RCAPI 5-5
IN-4
78-5372-06
Index
IP parameters 7-63
D
data over voice bearer service 6-9
DDR
RIP 7-19
IN-5
Index
dial backup
configuring 4-24
B-18
debug message
dial peers
configuring 7-74
creating 2-11, 6-4
overview 1-19
diaster recovery
with console download of Cisco IOS
software B-16
DHCP
configuring DHCP server 4-56
IP address assignment 4-56
DHCP relay
See DSP
illustrated 7-27
DHCP server
configuration example 7-31
description 6-11
description 3-5
scenarios 6-60
illustrated 7-27
DHCP server import, configuring 8-14
IN-6
78-5372-06
Index
DSP 1-18
See EIGRP
See DHCP
dynamic routing
Ethernet 1-12
Easy IP (Phase 1)
examples, configuration
overview 1-16
Easy IP (Phase 2)
overview 1-17
EIGRP
IP EIGRP 7-21
IP Precedence 7-73
enable password
recovering 9-55 to 9-60
setting A-7
enable secret password
recovering 9-55 to 9-60
setting A-7
encapsulation 1-13
end-to-end F5 OAM loopback cells,
configuring, example 8-47
NAT 7-23
PPP over ATM with NAT 4-19, 4-23 to 4-24
replacing a bridge or modem 4-9 to 4-12
static route 7-17
extended access list
configuring 7-34
overview 1-25
extension number, expanding 7-76
IN-7
Index
entering A-8
H
H.225.0
See H.323
H.245
RIP 3-23
See H.323
H.323
overview 1-18
handshake
filtering
defined 1-6
three-way 1-10
two-way 1-10
G
I
G.DMT 1-7
G.SHDSL
i command B-7
ordering 4-9
overview 1-5
IN-8
78-5372-06
Index
interfaces
ATM
configuring 7-9
interleaving
leased 3-22
provisioning
configuring 7-72
PPP 1-21
defined D-1
IP
overview 1-6
IP Precedence
configuring 7-72 to 7-73
marking 1-23
overview 1-20
K
k command B-14
L
LCP 1-9
See IPSec
Cisco 800 Series Software Configuration Guide
78-5372-06
IN-9
Index
activation 3-22
configuring 3-22
NAT
LFQ 1-22
See LCP
lists, access
IP traffic 3-30
network access restrictions 3-31
UDP broadcasts control 3-27
NCP 1-9
Net3 switch
requirements 6-47
supplementary telephone services 6-46
See LFQ
See NAT
metrics
EIGRP 1-9
network examples
before configuring 2-1, 3-2
RIP 1-8
modem, replacing 4-9 to 4-12
modes
IN-10
78-5372-06
Index
parameters
addressing, configuring 7-22 to 7-33
global, setting up 7-4
QoS, configuration 7-36
partition and squeeze A-11
Password Authentication Protocol
See PAP
password protection A-7
passwords
enable 9-55
enable secret 9-55
recovery 9-55 to 9-60
resetting 9-59
setting A-7
permanent virtual circuit
See PVC
permit command 1-25
PIAFS
configuring 6-70
description 6-69
scenarios 6-71
overloading 1-16
status 6-73
plain old telephone service
See POTS dial peer
Point-to-Point Protocol
packets, ATM, displaying 9-13
PAP
See PPP
policy-based routing 1-21
description 1-10
IN-11
Index
See PPPoE
precedence
See IP Precedence
activating 6-20
call scenarios 6-28, 6-32
protocols
ATM 1-12
Ethernet 1-12
configuring 7-74
overview 1-19
PPP
provisioning
fragmentation 1-21
interleaving 1-21
overview 1-9
PPP/Internet Protocol Control Protocol
See IPCP
IN-12
78-5372-06
Index
Q.931
RIP
See H.323
configuring 3-23
entering B-2
RADIUS support, configuring 8-49
exiting B-19
overview B-1
RCAPI
configuring 5-5
description 5-1
See RIP
features of 5-2
requirements 5-4
redial
activating 6-56
scenarios 6-56
scenarios 6-66
See RCAPI
REN 6-4
reset command B-7
resetting
scenarios, network
See examples, configuration
Secure Shell 8-28
security authentication protocols 1-10
IN-13
Index
server
switches
vbr-nrt 7-10
EURO-ISDN D-5
ITR6 D-5
See SPIDs
session target command 1-19
settings
NTT D-5
TPH D-5
VN3 D-5
static routing
telephone
configuring 7-17
defined 7-17
configuring 6-62
scenarios 6-63
configuring
call forwarding 6-18
IN-14
78-5372-06
Index
tones 6-4
translation
See NAT
tones 6-4
features
caller ID devices 6-12
call forwarding 6-18
UDP
voice D-2
REN 6-4
troubleshooting 9-15
telephone numbers
associating 1-19
verifying 7-76
U-R2 1-7
V
variable bit rate non-real time
See vbr-nrt
IN-15
Index
vbr-nrt
command 7-10
W
Weighted Fair Queuing
See WFQ
WFQ
configuring 8-55
description 1-24
Windows NT, configuring 3-23
IN-16
78-5372-06