study-ccna.com
Open in
urlscan Pro
143.198.121.241
Public Scan
URL:
https://study-ccna.com/ospf-cost-metric/
Submission Tags: falconsandbox
Submission: On June 07 via api from US — Scanned from DE
Submission Tags: falconsandbox
Submission: On June 07 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMGET https://study-ccna.com/
<form role="search" method="get" class="search-form" action="https://study-ccna.com/"> <label> <span class="screen-reader-text">Search for:</span> <input type="search" class="search-field" placeholder="Search..." value="" name="s"
title="Search for:"> </label> <input type="submit" class="search-submit" value="Search"></form>
Text Content
Skip to content Search for: Menu * Home * What is CCNA? * CCNA 200-301 exam * Free CCNA Study Guide PDF * Recommended Resources OSPF COST – OSPF ROUTING PROTOCOL METRIC EXPLAINED OSPF is a dynamic routing protocol that uses Link State Routing (LSR) algorithm. It is one of the Interior Gateway Protocols (IGP) that operates within a single autonomous system. OSPF cost is its metric (the unit used by a router to make routing decisions). OSPF executes a process using an algorithm developed by Edsger Dijkstra to find the shortest route to the advertising node. The router will then use this output as a candidate path for its routing table. For the OSPF to accurately represent topology, each link of the network must have an associated OSPF cost. OSPF relies on costs that are inversely proportional to the bandwidth of the link. Therefore, higher bandwidth links are preferred to lower ones. The Cost formula is reference bandwidth divided by interface bandwidth. The default reference bandwidth of 100 Mbps is used for OSPF cost calculation. For example, if we have an Ethernet interface (10 Mbps), the OSPF path cost value is 100 Mbps / 10 Mbps = 10. OSPF DEFAULT INTERFACE COST VALUES Here are the default Cost values for each interface type: Gigabit Ethernet Interface (1 Gbps)1Fast Ethernet Interface (100 Mbps)1Ethernet Interface (10 Mbps)10DS1 (1.544 Mbps)64DSL (768 Kbps)133 Cisco routers have three methods to change the OSPF interface cost: 1. By directly using the interface command ‘ip ospf cost <1-65535>’ Router#conf t Router(config)#int gi0/0/0 Router(config-if)#ip ospf cost <1-65535> We can verify this by using the ‘show ip ospf interface’ command. 2. Changing the ‘interface bandwidth’ setting (in kilobits), which changes the calculated value. Router#conf t Router(config)#int gi0/0/0 Router(config-if)#bandwidth <1-10000000> 3. Changing the OSPF reference bandwidth setting, which changes the calculated value. Router#conf t Router(config)#router ospf 1 Router(config-router)#auto-cost reference-bandwidth 100000 NOTE Please ensure reference bandwidth is the same across all routers. The reference bandwidth command warns you that you need to make the same change across all your routers. This will allow all routers to make their calculations on the same information. In our example, R1, R2, and R3 are running OSPF. From R1’s perspective, it installed both paths in its routing table since the links towards R2 and R3 have equal Costs of 1. O 1.1.1.0/24 [110/2] via 10.2.2.2, 00:00:03, GigabitEthernet0/0 [110/2] via 10.3.3.2, 00:00:03, GigabitEthernet0/1 GigabitEthernet0/0 is up, line protocol is up Internet address is 10.2.2.1/30, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 1 GigabitEthernet0/1 is up, line protocol is up Internet address is 10.3.3.1/30, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 1 Let’s change R1 Gi0/1’s cost to 20. R1#conf t R1(config)#int gi0/1 R1(config-if)#ip ospf cost 20 For verification, let’s check the cost and the routing table again. R1#sh ip ospf interface GigabitEthernet0/0 is up, line protocol is up Internet address is 10.2.2.1/30, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 1 GigabitEthernet0/1 is up, line protocol is up Internet address is 10.3.3.1/30, Area 0 Process ID 1, Router ID 10.1.1.1, Network Type BROADCAST, Cost: 20 Lower cost wins, and R3’s route was removed from our routing table. O 1.1.1.0/24 [110/2] via 10.2.2.2, 00:00:00, GigabitEthernet0/0 -------------------------------------------------------------------------------- Download our Free CCNA Study Guide PDF for complete notes on all the CCNA 200-301 exam topics in one book. We recommend the Cisco CCNA Gold Bootcamp as your main CCNA training course. It’s the highest rated Cisco course online with an average rating of 4.8 from over 30,000 public reviews and is the gold standard in CCNA training: POST NAVIGATION Cisco Bandwidth Command vs Clock Rate & Speed Commands OSPF configuration CCNA 200-301 Tutorials Introduction * About Us * What is CCNA? * New CCNA exam - 200-301 * Free Cisco CCNA Study Guide * Recommended CCNA Study Resources Introduction to Networking * What is a Network? * Local Area Network (LAN) * OSI & TCP/IP Models * TCP/IP Suite of Protocols * Encapsulation Cisco Operating System IOS * Cisco IOS Overview * Ports on an IOS Device * Auxiliary Port on a Cisco Router * Cisco Console Rollover Cable * Get Help in IOS * IOS Command Modes * Run Privileged Commands Within Global Config Mode * Pipe Character in IOS * Running & Startup Configuration The Transport Layer * Transport Layer Explanation – Layer 4 of the OSI Model * Ports Explained * TCP Explained * TCP Three-Way Handshake * UDP explained The Network Layer * IP Header * Unicast, Multicast, and Broadcast Addresses * Types of IP Addresses IPv4 Addressing * What is Ipv4 Address and What is its Role in the Network? * Converting the IP Address - Decimal to Binary * Subnet Mask * Classes of IP Addresses Subnetting * Subnetting Explained * CIDR (Classless Inter-Domain Routing) * Create Subnets * Understanding Variable Length Subnet Masks (VLSM) * Private IP Addresses Explained The Data-Link Layer * Ethernet Explained * Ethernet Frame * MAC & IP Addresses The Physical Layer * Types of Ethernet Cabling * IEEE Ethernet Standards * Types of Ethernet Cables – Straight-Through and Crossover * Cisco PoE Explained - What is Power over Ethernet? Cisco Network Devices * Network Devices * Network Hubs Explained * Network Switch Explained * CSMA/CD * Collision & Broadcast Domain * How Switches Work * Layer 2 Switching * Network Router Explained * What Is Layer 3 Switch and How it Works in Our Network? Life of a Packet * What is Domain Name System (DNS) and How Does it Work? * Map Hostnames to IP Addresses * Configure Cisco Device as DNS client * How to Configure a Cisco Router as a DNS Server? * no ip domain-lookup Command * ARP (Address Resolution Protocol) Explained * The ARP Table on a Cisco Router Router & Switch Basic Configuration * IOS Basic Commands * Configure an IP Address on a Switch * Configure Descriptions * Interface Range Command * Power on a Cisco Device * Half Duplex and Full Duplex * Configure Speed and Duplex * Link Layer Discovery Protocol (LLDP) * Cisco Discovery Protocol (CDP) overview * show Command * show interfaces status Command * Interface Status Codes * show version Command Cisco Device Management * Types of Memory on a Cisco Device * IOS Boot Sequence * How to Reset a Cisco Router or Switch to Factory Default * IOS files * Backing up IOS Configuration * FTP & TFTP * Copy Files with FTP * How to Upgrade Cisco IOS * Cisco more Command * Erasing Configuration Files Basic Network Troubleshooting * Network Troubleshooting Methodology and Techniques * ICMP (Internet Control Message Protocol) * Ping Explained * Extended Ping Command * Traceroute Explained * traceroute Command * show processes Command IPv4 Routing * What is IP Routing? * Local Routes and How they Appear in the Routing Table * Connected, Static, & Dynamic Routes * Floating Static Route - Explanation and Configuration * Default Static Route * Create a Static Host Route * What is a Static Summary Route? Explained and Configured Dynamic Routing Protocols * Routing Protocols * Comparing Internal Routing Protocols (IGPs) * Administrative Distance & Metric * Equal Cost Multi-Path (ECMP) Explanation & Configuration * Understanding Loopback Interfaces and Loopback Addresses * passive-interface Command Interior Gateway Protocols (IGP) * RIP Overview * Advertise Default Routes Using RIP * Configuring RIPv2 * EIGRP Overview * EIGRP Diffusing Update Algorithm (DUAL) * EIGRP Reliable Transport Protocol (RTP) * Wildcard Masks * Wildcard Mask in EIGRP * EIGRP Automatic & Manual Summarization * EIGRP Summary Open Shortest Path First (OSPF) * OSPF Overview * Differences Between OSPF and EIGRP * Cisco Bandwidth Command vs Clock Rate and Speed Commands * OSPF Cost - OSPF Routing Protocol Metric Explained * OSPF Configuration * Designated & Backup Designated Router * OSPF Passive Interface - Configuration and Why it is Used * OSPF Default-Information Originate and the Default Route * OSPF Load Balancing - Explanation and Configuration * OSPF Summarization * Troubleshooting OSPF and OSPF Configuration Verification * OSPF Network Types - Point-to-Point and Broadcast * OSPF Summary Virtual Local Area Network (VLAN) * Cisco Three-Layer Hierarchical Model * Collapsed Core and Three-Tier Network Architectures * What is Spine and Leaf Network Architecture? * What is a VLAN? * Frame Tagging * Configuring VLANs * Access and Trunk Ports * Inter-Switch Link (ISL) * IEEE 802.1Q * Configuring Access & Trunk Ports * Configuring Voice VLANs * Configuring Allowed VLANs * Cisco Dynamic Trunking Protocol (DTP) Explained * What is VTP? * VTP Modes * VTP Configuration Inter-VLAN Routing * Configure interVLAN Routing * Configure Cisco ROAS Router On A Stick * Cisco Layer 3 Switch InterVLAN Routing Configuration Dynamic Host Configuration Protocol (DHCP) * DHCP & DNS * Configure Cisco Router as DHCP Server * DHCP Relay Agent * Configure Cisco Router as a DHCP Client * APIPA (Automatic Private IP Addressing) Hot Standby Routing Protocol (HSRP) * What is Network Redundancy and What are its Benefits? * Cisco First Hop Redundancy Protocol (FHRP) Explained * Cisco Hot Standby Router Protocol (HSRP) Explained * Cisco Hot Standby Router Protocol (HSRP) Configuration * Cisco Hot Standby Router Protocol (HSRP) Preempt Command Spanning Tree Protocol (STP) * What is STP? * Network Bridge Explained * How STP Works * Electing the Root Switch in STP * Spanning Tree Priority: Root Primary and Root Secondary * Selecting STP Root Port * Selecting STP Designated Port (DP) * Spanning Tree Modes: MSTP, PVST+, and RPVST+ * What is RSTP? * How RSTP Works * Configuring RSTP * Cisco HSRP and Spanning Tree Alignment Configuration * Spanning Tree Portfast, BPDU Guard, Root Guard Configuration EtherChannel * What is EtherChannel and Why Do We Need It? * EtherChannel Port Aggregation Protocol (PAgP) * EtherChannel Link Aggregation Control Protocol (LACP) * Multichassis EtherChannel (MEC) and MEC Options * Cisco Layer 3 EtherChannel - Explanation and Configuration Switch Security * What is DCHP Snooping? - Explanation and Configuration * Dynamic ARP Inspection (DAI) Explanation & Configuration * What is 802.1X Authentication and How it Works? * Port Security * Cisco Port Security Violation Modes Configuration Access Control List (ACL) * What are ACLs? * Types of ACLs * Configuring Standard ACLs * Configuring Extended ACLs * Configuring Named ACLs Network Address Translation (NAT) * What is NAT? * Static NAT * Dynamic NAT * Port Address Translation (PAT) Configuration IPv6 Addressing and Routing * What is IPv6? * IPv6 Address Format * IPv6 Interface Identifier * Differences Between IPv4 and IPv6 * Types of IPv6 Addresses * IPv6 Unicast Addresses * IPv6 Global Unicast Addresses * IPv6 Unique Local Addresses * IPv6 Link-Local Addresses * IPv6 Multicast Addresses * IPv6 Address Prefixes * How to Configure IPv6 * IPv6 SLAAC - Stateless Address Autoconfiguration * IPv6 Routing - Static Routes Explained and Configured * IPv6 Default Static Route and Summary Route * IPv6 Routing Protocols * Neighbor Discovery Protocol - NDP Overview Wide Area Networks (WAN) * Wide Area Network * Cisco VPN - What is VPN (Virtual Private Network)? * WAN Connection Types - Explanation and Examples * Leased Line Definition, Explanation, and Example * Multiprotocol Label Switching (MPLS) Explained & Configured * What is PPPoE? Point to Point Protocol over Ethernet * The Different Wide Area Network (WAN) Topologies Security Concepts * Cybersecurity Threats and Common Attacks Explained * The Different Types of Firewalls Explained * Firewalls, IDS, and IPS Explanation and Comparison * Cisco Cryptography: Symmetric vs Asymmetric Encryption * HTTP and HTTPS explained * Cyber Threats Attack Mitigation and Prevention Network Device Security * Telnet & SSH * Setting Up Telnet * Setting Up SSH * Cisco Console Port Security * exec-timeout Command * Encrypt Local Usernames and Passwords * Cisco Privilege Levels - Explanation and Configuration * What is AAA? Authentication, Authorization, & Accounting * Configuring AAA on Cisco Devices – RADIUS and TACACS+ * Configuring a Cisco Banner: MOTD, Login, & Exec Banners * Configure Timezone and Daylight Saving Time (DST) * NTP (Network Time Protocol) * Configure NTP on a Cisco Router Network Device Management * Syslog Explained * Syslog Message Format * Cisco IOS Syslog Logging Locations * logging synchronous Command * debug Command * terminal monitor Command * SNMP (Simple Network Management Protocol) * SNMPv3 Overview and Configuration Quality of Service (QoS) * Quality of Service (QoS) and its Effect on the Network * Quality of Service (QoS) Classification and Marking * Quality of Service (QoS) Queues and Queuing Explained * Quality of Service (QoS) Traffic Shaping and Policing * Quality of Service (QoS) Network Congestion Management Cloud Computing * Cloud Computing - Definition, Characteristics, & Importance * What is Server Virtualization, its Importance, and Benefits? * Network Virtualization and Virtualizing Network Devices * Cloud Computing Service Models - IaaS, PaaS, SaaS * Cloud Deployment Models - Explanation and Comparison * The Different WAN to Cloud Connectivity Options * The Advantages and Disadvantages of Cloud Computing Wireless Networks * What is Wireless Network and What are its Types? * Wireless Access Point Operation Explained * Autonomous AP Access Point Configuration * Lightweight Access Point (AP) Configuration * Cisco Wireless Architectures Overview and Examples * Cisco Wireless LAN Controller Deployment Models * 2.4 GHz vs 5 GHz WiFi Frequency Spectrum * Understanding WiFi Security - WEP, WPA, WPA2, and WPA3 Network Automation and Programmability * What is Network Automation and Why We Need It? * Network Programmability - Git, GitHub, CI/CD, and Python * Data Serialization Formats - JSON, YAML, and XML * SOAP vs REST: Comparing the Web API Services * Model-Driven Programmability: NETCONF and RESTCONF * Configuration Management Tools - Ansible, Chef, & Puppet * Cisco SDN - Software Defined Networking Explained * Cisco DNA - Digital Network Architecture Overview * Cisco IBN - Intent-Based Networking Explained * Cisco SD-Access (Software-Defined Access) Overview * Cisco SD-WAN (Software-Defined WAN) Overview & Architecture CCNP ENCOR 350-401 Tutorials * Click here for CCNP tutorials on study-ccnp.com RECOMMENDED CCNA TRAINING COURSE: ALPHAPREP PRACTICE TESTS FREE TRIAL: FREE CCNA STUDY GUIDE PDF: * About * Contact * Privacy Policy Copyright study-ccna.com 2022. All rights reserved. This is not an official Cisco website.