ENARSI Chapter 17

Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 52

Chapter 17: Troubleshoot

Redistribution
Instructor Materials

CCNP Enterprise: Advanced Routing


Chapter 17 Content

This chapter covers the following content:


• Troubleshooting Advanced Redistribution Issues - This section explains
how suboptimal routing and routing loops may occur when redistributing at
multiple points in the network. In addition, you will discover how to recognize
these redistribution issues and solve them.
• Troubleshooting IPv4 and IPv6 Redistribution - This section examines the
issues that you should look out for when troubleshooting redistribution for
IPv4 and IPv6 routing protocols such as EIGRP, OSPF, and BGP.
• Redistribution Trouble Tickets - This section provides trouble tickets that
demonstrate how to use a structured troubleshooting process to solve a
reported problem.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 2
Troubleshoot Advanced Redistribution
Issues
• Highly available network designs remove single points of failure through redundancy.
When redistributing routes between protocols, there must be at least two points of
redistribution in the network to ensure that connectivity is maintained during a failure.
• When performing multipoint redistribution between two protocols, the following issues
may arise:
• Suboptimal routing
• Routing loops
• These issues can lead to loss of connectivity or slow connectivity for the end users.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 3
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Suboptimal Routing Caused by Redistribution
If there are multiple points of redistribution
between two sources, as shown in Figure 17-1,
the suboptimal path may be chosen to reach
networks.
• In Figure 17-1, focus on R1 and R2. The
optimal path to reach 192.168.2.0/24 is from
R2 because the 1 Gbps link is much faster • According to the EIGRP AS, it is the best path
than the 10 Mbps link. because all it sees is the seed metric and the 1 Gbps
• When you perform redistribution on R1 and R2
: Ensuring that data is viewable and 100 Mbps link in the EIGRP autonomous
into EIGRP, EIGRP does notonly
knowbythat the 10
system. Therefore, if the seed metrics you define are
authorized
Mbps linkusers. Data
or the 1 Gbps link exists in the OSPF the same on R1 and R2 when you redistribute into
domain. Therefore, if an inappropriate seed EIGRP, the 1 Gbps link in the EIGRP autonomous
metric is used during redistribution on R1 and R2, system is preferred, and traffic goes to R1. Then R1
the traffic from 10.1.1.0/24 destined for sends it across the 10 Mbps link to 192.168.2.0/24,
192.168.2.0/24 may take the suboptimal path which is suboptimal. It works, but it is suboptimal.
through R1.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 4
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Suboptimal Routing Caused by Redistribution
(Cont.)
In Figure 17-1, if the result of the traceroute from
10.1.1.0/24 to 192.168.2.0/24 goes through R1,
you know that suboptimal routing is occurring
because of redistribution.

You can solve this issue by providing different


