IP R
OUTING
C
OMMANDS
-155
Metric type specifies the way to advertise routes to destinations outside
the AS via External LSAs. Specify Type 1 to add the internal cost
metric to the external route metric. In other words, the cost of the route
from any router within the AS is equal to the cost associated with
reaching the advertising ASBR, plus the cost of the external route.
Specify Type 2 to only advertise the external route metric.
Example
This example redistributes routes learned from R IP as Type 1 external
routes.
Related Commands
default-information originate (3-149)

network area

Use this command to define an OSPF area and the interfaces that operate
within this area. Use the no form to disable OSPF for a specified interface.
Syntax
network ip-address netmask area area-id
no network ip-address netmask area area-id
ip-address - Address of the interfaces to add to the area.
netmask - Network mask of the address range to add to the area.
area-id - Area to which the specified address or range is assigned. An
OSPF area identifies a group of routers that share common routing
information. (Thearea ID must be in the form of an IP address.)
Command Mode
Router Configuration
Default Setting
Disabled
Console(config-router)#redistribute rip metric-type 1
Console(config-router)#