Skip to:Content
|
Bottom
Cover image for Cisco express forwarding
Title:
Cisco express forwarding
Personal Author:
Publication Information:
Indianapolis, IN : Cisco Press, 2007.
Physical Description:
xviii, 261 p. : ill. ; 23 cm.
ISBN:
9781587052361

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010168991 TK5105.3 S77 2007 Open Access Book Book
Searching...

On Order

Summary

Summary

How does a router switch a packet? What is the difference between routing a packet and switching a packet? What is this CEF feature that is referred to in Cisco documentation and commonly found in Cisco IOS commands? Cisco Express Forwarding addresses these questions through comprehensive discussions of Cisco Express Forwarding (CEF). CEF is a term used to describe one of the mechanisms used by Cisco IOS routers and Cisco Catalyst switches to forward packets. CEF offers the benefits of improved performance, scalability, and resilience. CEF is found in almost all Cisco IOS routers and Catalyst switches, however documentation of the topic is very scarce. This book addresses common misconceptions about CEF and packet switching across various platforms. It helps readers understand CEF and how to troubleshoot whether there is a CEF or another problem occurring in the network. The book guides readers through CEF basics, supplying exercises and troubleshooting scenarios that enhance their ability to recognize common mistakes, as well as to provide them with some models for configurations that they can follow in their own networks.


Author Notes

Nakia Stringfield, CCIE[Registered] No. 13451, is a network consulting engineer for Advanced Services at Cisco
Russ White, CCIE No. 2635, is a Principle Engineer in the Routing Protocol Design and Architecture team at Cisco
Stacie McKee is a customer support engineer and technical leader of the Routing Protocols Technical Assistance Center (TAC) team


Table of Contents

