© 2003, Cisco Systems, Inc. All rights reserved..

Slides:



Advertisements
Similar presentations
 WAN uses Serial ports  Ethernet Ports:  Straight through  Cross over.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
Basic IP Traffic Management with Access Lists
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—2-1 BGP Transit Autonomous Systems Monitoring and Troubleshooting IBGP in a Transit AS.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Configuring IP ACLs.
Ch. 9 – Basic Router Troubleshooting CCNA 2 version 3.0.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—4-1 Managing IP Traffic with ACLs Scaling the Network with NAT and PAT.
Understanding Layer 3 Redundancy. © 2013 Cisco and/or its affiliates. All rights reserved. Cisco Public 2 Upon completing this lesson, you will be able.
Policy Based Routing using ACL & Route Map By Group 7 Nischal ( ) Pranali ( )
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—3-1 Implementing a Scalable Multiarea Network OSPF- Based Solution Configuring and Verifying.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Assessing Path Control Network Performance Issues.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Assessing Network Routing Performance and.
© 2009 Cisco Systems, Inc. All rights reserved.ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network Configuring and Verifying Basic BGP Operations.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Lab 5-1 Debrief.
© 2006 Cisco Systems, Inc. All rights reserved. MPLS v2.2—3-1 Frame-Mode MPLS Implementation on Cisco IOS Platforms Configuring Frame-Mode MPLS on Cisco.
© 2007 Cisco Systems, Inc. All rights reserved.ICND2 v1.0—7-1 Address Space Management Scaling the Network with NAT and PAT.
CCNP – Advanced Routing Ch. 8 Route Optimization – Part I Originally created by Rick Graziani with modifications and additions by Professor Yousif.
Manipulating Routing Updates Controlling Routing Update Traffic.
1 Route Optimization Chapter Route Filters Use access list to filter out unwanted routes Identifies packets or addresses to be filtered Prevents.
© 2001, Cisco Systems, Inc. Classification and Marking.
Network Certification Preparation. Module - 5 Basic troubleshooting of IP addressing issues Basic troubleshooting of RIP and IGRP Basic troubleshooting.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 7 Distance Vector Routing Protocols.
CCNA Guide to Cisco Networking Chapter 8: Routing Protocols and Network Address Translation.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
© 2002, Cisco Systems, Inc. All rights reserved..
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—6-1 Connecting an Enterprise Network to an ISP Network BGP Attributes and Path Selection Process.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 9: Access Control Lists Routing & Switching.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 9 Basic Router Troubleshooting.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5.
1 © 2004 Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 11 Access Control Lists (ACLs)
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
1 © 2005 Cisco Systems, Inc. All rights reserved. 111 © 2004, Cisco Systems, Inc. All rights reserved. CNIT 221 Security 2 ver.2 Module 4 City College.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 7 Distance Vector Routing Protocols.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 2000, Cisco Systems, Inc. 9-1 Optimizing Routing Update Operation Chapter 9.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Static Routing Routing Protocols and Concepts – Chapter 2.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
© 2003, Cisco Systems, Inc. All rights reserved..
Chapter 3 Managing IP Traffic. Objectives Upon completion of this chapter you will be able to perform the following tasks: Configure IP standard access.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 9 Basic Router Troubleshooting.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing and Switching Essentials.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Filtering Traffic Using Access Control Lists Introducing Routing and Switching.
Route Selection Using Policy Controls
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Using BGP Route Dampening.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 6: Static Routing Routing Protocols.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—7-1 Optimizing BGP Scalability Improving BGP Convergence.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—1-1 BGP Overview Monitoring and Troubleshooting BGP.
© Synergon Informatika Rt., 1999 Chapter 8 Configuring IGRP.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.0 Module 9 Basic Router Troubleshooting.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
© 2002, Cisco Systems, Inc. All rights reserved..
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNP 1 v3.0 Module 4 Routing Information Protocol version 2.
CHAPTER 6: STATIC ROUTING Static Routing 2 nd semester
Cisco Routers Routers collectively provide the main feature of the network layer—the capability to forward packets end-to-end through a network. routers.
Static Routing CCNA Routing and Switching Semester 2 Chapter 6
Instructor Materials Chapter 7: Access Control Lists
Routing and Routing Protocols: Routing Static
Chapter 2: Static Routing
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
© 2002, Cisco Systems, Inc. All rights reserved.
Routing and Routing Protocols: Routing Static
Chapter 2: Static Routing
Presentation transcript:

© 2003, Cisco Systems, Inc. All rights reserved.

2 Building Scalable Cisco Internetworks (BSCI) Version 2.0 Instructor Name

Manipulating Routing Updates © 2003, Cisco Systems, Inc. All rights reserved. 3

Policy-Based Routing © 2003, Cisco Systems, Inc. All rights reserved. 4