seed metrics on the boundary routers (R1 and R2
in this case) to ensure that a certain path is
preferred because it has a lower overall metric.
So, R2’s EIGRP seed metric must be significantly
better than R1’s EIGRP seed metric to ensure
that R3 chooses the path through R2, even
though it is a slower link between R3 and R2 than
between R3 and R1. The key is to make sure the
traffic avoids the 10 Mbps link.
: Ensuring that data is viewable only by
authorized users. Data © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 5
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Suboptimal Routing Caused by Redistribution
(Cont.)
When troubleshooting suboptimal routing caused by redistribution, keep in mind the
following:
• Based on the topology, you need to be able to recognize that mutual redistribution is
occurring at multiple points in the network.
• Based on the connections, you need to be able to recognize the different speeds of the
links.
• Based on the routing protocols in use, you need to be able to identify how the seed
metric is determined and how it behaves for the different protocols.
• Based on the business requirements, you need to know how to fix the suboptimal routing
by manipulating the metrics on the boundary routers with the default-metric command,
the metric parameter in the redistribute command, or within a route map.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 6
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution
Examine Figure 17-2. The 10.1.1.0/24
network is redistributed into the EIGRP
autonomous system, and then it is
redistributed into the OSPF domain on R1
and R2. This does not appear to be an
issue; however, it is an issue because of
administrative distance (AD).
When the 10.1.1.0/24 network is
redistributed from RIPv2 into EIGRP
autonomous system 100, it is classified as
an external route in the EIGRP
autonomous system. R1 and R2 place the
route in the routing table with the code D
EX and an AD of 170, as shown in Figure
17-3.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 7
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
• When R1 and R2 redistribute the
10.1.1.0/24 network in the OSPF domain,
by default, the Type 5 link-state
advertisement (LSA) is advertising
10.1.1.0/24 as an O E2 route, with an AD of
110, as shown in Figure 17-4.
• R1 will receive R2’s LSA, and R2 will
receive R1’s LSA, which creates the
problem.
• The OSPF route is preferred because it • Now when traffic is sent from 192.168.2.0/24
has a lower AD. Therefore, R1 points to R2 to 10.1.1.0/24, it bounces back and forth
through the OSPF domain to reach between R1 and R2, and this is classified as
10.1.1.0/24 a routing loop.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 8
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
This scenario gets worse because of how
redistribution works:
• To redistribute a route from one routing source to
another (EIGRP into OSPF, for example), that
route must be in the routing table as an entry for
the routing source that you are redistributing the
route from.
• In Figure 17-4 when R1 and R2 originally
learned about the network 10.1.1.0/24 from R3, it
was an EIGRP external route. • Because redistribution is occurring
from EIGRP into OSPF, the
• There was no other source of information in the 10.1.1.0/24 network is redistributed
routing table at the time for 10.1.1.0/24; from the routing table into the OSPF
therefore, it was considered the best source and process and advertised.
installed in the routing table as an EIGRP route.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 9
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
When R1 and R2 learn about the OSPF 10.1.1.0/24
route from each other, they notice that it is a better
source of information because the AD is lower (110)
than the one for EIGRP (170) that is currently in the
routing table. Therefore, the OSPF route replaces the
EIGRP route.

Because the EIGRP route is still in the topology table


but not in the routing table, it is no longer available for
redistribution into OSPF, and therefore, there are no
more Type 5 LSAs to advertise in the OSPF domain. The EIGRP external route 10.1.1.0/24 is
As a result, R1 and R2 have to notify the routers in the reinstalled in the routing table, and
OSPF domain that 10.1.1.0/24 no longer exists. When because redistribution from EIGRP into
this happens, R1 and R2 no longer have the OSPF is occurring, the issue repeats all
10.1.1.0/24 network that they learned through OSPF over again. The routing table is not stable.
from each other in the routing table.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 10
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
Examine Figure 17-5, which shows the 10.1.1.0/24 network
being redistributed back into the EIGRP autonomous
system on R1 and R2 when the OSPF route is in the
routing table on R1 and R2. This is known as route
feedback.

Now R3 thinks that 10.1.1.0/24 is reachable through the


boundary router (R5) between the RIPv2 domain and the
EIGRP autonomous system, as well as through R1 and R2
between EIGRP and OSPF. Depending on the metric for Remember that this issue was caused by AD.
each of the learned paths to 10.1.1.0/24, R3 may choose Either lower the AD of the EIGRP external
the correct path to the RIP domain or the path through R1 routes on R1 and R2 for 10.1.1.0/24 or
or R2, which would eventually blackhole the traffic. increase the AD of the OSPF Type 5 learned
routes on R1 and R2 for 10.1.1.0/24. Make
sure the EIGRP learned route is the preferred
route. Regardless, use the distance command
on R1 and R2 and specify what the AD will be
for the 10.1.1.0/24 network.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 11
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
EIGRP already differentiates between routes learned from within the autonomous system and routes
learned from outside the autonomous system by assigning different administrative distance:
• Internal EIGRP: 90
• External EIGRP: 170

To modify the default administrative distance on IOS routers, use the distance eigrp ad-internal ad-
external EIGRP configuration command . Valid values for the AD are between 1 and 255; a value of
255 stops the installation of the route into the Routing Information Base (RIB).

Cisco IOS routers also allow selective AD modification for specific internal networks with this
command:

distance ad source-ip source-ip-wildcard [acl-number | acl-name]

The source-ip option restricts the modification of routes in the EIGRP table that were learned from a
specific router, and the optional acl restricts to a specific network prefix. Note that EIGRP does not
allow the selective AD modification based on prefixes for external EIGRP routes.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 12
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
OSPF uses the same default AD 110 value for routes learned within the OSPF routing domain and routes
learned outside the OSPF routing domain. On IOS routers, you modify the default AD with this OSPF
configuration command:

