C613-50100-01 REV C Command Reference for x930 Series 1015
AlliedWare Plus™ Operating System - Version 5.4.6-1.x
OSPF COMMANDS
REDISTRIBUTE
(OSPF)
Example The following example shows redistribution of BGP routes into OSPF routing table
100, with metric 12.
awplus# configure terminal
awplus(config)# router ospf 100
awplus(config-router)# redistribute bgp metric 12
The following example shows the configuration of a route-map named rmap2,
which is then applied using the redistribute route-map command, so routes
learned via interface vlan1 can be redistributed as type-1 external LSAs:
awplus# configure terminal
awplus(config)# route-map rmap2 permit 3
awplus(config-route-map)# match interface vlan1
awplus(config-route-map)# set metric-type 1
awplus(config-route-map)# exit
awplus(config)# router ospf 100
awplus(config-router)# redistribute bgp rip route-map rmap2
Note that configuring a route-map and applying it with the redistribute
route-map command allows you to filter which routes are distributed from
another routing protocol (such as RIP). A route-map can also set the metric, tag,
and metric-type of the redistributed routes.
Related
Commands
distribute-list (OSPF)
match interface
route-map
show ip ospf database external