08 Layer 3 Switching
08 Layer 3 Switching
www.cisco.com
Agenda
What is the Difference Between Layer 2 Switching, Layer 3 Switching, and Routing?
www.cisco.com
8-2
Terminology
?
CSE: Networking FundamentalsLayer 3 Switching
www.cisco.com
8-3
Advanced network services such as QoS, IP multicasting, intranets, extranets, and VPNs are better handled at Layer 3 Layer 3 performance must scale to accommodate new, increased traffic patterns
CSE: Networking FundamentalsLayer 3 Switching
www.cisco.com
8-4
MAC Address
AAAA.1111.BBBB 3215.2511.AFFC 0001.2345.6789 3005.6798.AA05 0002.ABCD.EF12 0005.3ADB.1112
Output Interface
Ethernet 10 Ethernet 5 Ethernet 0 Ethernet 0 Ethernet 6 Ethernet 6
Packet
E6
IP Address: 1.1.1.2
MAC Address: 0002.ABCD.EF12
Data link layer (Layer 2) forwarding Forwards based on MAC layer address Wire-speed multiport bridge Transparent to upper layers
www.cisco.com
1999, Cisco Systems, Inc. 8-5
What Is Routing?
Network layer (Layer 3) forwarding Forwards packets using CPU processing based on network layer address Fundamental building block of Layer 3 switching Network reachability learned by routing protocols EIGRP, OSPF, etc.
CSE: Networking FundamentalsLayer 3 Switching
www.cisco.com
8-6
Ethernet Frame
F C S
D S S R
IP Packet D S S R
Data
T T L
T T L
F C S
T A X C
T C
T Y B C
T C
MAC Addresses
Layer 3 switches and routers perform the same functions to a packet being switched
CSE: Networking FundamentalsLayer 3 Switching
www.cisco.com
8-7
2.1.1.1
D S S R T C
Data
E2 IP Address: 2.1.1.1
Network layer (Layer 3) forwarding Forwards packets using ASICs based on network layer address Wire-speed routing for the LAN Network reachability learned by routing protocols
CSE: Networking FundamentalsLayer 3 Switching
www.cisco.com
8-8
ASICs:
High-performance, hardware-based Layer 3 switching and services with consistent low latency
Routing software:
Routing protocols to provide scalability: Backbone redundancy Dynamic load balancing and fast convergence in the backbone Reachability information Multiprotocol support for the campus
www.cisco.com
8-9
www.cisco.com
8-10
Si
Si
Si
Si
Layer 3 at Layer 2 speeds Routing components provides redundancy www.cisco.com 1999, Cisco Advanced services Systems, Inc.
8-11
www.cisco.com
8-12
Guidelines
Use a traditional router to:
Provide better WAN aggregation
www.cisco.com
8-13
Packet-by-packet switching in hardware, Layer 2 = Layer 3 = Layer 4 performance Path determination, load balancing, and summarization, multiprotocol routingKeys to scalability and stability Policy enablers, access lists, proxy services, QoS features, debugging Keys to manageability, troubleshooting, and applications availability
Route Processing
(OSPF, EIGRP, BGP4, PIM, RIP, etc.)
www.cisco.com
8-14
Summary
www.cisco.com
8-15
Presentation_ID
www.cisco.com
16