AppendixA_Lab1_InitialConfigurations.txt

(23 KB) Pobierz
!************************************************
!*						*
!* Lab 1 Initial Configurations for all Devices	*
!*						*
!************************************************



!********************************
!*				*
!* R1 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R1
!
no logging console
enable password cisco
no aaa new-model
ip source-route
ip cef
no ip domain lookup
ip domain name cisco.com
no ipv6 cef
ip tcp synwait-time 5
!
crypto isakmp policy 10
 hash md5
 authentication pre-share
 group 2
crypto isakmp key cisco address 0.0.0.0 0.0.0.0
!
crypto ipsec transform-set cisco esp-3des esp-md5-hmac 
 mode transport
!
crypto ipsec profile dmvpn
 set transform-set cisco 
!
interface Loopback1
 ip address 11.11.11.11 255.255.255.255
!  
interface Loopback0
 ip address 10.1.1.1 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 192.168.3.11 255.255.255.0
 no shutdown
!
interface GigabitEthernet0/1
 ip address 192.168.2.11 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/0/1
 no ip address
 shutdown
 clock rate 2000000
!
interface Tunnel1
 bandwidth 1000
 ip address 172.1.0.1 255.255.255.0
 no ip redirects
 ip mtu 1360
 ip nhrp authentication cisco
 ip nhrp map multicast dynamic
 ip nhrp network-id 11
 ip nhrp holdtime 300
 no ip split-horizon eigrp 100
 delay 1100
 tunnel source GigabitEthernet0/0
 tunnel mode gre multipoint
 tunnel key 11
 tunnel protection ipsec profile dmvpn
!
router eigrp 100
 network 11.11.11.0 0.0.0.255
 network 172.1.0.0 0.0.0.255
 no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.2.1
ip route 10.0.0.0 255.0.0.0 192.168.3.10
ip route 172.17.0.0 255.255.0.0 192.168.3.10
ip route 192.168.0.0 255.255.0.0 192.168.3.10
ip http server
no ip http secure-server
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
line aux 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
!
end



!********************************
!*				*
!* R2 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R2
no logging console
enable password cisco
no aaa new-model
ip source-route
ip cef
no ip domain lookup
ip domain name cisco.com
no ipv6 cef
ip tcp synwait-time 5
!
crypto isakmp policy 10
 hash md5
 authentication pre-share
 group 2
crypto isakmp key cisco address 0.0.0.0 0.0.0.0
!         
crypto ipsec transform-set cisco esp-3des esp-md5-hmac 
 mode transport
!
crypto ipsec profile dmvpn
 set transform-set cisco 
!
interface Loopback1
 ip address 22.22.22.22 255.255.255.0
!
interface Loopback0
 ip address 10.2.2.2 255.255.255.0
!
interface GigabitEthernet0/0
 ip address 192.168.4.11 255.255.255.0
 no shutdown
!
interface GigabitEthernet0/1
 ip address 192.168.5.11 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 no ip address
 shutdown
 no fair-queue
!
interface Serial0/0/1
 no ip address
 shutdown
!
interface Tunnel1
 bandwidth 1000
 ip address 172.1.0.2 255.255.255.0
 no ip redirects
 ip mtu 1360
 ip nhrp authentication cisco
 ip nhrp map multicast 192.168.3.11
 ip nhrp map 172.1.0.1 192.168.3.11
 ip nhrp network-id 11
 ip nhrp holdtime 300
 ip nhrp nhs 172.1.0.1
 delay 1100
 tunnel source GigabitEthernet0/0
 tunnel mode gre multipoint
 tunnel key 1
 tunnel protection ipsec profile dmvpn
!
router eigrp 100
 network 22.22.22.0 0.0.0.255
 network 172.1.0.0 0.0.0.255
 no auto-summary
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.4.10
ip http server
no ip http secure-server
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
line aux 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login    
 transport input telnet
!
end



!********************************
!*				*
!* R3 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R3
no logging console
enable password cisco
no aaa new-model
ip source-route
ip cef
no ip domain lookup
ip domain name cisco.com
no ipv6 cef
ip tcp synwait-time 5
!
interface Loopback0
 ip address 10.3.3.3 255.255.255.0
!
interface Loopback10
 ip address 172.17.3.3 255.255.255.0
!
interface GigabitEthernet0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/1
 ip address 192.168.9.3 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.35.3 255.255.255.0
 encapsulation ppp
 ip ospf network point-to-point
 no fair-queue
 no shutdown
!         
interface Serial0/0/1
 no ip address
 shutdown
