© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5.

Slides:



Advertisements
Similar presentations
Route Optimisation RD-CSY3021.
Advertisements

© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 8: EIGRP Advanced Configurations and Troubleshooting Scaling.
© 2008 Cisco Systems, Inc. All rights reserved.Cisco ConfidentialPresentation_ID 1 Chapter 10: DHCP Routing & Switching.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 RIP version 1 Routing Protocols and Concepts – Chapter 5.
Routing Basics By Craig Lindstrom. Overview Routing Process Routing Process Default Routing Default Routing Static Routing Static Routing Dynamic Routing.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.0 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts – Chapter.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
© 2006 Cisco Systems, Inc. All rights reserved. ICND v2.3—3-1 Determining IP Routes Introducing Routing.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5.
SYPCNSA Department2007 Summer Youth Program: Internal Protocols: RIP & IGRP.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco Public 1 BSCI Module 4 Lesson 3 The IS-IS Protocol BSCI Module 4 Lesson 3 Configuring Basic Integrated.
© 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—4-1 Implement an IPv4-Based Redistribution Solution Operating a Network Using Multiple IP Routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—5-1 Implementing Path Control Lab 5-1 Debrief.
Lecture Week 3 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 Semester 2 Module 6 Routing and Routing Protocols YuDa college of business James Chen
Chapter 22 Network Layer: Delivery, Forwarding, and Routing.
© 2009 Cisco Systems, Inc. All rights reserved. ROUTE v1.0—4-1 Implement an IPv4-Based Redistribution Solution Configuring and Verifying Route Redistribution.
© 2007 Cisco Systems, Inc. All rights reserved.ICND1 v1.0—5-1 WAN Connections Enabling Static Routing.
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.
Routing Route Redistribution.
Dynamic Routing Protocols  Function(s) of Dynamic Routing Protocols: – Dynamically share information between routers (Discover remote networks). – Automatically.
© 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.
Routing and Routing Protocols Routing Protocols Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
1 © 2003, Cisco Systems, Inc. All rights reserved. CCNA 2 Module 6 Routing and Routing Protocols.
1 © 2004, Cisco Systems, Inc. All rights reserved. CCNA 2 v3.1 Module 6 Routing and Routing Protocols.
Introduction to Dynamic Routing Protocol
1. 2 Anatomy of an IP Packet IP packets consist of the data from upper layers plus an IP header. The IP header consists of the following:
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5.
© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization SAvPS Genci, 2009.
© Wiley Inc All Rights Reserved. CCNA: Cisco Certified Network Associate Study Guide CHAPTER 5: IP Routing.
© 2002, Cisco Systems, Inc. All rights reserved..
Chapter 9. Implementing Scalability Features in Your Internetwork.
Open Shortest Path First OSPF (Part 2) George Macri 6 th CEENET Workshop, Budapest 2000.
CCNP – Advanced Routing Ch. 8 Route Optimization – Part II Originally created by Rick Graziani with modifications and additions by Prof. Yousif.
Chapter 11 Configuring Enhanced IGRP. Objectives Upon completion of this chapter, you will be able to perform the following tasks: Describe Enhanced IGRP.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Routing Protocols and Concepts Introduction to Dynamic Routing Protocol.
© 2002, Cisco Systems, Inc. All rights reserved. 1 Routing Overview.
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public ITE PC v4.0 Chapter 1 1 Introduction to Dynamic Routing Protocol Routing Protocols and Concepts.
© 2000, Cisco Systems, Inc. 9-1 Optimizing Routing Update Operation Chapter 9.
© 2007 – 2010, Cisco Systems, Inc. All rights reserved. Cisco Public ROUTE v6 Chapter 4 1 Chapter 4: Manipulating Routing Updates CCNP ROUTE: Implementing.
1 Version 3.1 Module 6 Routed & Routing Protocols.
Cisco Systems Networking Academy S2 C 12 Routing Protocols.
© 2002, Cisco Systems, Inc. All rights reserved..
 RIP — A distance vector interior routing protocol  IGRP — The Cisco distance vector interior routing protocol (not used nowadays)  OSPF — A link-state.
