Install guide
46 OSPF: Redistributing Static Routes Release Note
Software Version 2.7.4
C613-10444-00 REV A
OSPF: Redistributing Static Routes
This enhancement enables OSPF to redistribute static routes. You can also
optionally specify:
■ a route map to select routes and set route parameters
■ route metric
■ metric type
■ route tag
■ whether subnets (classless network routes) can be redistributed, or only
classfull network routes.
New Commands
add ospf redistribute
Syntax ADD OSPF REDistribute PROTocol=STAtic [METric=metric]
[ROUTEMap=routemap] [SUBNET={ON|OFF|YES|NO|True|False}]
[TAG=0..65535] [TYpe={1|2}]
The routemap parameter specifies a route map to filter static routes before
redistributing them through OSPF. This route map can match on interface,
prefix list, next hop, metric, or tag.
delete ospf redistribute
Syntax DELete OSPF REDistribute PROTocol=STAtic
set ospf redistribute
Syntax SET OSPF REDistribute PROTocol=STAtic [METric=metric]
[ROUTEMap=routemap] [SUBNET={ON|OFF|YES|NO|True|False}]
[TAG=0..65535] [TYpe={1|2}]
show ospf redistribute
Syntax SHow OSPF REDistribute
Figure 24: Example output from the show ospf redistribute command
OSPF Redistribute
Protocol Metric RouteMap Subnet Tag Type
------------------------------------------------------------------------
Static 20 - YES 0 Ext2