Name
redistribute — router
Synopsis
redistribute {protocol
| static} [metricvalue
] [metric-typetype
] [route-mapmap
] [weightweight
] [subnets] no redistributeprotocol
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.-
metric
value
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-metric
command. For most redistribution, you must define a default metric. Exceptions to this rule are static routes and IGRP to EIGRP redistribution.-
metric-type
type
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 ...
Get CISCO IOS in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.