Router>enable
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#no ip domain-lookup
Router(config)#hostname R3
R3(config)#enable secret class
R3(config)#line console 0
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#loggi
R3(config-line)#logging syn
R3(config-line)#logging synchronous
R3(config-line)#exit
R3(config)#line
R3(config)#line vty 0 4
R3(config-line)#password cisco
R3(config-line)#login
R3(config-line)#logging synchronous
R3(config-line)#exit
R3(config)#banner motd # Acces interdit #
R3(config)#interface Serial0/0/1
R3(config-if)#ip address [Link] [Link]
R3(config-if)#no shutdown
R3(config-if)#
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to up
R3(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/1, changed state to up
R3(config-if)#exit
R3(config)#interface Lo4
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback4, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback4, changed state to up
R3(config-if)#ip address [Link] [Link]
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#interface Lo5
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback5, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback5, changed state to up
R3(config-if)#ip address [Link] [Link]
R3(config-if)#no shutdown
R3(config-if)#exit
R3(config)#exit
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
R3#show startup-config
Using 1180 bytes
!
version 15.1
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname R3
!
!
!
enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
!
!
!
!
!
!
no ip cef
no ipv6 cef
!
!
R3#show ip interface brief
Interface IP-Address OK? Method Status Protocol
GigabitEthernet0/0 unassigned YES unset administratively down down
GigabitEthernet0/1 unassigned YES unset administratively down down
Serial0/0/0 unassigned YES unset administratively down down
Serial0/0/1 [Link] YES manual up up
Serial0/1/0 unassigned YES unset administratively down down
Serial0/1/1 unassigned YES unset administratively down down
Loopback4 [Link] YES manual up up
Loopback5 [Link] YES manual up up
Vlan1 unassigned YES unset administratively down down
R3#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 8/13/28 ms
R3#ping [Link]
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to [Link], timeout is 2 seconds:
.....
Success rate is 0 percent (0/5)
R3#
R3 con0 is now available
Press RETURN to get started.
R3>en
Password:
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#router ospf 1
R3(config-router)#router
R3(config-router)#router-id [Link]
R3(config-router)#network [Link] [Link] area 3
R3(config-router)#network [Link] [Link] area 3
R3(config-router)#network [Link] [Link] area 3
R3(config-router)#
01:18:03: %OSPF-5-ADJCHG: Process 1, Nbr [Link] on Serial0/0/1 from LOADING to
FULL, Loading Done
R3(config-router)#pass
R3(config-router)#passive-interface Lo4
R3(config-router)#passive-interface Lo5
R3(config-router)#exit
R3(config)#exit
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#show
R3#show ip
R3#show ip pr
R3#show ip protocols
Routing Protocol is "ospf 1"
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Router ID [Link]
Number of areas in this router is 1. 1 normal 0 stub 0 nssa
Maximum path: 4
Routing for Networks:
[Link] [Link] area 3
[Link] [Link] area 3
[Link] [Link] area 3
Passive Interface(s):
Loopback4
Loopback5
Routing Information Sources:
Gateway Distance Last Update
[Link] 110 00:01:26
[Link] 110 00:01:26
Distance: (default is 110)
R3#show ip ospf neighbor
Neighbor ID Pri State Dead Time Address Interface
[Link] 0 FULL/ - 00:00:31 [Link] Serial0/0/1
R3#show ip ospf interface brief
Interface PID Area IP Address/Mask Cost State
Nbrs F/C
Lo4 1 3 [Link]/[Link] 1 WAIT
0/0
Lo5 1 3 [Link]/[Link] 1 WAIT
0/0
Se0/0/1 1 3 [Link]/[Link] 64 POINT
0/0
R3#