To change OSPF link costs, follow these steps:
1. Access the router’s command line interface.
1. Enter configuration mode.
1. Identify the interface or interfaces over which OSPF is enabled.
1. Determine the current OSPF cost of each interface using the “show ip ospf interface” command.
1. Change the OSPF cost of an interface using the “ip ospf cost VALUE” command, where “VALUE” is the desired cost.
1. Verify the changes using the “show ip ospf interface” command.
1. Save the changes to the router’s configuration file by typing “copy running-config startup-config”.
1. Exit configuration mode and exit the command line interface.
Note: The OSPF cost can be changed manually, but doing so can affect the network’s traffic flow, and may lead to routing issues. It is recommended that changes be made only after careful consideration and testing.