17. Modified Cost value and reference bandwidth of OSPF configuration experiment
1. Experimental Topology
2. The method of modifying the Cost value and reference bandwidth
3. Experimental configuration
R1 configuration
Interface FastEthernet1/0
Ip address 12.1.1.1 255.255.255.0
Router ospf 110
Network 12.1.1.0 0.0.0.255 area 0
R2 configuration
Interface FastEthernet1/0
Ip address 12.1.1.2 255.255.255.0
Interface FastEthernet2/0
Ip address 23.1.1.2 255.255.255.0
Router ospf 110
Network 12.1.1.0 0.0.0.255 area 0
Network 23.1.1.0 0.0.0.255 area 0
R3 configuration
Interface FastEthernet2/0
Ip address 23.1.1.3 255.255.255.0
Router ospf 110
Network 23.1.1.0 0.0.0.255 area 0
4. Modify the Cost value based on the interface
The route of 12.1.1.0 to R3 has two interfaces in the inbound direction, R2's f1max 0 and R3's f2max 0, and their interface bandwidth is 100m via 10 ^ 8 / BW (bps) = 1, so cost is 2 at this time, we modify the interface bandwidth of R3's f2ap0 to 59, and the cost value of 12.1.1.0 route should be 60 when looking at the routing table here.
5. Modify the reference bandwidth
By default, our reference is 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m, 100m
The above figure shows the interface after restoring the initial bandwidth of the interface. Let's modify the reference bandwidth under the OSPF process.