
25-99
Default:
Not configured.
Command Mode:
OSPF protocol mode
Example:
Switch#config terminal
Switch(config)#router ospf
Switch(config-router)#passive-interface vlan1
25.51 redistribute
Command:
redistribute {kernel |connected| static| rip| isis| bgp} [metric<
value
>] [metric-type
{1|2}][route-map
<word>
][tag
<tag-value>
]
no redistribute {kernel |connected| static| rip| isis| bgp} [metric<
value
>] [metric-type
{1|2}][route-map
<word>
][tag
<tag-value>
]
Function:
Introduce route learnt from other routing protocols into OSPF.
Parameter:
kernel
introduce from kernel route.
connected
introduce from direct route.
static
introduce from static route.
rip
introduce from the RIP route.
isis
introduce from ISIS route.
bgp
introduce from BGP route.
metric <
value
>
is the introduced metric value, ranging between 0-16777214.
metric-type {1|2}
is the metric value type of the introduced external route, which can be 1 or 2, and it is 2 by default.
route-map
<word>
point to the probe of the route map for introducing route.
tag
<tag-value>
external identification number of the external route, ranging between 0~4294967295, defaulted at 0.
Command Mode:
OSPF Protocol Mode.