distance ospf {external | inter-area | intra-area} ad


The command allows you to set a different AD for each OSPF network type.

IOS routers allow selective AD modification for specific networks with this command:
distance ad source-ip source-ip-wildcard [acl-number | acl-name]

The source-ip option restricts the modification to routes in the OSPF link-state database (LSDB) learned
from the advertising router of the LSA. The source-ip-wildcard address fields match the router ID (RID) for
the advertising route. The optional acl is used to restrict to a specific network prefix.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 13
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)

Example 17-2 demonstrates how to modify R1 and R2 so that OSPF external routes are set with an AD of 171,
which is higher than the AD of external EIGRP routes (170).

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 14
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
BGP differentiates between routes learned from internal BGP (iBGP) peers, routes
learned from external BGP (eBGP) peers, and routes learned locally. On IOS routers,
you use the BGP configuration command distance bgp external-ad internal-ad local-
routes to set the AD for each BGP network type and the address family, command
distance ad source-ip source-wildcard [acl-number | acl-name] to modify AD for routes
received from a specific neighbor.
For example, the BGP command distance 44 55 66 sets the AD for eBGP routes to 44,
the AD for iBGP routes to 55, and the AD for locally learned routes to 66.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 15
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
There is another way to solve the issue
presented in Figure 17-5. You could attach a
distribute list to the OSPF process on R1
and R2. When a distribute list is used with
OSPF, it can control what routes are
installed in the routing table from the OSPF
database. Therefore, if you deny the
10.1.1.0/24 route in the OSPF database with
an AD of 110 from being installed in the
routing table with a distribute list on R1 and
R2, the EIGRP route with an AD of 170 is
installed in the routing table instead.
Example 17-3 shows how you can configure
R1 and R2 to accomplish this.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 16
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
You do not want the routes that are redistributed from EIGRP into OSPF to be redistributed back into the
EIGRP autonomous system or vice versa. Such redistribution can cause routing issues such as loops,
which prevent packets from being correctly delivered to their destination (in addition to wasting CPU and
memory resources on various devices in the network).

The most robust way to deal with this is to use route tags.

Figure 17-6 shows how R1 and R2 can add a tag when the route is redistributed. This is accomplished
with route maps. In this example, when R1 redistributes the 10.1.1.0/24 route into the OSPF domain, it
adds the tag 10. When R2 redistributes the 10.1.1.0/24 route into the OSPF domain, it adds the tag 20.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 17
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
Example 17-4 shows the
commands that you could use to
tag the 10.1.1.0/24 routes as they
are redistributed on R1 and R2.
• Define the routes you want to
tag with an ACL or a prefix list.
• Create a route map that has a
sequence that matches the
ACL or prefix list created, and
will set the desired tag when
there is a match.
• Then attach the route map to
the redistribution command.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 18
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)
To prevent R1 and R2 from
redistributing the OSPF-learned
10.1.1.0/24 routes with their tags
back into EIGRP, you deny the
routes based on their tags.
As shown in Figure 17-7, on R1
you deny the routes with the tag
20 from being redistributed into
the EIGRP autonomous system,
and on R2 you deny the routes
with the tag 10 from being
redistributed into the EIGRP
autonomous system.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 19
Troubleshooting Suboptimal Routing Caused by Redistribution Issues
Troubleshooting Routing Loops Caused by Redistribution (Cont.)

Example 17-5 shows the


commands that can be used to
ensure that R1 and R2 do not
redistribute the 10.1.1.0/24
networks back into the EIGRP
autonomous system.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 20
Troubleshooting IPV4 and IPV6
Redistribution
• Route redistribution allows routes learned through one source (for example, statically
configured routes, locally connected routes, or routes learned through a routing
protocol) to be injected into a routing protocol.
• If two routing protocols are mutually redistributed, the routes learned through each
routing protocol are injected into the other routing protocol.
• This section reviews route redistribution and explains how to troubleshoot redistribution
issues.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 21
Troubleshooting IPv4 and IPv6 Redistribution
Route Redistribution Review

A router that connects two or more


