View Full Version : Bài tập Case study 1 cho môn học CCNP Switching
admin
17-10-2004, 04:23 PM
Yêu cầu đề bài:
admin
17-10-2004, 04:25 PM
Cấu hình cho các thiết bị
Core Layer Switch:
Current configuration : 2547 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname CLswitchB
!
!
ip subnet-zero
ip routing
no ip domain-lookup
!
!
spanning-tree mode pvst
spanning-tree extend system-id
!
!
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode access
no ip address
!
interface FastEthernet0/2
switchport mode access
no ip address
!
interface FastEthernet0/3
switchport mode access
no ip address
!
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/7
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/8
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/9
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/11
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/12
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/13
no switchport
ip address 172.16.2.1 255.255.255.0
!
interface FastEthernet0/14
no ip address
!
interface FastEthernet0/15
no ip address
!
interface FastEthernet0/16
no ip address
!
interface FastEthernet0/17
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 172.16.1.1 255.255.255.0
!
interface Vlan10
ip address 172.16.10.1 255.255.255.0
!
interface Vlan20
ip address 172.16.20.1 255.255.255.0
!
interface Vlan30
ip address 172.16.30.1 255.255.255.0
!
router eigrp 100
network 172.16.0.0
no auto-summary
no eigrp log-neighbor-changes
!
ip classless
ip http server
!
!
!
line con 0
password cisco
logging synchronous
login
line vty 0 4
password cisco
login
line vty 5 15
password cisco
login
!
end
admin
17-10-2004, 04:26 PM
Distribution Layer Switch 1:
Current configuration : 2971 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname DLswitch
!
!
ip subnet-zero
!
!
!
spanning-tree mode pvst
spanning-tree extend system-id
spanning-tree vlan 1 priority 24576
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface Port-channel2
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface Port-channel3
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode desirable
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode desirable
!
interface FastEthernet0/3
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/4
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 2 mode desirable
!
interface FastEthernet0/5
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 3 mode desirable
!
interface FastEthernet0/6
switchport access vlan 10
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 3 mode desirable
!
interface FastEthernet0/7
switchport mode access
no ip address
!
interface FastEthernet0/8
switchport trunk encapsulation dot1q
switchport mode access
no ip address
!
interface FastEthernet0/9
switchport mode access
no ip address
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/11
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/12
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/13
no ip address
!
interface FastEthernet0/14
no ip address
!
interface FastEthernet0/15
no ip address
!
interface FastEthernet0/16
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/17
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 172.16.1.2 255.255.255.0
!
interface Vlan10
no ip address
!
interface Vlan20
no ip address
!
interface Vlan30
no ip address
!
ip classless
ip http server
!
!
!
line con 0
password cisco
logging synchronous
login
line vty 0 4
no login
line vty 5 15
no login
!
end
admin
17-10-2004, 04:27 PM
Cấu hình NAT router:
Current configuration:
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname NAT
!
enable secret 5 $1$Qnlw$YUqWx9ZlXjoRsefRIFScz.
!
ip subnet-zero
no ip domain-lookup
ip host net 200.200.200.254
ip host sb 172.16.2.1
!
!
!
!
!
interface Ethernet0
ip address 172.16.2.254 255.255.255.0
no ip directed-broadcast
ip nat inside
!
interface Serial0
bandwidth 64
ip address 200.200.200.1 255.255.255.0
no ip directed-broadcast
ip nat outside
no ip mroute-cache
no fair-queue
!
interface Serial1
no ip address
no ip directed-broadcast
shutdown
!
interface BRI0
no ip address
no ip directed-broadcast
shutdown
!
router eigrp 100
redistribute static
!
router eigrp 100
redistribute static
network 172.16.0.0
!
ip nat pool khanh 200.200.200.18 200.200.200.30 netmask 255.255.255.240
ip nat inside source list 1 pool khanh overload
ip classless
ip route 0.0.0.0 0.0.0.0 200.200.200.254
!
access-list 1 permit 172.16.0.0 0.0.255.255
!
line con 0
logging synchronous
transport input none
line aux 0
line vty 0 4
privilege level 15
password cisco
login
!
end
admin
17-10-2004, 04:28 PM
Cấu hình EtherChannel trên Access layer Switch
Switch(config)#hostname Switch1
Switch1(config)#int f0/1
Switch1(config-if)#switchport trunk encapsulation dot1q
Switch1(config-if)#switchport mode trunk
Switch1(config-if)#channel-group 1 mode ?
auto Enable PAgP only if a PAgP device is detected
desirable Enable PAgP unconditionally
on Enable Etherchannel only
Switch1(config-if)#channel-group 1 mode desirable
Creating a port-channel interface Port-channel1
Switch1(config)#int f0/2
Switch1(config-if)#switchport trunk encapsulation dot1q
Switch1(config-if)#switchport mode trunk
Switch1(config-if)#channel-group 1 mode desirable
Switch1(config-if)#exit
Switch1#sh vtp st
VTP Version : 2
Configuration Revision : 1
Maximum VLANs supported locally : 1005
Number of existing VLANs : 5
VTP Operating Mode : Client
VTP Domain Name : cisco
VTP Pruning Mode : Disabled
VTP V2 Mode : Disabled
VTP Traps Generation : Disabled
MD5 digest : 0x18 0x28 0x12 0x2B 0x91 0x41 0xBB 0xE3
Configuration last modified by 0.0.0.0 at 3-1-93 00:01:16
Switch1#sh etherchannel summary
Flags: D - down P - in port-channel
I - stand-alone s - suspended
R - Layer3 S - Layer2
u - unsuitable for bundling
U - port-channel in use
d - default port
Group Port-channel Ports
-----+------------+-----------------------------------------------------------
1 Po1(SU) Fa0/1(D) Fa0/2(P)
////////////////////////////////////////////////////////////////////////
Switch1#sh ru
Current configuration : 2293 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ALswitch1
!
!
ip subnet-zero
!
!
spanning-tree extend system-id
!
!
!
interface Port-channel1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
!
interface FastEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode desirable
!
interface FastEthernet0/2
switchport trunk encapsulation dot1q
switchport mode trunk
no ip address
channel-group 1 mode desirable
!
interface FastEthernet0/3
switchport mode access
no ip address
!
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/5
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/6
switchport access vlan 10
switchport mode access
no ip address
!
interface FastEthernet0/7
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/8
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/9
switchport access vlan 20
switchport mode access
no ip address
!
interface FastEthernet0/10
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/11
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/12
switchport access vlan 30
switchport mode access
no ip address
!
interface FastEthernet0/13
no ip address
!
interface FastEthernet0/14
no ip address
!
interface FastEthernet0/15
no ip address
!
interface FastEthernet0/16
no ip address
!
interface FastEthernet0/17
no ip address
!
interface FastEthernet0/18
no ip address
!
interface FastEthernet0/19
no ip address
!
interface FastEthernet0/20
no ip address
!
interface FastEthernet0/21
no ip address
!
interface FastEthernet0/22
no ip address
!
interface FastEthernet0/23
no ip address
!
interface FastEthernet0/24
no ip address
!
interface GigabitEthernet0/1
no ip address
!
interface GigabitEthernet0/2
no ip address
!
interface Vlan1
ip address 172.16.1.3 255.255.255.0
!
ip classless
ip http server
!
!
!
!
line con 0
password cisco
login
line vty 0 4
no login
line vty 5 15
no login
!
end
Mod ơi, hình die rồi
Xin Mod up lại dùm.
dtdung
29-09-2008, 10:30 PM
Nữa, cái này cũng ko có hình và file để coi, admin up lại dùm
cntt1986
17-10-2008, 01:48 AM
Up hình và yêu cầu lên dùm Admin :106:
kaviku
27-10-2011, 10:36 PM
UP Hình và yêu cầu với ADMIN :)
Thanks
kaviku
27-10-2011, 10:37 PM
Admin fix giúp cái sơ đồ cái :)
Thanks
Powered by vBulletin® Version 4.1.9 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.