本次練習是參考Cisco網路學院
CCNP1 Building Scalable Internetworks v5.0
Student Lab Manual
我將它轉成Dynamips的設定檔 並寫下自己的實驗紀錄
Dynamips的設定檔:
##################################################
#
# For CCNP1 Building Scalable Internetworks v5.0
# Lab 4_1
#
##################################################
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 R1]]
model = 3640
console = 2001
slot0 = NM-1FE-TX
Fa0/0 = SW1 Fa0/1
[[Router R2]]
model = 3640
console = 2002
slot0 = NM-1FE-TX
Fa0/0 = SW1 Fa0/3
[[Router R3]]
model = 3640
console = 2003
slot0 = NM-1FE-TX
Fa0/0 = SW1 Fa0/5
[[Router SW1]]
model = 3640
console = 2004
slot0 = NM-16ESW
這Lab是基本IS-IS設定練習
我的設定是
1. 先設定R1-3每個介面的ip address
R1:
hostname R1
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
!
interface FastEthernet0/0
description R1-SW1
ip address 172.16.0.1 255.255.255.0
no shutdown
!
line con 0
logging synchronous
!
end
R2:
hostname R2
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.20.1 255.255.255.0
!
interface FastEthernet0/0
description R2-SW1
ip address 172.16.0.2 255.255.255.0
no shutdown
!
line con 0
logging synchronous
!
end
R3:
hostname R3
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.30.1 255.255.255.0
!
interface FastEthernet0/0
description R3-SW1
ip address 172.16.0.3 255.255.255.0
no shutdown
!
line con 0
logging synchronous
!
end
2. 設定Basic IS-IS
R1:
router isis
net 49.0001.1111.1111.1111.00
!
interface Loopback0
ip router isis
!
interface FastEthernet0/0
ip router isis
isis priority 100
R2:
router isis
net 49.0001.2222.2222.2222.00
!
interface Loopback0
ip router isis
!
interface FastEthernet0/0
ip router isis
R3:
router isis
net 49.0001.3333.3333.3333.00
!
interface Loopback0
ip router isis
!
interface FastEthernet0/0
ip router isis
3. Converting to the IS-IS Backbone
R1-3:
router isis
is-type level-2-only
4. IS-IS interface Timers
R1:
interface FastEthernet0/0
isis hello-interval 5
5. IS-IS L2 Core Authentication
R1-3:
interface FastEthernet0/0
isis password cisco level-2
6. IS-IS Domain Authentication
R1-3:
router isis
domain-password cisco
7. 驗證指令
show ip protocols
show clns protocol
show clns neighbors
show clns interface
show clns route
show isis route
show isis database
show isis topology
Clear isis *
R1設定檔:
hostname R1
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
ip router isis
!
interface FastEthernet0/0
description R1-SW1
ip address 172.16.0.1 255.255.255.0
ip router isis
isis password cisco level-2
isis priority 100
isis hello-interval 5
!
router isis
net 49.0001.1111.1111.1111.00
is-type level-2-only
domain-password cisco
!
line con 0
logging synchronous
!
end
R2設定檔:
hostname R2
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
ip router isis
!
interface FastEthernet0/0
description R2-SW1
ip address 172.16.0.2 255.255.255.0
ip router isis
isis password cisco level-2
!
router isis
net 49.0001.2222.2222.2222.00
is-type level-2-only
domain-password cisco
!
line con 0
logging synchronous
!
end
R3設定檔:
hostname R3
!
no ip domain lookup
!
interface Loopback0
ip address 192.168.10.1 255.255.255.0
ip router isis
!
interface FastEthernet0/0
description R3-SW1
ip address 172.16.0.3 255.255.255.0
ip router isis
isis password cisco level-2
!
router isis
net 49.0001.3333.3333.3333.00
is-type level-2-only
domain-password cisco
!
line con 0
logging synchronous
!
end
SW1設定檔:
hostname SW1
!
no ip domain lookup
!
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.23 / 2018.05.31
0 comments:
張貼留言