How to Troubleshoot Apps for the Modern Connected Worker
Cho
1. LAB 06: FramRelay (Hub & Spoke)
Topology:
Yêu cầu:
Câu 1: Cấu hình Frame-relay trên các router, R1 đảm bảo ping thành công R3, R4
nhưng R3 và R4 không ping thấy lẫn nhau.
Câu 2: cấu hình giao thức định tuyến OSPF đơn vùng(Single Area 0) trên các
router R1,R3,R4 đảm bảo quảng bá toàn mạng, các router đều ping thấy lẫn nhau.
Hướng dẫn:
Cấu hình trên router SG:
2. SG#sh run
Building configuration...
Current configuration : 1122 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname SG
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
ip cef
no ip domain lookup
interface Loopback0
ip address 192.168.100.1 255.255.255.224
!
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
!
interface Serial0/0.102 point-to-point
3. ip address 192.168.2.1 255.255.255.0
frame-relay interface-dlci 102
!
interface Serial0/0.103 point-to-point
ip address 192.168.1.1 255.255.255.192
frame-relay interface-dlci 103
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
line aux 0
line vty 0 4
password cisco
login
!
!
end
SG#
Cấu hình trên router HN:
4. Connected to Dynamips VM "R3" (ID 2, type c3600) - Console port
Press ENTER to get the prompt.
sh
% Type "show ?" for a list of subcommands
HN#sh run
Building configuration...
Current configuration : 1003 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname HN
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
interface Loopback0
ip address 172.16.0.1 255.255.255.128
!
5. interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
!
interface Serial0/0.101 point-to-point
ip address 192.168.2.2 255.255.255.0
frame-relay interface-dlci 101
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
control-plane
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
line aux 0
line vty 0 4
password cisco
login
!
!
end
Cấu hình trên router DN:
6. DN#sh run
Building configuration...
Current configuration : 1001 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname DN
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
interface Loopback0
ip address 192.168.100.1 255.255.255.224
!
interface Serial0/0
no ip address
7. encapsulation frame-relay
serial restart-delay 0
clock rate 64000
!
interface Serial0/0.301 point-to-point
ip address 192.168.1.2 255.255.255.192
frame-relay interface-dlci 301
!
interface Serial0/1
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/2
no ip address
shutdown
serial restart-delay 0
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
control-plane
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
line aux 0
line vty 0 4
password cisco
login
!
!
end
DN#
Cấu hình trên router FR:
8. FR#sh run
Building configuration...
Current configuration : 1189 bytes
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname FR
!
boot-start-marker
boot-end-marker
!
!
no aaa new-model
memory-size iomem 5
!
!
ip cef
no ip domain lookup
!
!
frame-relay switching
9. !
!
interface Serial0/0
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 102 interface Serial0/1 101
frame-relay route 103 interface Serial0/2 301
!
interface Serial0/1
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 101 interface Serial0/0 102
!
interface Serial0/2
no ip address
encapsulation frame-relay
serial restart-delay 0
clock rate 64000
frame-relay intf-type dce
frame-relay route 301 interface Serial0/0 103
!
interface Serial0/3
no ip address
shutdown
serial restart-delay 0
!
no ip http server
no ip http secure-server
!
!
!
!
!
!
control-plane
!
!
!
!
!
10. !
!
!
!
!
line con 0
exec-timeout 0 0
password cisco
logging synchronous
login
line aux 0
line vty 0 4
password cisco
login
!
!
end
FR#
Câu 2: Tiến hành chạy giao thức định tuyến OSPF đơn vùng(Area 0) trên tất cả router
ngoại trừ FR để quảng bá tất cả các mạng theo sơ đồ