routing domains and that will be the
point of redistribution is known as a
boundary router (see Figure 17-8). A
boundary router can redistribute
static routes, connected routes, and
routes learned through one routing
protocol into another routing protocol.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 22
Troubleshooting IPv4 and IPv6 Redistribution
Route Redistribution Review (Cont.)

Redistribution occurs from the routing table into a


routing protocol’s data structure (such as the EIGRP
topology table or the OSPF LSDB), as shown in
Figure 17-9. This is a key concept for troubleshooting
purposes because if the route is not in the routing
table, it cannot be redistributed.
Different routing protocols use different types of
metrics, as illustrated in Figure 17-10. Therefore,
when a route is redistributed into a routing protocol, a
metric used by the destination routing protocol needs
to be associated with the route being redistributed.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 23
Troubleshooting IPv4 and IPv6 Redistribution
Seed Metric
The metric assigned to a route being redistributed into another routing process is called a
seed metric. The seed metric is needed to communicate relative levels of reachability
between dissimilar routing protocols. A seed metric can be defined in one of three ways:
• Using the default-metric command
• Using the metric parameter with the redistribute command
• Applying a route map configuration to the redistribute command
If multiple seed metrics are defined with the commands, the order of preference is (1) metric
defined in the route map that was applied to the redistribute command; (2) metric parameter
defined with the redistribute command; (3) metric defined with the default-metric
command.
If a seed metric is not specified, a default seed metric is used.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 24
Troubleshooting IPv4 and IPv6 Redistribution
Redistribution Troubleshooting Targets
Two prerequisites must be met for the routes
of one IP routing protocol to be redistributed
into another IP routing protocol:
• The route needs to be installed in the IP
routing table of the border router (the
router performing redistribution) by the
protocol being redistributed.
• The destination IP routing protocol needs
a reachable metric to assign to the
redistributed routes.

Based on these two prerequisites, Table 17-


2 lists various redistribution troubleshooting
targets and recommendations for dealing
with them.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 25
Troubleshooting IPv4 and IPv6 Redistribution
Troubleshooting Redistribution into EIGRP
When redistributing into EIGRP for IPv4, you can apply a metric with the metric keyword or a
route map with the route-map keyword. If you are redistributing OSPF into EIGRP, as shown in
Example 17-6, you also have the option to specify the match option, which allows you to match
just internal routes, just external routes, just nssa-external routes, or a combination of them.

The most common issue you will run into when redistributing into EIGRP for IPv4 is related to
the metric. Remember that the seed metric is, by default, set to infinity (unreachable). Therefore,
if you fail to manually set the metric using any of the options listed earlier in the chapter, routes
will not be advertised to the other routers in the EIGRP autonomous system.

Also, if the wrong route map is applied, or if there is an error in the route map, routes will not be
redistributed properly.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 26
Troubleshooting IPv4 and IPv6 Redistribution
Troubleshooting Redistribution into EIGRP (Cont.)
• With EIGRP for IPv6, you have the same match,
metric, and route-map keywords, as well as the
include-connected keyword.
• By default, with EIGRP for IPv4, the networks
associated with the local interfaces participating
in the redistributed routing process are also
redistributed.
• With EIGRP for IPv6, the networks associated
with the local interfaces participating in the
redistributed routing process are not redistributed.
Therefore, if you want to include the networks
associated with the local interfaces participating
in the routing process that is being redistributed,
you need to use the include-connected keyword,
as shown in Example 17-7.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 27
Troubleshooting IPv4 and IPv6 Redistribution
Troubleshooting Redistribution into EIGRP (Cont.)
• On the boundary router, you can verify which
protocols are being redistributed into EIGRP
for IPv4 with the show ip protocols
command. Example 17-8 shows that OSPF
routes are being redistributed into EIGRP for
IPv4.
• When reviewing the EIGRP for IPv4 topology
table with the show ip eigrp topology
command, you can identify the routes that
have been injected into the EIGRP process
via redistribution because the output states
via Redistributed, as shown in Example 17-9.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 28
Troubleshooting IPv4 and IPv6 Redistribution
Troubleshooting Redistribution into EIGRP (Cont.)
• When examining a redistributed route in the
routing table on the boundary router, as
shown in Example 17-10, with the show ip
route ip-address command, the output
indicates how the route is known, how it is
being redistributed, and the EIGRP metric
values that are being used at the
redistribution point.

