In the above formula, the cost is calculated in megabits per second (Mbps). The auto-cost is configured using the
auto-cost reference-
bandwidth
command in OSPF router configuration mode or OSPFv3 router configuration mode. For more information on changing the
OSPF auto-cost reference-bandwidth, refer to the
Changing the reference bandwidth
on page 247 section.
Setting the bandwidth value for an Ethernet interface
The current bandwidth value for an Ethernet interface can be set and communicated to higher-level protocols such as OSPF.
1. Enter the
configure terminal
command to access global configuration mode.
device# configure terminal
2. Enter the
interface ethernet
command to configure an Ethernet interface and enter interface configuration mode.
device(config)# interface ethernet 1/1/1
3. Enter the
bandwidth
command and specify a value to set the bandwidth value on the interface.
device(config-if-e1000-1/1/1)# bandwidth 2000
This example sets the bandwidth to 2000 kbps on a specific Ethernet interface.
device# configure terminal
device(config)# interface ethernet 1/1/1
device(config-if-e1000-1/1/1)# bandwidth 2000
The bandwidth specified in this example results in the following OSPF cost, assuming the auto-cost is 100:
•
OSPF cost is equal to ((100 * 1000) + (2000 - 1)/ 2000) = 50
Setting the bandwidth value for a VE interface
The current bandwidth value for a VE interface can be set and communicated to higher-level protocols such as OSPF.
1. Enter the
configure terminal
command to access global configuration mode.
device# configure terminal
2. Enter the
vlan
command and specify a value to configure a VLAN.
device(config)# vlan 10
3. Enter the
tagged ethernet
command and specify an interface to add a port that is connected to the device and host in the same
port-based VLAN.
device(config-vlan-10)# tagged ethernet 1/1/1
4. Enter the
router-interface ve
command and specify a value to create a virtual interface as the routing interface for the VLAN.
device(config-vlan-10)# router-interface ve 10
Creates VE 10 as the routing interface for the VLAN.
5. Enter the
interface ve
command and specify a value.
device(config-vlan-10)# interface ve 10
Creates a VE interface with the VLAN ID of 10.
Bandwidth for IP interfaces
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04
123
Summary of Contents for FastIron SX 1600
Page 2: ...FastIron Ethernet Switch Layer 3 Routing 2 53 1003627 04 ...
Page 16: ...FastIron Ethernet Switch Layer 3 Routing 16 53 1003627 04 ...
Page 20: ...FastIron Ethernet Switch Layer 3 Routing 20 53 1003627 04 ...
Page 142: ...FastIron Ethernet Switch Layer 3 Routing 142 53 1003627 04 ...
Page 150: ...FastIron Ethernet Switch Layer 3 Routing 150 53 1003627 04 ...
Page 200: ...FastIron Ethernet Switch Layer 3 Routing 200 53 1003627 04 ...
Page 214: ...FastIron Ethernet Switch Layer 3 Routing 214 53 1003627 04 ...
Page 350: ...FastIron Ethernet Switch Layer 3 Routing 350 53 1003627 04 ...
Page 476: ...FastIron Ethernet Switch Layer 3 Routing 476 53 1003627 04 ...
Page 588: ...FastIron Ethernet Switch Layer 3 Routing 588 53 1003627 04 ...