redistribute
The redistribute command configures RIP protocol to redistribute routes from the specified
source protocol/routers. If the source protocol is OSPF, there are five possible match options.
Syntax
redistribute ospf [metric
[nssa-external 1] [nssa-external 2]]
no redistribute ospf
redistribute { static | connected} [metric
integer — Specifies the metric to use when redistributing the route. Range: 0-15.
•
metric
•
match internal — Adds internal matches to any match types presently being redistributed.
•
match external 1 — Adds routes imported into OSPF as Type-1 external routes into any
match types presently being redistributed.
•
match external 2 — Adds routes imported into OSPF as Type-2 external routes into any
match types presently being redistributed.
•
match nssa-external 1 — Adds routes imported into OSPF as NSSA Type-1 external routes
into any match types presently being redistributed.
•
match nssa-external 2 — Adds routes imported into OSPF as NSSA Type-2 external routes
into any match types presently being redistributed.
•
static — Redistributes static routes.
•
connected — Redistributes directly-connected routes.
Default Configuration
integer
metric
— not configured
match — internal
Command Mode
Router RIP Configuration mode.
User Guidelines
This command has no user guidelines.
Example
console(config-router)#redistribute ospf metric 10 match nssa-
external 1
console(config-router)#redistribute connected metric 1
integer
] [match [internal] [external 1] [external 2]
integer
]
865