• When examining the routing tables on other


routers (not the boundary router) in the
EIGRP for IPv4 autonomous system, the
redistributed routes have an AD of 170 by
default and the code D EX, as shown in
Example 17-11.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 29
Troubleshooting IPv4 and IPv6 Redistribution
Troubleshooting Redistribution into EIGRP (Cont.)
• For EIGRP for IPv6, the show ipv6 protocols
output is more detailed for redistribution, as
shown in Example 17-12. Notice that it states
the protocol, the seed metric, and whether
connected networks are included.

• The output of show ipv6 eigrp topology on


the boundary router also indicates which
routes are redistributed, as shown in Example
17-13.

• When examining the routing tables on other


routers besides the boundary router in the
EIGRP for IPv6 autonomous system, the
redistributed routes have an administrative
distance of 170 by default and the code EX.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 30
Troubleshooting Redistribution into
OSPF
• When redistributing into OSPF, you have more options than you have with other
routing protocols.
• The metric option allows you to provide a seed metric at the redistribution point. The
default seed metric is 20 with OSPF; therefore, providing a metric is not mandatory.
• With the subnets keyword, all classless and classful networks are redistributed.
• The tag keyword can be used to add a numeric ID (tag) to the route so the route can
be referenced by the tag at a later point for filtering or manipulation purposes.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 31
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into OSPF
• The metric option allows you to provide a seed metric at the redistribution point.
• The default seed metric is 20 with OSPF; therefore, providing a metric is not mandatory. If you forget
to provide a metric, redistributed routes are still advertised to other routers in the OSPF domain.
• The metric-type option is used to define the type of OSPF external route the redistributed route will
be. By default, it will be Type 2, which is represented as E2 in the routing table. With E2, each router
preserves the seed metric for the external routes.
• Type 1, which is represented as E1 in the routing table, allows each router to add to the seed metric
all the other link costs to reach the redistribution point in the domain. Therefore, each router has a
metric that is a combination of the seed metric and the total cost to reach the redistribution router.
• With the nssa-only option, you can limit redistributed routes to the not-so-stubby area (NSSA) only,
and with the route-map option, you can reference a route map that provides more granular control
over the routes that are being redistributed.
• The subnets keyword is an extremely important option. Without the subnets keyword, only classful
networks are redistributed (for example, a Class A address with a /8 mask, a Class B address with
a /16 mask, and a Class C address with a /24 mask). With the subnets keyword, all classless and
classful networks are redistributed.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 32
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into OSPF (Cont.)
• Example 17-16 displays the options available when
redistributing into OSPFv3. The include-connected
keyword has been added. By default, with OSPFv2, the
networks associated with the local interfaces that are
participating in the routing process that is being
redistributed are also redistributed. However, with
OSPFv3, they are not. To include the networks
associated with the interfaces participating in the routing
protocol that is being redistributed on the ASBR, use the
include-connected keyword.
• The subnets keyword is not an option with OSPFv3
because the concepts classful and classless do not exist
with IPv6.
• The show ip protocols command enables you to verify
which routing protocols are being redistributed into the
OSPFv2 process. In Example 17-17, you can see that
EIGRP 100 routes, including subnets, are being
redistributed into the OSPFv2 process.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 33
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into OSPF (Cont.)
• Routes that are redistributed into an OSPFv2
normal area are advertised within a Type 5
LSA. Routes that are redistributed into an
OSPFv2 NSSA or totally NSSA area are
advertised with a Type 7 LSA and then
converted to a Type 5 LSA at an area border
router (ABR).
• You can view the redistributed routes that are
injected into the OSPFv2 LSDB with the show
ip ospf database command, as shown in
Example 17-18. In this example, the 10.1.3.0
and 10.1.23.0 networks have been
redistributed into the OSPFv2 routing process.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 34
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into OSPF (Cont.)
• When examining a redistributed route in the
routing table on the boundary router
(autonomous system boundary router [ASBR]),
as shown in Example 17-19, with the show ip
route ip_address command, the output indicates
how the route is known, how it is being
redistributed, and how it is being advertised. In
this case, the route is known through EIGRP 100
and is being redistributed into the OSPF 1
process with the subnets keyword.
• For OSPFv3, the show ipv6 protocols output is
shown in Example 17-21. Notice that it states the
protocol, the seed metric, and whether
connected networks are included.
• The output of show ipv6 ospf database on the
ASBR identifies the external Type 5 routes just
as OSPFv2 does.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 35
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into OSPF (Cont.)
• When examining the routing table on other
routers (not the ASBR) in the OSPFv3 domain,
by default the redistributed routes have an
administrative distance of 110 and the code
OE2, as shown in Example 17-23. If the metric
type is changed to Type 1, the code is OE1. In
an NSSA or a totally NSSA, the redistributed
routes are listed as ON1 or ON2.
• If you are redistributing from BGP into OSPF,
EIGRP, or RIP, only eBGP routes are
redistributed by default. If you want iBGP routes
to be redistributed, you must issue the bgp
redistribute-internal command in router BGP
configuration mode.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 36
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into BGP
• When redistributing EIGRP into BGP for IPv4,
you have the same options as when redistributing
into EIGRP. You can apply a metric with the
metric keyword or a route map with the route-
map keyword.
• If you are redistributing OSPF into BGP, as shown
in Example 17-24, you also have the option to
specify the match option, which allows you to
match just internal routes, just external routes,
just nssa-external routes, or a combination of
them. With BGP, only internal OSPF routes are
redistributed by default.
• The metric keyword is not required because BGP
uses the IGP metric by default. If the wrong route
map is applied, or if there is an error in the route
map, routes are not redistributed properly.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 37
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into BGP (Cont.)
• With BGP for IPv6, you have the same
match, metric, and route-map keywords, as
well as the include-connected keyword.
• By default, with BGP for IPv4, the networks of
the local interfaces participating in the routing
protocol that is being redistributed on the
border router are also redistributed. However,
with BGP for IPv6, they are not.
• If you want to redistribute the networks • Using the commands show ip protocols and
associated with the local interfaces show ipv6 protocols, you can verify which
participating in the routing process being protocols are being redistributed into the BGP
redistributed into BGP for IPv6, you need to routing process.
use the include-connected keyword, as
shown in Example 17-25.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 38
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution into BGP (Cont.)
• In the BGP table,
redistributed routes appear
with a question mark (?)
under the Path column, as
shown in Example 17-27.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 39
Troubleshooting Redistribution into OSPF
Troubleshooting Redistribution with Route
Maps
When applying a route map with the redistribution command, you have a few extra items to verify during the
troubleshooting process:
• Is the correct route map applied?
• Is permit or deny specified for the sequence, and is it correct? A permit sequence indicates that what is
matched is redistributed. A deny sequence indicates that what is matched is not redistributed.
• If there is an access list or a prefix list being used in the match statement, you need to verify that they are
correct by using the show {ip | ipv6} access-list command or the show {ip | ipv6} prefix-list command.
• If there are set statements, you need to verify that the correct values have been specified to accomplish the
desired goal.
• If a route does not match any of the match statements in any of the sequences, it falls into the implicit deny
sequence at the end of the route map and is not redistributed.
• If a route map is attached to the redistribution command but that route map does not exist, none of the
routes are redistributed.
© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 40
Redistribution Trouble Tickets
• This section presents various trouble tickets related to the topics discussed in this
chapter. The purpose of these trouble tickets is to show a process that you can follow
when troubleshooting in the real world or in an exam environment.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 41
Redistribution Trouble Tickets
Trouble Tickets