+ Routing Concepts 1 st semester Objectives  Describe the primary functions and features of a router.  Explain how routers use information.
© 2005 Cisco Systems, Inc. All rights reserved. BGP v3.2—3-1 Route Selection Using Policy Controls Applying Route-Maps as BGP Filters.
1 © 2004, Cisco Systems, Inc. All rights reserved. Routing and Routing Protocols: Routing Static.
© 2003, Cisco Systems, Inc. All rights reserved..
© 2007 Cisco Systems, Inc. All rights reserved.Cisco Public 1 Version 4.1 Routing Working at a Small-to-Medium Business or ISP – Chapter 6.
Sem 2 v2 Chapter 12: Routing. Routers can be configured to use one or more IP routing protocols. Two of these IP routing protocols are RIP and IGRP. After.
Optimizing Routing 1. Using Multiple Routing Protocols
Working at a Small-to-Medium Business or ISP – Chapter 6
Chapter 4: Manipulating Routing Updates
© 2002, Cisco Systems, Inc. All rights reserved.
Routing and Routing Protocols: Routing Static
Chapter 4: Routing Concepts
Routing Information Protocol
CCNA 2 v3.1 Module 6 Routing and Routing Protocols
Routing and Routing Protocols: Routing Static
Routing Protocols and Concepts – Chapter 9
Routing Protocols and Concepts – Chapter 9
Routing Information Protocol
CIT 384: Network Administration
Working at a Small-to-Medium Business or ISP – Chapter 6
Routing Protocols and Concepts – Chapter 9
© 2002, Cisco Systems, Inc. All rights reserved.
Presentation transcript:

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 1 Route Optimization BSCI Module 5

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 2 Objectives  Explain the purpose and use of seed metrics in route redistribution.  Describe how to redistribute routes into RIP, OSPF, EIGRP, and IS-IS.  Explain how to verify route redistribution.  Explain how to control routing updates using the passive-interface default command and route maps.  Describe new DHCP commands.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 3 Purpose of this Lesson  Coverage of topics new to the “Route Optimization” module of BSCI.  What’s new in this module? Detailed explanation of seed metrics Redistribute routes into RIP, OSPF, EIGRP, and IS-IS Verify route redistribution Controlling routing updates with the passive-interface default command and route maps Using the distance command to avoid suboptimal routing More DHCP commands

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 3 4 Seed Metrics and Route Redistribution

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 5 Using Multiple IP Routing Protocols

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 6 Using Multiple Routing Protocols  Interim during conversion  Application-specific protocols One size does not always fit all.  Political boundaries Groups that do not work well with others  Mismatch between devices Multivendor interoperability Host-based routers

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 7 Redistribution with Seed Metric

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 8 Default Seed Metrics ProtocolDefault Seed Metrics RIPInfinity IGRP/EIGRPInfinity OSPF20 for all except BGP, which is 1 IS-IS0 BGPBGP metric is set to IGP metric value

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 9 Self Check 1.How is a seed metric used in redistribution? 2.What does a metric of infinity tell the router? 3.Which routing protocols should be configured with default metrics to prevent the default of infinity?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 3 10 Configuring and Verifying Route Redistribution

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 11 Redistribution Supports All Protocols RtrA(config)#router rip RtrA(config-router)#redistribute ? bgp Border Gateway Protocol (BGP) connected Connected eigrp Enhanced Interior Gateway Routing Protocol (EIGRP) isis ISO IS-IS iso-igrp IGRP for OSI networks metric Metric for redistributed routes mobile Mobile routes odr On Demand stub Routes ospf Open Shortest Path First (OSPF) rip Routing Information Protocol (RIP) route-map Route map reference static Static routes

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 12 Planning Redistribution  Locate the boundary router between two routing processes.  Determine which routing process is the core or backbone process  Determine which routing process is the edge or migration process  Select a method for injecting the required edge protocol routes into the core.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 13  Use this command to redistribute routes into RIP: Router(config-router)# redistribute protocol [process-id] [match route-type] [metric metric- value] [route-map map-tag] Configuring Redistribution into RIP RtrA(config)# router rip RtrA(config-router)# redistribute ospf ? Process ID RtrA(config-router)# redistribute ospf 1 ? match Redistribution of OSPF routes metric Metric for redistributed routes route-map Route map reference …  Default metric is infinity.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 14 The redistribute command parameters for RIP ParameterDescription protocol Source protocol from which routes are being redistributed. process-id This value is an AS number. For OSPF, this value is an OSPF process ID. match route-type (Optional) Command parameter used for redistributing OSPF routes into another routing protocol. For OSPF, the criterion by which OSPF routes are redistributed into other routing domains. metric metric- value (Optional) Parameter used to specify the RIP seed metric for the redistributed route. When you are redistributing into RIP, this value is not specified and no value is specified using the default- metric router configuration command, then the default metric is 0, which is interpreted as infinity, and routes will not be redistributed. The metric for RIP is the hop count. route-map map- tag (Optional) Identifier of a configured route map to be interrogated to filter the importation of routes from this source routing protocol to the current routing protocol.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 15 Redistributing into RIP

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 16 Configuring Redistribution into OSPF  Use this command to redistribute routes into OSPF: Router(config-router)# redistribute protocol [process-id] [metric metric-value] [metric-type type-value] [route-map map-tag] [subnets] [tag tag-value]  Default metric is 20.  Default metric type is 2.  Subnets do not redistribute by default.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 17 Example: Redistribution into OSPF RtrA(config)# router ospf 1 RtrA(config-router)# redistribute eigrp ? Autonomous system number RtrA(config-router)# redistribute eigrp 100 ? metric Metric for redistributed routes metric-type OSPF/IS-IS exterior metric type for redistributed routes route-map Route map reference subnets Consider subnets for redistribution into OSPF tag Set tag for routes redistributed into OSPF …

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 18 Redistributing into OSPF

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 19 Configuring Redistribution into EIGRP RtrA(config)# router eigrp 100 RtrA(config-router)# redistribute ospf ? Process ID RtrA(config-router)# redistribute ospf 1 ? match Redistribution of OSPF routes metric Metric for redistributed routes route-map Route map reference …  Default metric is infinity.  Use this command to redistribute routes into EIGRP: router(config-router)# redistribute protocol [process-id] [match {internal | external 1 | external 2}] [metric metric-value] [route-map map-tag]

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 20  Bandwidth in kilobytes =  Delay in tens of microseconds = 100  Reliability = 255 (maximum)  Load = 1 (minimum)  MTU = 1,500 bytes Redistributing into EIGRP

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 21 Configuring Redistribution into IS-IS RtrA(config)# router isis RtrA(config-router)# redistribute eigrp 100 ? level-1 IS-IS level-1 routes only level-1-2 IS-IS level-1 and level-2 routes level-2 IS-IS level-2 routes only metric Metric for redistributed routes metric-type OSPF/IS-IS exterior metric type for redistributed routes route-map Route map reference.. Output Omitted  Routes are introduced as level 2 with a metric of 0 by default.  Use this command to redistribute routes into IS-IS: router(config-router)# redistribute protocol [process-id] [level level-value] [metric metric-value] [metric-type type-value] [route- map map-tag]

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 22 Redistributing into IS-IS

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 23 Redistributing IS-IS into Other Protocols Router(config)# router ospf 1 Router(config-router)# redistribute isis ? level-1 IS-IS level-1 routes only level-1-2 IS-IS level-1 and level-2 routes level-2 IS-IS level-2 routes only

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 24 Activity Lab 5-1 Redistribution Between RIP and OSPF  Learning Objectives Review configuration and verification of RIP and OSPF Configure passive interfaces in both RIP and OSPF Filter routing updates using distribute lists Redistribute static routes into RIP Redistribute RIP routes into OSPF Redistribute OSPF routes into RIP Originate a default route into OSPF Set a default seed metric Modify OSPF external network types Configure summary addresses

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 25 Activity Lab 5-2 Redistribution Between EIGRP and OSPF  Learning Objectives Review EIGRP and OSPF configuration Redistribute into EIGRP Redistribute into OSPF Summarize routes in EIGRP Filter routes using route maps Modify EIGRP distances Modify OSPF distances Passive interfaces in EIGRP Summarize in OSPF at an ABR and an ASBR

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 26 Activity  Lab 5-3 Redistribution Between EIGRP and IS-IS  Learning Objectives Review basic configuration of EIGRP and IS-IS Redistribute into EIGRP Redistribute into IS-IS Use a standard access list to select routes for filtering Use a prefix list to select routes for filtering Examine the differences between using access lists and prefix lists for filtering routes Filter routes using route maps

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 27 Self Check 1.What is the default metric when redistributing routes into RIP? 2.What are the components of the composite EIGRP metric? 3.Are subnets redistributed into OSPF by default?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 3 28 Route Redistribution Example

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 29 Example: Before Redistribution

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 30 Example: Before Redistribution (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 31 Example: Configuring Redistribution at Router B

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 32 Example: Routing Tables After Route Redistribution

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 33 Example: Routing Tables After Summarizing Routes and Redistributions

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 3 34 Controlling Routing Update Traffic

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 35 Using the passive-interface Command

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 36 Route Maps Route maps are similar to a scripting language for these reasons:  They work like a more sophisticated access list: Top-down processing Once there is a match, leave the route map  Lines are sequence-numbered for easier editing: Insertion of lines Deletion of lines  Route maps are named rather than numbered for easier documentation.  Match criteria and set criteria can be used, similar to the “if, then” logic in a scripting language.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 37 Route Map Applications The common uses of route maps are as follows:  Redistribution route filtering: A more sophisticated alternative to distribute lists  Policy-based routing: The ability to determine routing policy based on criteria other than the destination network  BGP policy implementation: The primary tool for defining BGP routing policies

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 38 route-map my_bgp permit 10 { match statements } { set statements } route-map my_bgp deny 20 :: :::: route-map my_bgp permit 30 :: :::: Route Map Operation  A list of statements composes a route map.  The list is processed top-down like an access list.  The first match found for a route is applied.  The sequence number is used for inserting or deleting specific route map statements.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 39  The match statement may contain multiple references.  Multiple match criteria in the same line use a logical OR.  At least one reference must permit the route for it to be a candidate for redistribution.  Each vertical match uses a logical AND.  All match statements must permit the route for it to remain a candidate for redistribution.  Route map permit or deny determines if the candidate will be redistributed. Route Map Operation (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 40 redistribute protocol [process id] route-map map-tag router(config-router)#  Allows for detailed control of routes being redistributed into a routing protocol route-map Commands route-map map-tag [permit | deny] [sequence-number] router(config)#  Defines the route map conditions match {conditions} router(config-route-map)#  Defines the conditions to match set {actions} router(config-route-map)#  Defines the action to be taken on a match

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 41 The match Command router(config-route-map)# match {options} options : ip address ip-access-list ip route-source ip-access-list ip next-hop ip-access-list interface type number metric metric-value route-type [external | internal | level-1 | level-2 |local] …  The match commands specify criteria to be matched.  The associated route map statement permits or denies the matching routes.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 42 The match commands CommandDescription match community Matches a BGP community match interface Matches any routes that have the next hop out of one of the interfaces specified match ip address Matches any routes that have a destination network number address that is permitted by a standard or extended ACL match ip next- hop Matches any routes that have a next-hop router address that is passed by one of the ACLs specified match ip route- source Matches routes that have been advertised by routers and access servers at the address that is specified by the ACLs match length Matches based on the layer 3 length of a packet match metric Matches routes with the metric specified match route-type Matches routes of the specified type match tag Matches tag of a route

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 43 The set Command router(config-route-map)# set {options} options : metric metric-value metric-type [type-1 | type-2 | internal | external] level [level-1 | level-2 | level-1-2 |stub-area | backbone] ip next-hop next-hop-address  The set commands modify matching routes.  The command modifies parameters in redistributed routes.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 44 The set commands CommandDescription set as-path Modifies an AS path for BGP routes set automatic-tag Computes automatically the tag value set community Sets the BGP communities attribute set default interface Indicates where to output packets that pass a match clause of a route map for policy routing and have no explicit route to the destination set interface Indicates where to output packets that pass a match clause of a route map for policy routing set ip default next-hop Indicates where to output packets that pass a match clause of a route map for policy routing and for which the Cisco IOS software has no explicit route to a destination set ip next-hop Indicates where to output packets that pass a match clause of a route map for policy routing set level Indicates where to import routes for IS-IS and OSPF set local-preference Specifies a BGP local preference value set metric Sets the metric value for a routing protocol set metric-type Sets the metric type for the destination routing protocol set tag Sets tag value for destination routing protocol set weight Specifies the BGP weight value

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 45 Route Maps and Redistribution Commands Router(config)# router ospf 10 Router(config-router)# redistribute rip route-map redis-rip Router(config)# route-map redis-rip permit 10 match ip address set metric 500 set metric-type type-1 route-map redis-rip deny 20 match ip address 37 route-map redis-rip permit 30 set metric 5000 set metric-type type-2  Routes matching either access list 23 or 29 are redistributed with an OSPF cost of 500, external type 1.  Routes permitted by access list 37 are not redistributed.  All other routes are redistributed with an OSPF cost metric of 5000, external type 2. Router(config)# access-list 23 permit access-list 29 permit access-list 37 permit

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 46 distance administrative distance [address wildcard-mask [access-list-number | name]] Router(config-router)#  Used for all protocols except EIGRP and BGP redistribution Modifying Administrative Distance distance eigrp internal-distance external-distance Router(config-router)#  Used for EIGRP

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 47 Activity Lab 5-4 Manipulating Administrative Distances  Learning Objectives Configure RIP on a router Configure OSPF on a router Manipulate administrative distances Compare routing protocol behaviors

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 48 Self Check 1.What global configuration command is used to set all interfaces to passive by default? 2.What is policy-based routing (PBR)? 3.How are the statements in a route map processed? 4.What happens to a route if it doesn’t match any of the statements in the route map? 5.How are set commands used?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 49 Examples

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 50 Example: Redistribution Using Administrative Distance

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 51 router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary Router P3R1 Router P3R2 Example: Redistribution Using Administrative Distance (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 52 Example: Redistribution Using Administrative Distance (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 53 Example: Redistribution Using Administrative Distance (Cont.) hostname P3R1 ! router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 distance ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary ! access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit hostname P3R2 ! router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 distance ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary ! access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 54 Example: Redistribution Using Administrative Distance (Cont.) hostname P3R1 ! router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 distance ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary ! access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit hostname P3R2 ! router ospf 1 redistribute rip metric metric-type 1 subnets network area 0 distance ! router rip version 2 redistribute ospf 1 metric 5 network no auto-summary ! access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit access-list 64 permit

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 55 Example: Redistribution Using Administrative Distance (Cont.)

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 56 Know Your Network  Be very familiar with your network BEFORE implementing redistribution  Focus on routers with redundant paths  Make sure no path information is lost when using the distance command

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 3 57 Configuring DHCP

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 58 DHCP in an Enterprise Network

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 59 Configuring an Cisco IOS DHCP Server Router(config)#ip dhcp pool [pool name]  Enable a DHCP pool for use by hosts. Router(config-dhcp)#default-router [host address]  Specify the default router for the pool to use. Router(config-dhcp)#network [network address][subnet mask]  Specify the network and subnet mask of the pool. Router(config)#ip dhcp excluded-address low-address high-address  Specify the IP address that should not assign to DHCP clients.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 60  Specifies the IP address of a DNS server that is available to a DHCP client. One is required, but up to eight can be specified. Optional DHCP Server Commands Router(config-dhcp)#domain-name domain  Specifies the domain name for the client. Router(config-dhcp)#netbios-name-server address  Same as DNS, but for WINS. Router(config-dhcp)#dns-server address Router(config-dhcp)#lease {days [hours] [minutes] | infinite}  Specifies the duration of the lease. The default is a one- day lease.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 61 DHCP Database Command and Configuration ipdhcp database write-delay 120 ip dhcp excluded-address ip dhcp excluded-address ip dhcp pool 0 network /16 domain-name global.com dns-server netbios-name-server default-router Router(config)#ip dhcp database url [timeout seconds | write- delay seconds]  Configures the database agent and the interval between database updates and database transfers.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 62 Importing and Autoconfiguration Router(config-dhcp)#import all  Used to import DHCP option parameters into DHCP server database. Used for remote DHCP pools.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 63 Importing and Autoconfiguration (Cont.) ip dhcp-excluded address ip dhcp pool central network default-router domain name central.com dns-server netbios-name-server interface fastethernet0/0 ip address ip dhcp-excluded address ip dhcp pool client network default-router import all interface fastethernet0/0 ip address dhcp

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 64 DHCP Client ip dhcp-excluded address ip dhcp pool client network default-router import all interface fastethernet0/0 ip address dhcp Router (config-if)# ip address dhcp Enables an IOS device to obtain an IP address dynamically from a DHCP server.

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 65 Relay Agent Option Support

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 66 Activity Lab 5-5 Configuring the Cisco IOS DHCP Server  Learning Objectives Configure and verify the operation of the Cisco IOS DHCP server Configure an IP Helper address Review the EIGRP configuration

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 67 Self Check 1.What is the purpose of the ip dhcp database command? 2.What is the purpose of the import all command? 3.How is the ip address dhcp command used?

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 68 Q and A

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 69 Resources  Route-Maps for IP Routing Protocol Redistribution Configuration 6a d.shtml  Default Passive Interface Feature eature_guide09186a e.html  Dynamically Configuring DHCP Server Options tion_example09186a a52.shtml  Commonly Used IP ACLs tion_example09186a shtml

© 2006 Cisco Systems, Inc. All rights reserved.Cisco PublicBSCI Module 5 70