Beruflich Dokumente
Kultur Dokumente
BSCI Module 5
BSCI Module 5
Cisco Public
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.
BSCI Module 5
Cisco Public
Controlling routing updates with the passive-interface default command and route maps
Using the distance command to avoid suboptimal routing More DHCP commands
BSCI Module 5
Cisco Public
BSCI Module 3
Cisco Public
BSCI Module 5
Cisco Public
Political boundaries
Groups that do not work well with others
BSCI Module 5
Cisco Public
BSCI Module 5
Cisco Public
IGRP/EIGRP Infinity
OSPF
IS-IS
BGP
BSCI Module 5
Cisco Public
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?
BSCI Module 5
Cisco Public
BSCI Module 3
Cisco Public
10
BSCI Module 5
Cisco Public
11
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.
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
12
13
protocol process-id
match route-type
14
BSCI Module 5
Cisco Public
15
Default metric is 20. Default metric type is 2. Subnets do not redistribute by default.
BSCI Module 5
Cisco Public
16
BSCI Module 5
Cisco Public
17
BSCI Module 5
Cisco Public
18
<cr>
19
Bandwidth in kilobytes = 10000 Delay in tens of microseconds = 100 Reliability = 255 (maximum) Load = 1 (minimum) MTU = 1,500 bytes
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
20
21
BSCI Module 5
Cisco Public
22
BSCI Module 5
Cisco Public
23
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
BSCI Module 5
Cisco Public
24
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
BSCI Module 5
Cisco Public
25
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
BSCI Module 5
Cisco Public
26
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?
BSCI Module 5
Cisco Public
27
BSCI Module 3
Cisco Public
28
BSCI Module 5
Cisco Public
29
BSCI Module 5
Cisco Public
30
BSCI Module 5
Cisco Public
31
BSCI Module 5
Cisco Public
32
BSCI Module 5
Cisco Public
33
BSCI Module 3
Cisco Public
34
BSCI Module 5
Cisco Public
35
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
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.
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
36
Policy-based routing:
The ability to determine routing policy based on criteria other than the destination network
BSCI Module 5
Cisco Public
37
38
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.
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
39
route-map Commands
router(config)# route-map map-tag [permit | deny] [sequence-number]
Allows for detailed control of routes being redistributed into a routing protocol
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
40
BSCI Module 5
Cisco Public
41
Matches a BGP community Matches any routes that have the next hop out of one of the interfaces specified Matches any routes that have a destination network number address that is permitted by a standard or extended ACL Matches any routes that have a next-hop router address that is passed by one of the ACLs specified Matches routes that have been advertised by routers and access servers at the address that is specified by the ACLs Matches based on the layer 3 length of a packet Matches routes with the metric specified Matches routes of the specified type Matches tag of a route
Cisco Public
match ip nexthop
match ip routesource match match match match
BSCI Module 5
42
BSCI Module 5
Cisco Public
43
Description
Modifies an AS path for BGP routes
set automatic-tag
set community set default interface set interface set ip default next-hop set ip next-hop set level set local-preference set metric set metric-type set tag set weight
BSCI Module 5
44
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)# route-map redis-rip permit 10 match ip address 23 29 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
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
Router(config)# access-list 23 permit 10.1.0.0 0.0.255.255 access-list 29 permit 172.16.1.0 0.0.0.255 access-list 37 permit 10.0.0.0 0.255.255.255
45
BSCI Module 5
Cisco Public
46
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
BSCI Module 5
Cisco Public
47
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 doesnt match any of the statements in the route map? 5. How are set commands used?
BSCI Module 5
Cisco Public
48
Examples
BSCI Module 5
Cisco Public
49
BSCI Module 5
Cisco Public
50
Router P3R2
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
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
51
BSCI Module 5
Cisco Public
52
BSCI Module 5
Cisco Public
53
BSCI Module 5
Cisco Public
54
BSCI Module 5
Cisco Public
55
Make sure no path information is lost when using the distance command
BSCI Module 5
Cisco Public
56
Configuring DHCP
BSCI Module 3
Cisco Public
57
BSCI Module 5
Cisco Public
58
59
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.
Router(config-dhcp)#netbios-name-server address
60
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
BSCI Module 5
Cisco Public
61
Router(config-dhcp)#import all
Used to import DHCP option parameters into DHCP server database. Used for remote DHCP pools.
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
62
ip dhcp-excluded address 20.0.0.2 ip dhcp pool client network 20.0.0.0 255.255.255.0 default-router 20.0.0.2 import all interface fastethernet0/0 ip address dhcp
BSCI Module 5 2006 Cisco Systems, Inc. All rights reserved. Cisco Public
63
DHCP Client
Enables an IOS device to obtain an IP address dynamically from a DHCP server.
Router (config-if)# ip address dhcp
ip dhcp-excluded address 20.0.0.2 ip dhcp pool client network 20.0.0.0 255.255.255.0 default-router 20.0.0.2 import all interface fastethernet0/0 ip address dhcp
BSCI Module 5
Cisco Public
64
BSCI Module 5
Cisco Public
65
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
BSCI Module 5
Cisco Public
66
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?
BSCI Module 5
Cisco Public
67
Q and A
BSCI Module 5
Cisco Public
68
Resources
Route-Maps for IP Routing Protocol Redistribution Configuration
http://cisco.com/en/US/tech/tk365/technologies_tech_note0918 6a008047915d.shtml
69
BSCI Module 5
Cisco Public
70