Introductionp. xvi
Part I Understanding, Configuring, and Troubleshooting CEFp. 3
Chapter 1 Introduction to Packet-Switching Architecturesp. 5
Routing and Switchingp. 5
Understanding Broadcast and Collision Domainsp. 5
Broadcast and Collision Domainsp. 6
Broadcast and Collision Domains in Routingp. 7
Layer 3 Switchingp. 8
Understanding Router Pieces and Partsp. 9
Interface Processorsp. 10
Central Processing Unitp. 11
Memoryp. 11
Backplanes and Switching Fabricsp. 11
Shared Memoryp. 11
Crossbar Switching Fabricp. 13
Bus Backplanesp. 14
Cisco IOS Software: The Brainsp. 17
Memory Managementp. 17
Memory Poolsp. 17
Memory Regionsp. 18
Packet Buffersp. 20
Interaction with Interface Processorsp. 28
Processes and Schedulingp. 28
Process Memoryp. 28
Process Schedulingp. 29
Understanding the Schedulerp. 29
Process Life Cyclep. 29
Process Prioritiesp. 32
Scheduling Processesp. 32
Process Watchdogp. 34
Special Processesp. 35
Putting the Pieces Together: Switching a Packetp. 35
Getting the Packet off the Network Mediap. 35
Inbound Packets on Shared Media Platformsp. 36
Inbound Packets on Centralized Switching Routers with Line Cardsp. 37
Inbound Packet Handling on Distributed Switching Platformsp. 38
Switching the Packetp. 39
Switching the Packet Quickly During the Receive Interruptp. 39
Process-Switching the Packetp. 41
Transmitting the Packetp. 44
Hardware and Software show Commandsp. 45
Summaryp. 48
Chapter 2 Understanding Cisco Express Forwardingp. 51
Evolving Packet-Switching Methodsp. 51
Process Switchingp. 51
Fast Switchingp. 52
What Is CEF?p. 53
CEF Tablesp. 54
Forwarding Information Base (FIB)p. 54
The Adjacency Tablep. 60
Relating the CEF Tablesp. 61
CEF Table Entriesp. 62
FIB Entriesp. 62
Attached FIB Entryp. 63
Connected FIB Entryp. 63
Rcceive FIB Entryp. 63
Recursive FIB Entryp. 64
Default Route Handler FIB Entryp. 66
ADJFIB FIB Entryp. 66
Learned from IGPsp. 67
Generic FIB Entriesp. 67
Interface-Specific FIB Entriesp. 68
FIB Entries Built for a Multiaccess Network Interfacep. 68
FIB Entries Built on a Point-to-Point Network Interfacep. 69
FIB Entries Built on a 31-Bit Prefix Network Interfacep. 69
Special Adjacenciesp. 69
Auto Adjacenciesp. 70
Punt Adjacencyp. 70
Glean Adjacencyp. 71
Drop Adjacencyp. 72
Discard Adjacencyp. 73
Null Adjacencyp. 73
No Route Adjacenciesp. 74
Cached and Uncached Adjacenciesp. 74
Unresolved Adjacencyp. 75
Switching a Packet with CEFp. 75
The CEF Epochp. 77
Configuring CEF/dCEFp. 77
Summaryp. 78
Referencesp. 79
Chapter 3 CEF Enhanced Scalabilityp. 81
Fundamental Changes to CEF for CSSRp. 82
Data Structuresp. 82
Switching Path Changesp. 84
Changes to show Commandsp. 86
Show ip cefp. 86
Show ip cef interfacep. 86
Show ip cef summaryp. 87
Show cef state capabilitiesp. 88
New show ip cef Commandsp. 89
Show ip cef treep. 89
Show ip cef internalp. 90
Show ip cef switching statisticsp. 91
New show cef Commandsp. 91
CEF Event Loggerp. 94
CEF Consistency Checkerp. 97
Passive Checkersp. 97
Active Checkersp. 97
Consistency-Checking Processp. 98
New CEF Processesp. 100
FIB Managerp. 100
Adjacency Managerp. 100
Update Managerp. 100
Summaryp. 101
Chapter 4 Basic IP Connectivity and CEF Troubleshootingp. 103
Troubleshooting IP Connectivityp. 103
Accurately Describe the Problemp. 104
Scoping the Network Topologyp. 105
Reviewing the OSI Model for Troubleshootingp. 106
Troubleshooting Physical Connectivityp. 106
Troubleshooting Layer 2 Issuesp. 107
Verifying the ARP Tablep. 108
Verifying the Routing Tablep. 111
Using IOS Ping with the Record Option to Rule Out CEFp. 115
Troubleshooting the CEF FIB Tablep. 116
Verifying the CEF Configurationp. 117
Confirming the IP CEF Switching Pathp. 119
Using CEF Accounting Counters to Confirm the Switching Pathp. 123
Verifying the CEF Switching Detailsp. 123
Verifying the Adjacency Tablep. 126
Hardware-Specific Troubleshootingp. 128
Troubleshooting Punt Adjacenciesp. 129
Understanding CEF Error Messagesp. 131
Troubleshooting Commands Referencep. 131
Summaryp. 133
Referencesp. 133
Part II CEF Case Studiesp. 135
Chapter 5 Understanding Packet Switching on the Cisco Catalyst 6500 Supervisor 720p. 137
CEF Switching Architecture on the Cisco Catalyst 6500p. 137
Understanding Software-Based CEF and Hardware-Based CEFp. 137
Centralized and Distributed Switchingp. 138
Troubleshooting CEF on the Catalyst 6500 SUP720 Platformsp. 139
Simple Checking of Connectivityp. 139
Systematic Checking of Connectivityp. 141
Troubleshooting Load Sharingp. 148
Summaryp. 149
Referencesp. 149
Chapter 6 Load Sharing with CEFp. 153
Benefits of Load Sharingp. 153
Load Sharing with Process Switching and Fast Switchingp. 154
Comparing CEF Per-Packet and CEF Per-Destination Load Sharingp. 158
Understanding Per-Destination Load Sharingp. 158
Understanding Per-Packet Load Sharingp. 159
Minimizing Out-of-Order Packetsp. 159
Configuring CEF Per-Packet Load Sharingp. 160
CEF Architecture and Load Sharingp. 161
CEF Load Sharing Across Parallel Pathsp. 163
CEF Per-Destination Examplep. 163
CEF Per-Packet Examplep. 170
Per-Packet Load Sharing on Hardware-Based Platformsp. 174
CEF Per-Packet Load Sharing on the Cisco GSR Platformp. 175
CEF Load-Sharing Troubleshooting Examplesp. 176
CEF Per-Destination Load Sharing Overloading One Linkp. 176
CEF Per-Packet Load Sharing Causing Performance Issuesp. 188
Troubleshooting a Single-Path Failure with CEF Load Sharingp. 190
CEF Traffic-Share Allocationp. 192
CEF Polarization and Load-Sharing Algorithmsp. 200
Original Algorithmp. 202
Universal Algorithmp. 202
Tunnel Algorithmp. 203
Hardware Platform Implementationsp. 203
Summaryp. 204
Referencesp. 205
Chapter 7 Understanding CEF in an MPLS VPN Environmentp. 207
An Internet Service Provider's Simple MPLS VPN Designp. 207
Understanding the CEF and MPLS VPN Relationshipp. 209
Case 1 Label Dispositionp. 211
Case 2 Label Impositionp. 212
Case 3 Label Swappingp. 214
Troubleshooting an MPLS VPNp. 214
CEF Considerations When Troubleshooting MPLS VPN Across Various Platformsp. 215
Cisco 7200 Router with an NPE-G2p. 216
Cisco 7500 Routerp. 216
Cisco Catalyst 6500 with a Supervisor 2p. 217
Catalyst 6500 with a Supervisor 720 3BXLp. 218
Cisco 12000 Series Routerp. 221
Cisco 10000 Series Routerp. 226
CEF and MPLS VPN Load-Sharing Considerationsp. 227
PE-CE Load Sharing: CE Multihomed to Same PEp. 227
PE-CE Load Sharing: Site Multihomed to Different PEsp. 233
Load Sharing Between P and P Devicesp. 242
CEF and MPLS VPN Load-Sharing Platform Dependenciesp. 243
Summaryp. 243
Referencesp. 244
Part III Appendixp. 247
Appendix A Scalabilityp. 249
Indexp. 255
Go to:Top of Page