!
router ospf 1
 log-adjacency-changes
 network 10.3.3.0 0.0.0.255 area 0
 network 172.17.3.0 0.0.0.255 area 0
 network 192.168.9.0 0.0.0.255 area 0
 network 192.168.35.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
line aux 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login    
 transport input telnet
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
!
end



!********************************
!*				*
!* R4 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname R4
no logging console
enable password cisco
no aaa new-model
ip source-route
ip cef
no ip domain lookup
ip domain name cisco.com
no ipv6 cef
!
frame-relay switching
ip tcp synwait-time 5
!         
crypto isakmp policy 10
 hash md5
 authentication pre-share
 group 2
crypto isakmp key cisco address 0.0.0.0 0.0.0.0
!
crypto ipsec transform-set cisco esp-3des esp-md5-hmac 
 mode transport
!
crypto ipsec profile dmvpn
 set transform-set cisco 
!
interface Loopback1
 ip address 44.44.44.44 255.255.255.0
!
interface Loopback0
 ip address 10.4.4.4 255.255.255.0
!
interface GigabitEthernet0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/1
 ip address 192.168.9.4 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.64.4 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 no fair-queue
 clock rate 2000000
 frame-relay map ip 192.168.64.6 64 broadcast
 frame-relay intf-type dce
 no shutdown
!
interface Serial0/0/1
 no ip address
 shutdown
 clock rate 2000000
!
interface Tunnel1
 bandwidth 1000
 ip address 172.1.0.4 255.255.255.0
 no ip redirects
 ip mtu 1360
 ip nhrp authentication cisco
 ip nhrp map 192.168.3.11 172.1.0.1
 ip nhrp map multicast 192.168.3.11
 ip nhrp nhs 172.1.0.1
 delay 1100
 tunnel source Serial0/0/0
 tunnel mode gre multipoint
 tunnel key 11
 tunnel protection ipsec profile dmvpn
!
router eigrp 100
 network 44.44.44.0 0.0.0.255
 network 172.1.0.0 0.0.0.255
 no auto-summary
!
router ospf 1
 log-adjacency-changes
 network 10.4.4.0 0.0.0.255 area 0
 network 192.168.9.0 0.0.0.255 area 0
 network 192.168.64.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login    
line aux 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
!
scheduler allocate 20000 1000
end



!********************************
!*				*
!* R5 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
hostname R5
no logging console
enable password cisco
no aaa new-model
ip source-route
ip cef
no ip domain lookup
ip domain name cisco.com
no ipv6 cef
frame-relay switching
ip tcp synwait-time 5
!         
interface Loopback0
 ip address 10.5.5.5 255.255.255.0
!
interface Loopback5
 ip address 10.55.55.55 255.255.255.255
 ip nat inside
!
interface GigabitEthernet0/0
 no ip address
 shutdown
!
interface GigabitEthernet0/1
 ip address 192.168.11.10 255.255.255.0
 no shutdown
!
interface Serial0/0/0
 ip address 192.168.35.5 255.255.255.0
 encapsulation ppp
 ip ospf network point-to-point
 no fair-queue
 clock rate 2000000
 ip nat outside
 no shutdown
!
interface Serial0/0/1
 ip address 192.168.65.5 255.255.255.0
 encapsulation frame-relay
 ip ospf network point-to-point
 clock rate 2000000
 frame-relay map ip 192.168.65.6 65 broadcast
 frame-relay intf-type dce
 no shutdown
!
router ospf 1
 log-adjacency-changes
 network 10.5.5.0 0.0.0.255 area 0
 network 10.55.55.0 0.0.0.255 area 0
 network 192.168.35.0 0.0.0.255 area 0
 network 192.168.65.0 0.0.0.255 area 0
!
ip http server
no ip http secure-server
!
access-list 102 permit ip any host 10.55.55.55
!
route-map s1 permit 10
 match ip address 102
 match interface Serial0/0/1
!
route-map s0 permit 10
 match ip address 102
 match interface Serial0/0/0
!
!
ip nat inside source route-map s0 interface Serial0/0/0 overload
ip nat inside source route-map s1 interface Serial0/0/1 overload
!
!
line con 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
line aux 0
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
line vty 0 4
 exec-timeout 0 0
 password cisco
 logging synchronous
 login
 transport input telnet
!
end



!********************************
!*				*
!* R6 Initial Configuration	*
!*				*
!********************************
service timestamps debug datetime msec
service timestamps log datetime ...
Zgłoś jeśli naruszono regulamin