Practical Lecture 29: OSPF Configuration Part2
Router#conf terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#interface fa0/0 Router(config-if)#ip address 10.0.1.2 255.0.0.0 Router(config-if)#no shutdown Router(config-if)#^Z Router# Router#conf terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#interface fa0/1 Router(config-if)#ip address 172.16.0.1 255.255.0.0 Router(config-if)#no shut Router(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up Router(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(config-if)#do show ip interface b Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.1.2 YES manual up up FastEthernet0/1 172.16.0.1 YES manual up up Vlan1 unassigned YES unset administratively down down Router(config-if)#do show ip route Gateway of last resort is not set C 10.0.0.0/8 is directly connected, FastEthernet0/0 C 172.16.0.0/16 is directly connected, FastEthernet0/1 Router(config-if)# Router(config-if)#exit Router(config)#Router ospf 1 Router(config-router)#network 10.0.1.0 0.0.0.255 % Incomplete command. Router(config-router)#network 10.0.1.0 0.0.0.255 area 0 Router(config-router)#network 172.16.0.0 0.0.255.255 area0 ^ % Invalid input detected at '^' marker. Router(config-router)#network 172.16.0.0 0.0.255.255 area 0 Router(config-router)#router id 1.1.1.1 ^ % Invalid input detected at '^' marker. Router(config-router)#router-id 1.1.1.1 Router(config-router)#Reload or use "clear ip ospf process" command, for this to take effect Router(config-router)#exit Router(config)# Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router# Router#show ip route ospf Router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C 10.0.0.0/8 is directly connected, FastEthernet0/0 C 172.16.0.0/16 is directly connected, FastEthernet0/1 Router#show ip interface b Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.1.2 YES manual up up FastEthernet0/1 172.16.0.1 YES manual up up Vlan1 unassigned YES unset administratively down down Router#show ip route ospf nei? % Unrecognized command Router#show ip ospf? ospf Router#show ip ospf n? neighbor Router#show ip ospf neighbor Router# 01:19:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/1 from LOADING to FULL, Loading Done Router#show ip ospf Routing Process "ospf 1" with ID 172.16.0.1 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x000000 Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 2 Area has no authentication SPF algorithm executed 4 times Area ranges are Number of LSA 4. Checksum Sum 0x03207f Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 Router#show ip ospf neig? neighbor Router#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 192.168.0.1 1 FULL/BDR 00:00:33 172.16.0.2 FastEthernet0/1 Router# Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router# Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router# Router#show ip ospf neigbor ^ % Invalid input detected at '^' marker. Router#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 192.168.0.1 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet0/1
Router#conf terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#interface fa0/0 Router(config-if)#ip address 10.0.1.2 255.0.0.0 Router(config-if)#no shutdown Router(config-if)#^Z Router# Router#conf terminal Enter configuration commands, one per line. End with CNTL/Z. Router(config)# Router(config)#interface fa0/1 Router(config-if)#ip address 172.16.0.1 255.255.0.0 Router(config-if)#no shut Router(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up Router(config-if)# %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up Router(config-if)#do show ip interface b Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.1.2 YES manual up up FastEthernet0/1 172.16.0.1 YES manual up up Vlan1 unassigned YES unset administratively down down Router(config-if)#do show ip route Gateway of last resort is not set C 10.0.0.0/8 is directly connected, FastEthernet0/0 C 172.16.0.0/16 is directly connected, FastEthernet0/1 Router(config-if)# Router(config-if)#exit Router(config)#Router ospf 1 Router(config-router)#network 10.0.1.0 0.0.0.255 % Incomplete command. Router(config-router)#network 10.0.1.0 0.0.0.255 area 0 Router(config-router)#network 172.16.0.0 0.0.255.255 area0 ^ % Invalid input detected at '^' marker. Router(config-router)#network 172.16.0.0 0.0.255.255 area 0 Router(config-router)#router id 1.1.1.1 ^ % Invalid input detected at '^' marker. Router(config-router)#router-id 1.1.1.1 Router(config-router)#Reload or use "clear ip ospf process" command, for this to take effect Router(config-router)#exit Router(config)# Router(config)#exit Router# %SYS-5-CONFIG_I: Configured from console by console Router# Router#show ip route ospf Router#show ip route Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2 E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area * - candidate default, U - per-user static route, o - ODR P - periodic downloaded static route Gateway of last resort is not set C 10.0.0.0/8 is directly connected, FastEthernet0/0 C 172.16.0.0/16 is directly connected, FastEthernet0/1 Router#show ip interface b Interface IP-Address OK? Method Status Protocol FastEthernet0/0 10.0.1.2 YES manual up up FastEthernet0/1 172.16.0.1 YES manual up up Vlan1 unassigned YES unset administratively down down Router#show ip route ospf nei? % Unrecognized command Router#show ip ospf? ospf Router#show ip ospf n? neighbor Router#show ip ospf neighbor Router# 01:19:22: %OSPF-5-ADJCHG: Process 1, Nbr 192.168.0.1 on FastEthernet0/1 from LOADING to FULL, Loading Done Router#show ip ospf Routing Process "ospf 1" with ID 172.16.0.1 Supports only single TOS(TOS0) routes Supports opaque LSA SPF schedule delay 5 secs, Hold time between two SPFs 10 secs Minimum LSA interval 5 secs. Minimum LSA arrival 1 secs Number of external LSA 0. Checksum Sum 0x000000 Number of opaque AS LSA 0. Checksum Sum 0x000000 Number of DCbitless external and opaque AS LSA 0 Number of DoNotAge external and opaque AS LSA 0 Number of areas in this router is 1. 1 normal 0 stub 0 nssa External flood list length 0 Area BACKBONE(0) Number of interfaces in this area is 2 Area has no authentication SPF algorithm executed 4 times Area ranges are Number of LSA 4. Checksum Sum 0x03207f Number of opaque link LSA 0. Checksum Sum 0x000000 Number of DCbitless LSA 0 Number of indication LSA 0 Number of DoNotAge LSA 0 Flood list length 0 Router#show ip ospf neig? neighbor Router#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 192.168.0.1 1 FULL/BDR 00:00:33 172.16.0.2 FastEthernet0/1 Router# Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router# Router#copy running-config startup-config Destination filename [startup-config]? Building configuration... [OK] Router# Router#show ip ospf neigbor ^ % Invalid input detected at '^' marker. Router#show ip ospf neighbor Neighbor ID Pri State Dead Time Address Interface 192.168.0.1 1 FULL/BDR 00:00:38 172.16.0.2 FastEthernet0/1