This section presents various trouble tickets


related to the topics discussed in this chapter.
The purpose of these trouble tickets is to show a
process that you can follow when
troubleshooting in the real world or in an exam
environment.

All trouble tickets in this section are based on


the topology shown in Figure 17-11.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 42
Redistribution Trouble Tickets
Trouble Ticket 17-1

Problem: Users in the IPv4 Branch site indicate


that they are not able to access any resources
outside the Branch office.

On Branch, you first check the routing table to


see which routes Branch knows; you do this by
using the show ip route command, as shown in
Example 17-28. The output indicates that Branch
only knows about connected and local routes.
Refer to your text for next steps and examples to
troubleshoot and resolve this trouble ticket.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 43
Redistribution Trouble Tickets
Trouble Ticket 17-2

Problem: Users in the 10.1.23.0/24 network


indicate that they are not able to access
resources in the 10.1.4.0/24 network.

You begin troubleshooting by verifying the


problem on R2. You issue a ping to 10.1.4.4
from 10.1.23.2, but it fails, as shown in Example
17-38. Because R2 is not able to ping the
destination network, you confirm that the clients
in 10.1.23.0/24 are not able to connect with
resources in 10.1.4.0/24.
Refer to your text for next steps and examples to
troubleshoot and resolve this trouble ticket.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 44
Redistribution Trouble Tickets
Trouble Ticket 17-3

