CCNA 5.0 (CCNA R&S) Bài lab cấu hình cơ bản ripv1 A6-302 KTCNTN
Đề bài CCNA 5.0 (CCNA R&S) Cấu hình Ripv1
CCNA 5.0 (CCNA R&S) Cấu hình R2
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hos
Router(config)#hostname R2
R2(config)#int f0/0
R2(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config-if)#ip add
R2(config-if)#ip address 192.168.3.2 255.255.255.0
R2(config-if)#exit
R2(config)#int lo
R2(config)#int loopback 0
%LINK-5-CHANGED: Interface Loopback0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Loopback0, changed state to up
R2(config-if)#ip add
R2(config-if)#ip address 20.20.20.2 255.255.255.0
R2(config-if)#exit
R2(config)#int s0/0/0
R2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to down
R2(config-if)#ip add
R2(config-if)#ip address 192.168.2.2 255.255.255.0
R2(config-if)#exit
R2(config)#int s0/0/1
R2(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/1, changed state to down
R2(config-if)#clo
R2(config-if)#clock r
R2(config-if)#clock rate 56000
R2(config-if)#ip add
R2(config-if)#ip address 192.168.4.2 255.255.255.0
R2(config-if)#exit
R2(config)#
R2(config)#
R2(config)#router ri
R2(config)#router rip
R2(config-router)#ver
R2(config-router)#version 1
R2(config-router)#net
R2(config-router)#network 192.168.2.0
R2(config-router)#network 192.168.3.0
R2(config-router)#network 192.168.4.0
R2(config-router)#def
R2(config-router)#default-information o
R2(config-router)#default-information originate
R2(config-router)#exit
R2(config)#ip route 0.0.0.0 0.0.0.0 lo
R2(config)#ip route 0.0.0.0 0.0.0.0 loopback 0
R2(config)#exit
R2#
%SYS-5-CONFIG_I: Configured from console by console
R2#wr
Building configuration…
[OK]
R2#
CCNA 5.0 (CCNA R&S) Cấu hình R3
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hos
Router(config)#hostname R3
R3(config)#int f0/0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#ip add
R3(config-if)#ip address 192.168.5.3 255.255.255.0
R3(config-if)#exit
R3(config)#int s0/0/0
R3(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R3(config-if)#ip add
R3(config-if)#ip address 192.168.4.3
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
255.255.255.0
R3(config-if)#exit
R3(config)#ip route 177.7.0.0 255.255.0.0 f0/0
R3(config)#router rip
R3(config-router)#ver
R3(config-router)#version 1
R3(config-router)#net
R3(config-router)#network 192.168.4.0
R3(config-router)#network 192.168.5.0
R3(config-router)#re
R3(config-router)#redistribute st
R3(config-router)#redistribute static
R3(config-router)#exit
R3(config)#exit
R3#
%SYS-5-CONFIG_I: Configured from console by console
R3#wr
Building configuration…
[OK]
R3#
CCNA 5.0 (CCNA R&S) Cấu hình R1
Router>
Router>en
Router#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hos
Router(config)#hostname R1
R1(config)#int f0/0
R1(config-if)#no shut
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#ip add
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#exit
R1(config)#int s0/0/0
R1(config-if)#no shut
%LINK-5-CHANGED: Interface Serial0/0/0, changed state to up
R1(config-if)#clo
R1(config-if)#clock ra
R1(config-if)#clock rate 56000
R1(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up
R1(config-if)#
R1(config-if)#ip ad
R1(config-if)#ip address 192.168.2.1 255.255.255.0
R1(config-if)#exit
R1(config)#router
R1(config)#router ri
R1(config)#router rip
R1(config-router)#ver
R1(config-router)#version 1
R1(config-router)#net
R1(config-router)#network 192.168.1.0
R1(config-router)#network 192.168.2.0
R1(config-router)#pas
R1(config-router)#passive-interface f0/0
R1(config-router)#exit
R1(config)#exit
R1#
%SYS-5-CONFIG_I: Configured from console by console
R1#wr
Building configuration…
[OK]
R1#
CCNA 5.0 (CCNA R&S) Kết quả thông mạng