beautypg.com

Define redistribution filters, Changing the reference bandwidth – Brocade Multi-Service IronWare Routing Configuration Guide (Supporting R05.6.00) User Manual

Page 213

background image

Multi-Service IronWare Routing Configuration Guide

185

53-1003033-02

Configuring OSPF

Changing the reference bandwidth

To change the reference bandwidth, enter a command such as the following at the OSPF
configuration level of the CLI.

Brocade(config)# router ospf

Brocade(config-ospf-router)# auto-cost reference-bandwidth 500

The reference bandwidth specified in this example results in the following costs:

10 Mbps port’s cost = 500/10 = 50

100 Mbps port’s cost = 500/100 = 5

1000 Mbps port’s cost = 500/1000 = 0.5, which is rounded up to 1

The costs for 10 Mbps and 100 Mbps ports change as a result of the changed reference
bandwidth. Costs for higher-speed interfaces remain the same.

Syntax: [no] auto-cost reference-bandwidth num | use-active-ports

The num parameter specifies the reference bandwidth and can be a value from 1 – 4294967. The
default is 100.

To restore the reference bandwidth to its default value and thus restore the default costs of
interfaces to their default values, enter the following command.

Brocade(config-ospf-router)# no auto-cost reference-bandwidth

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 configured
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.

Brocade(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 effect on non-VE or non-LAG interfaces. The default operation is for costs to be based
on configured ports.

Define redistribution filters

Route redistribution imports and translates different protocol routes into a specified protocol type.
On the device, redistribution is supported for static routes, IS-IS, OSPF, RIP, and BGP4. OSPF
redistribution supports the import of static, IS-IS, 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

Figure 14

on page 186, an administrator wants to configure 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.