beautypg.com

50 redistribute, Redistribute – PLANET XGS3-24040 User Manual

Page 479

background image


33-192

Default:

Not configured.

Command Mode:

OSPF protocol mode

Example:

Switch#config terminal

Switch(config)#router ospf

Switch(config-router)#passive-interface vlan1

33.50 redistribute

Command:

redistribute {kernel |connected| static| rip| isis| bgp} [metric<value>] [metric-type

{1|2}][route-map][tag]

no redistribute {kernel |connected| static| rip| isis| bgp} [metric<value>] [metric-type

{1|2}][route-map][tag]

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 point to the probe of the route map for introducing route.

tag external identification number of the external route, ranging between

0~4294967295, defaulted at 0.

Command Mode:

OSPF Protocol Mode.

Usage Guide:

Learn and introduce other routing protocol into OSPF area to generate AS-external_LSAs.

Example:

Switch#config terminal

Switch(config)#router ospf