- •Warning and Disclaimer
- •Feedback Information
- •Trademark Acknowledgments
- •About the Author
- •About the Technical Reviewers
- •Dedication
- •Acknowledgments
- •Contents at a Glance
- •Contents
- •Icons Used in This Book
- •Command Syntax Conventions
- •Cisco’s Motivation: Certifying Partners
- •Format of the CCNA Exams
- •What’s on the CCNA Exams
- •ICND Exam Topics
- •Cross-Reference Between Exam Topics and Book Parts
- •CCNA Exam Topics
- •INTRO and ICND Course Outlines
- •Objectives and Methods
- •Book Features
- •How This Book Is Organized
- •Part I: LAN Switching
- •Part II: TCP/IP
- •Part III: Wide-Area Networks
- •Part IV: Network Security
- •Part V: Final Preparation
- •Part VI: Appendixes
- •How to Use These Books to Prepare for the CCNA Exam
- •For More Information
- •Part I: LAN Switching
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Brief Review of LAN Switching
- •The Forward-Versus-Filter Decision
- •How Switches Learn MAC Addresses
- •Forwarding Unknown Unicasts and Broadcasts
- •LAN Switch Logic Summary
- •Basic Switch Operation
- •Foundation Summary
- •Spanning Tree Protocol
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Spanning Tree Protocol
- •What IEEE 802.1d Spanning Tree Does
- •How Spanning Tree Works
- •Electing the Root and Discovering Root Ports and Designated Ports
- •Reacting to Changes in the Network
- •Spanning Tree Protocol Summary
- •Optional STP Features
- •EtherChannel
- •PortFast
- •Rapid Spanning Tree (IEEE 802.1w)
- •RSTP Link and Edge Types
- •RSTP Port States
- •RSTP Port Roles
- •RSTP Convergence
- •Edge-Type Behavior and PortFast
- •Link-Type Shared
- •Link-Type Point-to-Point
- •An Example of Speedy RSTP Convergence
- •Basic STP show Commands
- •Changing STP Port Costs and Bridge Priority
- •Foundation Summary
- •Foundation Summary
- •Virtual LANs and Trunking
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Review of Virtual LAN Concepts
- •Trunking with ISL and 802.1Q
- •ISL and 802.1Q Compared
- •VLAN Trunking Protocol (VTP)
- •How VTP Works
- •VTP Pruning
- •Foundation Summary
- •Part II: TCP/IP
- •IP Addressing and Subnetting
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •IP Addressing Review
- •IP Subnetting
- •Analyzing and Interpreting IP Addresses and Subnets
- •Math Operations Used to Answer Subnetting Questions
- •Converting IP Addresses from Decimal to Binary and Back Again
- •The Boolean AND Operation
- •How Many Hosts and How Many Subnets?
- •What Is the Subnet Number, and What Are the IP Addresses in the Subnet?
- •Finding the Subnet Number
- •Finding the Subnet Broadcast Address
- •Finding the Range of Valid IP Addresses in a Subnet
- •Finding the Answers Without Using Binary
- •Easier Math with Easy Masks
- •Which Subnet Masks Meet the Stated Design Requirements?
- •What Are the Other Subnet Numbers?
- •Foundation Summary
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Extended ping Command
- •Distance Vector Concepts
- •Distance Vector Loop-Avoidance Features
- •Route Poisoning
- •Split Horizon
- •Split Horizon with Poison Reverse
- •Hold-Down Timer
- •Triggered (Flash) Updates
- •RIP and IGRP
- •IGRP Metrics
- •Examination of RIP and IGRP debug and show Commands
- •Issues When Multiple Routes to the Same Subnet Exist
- •Administrative Distance
- •Foundation Summary
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Link-State Routing Protocol and OSPF Concepts
- •Steady-State Operation
- •Loop Avoidance
- •Scaling OSPF Through Hierarchical Design
- •OSPF Areas
- •Stub Areas
- •Summary: Comparing Link-State and OSPF to Distance Vector Protocols
- •Balanced Hybrid Routing Protocol and EIGRP Concepts
- •EIGRP Loop Avoidance
- •EIGRP Summary
- •Foundation Summary
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Route Summarization and Variable-Length Subnet Masks
- •Route Summarization Concepts
- •VLSM
- •Route Summarization Strategies
- •Sample “Best” Summary on Seville
- •Sample “Best” Summary on Yosemite
- •Classless Routing Protocols and Classless Routing
- •Classless and Classful Routing Protocols
- •Autosummarization
- •Classful and Classless Routing
- •Default Routes
- •Classless Routing
- •Foundation Summary
- •Advanced TCP/IP Topics
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Scaling the IP Address Space for the Internet
- •CIDR
- •Private Addressing
- •Network Address Translation
- •Static NAT
- •Dynamic NAT
- •Overloading NAT with Port Address Translation (PAT)
- •Translating Overlapping Addresses
- •Miscellaneous TCP/IP Topics
- •Internet Control Message Protocol (ICMP)
- •ICMP Echo Request and Echo Reply
- •Destination Unreachable ICMP Message
- •Time Exceeded ICMP Message
- •Redirect ICMP Message
- •Secondary IP Addressing
- •FTP and TFTP
- •TFTP
- •MTU and Fragmentation
- •Foundation Summary
- •Part III: Wide-Area Networks
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Review of WAN Basics
- •Physical Components of Point-to-Point Leased Lines
- •Data-Link Protocols for Point-to-Point Leased Lines
- •HDLC and PPP Compared
- •Looped Link Detection
- •Enhanced Error Detection
- •Authentication Over WAN Links
- •PAP and CHAP Authentication
- •Foundation Summary
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •ISDN Protocols and Design
- •Typical Uses of ISDN
- •ISDN Channels
- •ISDN Protocols
- •ISDN BRI Function Groups and Reference Points
- •ISDN PRI Function Groups and Reference Points
- •BRI and PRI Encoding and Framing
- •PRI Encoding
- •PRI Framing
- •BRI Framing and Encoding
- •DDR Step 1: Routing Packets Out the Interface to Be Dialed
- •DDR Step 2: Determining the Subset of the Packets That Trigger the Dialing Process
- •DDR Step 3: Dialing (Signaling)
- •DDR Step 4: Determining When the Connection Is Terminated
- •ISDN and DDR show and debug Commands
- •Multilink PPP
- •Foundation Summary
- •Frame Relay
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Frame Relay Protocols
- •Frame Relay Standards
- •Virtual Circuits
- •LMI and Encapsulation Types
- •DLCI Addressing Details
- •Network Layer Concerns with Frame Relay
- •Layer 3 Addressing with Frame Relay
- •Frame Relay Layer 3 Addressing: One Subnet Containing All Frame Relay DTEs
- •Frame Relay Layer 3 Addressing: One Subnet Per VC
- •Frame Relay Layer 3 Addressing: Hybrid Approach
- •Broadcast Handling
- •Frame Relay Service Interworking
- •A Fully-Meshed Network with One IP Subnet
- •Frame Relay Address Mapping
- •A Partially-Meshed Network with One IP Subnet Per VC
- •A Partially-Meshed Network with Some Fully-Meshed Parts
- •Foundation Summary
- •Part IV: Network Security
- •IP Access Control List Security
- •“Do I Know This Already?” Quiz
- •Foundation Topics
- •Standard IP Access Control Lists
- •IP Standard ACL Concepts
- •Wildcard Masks
- •Standard IP ACL: Example 2
- •Extended IP Access Control Lists
- •Extended IP ACL Concepts
- •Extended IP Access Lists: Example 1
- •Extended IP Access Lists: Example 2
- •Miscellaneous ACL Topics
- •Named IP Access Lists
- •Controlling Telnet Access with ACLs
- •ACL Implementation Considerations
- •Foundation Summary
- •Part V: Final Preparation
- •Final Preparation
- •Suggestions for Final Preparation
- •Preparing for the Exam Experience
- •Final Lab Scenarios
- •Scenario 1
- •Scenario 1, Part A: Planning
- •Solutions to Scenario 1, Part A: Planning
- •Scenario 2
- •Scenario 2, Part A: Planning
- •Solutions to Scenario 2, Part A: Planning
- •Part VI: Appendixes
- •Glossary
- •Answers to the “Do I Know This Already?” Quizzes and Q&A Questions
- •Chapter 1
- •“Do I Know This Already?” Quiz
- •Chapter 2
- •“Do I Know This Already?” Quiz
- •Chapter 3
- •“Do I Know This Already?” Quiz
- •Chapter 4
- •“Do I Know This Already?” Quiz
- •Chapter 5
- •“Do I Know This Already?” Quiz
- •Chapter 6
- •“Do I Know This Already?” Quiz
- •Chapter 7
- •“Do I Know This Already?” Quiz
- •Chapter 8
- •“Do I Know This Already?” Quiz
- •Chapter 9
- •“Do I Know This Already?” Quiz
- •Chapter 10
- •“Do I Know This Already?” Quiz
- •Chapter 11
- •“Do I Know This Already?” Quiz
- •Chapter 12
- •“Do I Know This Already?” Quiz
- •Using the Simulation Software for the Hands-on Exercises
- •Accessing NetSim from the CD
- •Hands-on Exercises Available with NetSim
- •Scenarios
- •Labs
- •Listing of the Hands-on Exercises
- •How You Should Proceed with NetSim
- •Considerations When Using NetSim
- •Routing Protocol Overview
- •Comparing and Contrasting IP Routing Protocols
- •Routing Through the Internet with the Border Gateway Protocol
- •RIP Version 2
- •The Integrated IS-IS Link State Routing Protocol
- •Summary of Interior Routing Protocols
- •Numbering Ports (Interfaces)
Foundation Summary 363
Foundation Summary
The “Foundation Summary” section lists the most important facts from the chapter. Although this section does not list everything that will be on the exam, a well-prepared CCNA candidate should at a minimum know all the details in each Foundation Summary before taking the exam.
Table 10-17 lists the number of channels for BRI and PRI.
Table 10-17 BRI and PRI B and D Channels
Type of Interface |
Number of Bearer (B) Channels |
Number of Signaling Channels |
|
|
|
BRI |
2 |
1 (16 kbps) |
|
|
|
PRI (T1) |
23 |
1 (64 kbps) |
|
|
|
PRI (E1) |
30 |
1 (64 kbps) |
|
|
|
The OSI layers correlating to the different ISDN specifications are also mentioned in the ICND course. It’s also useful to memorize the specifications listed in Table 10-18, as well as which OSI layer each specification matches.
Table 10-18 ISDN I-Series and Q-Series Mentioned in ICND: OSI Layer Comparison
Layer as |
|
Equivalent Q-Series |
|
Compared to OSI |
I-Series |
Specification |
Description |
|
|
|
|
1 |
ITU-T I.430 |
— |
Defines connectors, encoding, |
|
|
|
framing, and reference points. |
|
ITU-T I.431 |
|
|
|
|
|
|
2 |
ITU-T I.440 |
ITU-T Q.920 |
Defines the LAPD protocol |
|
|
|
used on the D channel to |
|
ITU-T I.441 |
ITU-T Q.921 |
encapsulate signaling requests. |
|
|
|
|
3 |
ITU-T I.450 |
ITU-T Q.930 |
Defines signaling messages, |
|
|
|
such as call setup and |
|
ITU-T I.451 |
ITU-T Q.931 |
teardown messages. |
|
|
|
|
Figure 10-13 shows the cabling diagram for several examples of ISDN BRI function groups and reference points.
364 Chapter 10: ISDN and Dial-on-Demand Routing
Figure 10-13 ISDN Function Groups and Reference Points
|
|
|
|
|
A |
||
|
Uses ISDN Interface |
|
U |
||||
|
|
|
|
||||
|
|
|
|||||
|
|
B |
|
|
|
||
Uses ISDN Interface |
|
|
|
|
U |
||
|
|
|
NT1 |
||||
|
|
|
|
|
|||
|
|
S/T |
Telco |
||||
C |
|
|
|
||||
|
|
||||||
|
|
|
|
||||
|
|
|
|
|
|
||
ses Serial Interface |
|
|
|
|
|
U |
|
|
TA |
|
NT1 |
||||
|
|
|
|
||||
R |
S/T |
|
|||||
|
|
|
|
|
|
||
|
|
|
|
|
|
||
D |
|
|
|
|
|
|
|
ses Serial Interface |
|
|
|
|
|
U |
|
|
NT2 |
|
NT1 |
||||
|
|
|
|
||||
S |
T |
|
|||||
|
|
|
|
|
|
||
|
|
|
|
|
|
The four key concepts behind Legacy DDR are as follows:
1.Route packets out the interface to be dialed.
2.Determine the subset of the packets that trigger the dialing process.
3.Dial (signal).
4.Determine when the connection is terminated.
Table 10-19 summarizes the commands needed to configure Legacy DDR, with some explanation of each function.
Table 10-19 Summary Legacy DDR Configuration Commands
Command |
Description |
|
|
ip route |
Global command that configures static routes that |
|
route traffic out an ISDN interface. |
|
|
username name password secret |
Global command that configures CHAP usernames |
|
and passwords. |
|
|
access-list |
Global command that creates ACLs if you need to |
|
define a subset of traffic as “interesting.” |
|
|
dialer-list number protocol ip |
Global command that creates a dialer list that either |
[list acl-number] |
makes all IP traffic interesting or references the ACL |
|
to make a subset interesting. |
|
|
|
|
Foundation Summary 365 |
Table 10-19 Summary Legacy DDR Configuration Commands (Continued) |
||
|
|
|
|
Command |
Description |
|
|
|
|
interface bri int-number |
Global command that selects ISDN BRI to use for |
|
|
DDR. |
|
|
|
|
encapsulation ppp |
Interface subcommands that configure PPP and enable |
|
|
CHAP. |
|
ppp authentication chap |
|
|
|
|
|
isdn spid1 value |
Interface subcommands that set ISDN SPID values if |
|
|
needed. |
|
isdn spid2 value |
|
|
|
|
|
dialer idle-timeout time |
Interface subcommands that set idle timeout values. |
|
dialer fast-idle time |
|
|
|
|
|
dialer-group number |
Interface subcommand that references the dialer list to |
|
|
define what is interesting. |
|
|
|
|
dialer string number |
Interface subcommands that define dial numbers for |
|
|
one site or many. |
|
dialer map ip next-hop-ip number |
|
|
|
|
Table 10-20 summarizes the configuration details for ISDN BRI.
Table 10-20 Summary of the New Configuration Needed for ISDN BRI Beyond Legacy DDR Configuration
Command |
Description |
Configuration Mode |
|
|
|
isdn spid1 spid |
Configures SPIDs as |
Physical interface |
|
necessary. |
|
isdn spid2 spid |
|
|
|
|
|
isdn switch-type type |
Configures the ISDN switch |
Global or physical interface |
|
type. |
|
|
|
|
Table 10-21 summarizes the configuration details for ISDN PRI.
Table 10-21 Summary of the New Configuration Needed for ISDN PRI Beyond Legacy DDR Configuration
Command |
Description |
Configuration Mode |
|
|
|
isdn switch-type type |
Configures the ISDN switch type. |
Global or physical |
|
|
interface |
|
|
|
linecode ami | b8zs | hdb3 |
Configures encoding for the T1/ |
Controller configuration |
|
E1 circuit. |
|
|
|
|
366 Chapter 10: ISDN and Dial-on-Demand Routing
Table 10-21 Summary of the New Configuration Needed for ISDN PRI Beyond Legacy DDR Configuration (Continued)
Command |
Description |
Configuration Mode |
|
|
|
framing sf | esf | crc4 |
Configures framing for the T1/E1 |
Controller configuration |
|
circuit. |
|
|
|
|
pri-group timeslots |
Configures the DS0 channels |
Controller configuration |
starting_channel - |
used on this PRI. |
|
ending_channel |
|
|
|
|
|
The configuration for dialer profiles is very similar to Legacy DDR configuration. The differences are summarized in Table 10-22.
Table 10-22 Summary of the New Configuration Needed for Dialer Profiles Versus Legacy DDR
Command |
Description |
Configuration Mode |
|
|
|
interface dialer x |
Creates the virtual dialer interface. |
Global |
|
|
|
|
|
|
dialer pool-member x |
Groups the physical ISDN interfaces |
Physical interface |
|
into a dialer pool. |
|
|
|
|
dialer pool x |
Tells the dialer interface which dialer |
Dialer interface |
|
pool to use. |
|
|
|
|
encapsulation ppp |
Configures PPP and authentication on |
Physical interface and |
|
the physical interfaces. |
dialer interface |
ppp authentication chap |
|
|
|
|
|
isdn spid1 spid |
Configures SPIDs as necessary. |
Physical interface |
isdn spid2 spid |
|
|
|
|
|
isdn switch-type type |
Configures the ISDN switch type. |
Global or physical |
|
|
interface |
|
|
|
The additional commands used with MLP in dial environments are summarized in Table 10-23.
Table 10-23 Summary of the New Configuration Needed for MLP Versus Legacy DDR
Command |
Description |
Configuration Mode |
|
|
|
ppp multilink |
Enables MLP. |
Interface |
|
|
|
dialer load-threshold load [outbound |
Tells the router when to dial |
Interface |
| inbound | either] |
additional calls to the same |
|
|
location based on load. |
|
|
|
|
Q&A 367
Q&A
As mentioned in the Introduction, you have two choices for review questions. The following questions give you a bigger challenge than the exam because they are open-ended. By reviewing with this more-difficult question format, you can exercise your memory better and prove your conceptual and factual knowledge of the topics covered in this chapter. The answers to these questions are found in Appendix A.
For more practice with exam-like question formats, including multiple-choice questions and those using a router simulator, use the exam engine on the CD.
1.What does LAPD stand for? Is it used as the Layer 2 protocol on dialed ISDN bearer channels? If not, what is?
2.What do ISDN, BRI, and PRI stand for?
3.Define function group. List two examples of function groups.
4.Define the term reference point. Give two examples of reference points.
5.How many bearer channels are in a BRI? What about a PRI in North America? What about a PRI in Europe?
6.True or false: ISDN defines protocols that can be functionally equivalent to OSI Layers 1, 2, and 3. Explain your answer.
7.What reference points do ISDN BRI interfaces on Cisco routers use?
8.Is LAPD used on ISDN channels? If so, which ones?
9.What standards body defines ISDN protocols?
10.What ISDN functions do standards ITU-T Q.920 and Q.930 define? Does either standard correlate to an OSI layer?
11.What ISDN functions does standard ITU-T I.430 define? Does it correlate to an OSI layer?
12.What does SPID stand for? What does it mean?
13.Define TE1, TE2, and TA. Which implies that one of the other two must be in use?
14.How many B channels are there on a PRI in countries where the PRI is based on a T1? On an E1?
15.What reference point is used between the customer premises and the phone company in North America? What about in Europe?
368Chapter 10: ISDN and Dial-on-Demand Routing
16.What problem does multilink PPP solve when multiple B channels have circuits set up between a pair of routers?
17.What is the syntax of an interface command used to configure the encapsulation, IP address, and DDR parameters on a PRI in North America? What is the significance of entering a colon and a number after entering the interface number?
18.What data-link (OSI Layer 2) protocols are valid on an ISDN B channel?
19.Define MLPPP. Describe the typical home or small office use of MLPPP.
20.Configure ISDN interface BRI1, assuming that it is attached to a DMS-100 ISDN switch and that it uses only one SPID of 404555121201.
21.Describe the decision process performed by the Cisco IOS software to attempt to dial a connection using Legacy DDR.
22.If packets from 10.1.1.0/24 are “interesting” in relation to DDR configuration, such that packets from 10.1.1.0/24 cause a DDR connection out interface BRI0, list the configuration commands that make the Cisco IOS software think that those packets are interesting on BRI0. (If you have not yet studied access lists, you might simply note what kind of packets you would match with an access list, rather than writing down the full syntax.)
23.Router R1 has two BRI interfaces. Configure a dialer profile such that R1 can dial any of six different remote routers using any of the B channels on either BRI. Assume that all traffic is interesting. You may ignore the static route commands needed to send the packets out the correct interface. Do not use any SPIDs, and do not use CHAP. For other parameters not listed, you can make up values.
This chapter covers the following subjects:
■Frame Relay Protocols
■Frame Relay Configuration