Problem: IPv6 users in the 2001:db8:0:4::/64


network report that they are not able to access
resources in the 2001:db8:0:1::/64 network.

You begin troubleshooting by confirming the


problem on Branch. As shown in Example 17-50,
the ping from 2001:db8:0:4::4 to 2001:db8:0:1::1
fails.
Refer to your text for next steps and examples to
troubleshoot and resolve this trouble ticket.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 45
Redistribution Trouble Tickets
Trouble Ticket 17-4

Problem: A junior administrator has approached


you, asking for help. He claims that users in
BGP autonomous system 65500 are unable to
access IPv4 resources in the IPv4 EIGRP
autonomous system 100. However, they can
access resources in the OSPFv2 domain.
Because access to routers in BGP autonomous
system 65500 is limited to only R2, the junior
administrator has asked you for help.

You start by reviewing Figure 17-11 to confirm


which local router is running BGP.

Refer to your text for next steps and examples to


troubleshoot and resolve this trouble ticket.

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 46
Prepare for the Exam

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 47
Prepare for the Exam
Key Topics for Chapter 17
Description

Solving and preventing suboptimal routing caused by Using route tags to prevent routes from being reinjected
redistribution

Troubleshooting suboptimal routing issues caused by The redistribution process


redistribution

Routing loops with redistribution at multiple points Three methods for configuring a seed metric

Routing table instability with redistribution at multiple points Prerequisites for redistributing a route

How traffic might get blackholed with redistribution at multiple Troubleshooting targets for route redistribution
points

Modifying the EIGRP administrative distance Troubleshooting redistribution into EIGRP

Modifying the OSPF administrative distance Troubleshooting redistribution into OSPF

Modifying the BGP administrative distance Troubleshooting redistribution into BGP

Using a distribute list to control OSPF routes that are installed Troubleshooting redistribution that uses route maps
in the routing table

Tagging routes as they are being redistributed © 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 48
Prepare for the Exam
Key Terms for Chapter 17

Term Term

redistribution ASBR
boundary router routing loop
metric single-point redistribution
seed metric multipoint redistribution
subnets keyword route tag
Type 5 LSA administrative distance

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 49
Prepare for the Exam
Command Reference for Chapter 17
Task Command Syntax

Display the IPv4 sources of routing information that are show ip protocols
being redistributed into the IPv4 routing protocols enabled
on the device
Display the IPv6 sources of routing information that are show ipv6 protocols
being redistributed into the IPv6 routing protocols enabled
on the device
Show which IPv4 routes have been redistributed into the show ip eigrp topology
IPv4 EIGRP process on the boundary router
Show which IPv6 routes have been redistributed into the show ipv6 eigrp topology
IPv6 EIGRP process on the boundary router
Show which IPv4 routes have been redistributed into the show ip ospf database
OSPFv2 process; they are represented as Type 5 or Type 7
LSAs

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 50
Prepare for the Exam
Command Reference for Chapter 17 (Cont.)
Task Command Syntax

Show which IPv6 routes have been redistributed into the show ipv6 ospf database
OSPFv3 process; they are represented as Type 5 or
Type 7 LSAs
Display the IPv4 and IPv6 BGP learned routes; routes show bgp all
originally learned through redistribution have a question
mark (?) in the Path column
Display a router’s BGP router ID, autonomous system show bgp ipv4 unicast summary
number, information about the BGP’s memory usage,
and summary information about IPv4 unicast BGP
neighbors
Display detailed information about all the IPv4 BGP show bgp ipv4 unicast neighbors
neighbors of a router

© 2016 Cisco and/or its affiliates. All rights reserved. Cisco Confidential 51

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy