Auto-Cost (Ospf) - NETGEAR ProSafe GSM7224P User Manual

Prosafe managed switch command line interface (cli) 9.0.2
Hide thumbs Also See for ProSafe GSM7224P:
Table of Contents

Advertisement

auto-cost (OSPF)

By default, OSPF computes the link cost of each interface from the interface bandwidth.
Faster links have lower metrics, making them more attractive in route selection. The
configuration parameters in the auto-cost reference bandwidth and bandwidth
commands give you control over the default link cost. You can configure for OSPF an
interface bandwidth that is independent of the actual link speed. A second configuration
parameter allows you to control the ratio of interface bandwidth to link cost. The link cost is
computed as the ratio of a reference bandwidth to the interface bandwidth (ref_bw / interface
bandwidth), where interface bandwidth is defined by the bandwidth command. Because the
default reference bandwidth is 100 Mbps, OSPF uses the same default link cost for all
interfaces whose bandwidth is 100 Mbps or greater. Use the auto-cost command to
change the reference bandwidth, specifying the reference bandwidth in megabits per second
(Mbps). The reference bandwidth range is 1-4294967 Mbps. The different reference
bandwidth can be independently configured for OSPFv2 and OSPFv3.
Default
100Mbps
Format
auto-cost reference-bandwidth <1 to 4294967>
Mode
Router OSPF Config
no auto-cost reference-bandwidth (OSPF)
Use this command to set the reference bandwidth to the default value.
Format
no auto-cost reference-bandwidth
Mode
Router OSPF Config
bandwidth
By default, OSPF computes the link cost of an interface as the ratio of the reference
bandwidth to the interface bandwidth. Reference bandwidth is specified with the auto-cost
command. For the purpose of the OSPF link cost calculation, use the bandwidth command to
specify the interface bandwidth. The bandwidth is specified in kilobits per second. If no
bandwidth is configured, the bandwidth defaults to the actual interface bandwidth for
port-based routing interfaces and to 10 Mbps for VLAN routing interfaces. This command
does not affect the actual speed of an interface.
Default
actual interface bandwidth
Format
bandwidth <1-10000000>
Mode
Interface Config
ProSafe Managed Switch
Routing Commands
277

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents