Auto-Cost Reference-Bandwidth - Edge-Core AS6700-32X Cli Reference Manual

10g/40g top-of-rack switches
Hide thumbs Also See for AS6700-32X:
Table of Contents

Advertisement

Chapter 29
| IP Routing Commands
Open Shortest Path First (OSPFv2)
auto-cost reference-
bandwidth
Example
This example creates a summary address for all area routes in the range of 10.2.x.x.
Console(config-router)#area 10.2.0.0 range 10.2.0.0 255.255.0.0 advertise
Console(config-router)#
Use this command to calculate the default metrics for an interface based on
bandwidth. Use the no form to automatically assign costs based on interface type.
Syntax
auto-cost reference-bandwidth reference-value
no auto-cost reference-bandwidth
reference-value - Bandwidth of interface. (Range: 1-4294967 Mbps)
Command Mode
Router Configuration
Default Setting
1 Mbps
Command Usage
The system calculates the cost for an interface by dividing the reference
bandwidth by the interface bandwidth. By default, the cost is 1 Mbps for all
port types (including 100 Mbps ports, 1 Gigabit ports, and 10 Gigabit ports).
A higher reference bandwidth can be used for aggregate links to indicate
preferred use as a lower cost interface.
The
ip ospf cost
command overrides the cost calculated by the auto-cost
reference-bandwidth command.
Example
This example sets the reference value to 10000, which generates a cost of 100 for
100 Mbps ports, 10 for 1 Gbps ports and 1 for 10 Gbps ports.
Console(config-router)#auto-cost reference-bandwidth 10000
Console(config-router)#
Related Commands
ip ospf cost (860)
– 846 –

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

As5700-54x

Table of Contents