R1(config)#int s2/1
R1(config-if)#ip add 12.0.0 .1 255.255.255.0
R1(config-if)#no shu
R1(config-if)#
*Jul 19 22:57:04.827: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R1(config-if)#
*Jul 19 22:57:05.831: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R1(config-if)#d ping 12.0.0 .2
% Ambiguous command: "d ping 12.0.0 .2"
R1(config-if)#do ping 12.0.0 .2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0 .2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 24/60/96 ms
R1(config-if)#eix
^
% Invalid input detected at '^' marker.
R1(config-if)#exit
R1(config)#route ospf 1
% Ambiguous command: "route ospf 1"
R1(config)#router ospf 1
R1(config-router)#rou
R1(config-router)#router-id 1.1.1 .1
R1(config-router)#net 12.0.0
% Incomplete command.
R1(config-router)#net 12.0.0 .0 0.0. 0.255 a 0
R1(config-router)#
*Jul 19 23:01:02.083: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from LOADING to FULL, Loading Done
R1(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:02:31, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
O 34.0.0.0 [110/192] vi a 12.0.0 .2, 00:00:09, Serial2/1
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:00:09, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1(config-router)#do ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 120/176/316 ms
R1(config-router)#sh ip route
^
% Invalid input detected at '^' marker.
R1(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:00:05, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:00:00, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1(config-router)#^Z
R1#sh i
*Jul 19 23:07:35.915: %SYS-5-CONFIG_I: Configured from console by console
R1#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
O 34.0.0.0 [110/192] vi a 12.0.0 .2, 00:00:10, Serial2/1
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:00:10, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1#ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 76/156/236 ms
R1#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#int s2/1
R1(config-if)#ip os
R1(config-if)#ip ospf au
R1(config-if)#ip ospf authentication
R1(config-if)#ip ospf au
R1(config-if)#ip ospf authentication-k
R1(config-if)#ip ospf authentication-key cisco
R1(config-if)#
*Jul 19 23:11:31.751: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from FULL to DOWN, Neighbor Down: Dead timer expired
R1(config-if)#
*Jul 19 23:18:28.287: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from LOADING to FULL, Loading Done
R1(config-if)#^Z
R1#ping
*Jul 19 23:26:46.231: %SYS-5-CONFIG_I: Configured from console by console
R1#ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 96/168/232 ms
R1#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
O 34.0.0.0 [110/192] vi a 12.0.0 .2, 00:04:52, Serial2/1
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] vi a 12.0.0 .2, 00:04:52, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R1#
R2(config)#int s2/1
R2(config-if)#ip add 12.0.0 .2 255.255.255.0
R2(config-if)#no shu
R2(config-if)#int
*Jul 19 22:57:16.103: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R2(config-if)#int s
*Jul 19 22:57:17.107: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R2(config-if)#int s2/2
R2(config-if)#ip add 23.0.0 .2 255.255.255.0
R2(config-if)#no shu
R2(config-if)#
*Jul 19 22:57:36.183: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up
R2(config-if)#
*Jul 19 22:57:37.187: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up
R2(config-if)#
*Jul 19 22:57:59.711: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to down
R2(config-if)#
*Jul 19 22:58:09.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up
R2(config-if)#do ping 23.0.0 .3
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 23.0.0 .3, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 20/83/188 ms
R2(config-if)#exit
R2(config)#router ospf 1
R2(config-router)#rou
R2(config-router)#router-id 2.2.2 .2 255.255.255.0
^
% Invalid input detected at '^' marker.
R2(config-router)#rou
R2(config-router)#router-id 2.2.2 .2
R2(config-router)#net 12.0.0 .0 0.0
% Incomplete command.
R2(config-router)#net 12.0.0 .0 0.0. 0.255 a 0
R2(config-router)#net
*Jul 19 23:00:57.167: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1 .1 on Serial2/1 from LOADING to FULL, Loading Done
R2(config-router)#net 23.0.0 .0 0.0. 0.255 a 23
R2(config-router)#
*Jul 19 23:01:34.479: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/2 from LOADING to FULL, Loading Done
R2(config-router)#ar
R2(config-router)#area 23 v
R2(config-router)#area 23 virtual-link 3.3.3 .3
R2(config-router)#
*Jul 19 23:03:38.895: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on OSPF_VL0 from LOADING to FULL, Loading Done
R2(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
O 34.0.0.0 [110/128] vi a 23.0.0 .3, 00:00:54, Serial2/2
23.0.0 .0/24 is subnetted, 1 subnets
C 23.0.0 .0 is directly connected, Serial2/2
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R2(config-router)#no ar
R2(config-router)#no area 23 v
R2(config-router)#no area 23 virtual-link 3.3.3 .3
R2(config-router)#
*Jul 19 23:06:32.727: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on OSPF_VL0 from FULL to DOWN, Neighbor Down: Interface down or detached
R2(config-router)#ar
R2(config-router)#area 23 v
R2(config-router)#area 23 virtual-link 3.3.3 .3
R2(config-router)#
*Jul 19 23:07:08.719: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on OSPF_VL1 from LOADING to FULL, Loading Done
R2(config-router)#
*Jul 19 23:11:32.919: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1 .1 on Serial2/1 from FULL to DOWN, Neighbor Down: Dead timer expired
R2(config-router)#router ospf 1
R2(config-router)#ar
R2(config-router)#area 0 au
R2(config-router)#area 0 authentication
R2(config-router)#ar
R2(config-router)#area 23 au
R2(config-router)#area 23 authentication mess
R2(config-router)#area 23 authentication message-digest
R2(config-router)#int ip
*Jul 19 23:17:44.371: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/2 from FULL to DOWN, Neighbor Down: Dead timer expired
R2(config-router)#int s2/1
R2(config-if)#ip
*Jul 19 23:17:49.871: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on OSPF_VL1 from FULL to DOWN, Neighbor Down: Interface down or detached
R2(config-if)#ip ospf au
R2(config-if)#ip ospf authentication-k
R2(config-if)#ip ospf authentication-key cisco
R2(config-if)#int s2/2
R2(config-if)#
*Jul 19 23:18:23.323: %OSPF-5-ADJCHG: Process 1, Nbr 1.1.1 .1 on Serial2/1 from LOADING to FULL, Loading Done
R2(config-if)#ip ospf mes
R2(config-if)#ip ospf message-digest-key 1 md5 cisco
R2(config-if)#
*Jul 19 23:23:04.603: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/2 from LOADING to FULL, Loading Done
R2(config-if)#
*Jul 19 23:23:20.255: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on OSPF_VL1 from LOADING to FULL, Loading Done
R2(config-if)#^Z
R2#ping
*Jul 19 23:27:16.587: %SYS-5-CONFIG_I: Configured from console by console
R2#ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 72/131/248 ms
R2#sh ip rooute
^
% Invalid input detected at '^' marker.
R2#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
O 34.0.0.0 [110/128] vi a 23.0.0 .3, 00:04:46, Serial2/2
23.0.0 .0/24 is subnetted, 1 subnets
C 23.0.0 .0 is directly connected, Serial2/2
12.0.0 .0/24 is subnetted, 1 subnets
C 12.0.0 .0 is directly connected, Serial2/1
R2#
R3(config)#int s2/1
R3(config-if)#ip add 23.0.0 .3 255.255.255.0
R3(config-if)#no shu
R3(config-if)#int s
*Jul 19 22:57:54.443: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
R3(config-if)#int s2/
*Jul 19 22:57:55.447: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R3(config-if)#int s2/2
R3(config-if)#ip add 34.0.0.3 255.255.255.0
R3(config-if)#no shu
R3(config-if)#
*Jul 19 22:58:11.163: %LINK-3-UPDOWN: Interface Serial2/2, changed state to up
R3(config-if)#
*Jul 19 22:58:12.167: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up
R3(config-if)#
*Jul 19 22:58:39.695: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to down
R3(config-if)#
*Jul 19 22:58:49.687: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/2, changed state to up
R3(config-if)#do ping 34.0.0.4
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 34.0.0.4, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 44/76/96 ms
R3(config-if)#exit
R3(config)#router ospf 1
R3(config-router)#rou
R3(config-router)#router-id 3.3.3 .3
R3(config-router)#net 23.0.0 .0 0.0. 0.255 a 23
R3(config-router)#net
*Jul 19 23:01:32.923: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from LOADING to FULL, Loading Done
R3(config-router)#net 34.0.0.0 0
% Incomplete command.
R3(config-router)#net 34.0.0.0 0.0.0 .255 a 0
R3(config-router)#
*Jul 19 23:02:20.739: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4 .4 on Serial2/2 from LOADING to FULL, Loading Done
R3(config-router)#
*Jul 19 23:03:22.475: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 23.0.0 .2, Serial2/1
R3(config-router)#ar
R3(config-router)#area 23 v
R3(config-router)#area 23 virtual-link
*Jul 19 23:03:32.447: %OSPF-4-ERRRCV: Received invalid packet: mismatch area ID, from backbone area must be virtual-link but not found from 23.0.0 .2, Serial2/1
R3(config-router)#area 23 virtual-link 2.2.2 .2
R3(config-router)#
*Jul 19 23:03:37.263: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on OSPF_VL0 from LOADING to FULL, Loading Done
R3(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
C 34.0.0.0 is directly connected, Serial2/2
23.0.0 .0/24 is subnetted, 1 subnets
C 23.0.0 .0 is directly connected, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
O 12.0.0 .0 [110/128] vi a 23.0.0 .2, 00:01:13, Serial2/1
R3(config-router)#
*Jul 19 23:07:07.011: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on OSPF_VL0 from LOADING to FULL, Loading Done
R3(config-router)#
*Jul 19 23:17:44.747: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from FULL to DOWN, Neighbor Down: Dead timer expired
R3(config-router)#
*Jul 19 23:17:50.247: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on OSPF_VL0 from FULL to DOWN, Neighbor Down: Interface down or detached
R3(config-router)#exit
R3(config)#router ospf 1
R3(config-router)#ar
R3(config-router)#area 0 au
R3(config-router)#area 0 authentication
R3(config-router)#ar
R3(config-router)#area 23 au
R3(config-router)#area 23 authentication mess
R3(config-router)#area 23 authentication message-digest
R3(config-router)#
*Jul 19 23:21:00.347: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4 .4 on Serial2/2 from FULL to DOWN, Neighbor Down: Dead timer expired
R3(config-router)#int s2/1
R3(config-if)#ip ospf mess
R3(config-if)#ip ospf message-digest-key 1 md5 cisco
R3(config-if)#
*Jul 19 23:23:03.039: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on Serial2/1 from LOADING to FULL, Loading Done
R3(config-if)#int s2/1
R3(config-if)#
*Jul 19 23:23:18.643: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2 .2 on OSPF_VL0 from LOADING to FULL, Loading Done
R3(config-if)#ip ospf au
R3(config-if)#ip ospf authentication-k
R3(config-if)#ip ospf authentication-key cisco
R3(config-if)#no ip ospf authentication-key cisco
R3(config-if)#ip ospf message-digest-key 1 md5 cisco
OSPF: Key 1 already exists
R3(config-if)#int s2/2
R3(config-if)#ip ospf au
R3(config-if)#ip ospf authentication-k
R3(config-if)#ip ospf authentication-key cisco
R3(config-if)#
*Jul 19 23:26:30.703: %OSPF-5-ADJCHG: Process 1, Nbr 4.4.4 .4 on Serial2/2 from LOADING to FULL, Loading Done
R3(config-if)#^Z
R3#pi
*Jul 19 23:27:03.935: %SYS-5-CONFIG_I: Configured from console by console
R3#ping 12.0.0 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 48/144/264 ms
R3#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
C 34.0.0.0 is directly connected, Serial2/2
23.0.0 .0/24 is subnetted, 1 subnets
C 23.0.0 .0 is directly connected, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
O 12.0.0 .0 [110/128] vi a 23.0.0 .2, 00:04:33, Serial2/1
R3#
R4(config)#int s2/1
R4(config-if)#ip add 34.0.0.4 255.255.255.0
R4(config-if)#no shu
R4(config-if)#
*Jul 19 22:58:37.923: %LINK-3-UPDOWN: Interface Serial2/1, changed state to up
*Jul 19 22:58:38.923: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial2/1, changed state to up
R4(config-if)#exit
R4(config)#router ospf 1
R4(config-router)#ro
R4(config-router)#router-id 4.4.4 .4
R4(config-router)#net 34.0.0.0 0.0.0 .255 a 0
R4(config-router)#
*Jul 19 23:02:17.115: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/1 from LOADING to FULL, Loading Done
R4(config-router)#do sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
C 34.0.0.0 is directly connected, Serial2/1
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] via 34.0.0.3, 00:01:21, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
O 12.0.0 .0 [110/192] via 34.0.0.3, 00:01:21, Serial2/1
R4(config-router)#do ping 12.0.0 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 64/148/300 ms
R4(config-router)#
*Jul 19 23:20:59.351: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/1 from FULL to DOWN, Neighbor Down: Dead timer expired
R4(config-router)#int s2/1
R4(config-if)#ip ospf au
R4(config-if)#ip ospf authentication
R4(config-if)#ip ospf au
R4(config-if)#ip ospf authentication-k
R4(config-if)#ip ospf authentication-key cisco
R4(config-if)#
*Jul 19 23:26:26.975: %OSPF-5-ADJCHG: Process 1, Nbr 3.3.3 .3 on Serial2/1 from LOADING to FULL, Loading Done
R4(config-if)#^Z
R4#pi
*Jul 19 23:26:51.367: %SYS-5-CONFIG_I: Configured from console by console
R4#ping 12.0.0 .1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 12.0.0 .1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 132/215/268 ms
R4#sh ip route
Codes: C - connected, S - static, 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
i - IS-IS, su - IS-IS summary, 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
34.0.0.0/24 is subnetted, 1 subnets
C 34.0.0.0 is directly connected, Serial2/1
23.0.0 .0/24 is subnetted, 1 subnets
O IA 23.0.0 .0 [110/128] via 34.0.0.3, 00:04:24, Serial2/1
12.0.0 .0/24 is subnetted, 1 subnets
O 12.0.0 .0 [110/192] via 34.0.0.3, 00:04:24, Serial2/1
R4#
R2和R3之间搭一条需链路