conf r3
conf r3
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 192.168.23.2 255.255.255.252
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
R3(config-if)#
%LINK-5-CHANGED: Interface Loopback5, changed state to up
R3#ping 192.168.12.1
R3#
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 3.3.3.3
R3(config-router)#network 192.168.4.0 0.0.0.255 area 3
R3(config-router)#network 192.168.5.0 0.0.0.255 area 3
R3(config-router)#network 192.168.23.0 0.0.0.3 area 3
R3(config-router)#
01:18:03: %OSPF-5-ADJCHG: Process 1, Nbr 2.2.2.2 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
R3#