Information About Implementing Static Routes - Cisco NCS 6000 Series Configuration Manual

Ios xr release 6.4.x
Hide thumbs Also See for NCS 6000 Series:
Table of Contents

Advertisement

Information About Implementing Static Routes

• Static routing to an indirect next hop, (any prefix learnt through the RIB and may be more specific over
• Generally, a route is learnt from the AIB in the global table and is installed in the FIB. However, this
Information About Implementing Static Routes
To implement static routes you need to understand the following concepts:
Static Route Functional Overview
Networking devices forward packets using route information that is either manually configured or dynamically
learned using a routing protocol. Static routes are manually configured and define an explicit path between
two networking devices. Unlike a dynamic routing protocol, static routes are not automatically updated and
must be manually reconfigured if the network topology changes. The benefits of using static routes include
security and resource efficiency. Static routes use less bandwidth than dynamic routing protocols, and no CPU
cycles are used to calculate and communicate routes. The main disadvantage to using static routes is the lack
of automatic reconfiguration if the network topology changes.
Static routes can be redistributed into dynamic routing protocols, but routes generated by dynamic routing
protocols cannot be redistributed into the static routing table. No algorithm exists to prevent the configuration
of routing loops that use static routes.
Static routes are useful for smaller networks with only one path to an outside network and to provide security
for a larger network for certain types of traffic or links to other networks that need more control. In general,
most networks use dynamic routing protocols to communicate between networking devices but may have one
or two static routes configured for special cases.
Default Administrative Distance
Static routes have a default administrative distance of 1. A low number indicates a preferred route. By default,
static routes are preferred to routes learned by routing protocols. Therefore, you can configure an administrative
distance with a static route if you want the static route to be overridden by dynamic routes. For example, you
could have routes installed by the Open Shortest Path First (OSPF) protocol with an administrative distance
of 120. To have a static route that would be overridden by an OSPF dynamic route, specify an administrative
distance greater than 120.
Directly Connected Routes
The routing table considers the static routes that point to an interface as "directly connected." Directly connected
networks are advertised by IGP routing protocols if a corresponding interface command is contained under
the router configuration stanza of that protocol.
In directly attached static routes, only the output interface is specified. The destination is assumed to be directly
attached to this interface, so the packet destination is used as the next hop address. The following example
Routing Configuration Guide for Cisco NCS 6000 Series Routers, IOS XR Release 6.4.x
468
the AIB), that is part of a local subnet requires configuring static routes in the global table indicating the
egress interfaces as next hop. To avoid forward drop, configure static routes in the global table indicating
the next-hop IP address to be the next hop.
behavior will not be replicated to leaked prefixes. This could lead to inconsistencies in forwarding
behavior.
Implementing Static Routes

Advertisement

Table of Contents
loading

Table of Contents