August 17, 2012
For configuring basic OSPF: Router(config)#router ospf<Process ID> Router(config)#router ospf 2 Router(config-router)#network <Subnet ID/Network ID> <Wildcard Mask> Area<#> Router(config-router)#network 192.168.10.4 0.0.0.3 Area 0 Router(config-router)#network 130.50.10.64 0.0.0.31 Area 0 Router(config)#interface loopback0 Router(config-if)#ip ospf network point-to-point (P2P, instead of w.x.y.z/32 you will see w.x.y.z/proper mask) Useful show commands for OSPF: Router#show ip ospf neighbor Router#show ip ospf interface Router#show ip route ospf For configuring OSPF to broadcast itself as the default-gateway: Router(config)#ip route 0.0.0.0 0.0.0.0 serial 0/0 Router(config)#router ospf <Process ID> […]