Software Version 2.8.1

99

set ospf redistribute

Syntax SET OSPF REDistribute PROTocol={BGPINTerfaceRIPSTAtic} [LIMit=1..4000] [METric={0..16777214ORiginal}]

[ROUTEMap={routemapNONE}] [SUBNET={ONOFFYESNOTrueFalse}]

[TAG={1..65535ORiginal}] [TYpe={12ORiginal}]

where routemap is the name of an IP route map

Description The modified protocol parameter specifies the type of route to redistribute. Specify bgp or rip to redistribute routes derived from BGP or RIP, respectively. Specify interface to redistribute non-OSPF interface routes. Specify static to redistribute statically configured routes.

The new limit parameter specifies the maximum number of routes that can be redistributed into OSPF for the specified protocol. The default is 1000. If you add a BGP redistribution definition, the limit parameter overwrites the setting of the bgplimit parameter in the set ospf command on page 97.

The modified metric parameter specifies the route metric that OSPF assigns to routes that it redistributes. If you specify original, the original route metric is preserved in the redistributed route—metric1 for Type-1 routes or metric2 for Type-2 routes. If you assign a route map that sets the metric, the route map overrides the setting in this parameter. The default is 20.

The modified tag parameter specifies a number OSPF uses to label routes that it redistributes. If you specify original, the original route tag is preserved in the redistributed route. If you assign a route map that sets the tag, the route map overrides the setting in this parameter. The default is original.

The modified type parameter specifies the OSPF external route type that OSPF assigns to routes that it redistributes. Use the type parameter to ensure that all externally-sourced OSPF routes are the same type and therefore use the same method to calculate route metrics. Specify 1 if you require the routes to have a Type-1 external metric, or 2 if you require the routes to have a Type-2 external metric. If you assign a route map that sets the type, the route map overrides the setting in this parameter. The default is 2.

Modifying a BGP, RIP, or static interface route redistribution definition will change the setting of the bgpimport, rip, and staticexport parameters of the set ospf command on page 97. If you configure a BGP route filter using the bgpfilter parameter of the set ospf command, the filter will be applied before any BGP route redistribution definition.

Software Version 2.8.1 C613-10477-00 REV B

Page 99
Image 99
Allied Telesis AT-8700XL, RAPIER I, X900-48FE, AT-8900, AT-9900, AT-8600, AT-9800, AT-8800 manual Set ospf redistribute