Administrator Guide

Layer 3 Routing Commands 1764
Type 1 external route.
Type 2 external route.
tag-value
—Inserts the specified tag value into redistributed routes.(Range:
0–4294967295)
subnets
—Specifies whether to redistribute the routes to subnets.
Default Configuration
The default tag value is 0.
There is no default metric or route map configured.
Command Mode
Router OSPF Configuration mode, Router BGP Configuration mode. Router
RIP Configuration mode.
User Guidelines
When redistributing a route metric, the receiving protocol must understand
the metric. The OSPF metric is a cost value equal to 10
8
/ link bandwidth in
bits/sec. For example, the OSPF cost of GigabitEthernet is 1 = 10
8
/10
8
= 1.
The RIP metric is a hop count with a maximum value of 15.
If no metric value is specified, the metric redistributed for a type 1 route is
the sum of the external cost and the internal cost used to reach that route.
The metric redistributed for a type 2 route is always the external cost,
irrespective of the interior cost to reach that route.
Example
The following example configures OSPF protocol to allow redistribution of
RIP originated routes with a metric of 5 and a route tag of 555.
console(config-router)#redistribute rip metric 3 metric-type 1 tag 555
subnets
router-id
Use the router-id command in Router OSPF Configuration mode to set a 32-
bit integer in 4-digit dotted-decimal number uniquely identifying the router
ID.
2CSNXXX_SWUM204.book Page 1764 Monday, January 25, 2016 1:25 PM