Name
redistribute — router
Synopsis
redistribute {protocol | static} [metric value] [metric-type type]
[route-map map] [weight weight] [subnets]
no redistribute protocol
Configures
Redistribution of routes between protocols
Default
Disabled
Description
This command allows you to redistribute routes from one routing
protocol to another. It also allows you to redistribute static routes
into a routing protocol. Some protocols require you to specify a
default metric that will be assigned to external routes. See the
default-metric command and Chapter 8 and Chapter 9 for more information.
-
protocol This is the protocol from which routes are redistributed. If a process ID or local AS is required for the protocol, you must provide that as well. Possible values are
bgp,igrp,eigrp,isis,ospf, andrip. You can also redistribute static routes.-
metricvalue Optional. This keyword sets the metric value for the redistributed route. If you don’t have a value defined here, the router uses the default metric as defined in the
default-metriccommand. For most redistribution, you must define a default metric. Exceptions to this rule are static routes and IGRP to EIGRP redistribution.-
metric-typetype Optional. This keyword applies to OSPF and IS-IS only. For OSPF, this allows you to assign two possible metric type values:
1(Type 1 external route) and2(Type 2 external route). The default type for OSPF is Type 2. For IS-IS, the options areinternal(the metric is less than 63) andexternal(the metric ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access