Thứ Sáu, 23 tháng 12, 2011
IS-IS Multi Area Lab2
### IS-IS Multi Area CONFIGURE
## 1, BASIC CONFIG, HOSTNAME, IP ADDRESS ACCORDING TO THE DIAGRAM.
# R1: HOSTNAME R1
enable
config terminal
hostname R1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R2: HOSTNAME R2
enable
config terminal
hostname R2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R3: HOSTNAME R3
enable
config terminal
hostname R3
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
## 2 CONFIGURE IP ADDRESS ACCORDING TO THE DIAGRAM
# R1:
config terminal
interface f0/0
ip address 172.16.0.1 255.255.255.0
no shutdown
exit
interface s1/0
ip address 10.0.0.1 255.255.255.252
no shutdown
exit
interface loopback 0
ip address 192.168.10.1 255.255.255.255
end
wr
=======================================================
# R2:
config terminal
interface f0/0
ip address 172.16.0.2 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 192.168.20.2 255.255.255.255
end
wr
=======================================================
# R3:
config terminal
interface s1/0
ip address 10.0.0.2 255.255.255.252
no shutdown
exit
interface loopback 0
ip address 192.168.30.3 255.255.255.255
end
wr
=======================================================
## 3 CONFIGURE INTEGRATED IS-IS
# R1
config terminal
router isis
net 49.0001.1111.1111.1111.00
is-type level-1-2
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface s1/0
ip router isis
isis circuit-type level-1-2
exit
interface loopback 0
ip router isis
isis circuit-type level-1
end
wr
==================================================================
# R2
config terminal
router isis
net 49.0001.2222.2222.2222.00
is-type level-1
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface loopback 0
ip router isis
isis circuit-type level-1
end
wr
==================================================================
# R3
config terminal
router isis
net 49.0002.3333.3333.3333.00
is-type level-2
exit
interface s1/0
ip router isis
isis circuit-type level-2
exit
interface loopback 0
ip router isis
isis circuit-type level-2
end
wr
=================================================================
## 4 VERIFYING IS-IS ADJACENCIES AND OPERATION
# show ip protocols
# show clns protocols
# show clns neighbors
# show clns neighbors detail
# show isis database
# show clns interface f0/0
# show isis database R1.00-00 detail
# show isis topology
# show ip route
==================================================================
================The End==========================
IS-IS Multi Area Lab 1
###IS-IS Multi Area CONFIGURE
## 1, BASIC CONFIG, HOSTNAME, IP ADDRESS ACCORDING TO THE DIAGRAM.
# R1: HOSTNAME R1
enable
config terminal
hostname R1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R2: HOSTNAME R2
enable
config terminal
hostname R2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R3: HOSTNAME R3
enable
config terminal
hostname R3
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R4: HOSTNAME R4
enable
config terminal
hostname R4
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R5: HOSTNAME R5
enable
config terminal
hostname R5
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
## 2 CONFIGURE IP ADDRESS ACCORDING TO THE DIAGRAM
# R1:
config terminal
interface f0/0
ip address 12.0.0.1 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 1.1.1.1 255.255.255.255
end
wr
=======================================================
# R2:
config terminal
interface f0/0
ip address 12.0.0.2 255.255.255.0
no shutdown
exit
interface f0/1
ip address 23.0.0.2 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 2.2.2.2 255.255.255.255
end
wr
=======================================================
# R3:
config terminal
interface f0/0
ip address 34.0.0.3 255.255.255.0
no shutdown
exit
interface f0/1
ip address 35.0.0.3 255.255.255.0
no shutdown
exit
interface f1/0
ip address 23.0.0.3 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 3.3.3.3 255.255.255.255
end
wr
=======================================================
# R4:
config terminal
interface f0/0
ip address 34.0.0.4 255.255.255.0
no shutdown
exit
interface f0/1
ip address 45.0.0.4 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 4.4.4.4 255.255.255.255
end
wr
=======================================================
# R5:
config terminal
interface f0/0
ip address 45.0.0.5 255.255.255.0
no shutdown
exit
interface f0/1
ip address 35.0.0.5 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 5.5.5.5 255.255.255.255
end
wr
=======================================================
## 3 CONFIGURE INTERGRATED IS-IS
# R1
config terminal
router isis
net 49.0002.1111.1111.1111.00
is-type level-2
exit
interface f0/0
ip router isis
isis circuit-type level-2
end
wr
==================================================================
# R2
config terminal
router isis
net 49.0002.2222.2222.2222.00
is-type level-2
exit
interface f0/0
ip router isis
isis circuit-type level-2
exit
interface f0/1
ip router isis
isis circuit-type level-2
end
wr
==================================================================
# R3
config terminal
router isis
net 49.0001.3333.3333.3333.00
is-type level-1-2
exit
interface f1/0
ip router isis
isis circuit-type level-1-2
exit
interface f0/0
ip router isis
isis circuit-type level-1-2
exit
interface f0/1
ip router isis
isis circuit-type level-1-2
end
wr
==================================================================
# R4
config terminal
router isis
net 49.0001.4444.4444.4444.00
no passive-interface loopback 0
is-type level-1
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface f0/1
ip router isis
isis circuit-type level-1
end
wr
=================================================================
# R5
config terminal
router isis
net 49.0001.5555.5555.5555.00
no passive-interface loopback 0
is-type level-1
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface f0/1
ip router isis
isis circuit-type level-1
end
wr
=================================================================
## 3 VERIFYING IS-IS ADJACENCIES AND OPERATION
# show ip protocols
# show clns protocols
# show clns neighbors
# show clns neighbors detail
# show isis database
# show clns interface f0/0
# show isis database R1.00-00 detail
# show isis topology
# show ip route
==================================================================
================The End==========================
## 1, BASIC CONFIG, HOSTNAME, IP ADDRESS ACCORDING TO THE DIAGRAM.
# R1: HOSTNAME R1
enable
config terminal
hostname R1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R2: HOSTNAME R2
enable
config terminal
hostname R2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R3: HOSTNAME R3
enable
config terminal
hostname R3
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R4: HOSTNAME R4
enable
config terminal
hostname R4
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R5: HOSTNAME R5
enable
config terminal
hostname R5
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
## 2 CONFIGURE IP ADDRESS ACCORDING TO THE DIAGRAM
# R1:
config terminal
interface f0/0
ip address 12.0.0.1 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 1.1.1.1 255.255.255.255
end
wr
=======================================================
# R2:
config terminal
interface f0/0
ip address 12.0.0.2 255.255.255.0
no shutdown
exit
interface f0/1
ip address 23.0.0.2 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 2.2.2.2 255.255.255.255
end
wr
=======================================================
# R3:
config terminal
interface f0/0
ip address 34.0.0.3 255.255.255.0
no shutdown
exit
interface f0/1
ip address 35.0.0.3 255.255.255.0
no shutdown
exit
interface f1/0
ip address 23.0.0.3 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 3.3.3.3 255.255.255.255
end
wr
=======================================================
# R4:
config terminal
interface f0/0
ip address 34.0.0.4 255.255.255.0
no shutdown
exit
interface f0/1
ip address 45.0.0.4 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 4.4.4.4 255.255.255.255
end
wr
=======================================================
# R5:
config terminal
interface f0/0
ip address 45.0.0.5 255.255.255.0
no shutdown
exit
interface f0/1
ip address 35.0.0.5 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 5.5.5.5 255.255.255.255
end
wr
=======================================================
## 3 CONFIGURE INTERGRATED IS-IS
# R1
config terminal
router isis
net 49.0002.1111.1111.1111.00
is-type level-2
exit
interface f0/0
ip router isis
isis circuit-type level-2
end
wr
==================================================================
# R2
config terminal
router isis
net 49.0002.2222.2222.2222.00
is-type level-2
exit
interface f0/0
ip router isis
isis circuit-type level-2
exit
interface f0/1
ip router isis
isis circuit-type level-2
end
wr
==================================================================
# R3
config terminal
router isis
net 49.0001.3333.3333.3333.00
is-type level-1-2
exit
interface f1/0
ip router isis
isis circuit-type level-1-2
exit
interface f0/0
ip router isis
isis circuit-type level-1-2
exit
interface f0/1
ip router isis
isis circuit-type level-1-2
end
wr
==================================================================
# R4
config terminal
router isis
net 49.0001.4444.4444.4444.00
no passive-interface loopback 0
is-type level-1
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface f0/1
ip router isis
isis circuit-type level-1
end
wr
=================================================================
# R5
config terminal
router isis
net 49.0001.5555.5555.5555.00
no passive-interface loopback 0
is-type level-1
exit
interface f0/0
ip router isis
isis circuit-type level-1
exit
interface f0/1
ip router isis
isis circuit-type level-1
end
wr
=================================================================
## 3 VERIFYING IS-IS ADJACENCIES AND OPERATION
# show ip protocols
# show clns protocols
# show clns neighbors
# show clns neighbors detail
# show isis database
# show clns interface f0/0
# show isis database R1.00-00 detail
# show isis topology
# show ip route
==================================================================
================The End==========================
Integrated IS-IS
### IS-IS BASIC CONFIGURE
## 1, BASIC CONFIG, HOSTNAME, IP ADDRESS ACCORDING TO THE DIAGRAM.
# R1: HOSTNAME R1
enable
config terminal
hostname R1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R2: HOSTNAME R2
enable
config terminal
hostname R2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
# R3: HOSTNAME R3
enable
config terminal
hostname R3
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
=====================================
## 2 CONFIGURE IP ADDRESS ACCORDING TO THE DIAGRAM
# R1:
config terminal
interface f0/0
ip address 172.16.0.1 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 192.168.10.1 255.255.255.0
end
wr
=======================================================
# R2:
config terminal
interface f0/0
ip address 172.16.0.2 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 192.168.20.2 255.255.255.0
end
wr
=======================================================
# R3:
config terminal
interface f0/0
ip address 172.16.0.3 255.255.255.0
no shutdown
exit
interface loopback 0
ip address 192.168.30.3 255.255.255.0
end
wr
=======================================================
## 3 CONFIGURE INTERGRATED IS-IS
# R1
config terminal
router isis
net 49.0001.1111.1111.1111.00
exit
interface f0/0
ip router isis
isis priority 100
interface loopback 0
ip router isis
end
wr
==================================================================
# R2
config terminal
router isis
net 49.0001.2222.2222.2222.00
exit
interface f0/0
ip router isis
isis priority 100
interface loopback 0
ip router isis
end
wr
==================================================================
# R3
config terminal
router isis
net 49.0001.3333.3333.3333.00
exit
interface f0/0
ip router isis
isis priority 100
interface loopback 0
ip router isis
end
wr
==================================================================
## 3 VERIFYING IS-IS ADJACENCIES AND OPERATION
# show ip protocols
# show clns protocols
# show clns neighbors
# show clns neighbors detail
# show isis database
# show clns interface f0/0
# show isis database R1.00-00 detail
# show isis topology
# show ip route
==================================================================
## 4 CONVERTING TO THE IS-IS BACKBONE
# R1
config terminal
router isis
is-type level-2-only
end
wr
==================================================================
# R2
config terminal
router isis
is-type level-2-only
end
wr
==================================================================
# R3
config terminal
router isis
is-type level-2-only
end
wr
==================================================================
## 5 IMPLEMENTING IS-IS L2 CORE AUTHENTICATION
# R1
config terminal
interface f0/0
isis password 123 level-2
end
wr
=================================================================
# R2
config terminal
interface f0/0
isis password 123 level-2
end
wr
=================================================================
# R3
config terminal
interface f0/0
isis password 123 level-2
end
wr
=================================================================
# debug isis adj-packets
=================================================================
## 5 IMPLEMENTING IS-IS DOMAIN AUTHENTICATION
# R1
config terminal
router isis
domain-password 123
end
wr
==================================================================
# R2
config terminal
router isis
domain-password 123
end
wr
==================================================================
# R3
config terminal
router isis
domain-password 123
end
wr
==================================================================
================The End==========================
Thứ Hai, 12 tháng 12, 2011
CONFIGURE LAB DOT1Q-TUNNEL (Q in Q)
1, BASIC CONFIGURE HOSTNAME
# A1: Hostname for customer A1
# A1 SPEED UP
# STEP1: HOSTNAME A1 for customer A1
enable
config terminal
hostname A1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
====================================================
# STEP1: HOSTNAME A2 for customer A2
enable
config terminal
hostname A2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
===================================================
# STEP1: HOSTNAME ISP1 for provide ISP1
enable
config terminal
hostname ISP1
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
===================================================
# STEP1: HOSTNAME ISP2 for provide ISP2
enable
config terminal
hostname ISP2
line console 0
loggin synch
no exec-timeout
no ip domain-lookup
line console 0
privilege level 15
no login
line vty 0 4
privilege level 15
no login
end
wr
====================================================
# STEP2: CONFIGURE VLAN 10,20,30 AND ASSING PORT FOR VLAN ON SWITCH A1
# A1 TRUNK, VLAN,spanning-tree portfast default
config terminal
vlan 10,20,30
exit
interface f0/1
switchport trunk encapsulation dot 1q
switchport mode trunk
exit
interface range f0/2 - 4
switchport mode access
switchport access vlan 10
exit
interface range f0/5 - 7
switchport mode access
switchport access vlan 20
exit
interface range f0/8 - 10
switchport mode access
switchport access vlan 30
exit
spanning tree portfast default
end
wr
=================================================
# A2 TRUNK, VLAN,spanning-tree portfast default
config terminal
vlan 10,20,30
exit
interface f0/1
switchport trunk encapsulation dot 1q
switchport mode trunk
exit
interface range f0/2 - 4
switchport mode access
switchport access vlan 10
exit
interface range f0/5 - 7
switchport mode access
switchport access vlan 20
exit
interface range f0/8 - 10
switchport mode access
switchport access vlan 30
exit
spanning-tree portfast default
end
wr
=================================================
# STEP3: CONFIGURE DOT 1Q-TUNNEL INTERFACE
# ISP1 CONFIGURE DOT 1Q-TUNNEL INTERFACE
config terminal
vlan 100
exit
system mtu 1504
interface F0/1
switchport access vlan 100
switchport mode dot1q-tunnel
l2protocol-tennel {cdp|vtp|stp}
exit
interface f0/24
switchport trunk encapsulation dot 1q
switchport mode trunk
end
wr
===================================================
# ISP2 CONFIGURE DOT 1Q-TUNNEL INTERFACE
config terminal
vlan 100
exit
system mtu 1504
interface F0/1
switchport access vlan 100
switchport mode dot1q-tunnel
l2protocol-tennel {cdp|vtp|stp}
exit
interface f0/24
switchport trunk encapsulation dot 1q
switchport mode trunk
end
wr
===================================================
COMMANS TEST
# show interface status
# show interface {int} switchport
# show interface trunk
# show cdp neighbor
# show system mtu
=================THE END================
Thứ Năm, 8 tháng 12, 2011
Đăng ký:
Bài đăng (Atom)