BSCI 2.0—6-5 Objectives Upon completing this lesson, you will be able to: List the advantages of policy-based routing (PBR) Describe how PBR is implemented using route maps Configure PBR Use the show and debug commands to verify PBR

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-6 Policy-Based Routing PBR allows you to implement policies that selectively cause packets to take different paths. –IP routing is typically destination-based. –PBR allows for source-based routing. You can also mark traffic with different type of service (ToS) configurations. PBR requires a route map to implement policy.

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-7 Policy-Based Routing Benefits PBR has the following benefits: Source-based transit provider selection –Different users go different ways QoS –Sets precedence or ToS; used with queuing Load sharing –Force load sharing without regard to routing table

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-8 Defining Policies Using a Route Map Applied to incoming packets Implemented using route maps as follows: –Matching routes modified by set commands. –If match criteria is met and route map specifies permit, policy route as specified by the set command. –If match criteria is met and route map specifies deny, use normal (destination-based) routing. –If all sequences in the list have been checked and there are no matches, use normal (destination- based) routing.

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-9 match ip address {access-list-number | name} [...access-list-number | name] match ip address {access-list-number | name} [...access-list-number | name] Router(config-route-map)# Matches IP addresses for policy routing Policy Routing match Commands match length min max Router(config-route-map)# Matches layer 3 length of packet for policy routing

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-10 set ip next-hop ip-address [...ip-address] Router(config-route-map)# Defines next hop to output packets Policy Routing set Commands set interface type number [...type number] Router(config-route-map)# Defines interface to output packets that have an explicit route to the destination

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-11 set ip default next-hop ip-address [...ip-address] Router(config-route-map)# Defines next hop to output packets that have no explicit route to the destination Policy Routing set Commands (Cont.) set default interface type number [...type number] Router(config-route-map)# Defines interface to output packets that have no explicit route to the destination Recommended only for point-to-point links

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-12 ip policy route-map map-tag Router(config-if)# Specifies a route map to use for policy routing on an incoming interface that is receiving the packets that need to be policy-routed Configuring Policy-Based Routing ip route-cache policy Router(config-if)# Enables fast-switched policy routing

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-13 Example: PBR Equal Access All traffic using a default route and sourced from subnet should go through ISP A. All traffic using a default route and sourced from subnet should go through ISP B.

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-14 Example: PBR Equal Access (Cont.) RouterA(config)# access-list 1 permit ip RouterA(config)# access-list 2 permit ip RouterA(config)# route-map equal-access permit 10 RouterA(config-route-map)# match ip address 1 RouterA(config-route-map)# set ip default next-hop RouterA(config-route-map)# route-map equal-access permit 20 RouterA(config-route-map)# match ip address 2 RouterA(config-route-map)# set ip default next-hop RouterA(config-route-map)# route-map equal-access permit 30 RouterA(config-route-map)# set default interface null0 RouterA(config)# interface ethernet 0 RouterA(config-if)# ip address RouterA(config-if)# ip policy route-map equal-access RouterA(config)# interface serial 0 RouterA(config-if)# ip address RouterA(config)# interface serial 1 RouterA(config-if)# ip address

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-15 show ip policy Router# Displays route maps configured on interfaces Verifying Policy-Based Routing show route-map [map-name] Router# Displays a route map

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-16 debug ip policy Router# Enables display of IP policy routing events Verifying Policy-Based Routing (Cont.) traceroute Router# Extended traceroute allows specification of source address ping Router# Extended ping allows specification of source address

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-17 Verifying Policy-Based Routing Examples RouterA# show ip policy Interface Route map Ethernet0 equal-access RouterA# show route-map route-map equal-access, permit, sequence 10 Match clauses: ip address (access-lists): 1 Set clauses: ip default next-hop Policy routing matches: 3 packets, 168 bytes route-map equal-access, permit, sequence 20 Match clauses: ip address (access-lists): 2 Set clauses: ip default next-hop route-map equal-access, permit, sequence 30 Set clauses: default interface null0

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-18 Verifying Policy-Based Routing Examples (Cont.) RouterA# debug ip policy Policy routing debugging is on 11:51:25: IP: s= (Ethernet0), d= , len 100, policy match 11:51:25: IP: route map equal-access, item 10, permit 11:51:25: IP: s= (Ethernet0), d= (Serial0), len 100, policy routed 11:51:25: IP: Ethernet0 to Serial

© 2003, Cisco Systems, Inc. All rights reserved. BSCI 2.0—6-19 Summary This lesson presented these key points: PBR offers significant benefits in terms of implementing user-defined policies to control traffic in the internetwork. The benefits achieved by implementing PBR in a network include source-based transit provider selection, QoS, cost savings, and load sharing. PBR uses route maps to implement routing policy. PBR match criteria are established using the match ip address and match length commands. Various set commands are used to specify the criteria for forwarding packets through the router. PBR is sometimes implemented on a router to manage traffic to ISPs. PBR is used to traffic shape or load balance traffic from routers to a number of ISPs. PBR show and debug commands are used to verify that a configured policy is working properly.