Administrator Guide

Layer 3 Routing Commands 1875
redistribute
The redistribute command configures RIP protocol to redistribute routes
from the specified sources. If the source protocol is OSPF, there are five
possible match options.
Syntax
redistribute ospf [metric
integer
] [match [internal] [external 1] [external 2]
[nssa-external 1] [nssa-external 2]]
no redistribute [ospf | bgp | static | connected]
redistribute {bgp | connected | static} [metric
integer
]
•metric
integer
— Specifies the metric to use when redistributing the route.
Range: 0-15.
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.
bgp
Redistributes BGP originated routes.
connected
— Redistributes directly-connected routes.
Default Configuration
metric
integer
— not configured
match — internal
Command Mode
Router RIP Configuration mode.
2CSNXXX_SWUM204.book Page 1875 Monday, January 25, 2016 1:25 PM