Determining cost calculation for active ports only on LAG and VE interfaces
The default operation is for cost calculation of OSPF interfaces to be based upon all congured ports. There is also an option for the
auto-cost reference-bandwidth command for the calculation of OSPF costs on active ports of LAG and VE interfaces. This option
allows you to calculate cost based on the ports that are currently active. The following example enables cost calculation for currently
active ports.
device(config-ospf-router)# auto-cost use-active-ports
The use-active-ports option enables cost calculation for currently active ports only. This option does not have any
eect on non-VE or
non-LAG interfaces. The default operation is for costs to be based on congured ports.
Dene redistribution lters
Route redistribution imports and translates dierent protocol routes into a specied protocol type. On the device, redistribution is
supported for static routes, OSPF, RIP, and BGP4. OSPF redistribution supports the import of static, RIP, and BGP4 routes into OSPF
routes.
NOTE
The device advertises the default route into OSPF even if redistribution is not enabled, and even if the default route is learned
through an IBGP neighbor. IBGP routes (including the default route) are not redistributed into OSPF by OSPF redistribution (for
example, by the OSPF redistribute command).
In this example, an administrator wants to congure the device acting as the ASBR (Autonomous System Boundary Router) between the
RIP domain and the OSPF domain to redistribute routes between the two domains.
NOTE
The ASBR must be running both RIP and OSPF protocols to support this activity.
Conguring OSPF
FastIron Ethernet Switch Layer 3 Routing
248 53-1003627-04