本次練習是參考Cisco網路學院
CCNP1 Building Scalable Internetworks v5.0
Student Lab Manual
我將它轉成Dynamips的設定檔 並寫下自己的實驗紀錄
Dynamips的設定檔:
##################################################
#
# For CCNP1 Building Scalable Internetworks v5.0
# Lab 4_3a
#
##################################################
autostart=false
[localhost:7200]
workingdir = /opt/dynamips/dynagen-0.10.1/UTS/CCNP1/Week03/workingconfig/
[[3640]]
# Specify 3640 IOS image on Windows here:
# image = C:\Program Files\Dynamips\images\c3640-jk9o3s-mz.123-14.T7.extracted.bin
# Specify 3640 IOS image on Linux here:
image = /opt/dynamips/images/c3640-jk.bin
ram = 128
disk0 = 0
disk1 = 0
# Choose an idlepc value from the below
idlepc = 0x605ac7b8
mmap = true
ghostios = true
confreg = 0x2102
###########################
#
# Define router instances 1
#
###########################
[[Router HQ]]
model = 3640
console = 2001
slot0 = NM-4T
S0/0 = FRSW 1
[[Router East]]
model = 3640
console = 2002
slot0 = NM-4T
S0/0 = FRSW 2
[[Router West]]
model = 3640
console = 2003
slot0 = NM-4T
S0/0 = FRSW 3
[[FRSW FRSW]]
# HQ to FRSW
1:102 = 2:201
1:103 = 3:301
這Lab是IS-IS over Frame Relay(FR)設定練習
我的設定是
1. 先設定HQ&East&West每個介面的ip address
HQ:
hostname HQ
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
!
interface Serial0/0
no ip address
encapsulation frame-relay
no shutdown
!
interface Serial0/0.102 point-to-point
ip address 192.168.128.1 255.255.255.0
frame-relay interface-dlci 102
!
interface Serial0/0.103 point-to-point
ip address 192.168.192.1 255.255.255.0
frame-relay interface-dlci 103
!
line con 0
logging synchronous
!
end
East:
hostname East
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.20.1 255.255.255.0
!
interface Serial0/0
no ip address
encapsulation frame-relay
no shutdown
!
interface Serial0/0.201 point-to-point
ip address 192.168.128.2 255.255.255.0
frame-relay interface-dlci 201
!
line con 0
logging synchronous
!
end
West:
hostname West
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.30.1 255.255.255.0
!
interface Serial0/0
no ip address
encapsulation frame-relay
no shutdwon
!
interface Serial0/0.301 point-to-point
ip address 192.168.192.2 255.255.255.0
frame-relay interface-dlci 301
!
line con 0
logging synchronous
!
end
2. Configure IS-IS over Frame Relay
HQ:
router isis
net 49.0001.1111.1111.1111.00
!
interface Loopback0
ip router isis
!
interface Serial0/0.102 point-to-point
ip router isis
!
interface Serial0/0.103 point-to-point
ip router isis
East:
router isis
net 49.0001.2222.2222.2222.00
!
interface Loopback0
ip router isis
!
interface Serial0/0.201 point-to-point
ip router isis
West:
router isis
net 49.0001.3333.3333.3333.00
!
interface Loopback0
ip router isis
!
interface Serial0/0.301 point-to-point
ip router isis
3. 常見的錯誤設定 ISIS Interface-Type
East:
interface serial 0/0.201
no ip address
no ip router isis
no frame-relay interface-dlci 201
!
interface serial 0/0.2001 multipoint
ip address 192.168.128.2 255.255.255.0
ip router isis
frame-relay interface-dlci 201
8. 驗證指令
show ip protocols
show clns protocol
show clns neighbors
show clns interface
show clns route
show isis route
show isis database
show isis topology
debug isis adj-packets
Clear isis *
ping
HQ設定檔:
hostname HQ
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
ip router isis
!
interface Serial0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0.102 point-to-point
ip address 192.168.128.1 255.255.255.0
ip router isis
frame-relay interface-dlci 102
!
interface Serial0/0.103 point-to-point
ip address 192.168.192.1 255.255.255.0
ip router isis
frame-relay interface-dlci 103
!
router isis
net 49.0001.1111.1111.1111.00
!
line con 0
logging synchronous
!
end
East設定檔:
hostname East
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.20.1 255.255.255.0
ip router isis
!
interface Serial0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0.201 point-to-point
ip address 192.168.128.2 255.255.255.0
ip router isis
frame-relay interface-dlci 201
!
router isis
net 49.0001.2222.2222.2222.00
!
line con 0
logging synchronous
!
end
West設定檔:
hostname West
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.30.1 255.255.255.0
ip router isis
!
interface Serial0/0
no ip address
encapsulation frame-relay
!
interface Serial0/0.301 point-to-point
ip address 192.168.192.2 255.255.255.0
ip router isis
frame-relay interface-dlci 301
!
router isis
net 49.0001.3333.3333.3333.00
!
line con 0
logging synchronous
!
end
參考資料:
Cisco網路學院 http://www.cisco.com/web/learning/netacad/index.html
CCNP1 Building Scalable Internetworks v5.0
Student Lab Manual
最初發表 / 最後更新: 2008.03.24 / 2018.05.31
0 comments:
張貼留言