R1
R1>en
R1#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
R1(config)#rou
R1(config)#router o
R1(config)#router ospf 1
R1(config-router)#rou
R1(config-router)#router-id 1.1.1.1
R1(config-router)#net 172.31.24.0 0.0.3.255
% Incomplete command.
R1(config-router)#
R1(config-router)#net 172.31.24.0
0.0.3.255 a
R1(config-router)#net 172.31.24.0
0.0.3.255 area 10
R1(config-router)#net 172.31.31.248
0.0.0.3 area 0
R1(config-router)#net 172.31.31.252
0.0.0.3 area 0
R1(config-router)#pa
R1(config-router)#passive-interface
g0/0
R1(config-router)#passive-interface
g0/1
R1(config-router)#ex
R1(config)#ip ro
R1(config)#ip route 0.0.0.0 0.0.0.0
s0/1/0
%Default route without gateway, if
not a point-to-point interface, may impact performance
R1(config)#rou
R1(config)#router o
R1(config)#router ospf 1
R1(config-router)#de
R1(config-router)#default-information
ori
R1(config-router)#default-information
originate
R1(config-router)#ar
R1(config-router)#area 0 au
R1(config-router)#area 0
authentication mes
R1(config-router)#area 0
authentication message-digest
R1(config-router)#exi
R1(config)#
R1(config)#int s0/0/0
R1(config-if)#ip ospf
message-digest-key 1 md5 cisco123
R1(config-if)#int s0/0/1
R1(config-if)#ip ospf message-digest-key
1 md5 cisco123
R1(config-if)#
R1(config)#ac
R1(config)#access-list 1 permit
172.31.24.1 0.0.0.0
R1(config)#line vty 0 15
R1(config-line)#access-class 1 in
R1(config-line)#
R2
R2>EN
R2#CONF T
Enter configuration commands, one
per line. End with CNTL/Z.
R2(config)#ROU
R2(config)#ROUter O
R2(config)#ROUter Ospf 1
R2(config-router)#ROU
R2(config-router)#ROUter-id 2.2.2.2
R2(config-router)#net 172.31.28.0
0.0.1.255 area 20
R2(config-router)#net 172.31.31.248
0.0.0.3 area 0
R2(config-router)#passive-interface
g0/0
R2(config-router)#passive-interface
g0/1
R2(config-router)#a
R2(config-router)#ar
R2(config-router)#area 0 au
R2(config-router)#area 0
authentication mes
R2(config-router)#area 0
authentication message-digest
R2(config-router)#ex
R2(config)#int s0/0/0
R2(config-if)#ip os
R2(config-if)#ip ospf mes
R2(config-if)#ip ospf
message-digest-key 1 m
R2(config-if)#ip ospf
message-digest-key 1 md5 cisco123
R2(config-if)#
00:36:44: %OSPF-5-ADJCHG: Process 1,
Nbr 1.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R2(config-if)#
R3
R3>
R3>ena
R3#conf t
Enter configuration commands, one
per line. End with CNTL/Z.
R3(config)#int g0/0
R3(config-if)#ip add 172.30.30.126
255.255.255.128
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface GigabitEthernet0/0, changed state to up
R3(config-if)#int g0/1
R3(config-if)#ip add 172.30.30.254
255.255.255.128
R3(config-if)#no sh
R3(config-if)#
%LINK-5-CHANGED: Interface
GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol
on Interface GigabitEthernet0/1, changed state to up
R3(config-if)#
R3(config)#ro
R3(config)#router o
R3(config)#router ospf 1
R3(config-router)#rou
R3(config-router)#router-id 3.3.3.3
R3(config-router)#net 172.31.30.0
0.0.0.255 area 30
R3(config-router)#net 172.31.31.252
0.0.0.3 area 0
R3(config-router)#sp
R3(config-router)#spa
R3(config-router)#spa
R3(config-router)#pa
R3(config-router)#passive-interface
g0/0
R3(config-router)#passive-interface
g0/1
R3(config-router)#exi
R3(config)#a
R3(config)#ar
R3(config)#are
R3(config)#rou
R3(config)#router o
R3(config)#router ospf 1
R3(config-router)#ar
R3(config-router)#area 0 au
R3(config-router)#area 0
authentication me
R3(config-router)#area 0
authentication message-digest
R3(config-router)#ex
R3(config)#int s0/0/1
R3(config-if)#ip o
R3(config-if)#ip ospf me
R3(config-if)#ip ospf
message-digest-key m
R3(config-if)#ip ospf
message-digest-key md
R3(config-if)#ip ospf
message-digest-key 1 md
R3(config-if)#ip ospf
message-digest-key 1 md5 cisco123
R3(config-if)#
00:41:49: %OSPF-5-ADJCHG: Process 1,
Nbr 1.1.1.1 on Serial0/0/1 from LOADING to FULL, Loading Done
R3(config-if)#do show ip routen o
R3(config-if)#do show ip route o
R3(config-if)#do show ip route ospf
172.31.0.0/16 is variably subnetted,
7 subnets, 4 masks
O IA 172.31.24.0 [110/65] via
172.31.31.253, 00:00:48, Serial0/0/1
O IA 172.31.26.0 [110/65] via
172.31.31.253, 00:00:48, Serial0/0/1
O IA 172.31.28.0 [110/129] via
172.31.31.253, 00:00:48, Serial0/0/1
O IA 172.31.29.0 [110/129] via
172.31.31.253, 00:00:48, Serial0/0/1
O 172.31.31.248 [110/128] via
172.31.31.253, 00:00:48, Serial0/0/1
O*E2 0.0.0.0/0 [110/1] via
172.31.31.253, 00:00:48, Serial0/0/1
R3(config-if)#
R3(config-if)#ex
setelah selesai lihat pt activitynya
0 komentar:
Posting Komentar