BSCI Module 5 Route Optimization_edited

Embed Size (px)

Citation preview

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    1/70

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

    Route Optimization

    BSCI Module 5

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    2/70

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

    Objectives

    Explain the purpose and use of seed metrics in routeredistribution.

    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 thepassive-interface default command and route

    maps.

    Describe new DHCP commands.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    3/70

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

    Purpose of this Lesson

    Coverage of topics new to the Route Optimizationmodule of BSCI.

    Whats 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 defaultcommand and route maps

    Using the distance command to avoid suboptimal routing

    More DHCP commands

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    4/70

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicBSCI Module 3 4

    Seed Metrics andRouteRedistribution

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    5/70

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

    Using Multiple IP Routing Protocols

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    6/70

    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 boundariesGroups that do not work well with others

    Mismatch between devices

    Multivendor interoperability

    Host-based routers

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistribution with Seed Metric

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Default Seed Metrics

    To Default Seed Metrics

    RIP Infinity

    IGRP/EIGRP Infinity

    OSPF 20 for all except BGP, which is 1

    IS-IS 0

    BGP BGP metric is set to IGP metric value

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    9/70 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 withdefault metrics to prevent the default of infinity?

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    10/70 2006 Cisco Systems, Inc. All rights reserved. Cisco PublicBSCI Module 3 10

    Configuring and

    Verifying RouteRedistribution

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistribution Supports All Protocols

    RtrA(config)#router ripRtrA(config-router)#redistribute ?bgp Border Gateway Protocol (BGP)connected Connectedeigrp Enhanced Interior Gateway Routing Protocol

    (EIGRP)isis ISO IS-ISiso-igrp IGRP for OSI networksmetric Metric for redistributed routesmobile Mobile routesodr On Demand stub Routesospf Open Shortest Path First (OSPF)

    rip Routing Information Protocol (RIP)route-map Route map referencestatic Static routes

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    12/70 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 backboneprocess

    Determine which routing process is the edge or migrationprocess

    Select a method for injecting the required edge protocolroutes into the core.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Use this command to redistribute routes into RIP:

    Router(config-router)# redistributeprotocol[process-id] [matchroute-type] [metricmetric-value] [route-mapmap-tag]

    Configuring Redistribution into RIP

    RtrA(config)# router ripRtrA(config-router)# redistribute ospf ?

    Process IDRtrA(config-router)# redistribute ospf 1 ?

    match Redistribution of OSPF routesmetric Metric for redistributed routesroute-map Route map reference

    Default metric is infinity.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    The redistribute command parameters for RIP

    Parameter Description

    protocol Source protocol from which routes are being redistributed.

    process-idThis value is an AS number. For OSPF, this value is an OSPFprocess ID.

    match route-type(Optional) Command parameter used for redistributing OSPFroutes into another routing protocol. For OSPF, the criterion bywhich OSPF routes are redistributed into other routing domains.

    metricmetric-value

    (Optional) Parameter used to specify the RIP seed metric for theredistributed 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 is0, which is interpreted as infinity, and routes will not beredistributed. The metric for RIP is the hop count.

    route-mapmap-tag

    (Optional) Identifier of a configured route map to be interrogatedto filter the importation of routes from this source routing protocolto the current routing protocol.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistributing into RIP

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    16/70 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)# redistributeprotocol[process-id] [metricmetric-value] [metric-typetype-value] [route-mapmap-tag] [subnets] [tag

    tag-value]

    Default metric is 20.

    Default metric type is 2.

    Subnets do not redistribute by default.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Example: Redistribution into OSPF

    RtrA(config)# router ospf 1RtrA(config-router)# redistribute eigrp ?

    Autonomous system numberRtrA(config-router)# redistribute eigrp 100 ?

    metric Metric for redistributed routesmetric-type OSPF/IS-IS exterior metric type forredistributed routesroute-map Route map referencesubnets Consider subnets for redistribution into OSPFtag Set tag for routes redistributed into OSPF

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistributing into OSPF

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Configuring Redistribution into EIGRP

    RtrA(config)# router eigrp 100RtrA(config-router)# redistribute ospf ?

    Process IDRtrA(config-router)# redistribute ospf 1 ?

    match Redistribution of OSPF routes

    metric Metric for redistributed routesroute-map Route map reference

    Default metric is infinity.

    Use this command to redistribute routes into EIGRP:router(config-router)# redistributeprotocol[process-id] [match {internal | external 1 |external 2}] [metricmetric-value] [route-mapmap-tag]

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Bandwidth in kilobytes = 10000 Delay in tens of microseconds = 100

    Reliability = 255 (maximum)

    Load = 1 (minimum)

    MTU = 1,500 bytes

    Redistributing into EIGRP

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Configuring Redistribution into IS-IS

    RtrA(config)# router isisRtrA(config-router)# redistribute eigrp 100 ?

    level-1 IS-IS level-1 routes onlylevel-1-2 IS-IS level-1 and level-2 routeslevel-2 IS-IS level-2 routes onlymetric Metric for redistributed routesmetric-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 bydefault.

    Use this command to redistribute routes into IS-IS:

    router(config-router)# redistributeprotocol[process-id] [level level-value] [metricmetric-value] [metric-typetype-value] [route-

    mapmap-tag]

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistributing into IS-IS

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

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

    Redistributing IS-IS into Other Protocols

    Router(config)# router ospf 1Router(config-router)# redistribute isis ?

    level-1 IS-IS level-1 routes onlylevel-1-2 IS-IS level-1 and level-2 routes

    level-2 IS-IS level-2 routes only

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    24/70 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 RIPRedistribute 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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    25/70

    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 OSPFSummarize 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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    26/70

    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 forfiltering routes

    Filter routes using route maps

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    27/70

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

    Self Check

    1. What is the default metric when redistributing routesinto RIP?

    2. What are the components of the composite EIGRP

    metric?

    3. Are subnets redistributed into OSPF by default?

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    28/70

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicBSCI Module 3 28

    Route Redistribution

    Example

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    29/70

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

    Example: Before Redistribution

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    30/70

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

    Example: Before Redistribution (Cont.)

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    31/70

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

    Example: Configuring Redistribution atRouter B

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    32/70

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

    Example: Routing Tables After RouteRedistribution

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    33/70

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

    Example: Routing Tables AfterSummarizing Routes and Redistributions

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    34/70

    2006 Cisco Systems, Inc. All rights reserved. Cisco PublicBSCI Module 3 34

    Controlling Routing

    Update Traffic

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    35/70

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

    Using thepassive-interface Command

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    36/70

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

    Route Maps

    Route maps are similar to a scripting language for thesereasons:

    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 foreasier documentation.

    Match criteria and set criteria can be used, similar tothe if, then logic in a scripting language.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    37/70

    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 otherthan the destination network

    BGP policy implementation:

    The primary tool for defining BGP routing policies

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    38/70

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

    route-map my_bgp permit 10{ match statements }{ match statements }

    { set 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 deletingspecific route map statements.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    39/70

    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 acandidate for redistribution.

    Each vertical match uses a logical AND.

    All match statements must permit the route for it toremain a candidate for redistribution.

    Route map permit or deny determines if the candidate

    will be redistributed.

    Route Map Operation (Cont.)

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    40/70

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

    redistributeprotocol [process id] route-mapmap-tag

    router(config-router)#

    Allows for detailed control of routes being redistributedinto a routing protocol

    route-map Commands

    route-mapmap-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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    41/70

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

    Thematch Command

    router(config-route-map)#

    match {options}

    options :ip address ip-access-listip route-source ip-access-listip next-hop ip-access-listinterface typenumbermetricmetric-valueroute-type [external | internal | level-1 | level-2 |local]

    Thematch commands specify criteria to be matched.

    The associated route map statement permits ordenies the matching routes.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    42/70

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

    Thematch commands

    Command Description

    match community Matches a BGP community

    match interface Matches any routes that have the next hop out ofone of the interfaces specified

    match ip addressMatches any routes that have a destination networknumber address that is permitted by a standard orextended ACL

    match ip next-hop

    Matches any routes that have a next-hop routeraddress that is passed by one of the ACLs specified

    match ip route-

    source

    Matches routes that have been advertised byrouters and access servers at the address that isspecified 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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    43/70

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

    The set Command

    router(config-route-map)#

    set {options}options :metricmetric-valuemetric-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 redistributedroutes.

    The set commands

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    44/70

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

    The set commandsCommand Description

    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 mapfor 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-hopIndicates where to output packets that pass a match clause of a route mapfor policy routing and for which the Cisco IOS software has no explicitroute to a destination

    set ip next-hop Indicates where to output packets that pass a match clause of a route mapfor 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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    45/70

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

    Route Maps and RedistributionCommandsRouter(config)# router ospf 10

    Router(config-router)# redistribute rip route-map redis-rip

    Router(config)#route-map redis-rip permit 10match ip address 23 29set metric 500set metric-type type-1

    route-map redis-rip deny 20match ip address 37

    route-map redis-rip permit 30set metric 5000

    set metric-type type-2

    Routes matching either access list 23 or 29 are redistributedwith 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 of5000, external type 2.

    Router(config)#access-list 23 permit 10.1.0.0 0.0.255.255access-list 29 permit 172.16.1.0 0.0.0.255access-list 37 permit 10.0.0.0 0.255.255.255

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    46/70

    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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    47/70

    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

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    48/70

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

    Self Check

    1. What global configuration command is used to set allinterfaces 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 doesnt match any of thestatements in the route map?

    5. How are set commands used?

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    49/70

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

    Examples

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    50/70

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

    Example: Redistribution UsingAdministrative Distance

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    51/70

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

    router ospf 1

    redistribute rip metric 10000 metric-type 1 subnets

    network 172.31.0.0 0.0.255.255 area 0

    !

    router rip

    version 2

    redistribute ospf 1 metric 5

    network 10.0.0.0

    no auto-summary

    router ospf 1

    redistribute rip metric 10000 metric-type 1 subnets

    network 172.31.3.2 0.0.0.0 area 0!

    router rip

    version 2

    redistribute ospf 1 metric 5

    network 10.0.0.0

    no auto-summary

    Router P3R1

    Router P3R2

    Example: Redistribution UsingAdministrative Distance (Cont.)

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    52/70

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

    Example: Redistribution UsingAdministrative Distance (Cont.)

    E l R di ib i U i

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    53/70

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

    Example: Redistribution UsingAdministrative Distance (Cont.)

    hostname P3R1!router ospf 1redistribute rip metric 10000 metric-type 1

    subnetsnetwork 172.31.0.0 0.0.255.255 area 0distance 125 0.0.0.0 255.255.255.255 64

    !router ripversion 2redistribute ospf 1 metric 5network 10.0.0.0no auto-summary

    !access-list 64 permit 10.3.1.0 0.0.0.255access-list 64 permit 10.3.3.0 0.0.0.255

    access-list 64 permit 10.3.2.0 0.0.0.255access-list 64 permit 10.200.200.31access-list 64 permit 10.200.200.34access-list 64 permit 10.200.200.32access-list 64 permit 10.200.200.33

    hostname P3R2!router ospf 1redistribute rip metric 10000 metric-type 1subnetsnetwork 172.31.3.2 0.0.0.0 area 0distance 125 0.0.0.0 255.255.255.255 64

    !router ripversion 2redistribute ospf 1 metric 5network 10.0.0.0no auto-summary

    !access-list 64 permit 10.3.1.0 0.0.0.255access-list 64 permit 10.3.3.0 0.0.0.255

    access-list 64 permit 10.3.2.0 0.0.0.255access-list 64 permit 10.200.200.31access-list 64 permit 10.200.200.34access-list 64 permit 10.200.200.32access-list 64 permit 10.200.200.33

    E l R di t ib ti U i

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    54/70

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

    Example: Redistribution UsingAdministrative Distance (Cont.)

    hostname P3R1!router ospf 1redistribute rip metric 10000 metric-type 1

    subnetsnetwork 172.31.0.0 0.0.255.255 area 0distance 125 0.0.0.0 255.255.255.255 64

    !router ripversion 2redistribute ospf 1 metric 5network 10.0.0.0no auto-summary

    !access-list 64 permit 10.3.1.0 0.0.0.255access-list 64 permit 10.3.3.0 0.0.0.255

    access-list 64 permit 10.3.2.0 0.0.0.255access-list 64 permit 10.200.200.31access-list 64 permit 10.200.200.34access-list 64 permit 10.200.200.32access-list 64 permit 10.200.200.33

    hostname P3R2!router ospf 1redistribute rip metric 10000 metric-type 1subnetsnetwork 172.31.3.2 0.0.0.0 area 0distance 125 0.0.0.0 255.255.255.255 64

    !router ripversion 2redistribute ospf 1 metric 5network 10.0.0.0no auto-summary

    !access-list 64 permit 10.3.1.0 0.0.0.255access-list 64 permit 10.3.3.0 0.0.0.255

    access-list 64 permit 10.3.2.0 0.0.0.255access-list 64 permit 10.200.200.31access-list 64 permit 10.200.200.34access-list 64 permit 10.200.200.32access-list 64 permit 10.200.200.33

    E l R di t ib ti U i

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    55/70

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

    Example: Redistribution UsingAdministrative Distance (Cont.)

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    56/70

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

    Know Your Network

    Be very familiar withyour network BEFOREimplementingredistribution

    Focus on routers withredundant paths

    Make sure no pathinformation is lost

    when using thedistancecommand

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    57/70

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

    Configuring DHCP

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    58/70

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

    DHCP in an Enterprise Network

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    59/70

    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.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    60/70

    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 bespecified.

    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.

    DHCP D t b C d d

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    61/70

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

    DHCP Database Command andConfiguration

    ip dhcp excluded-address 172.16.1.100 172.16.1.103

    ip dhcp excluded-address 172.16.2.100 172.16.2.103

    ip dhcp pool 0

    network 172.16.0.0/16

    domain-name global.com

    dns-server 172.16.1.102 172.16.2.102

    netbios-name-server 172.16.2.103 172.16.2.103

    default-router 172.16.1.100

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    62/70

    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.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    63/70

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

    Importing and Autoconfiguration (Cont.)

    ip dhcp-excluded address 10.0.0.1 10.0.0.5ip dhcp pool centralnetwork 10.0.0.0 255.255.255.0default-router 10.0.0.1 10.0.0.5domain name central.comdns-server 10.0.0.2netbios-name-server 10.0.0.2

    interface fastethernet0/0

    ip address 10.0.0.1 255.255.255.0

    ip dhcp-excluded address 20.0.0.2ip dhcp pool clientnetwork 20.0.0.0 255.255.255.0default-router 20.0.0.2import all

    interface fastethernet0/0

    ip address dhcp

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    64/70

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

    DHCP Client

    ip dhcp-excluded address 20.0.0.2ip dhcp pool clientnetwork 20.0.0.0 255.255.255.0default-router 20.0.0.2import all

    interface fastethernet0/0ip address dhcp

    Router (config-if)#

    ip address dhcp

    Enables an IOS device to obtain an IP address

    dynamically from a DHCP server.

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    65/70

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

    Relay Agent Option Support

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    66/70

    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

    serverConfigure an IP Helper address

    Review the EIGRP configuration

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    67/70

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

    Self Check

    1. What is the purpose of the ip dhcp databasecommand?

    2. What is the purpose of the import all command?

    3. How is the ip address dhcp command used?

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    68/70

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

    Q and A

  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    69/70

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

    Resources

    Route-Maps for IP Routing Protocol RedistributionConfiguration

    http://cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtml

    Default Passive Interface Featurehttp://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008784e.html

    Dynamically Configuring DHCP Server Options

    http://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094a52.shtml

    Commonly Used IP ACLs

    http://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtml

    http://cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtmlhttp://cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtmlhttp://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008784e.htmlhttp://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008784e.htmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094a52.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094a52.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080100548.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094a52.shtmlhttp://cisco.com/en/US/tech/tk648/tk361/technologies_configuration_example09186a0080094a52.shtmlhttp://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008784e.htmlhttp://cisco.com/en/US/products/sw/iosswrel/ps1830/products_feature_guide09186a008008784e.htmlhttp://cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtmlhttp://cisco.com/en/US/tech/tk365/technologies_tech_note09186a008047915d.shtml
  • 7/28/2019 BSCI Module 5 Route Optimization_edited

    70/70