howtonetwork.net

Cisco Certification Training

  • Products
  • CCNA
    • CCNA Videos
    • CCNA Lectures
    • CCNA Practice Exams
    • Challenge Labs
      • Challenge Video Solutions
    • Cisco Commands
  • CCNP ROUTE
    • ROUTE Exams
  • CCNP SWITCH
    • SWITCH Exams
  • CCNP TSHOOT
  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training
You are here: Home / IP OSPF

IP OSPF

Command

IP OSPF #

Use

Enables OSPF on an interface.

Syntax

Router(config-if)#ip ospf <Number>

Example

In this example, OSPF is enabled on int fa0/0 on R1. Before doing so, ospf is disabled at the router level on R1. The empty route table
is first displayed.

R1(config)#no router ospf 1
R1(config)#do show ip route ospf

R1(config)#

After that, ospf is then enabled directly on fa0/0.

R1(config)#int fa0/0
R1(config-if)#ip ospf 1 area 0

Finally, the route table is displayed.

R1(config-if)#do show ip route ospf
2.0.0.0/32 is subnetted, 1 subnets
O 2.2.2.2 [110/2] via 10.1.1.2, 00:00:13, FastEthernet0/0
33.0.0.0/32 is subnetted, 1 subnets
O 33.33.33.33 [110/3] via 10.1.1.2, 00:00:13, FastEthernet0/0
3.0.0.0/32 is subnetted, 1 subnets
O 3.3.3.3 [110/3] via 10.1.1.2, 00:00:13, FastEthernet0/0
10.0.0.0/24 is subnetted, 3 subnets
O 10.2.2.0 [110/2] via 10.1.1.2, 00:00:13, FastEthernet0/0
133.133.0.0/32 is subnetted, 1 subnets
O 133.133.133.133 [110/3] via 10.1.1.2, 00:00:13, FastEthernet0/0

Get access to over 5 hours of IT webinar videos as well as regular study tips and ideas when you
join our mailing list

About This Site

We replaced this site some time ago with an upgraded version. Please feel free to enjoy the content and if you like what you see check out our brilliant new site:

howtonetwork.com

Keep In Touch

About Us

This is a free access website which has now been replaced by howtonetwork.com.

Navigation

  • Home
  • Join
  • Downloads
  • About Us
  • Whitepapers
  • Feature Articles
  • Helpdesk
  • FAQ
  • Free Training

Copyright

All content is protected by international copyright laws. Copyright Reality Press Ltd.

Copyright © 2023 · Dynamik Website Builder on Genesis Framework · WordPress · Log in