Bandwidth for IP interfaces
6.
Enter the bandwidth command and specify a value to set the bandwidth value on the interface.
device(config-vif-10)# bandwidth 2000
This example sets the bandwidth to 2000 kbps on a specific VE interface .
device# configure terminal
device(config)# vlan 10
device(config-vlan-10)# tagged ethernet 1/1/1
device(config-vlan-10)# router-interface ve 10
device(config-vlan-10)# interface ve 10
device(config-vif-10)# 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 tunnel interface
The current bandwidth value for a tunnel 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 tunnel command and specify a value to configure a tunnel interface.
device(config)# interface tunnel 2
3.
Enter the tunnel mode gre ip command to enable GRE IP encapsulation on the tunnel interface.
device(config-tnif-2)# tunnel mode gre ip
4.
Enter the tunnel source command and specify an IP address to configure the source address for the tunnel interface.
device(config-tnif-2)# tunnel source 10.0.0.1
5.
Enter the tunnel destination command and specify an IP address to configure the destination address for the tunnel interface.
device(config-tnif-2)# tunnel destination 10.10.0.1
6.
Enter the ip address command and specify an IP address and a network mask to assign an IP address to the tunnel interface.
device(config-tnif-2)# ip address 10.0.0.1/24
7.
Enter the bandwidth command and specify a value to set the bandwidth value on the interface.
device(config-tnif-2)# bandwidth 2000
124
FastIron Ethernet Switch Layer 3 Routing
53-1003627-04