OSPF Commands 1145
Default Configuration
0 is the tag-value default configuration.
Command Mode
Router OSPF Configuration mode.
User Guidelines
This command has no user guidelines.
Example
The following example configures OSPF protocol to allow redistribution of
routes from the specified source protocol/routers.
console(config-router)#redistribute rip metric 90
metric-type 1 tag 555 subnets
router-id
Use the router-id command in Router OSPF Configuration mode to set a 4-
digit dotted-decimal number uniquely identifying the router OSPF ID.
Syntax
router-id
ip-address
ip-address
— IP address that uniquely identifies the router OSPF ID.
metric-value Specifies the metric to use when redistributing the route.
(Range: 0–16777214)
type-value Type 1 external route.
Type 2 external route.
tag-value Value attached to each external route, which might be used to
communicate information between ASBRs. (Range:
0–4294967295)
subnets Specifies whether to redistribute the routes to subnets.
Parameter Description
2CSPC4.XCT-SWUM2XX1.book Page 1145 Monday, October 3, 2011 11:05 AM