test me

Site Search:

CCNA Lab Video Tutorial 4 – Ref3 – OSPF Routing Command

Back to CCNA Lab Video Tutorial 4

RouterA(config)#no router eigrp 111
RouterA(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
RouterA#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    20.0.0.0/8 is directly connected, Serial0/0
RouterA#conf t
Enter configuration commands, one per line.  End with CNTL/Z.
RouterA(config)#ip router ospf 123
^
% Invalid input detected at '^' marker.

RouterA(config)#router ospf 123
RouterA(config-router)#network 10.0.0.0 0.255.255.255 area 0
RouterA(config-router)#network 20.0.0.0 0.255.255.255 area 0
RouterA(config-router)#
01:07:30: %OSPF-5-ADJCHG: Process 123, Nbr 30.0.0.1 on Serial0/0 from LOADING to FULL, Loading Done
RouterA(config-router)#exit
RouterA(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
RouterA#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    20.0.0.0/8 is directly connected, Serial0/0
O    30.0.0.0/8 [110/65] via 20.0.0.2, 00:00:48, Serial0/0
RouterA#ping 30.0.0.10
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 30.0.0.10, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/62/6


OSPF Routing Command for Router A

RouterA(config)#no router eigrp 111

RouterA(config)#exit

%SYS-5-CONFIG_I: Configured from console by console

RouterA#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    20.0.0.0/8 is directly connected, Serial0/0

RouterA#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

RouterA(config)#router ospf 123

RouterA(config-router)#network 10.0.0.0 0.255.255.255 area 0

RouterA(config-router)#network 20.0.0.0 0.255.255.255 area 0

RouterA(config-router)#

01:07:30: %OSPF-5-ADJCHG: Process 123, Nbr 30.0.0.1 on Serial0/0 from LOADING to FULL, Loading Done

RouterA(config-router)#exit

RouterA(config)#exit

%SYS-5-CONFIG_I: Configured from console by console

RouterA#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    20.0.0.0/8 is directly connected, Serial0/0

O    30.0.0.0/8 [110/65] via 20.0.0.2, 00:00:48, Serial0/0

RouterA#ping 30.0.0.10

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 30.0.0.10, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 62/62/63 ms

RouterA#

OSPF Routing Command for Router B

RouterB#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    20.0.0.0/8 is directly connected, Serial0/0

C    30.0.0.0/8 is directly connected, FastEthernet0/0

RouterB#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

RouterB(config)#router ospf 123

RouterB(config-router)#network 20.0.0.0 0.255.255.255 area 0

RouterB(config-router)#network 30.0.0.0 0.255.255.255 area 0

01:07:23: %OSPF-5-ADJCHG: Process 123, Nbr 20.0.0.1 on Serial0/0 from LOADING to FULL, Loading Done

RouterB(config-router)#exit

RouterB(config)#exit

%SYS-5-CONFIG_I: Configured from console by console

RouterB#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

O    10.0.0.0/8 [110/65] via 20.0.0.1, 00:00:35, Serial0/0

C    20.0.0.0/8 is directly connected, Serial0/0

C    30.0.0.0/8 is directly connected, FastEthernet0/0

RouterB#ping 10.0.0.10

Type escape sequence to abort.

Sending 5, 100-byte ICMP Echos to 10.0.0.10, timeout is 2 seconds:

!!!!!

Success rate is 100 percent (5/5), round-trip min/avg/max = 49/59/63 ms

RouterB#