R1
R1>ena
R1#conf t
R1(config)#router
ospf 1
R1(config-router)#router
R1(config-router)#router-id
1.1.1.1
R1(config-router)#network
172.31.24.0 0.0.3.255 area 10
R1(config-router)#network
172.31.31.248 0.0.0.3 area 0
R1(config-router)#network
172.31.31.252 0.0.0.3 area 0
R1(config-router)#passive-interface
g0/0
R1(config-router)#passive-interface
g0/1
R1(config-router)#exit
R1(config)#ip
route 0.0.0.0 0.0.0.0 s0/1/0
R1(config)#router
ospf 1
R1(config-router)#default-information
originate
R1(config-router)#area
0 authentication message-digest
R1(config-router)#exit
R1(config)#int
se0/0/0
R1(config-if)#ip
ospf message-digest-key 1 md5 cisco123
R1(config-if)#exit
R1(config)#int
se0/0/1
R1(config-if)#ip
ospf message-digest-key 1 md5 cisco123
R1(config-if)#
R1>ena
R1#conf t
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>ena
R2#conf t
R2(config)#router ospf 1
R2(config-router)#router-id 2.2.2.2
R2(config-router)#network
172.31.28.0 0.0.1.255 area 20
R2(config-router)#network
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)#area 0
authentication message-digest
R2(config-router)#exit
R2(config)#int se0/0/0
R2(config-if)#ip ospf
message-digest-key 1 md5 cisco123
R2(config-if)#
00:27:37: %OSPF-5-ADJCHG: Process
1, Nbr 1.1.1.1 on Serial0/0/0 from LOADING to FULL, Loading Done
R3
R3>ena
R3#conf t
R3(config)#int
g0/0
R3(config-if)#ip
address 172.31.30.126 255.255.255.128
R3(config-if)#no
shutdown
R3(config-if)#exit
R3(config)#int
g0/1
R3(config-if)#ip
address 172.31.30.254 255.255.255.128
R3(config-if)#no
shutdown
R3(config-if)#
R3>ena
R3#conf t
R3(config)#router
ospf 1
R3(config-router)#router-id
3.3.3.3
R3(config-router)#network
172.31.30.0 0.0.0.255 area 30
R3(config-router)#network
172.31.31.252 0.0.0.3 area 0
R3(config-router)#passive-interface
g0/0
R3(config-router)#passive-interface
g0/1
R3(config-router)#exit
R3(config)#router
ospf 1
R3(config-router)#area
0 authentication message-digest
R3(config-router)#exit
R3(config)#int
se0/0/1
R3(config-if)#ip
ospf message-digest-key 1 md5 cisco123
R3(config-if)#
00:31:01: %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 route ospf
untuk PC-E
Tidak ada komentar:
Posting Komentar