Difference between revisions of "CCNP øveuge"
From Teknologisk videncenter
(→Switch 2) |
(→Switch 4) |
||
Line 300: | Line 300: | ||
=== Switch 4 === | === Switch 4 === | ||
+ | |||
+ | <PRE> | ||
+ | |||
+ | Current configuration : 2587 bytes | ||
+ | ! | ||
+ | version 12.2 | ||
+ | no service pad | ||
+ | service timestamps debug uptime | ||
+ | service timestamps log uptime | ||
+ | no service password-encryption | ||
+ | ! | ||
+ | hostname SW4 | ||
+ | ! | ||
+ | enable secret 5 $1$rom0$uHDgDlJHC.sjIFOFVjJcV1 | ||
+ | enable password cisco | ||
+ | ! | ||
+ | no aaa new-model | ||
+ | ip subnet-zero | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | no file verify auto | ||
+ | spanning-tree mode pvst | ||
+ | spanning-tree extend system-id | ||
+ | ! | ||
+ | vlan internal allocation policy ascending | ||
+ | ! | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/2 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/3 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/4 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/5 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/6 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/7 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/8 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/9 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/10 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/11 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/12 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/13 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/14 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/15 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/16 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/17 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/18 | ||
+ | switchport access vlan 3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/19 | ||
+ | switchport access vlan 4 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/20 | ||
+ | switchport access vlan 4 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/21 | ||
+ | switchport access vlan 4 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/22 | ||
+ | switchport access vlan 4 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/23 | ||
+ | switchport trunk encapsulation dot1q | ||
+ | switchport mode trunk | ||
+ | ! | ||
+ | interface FastEthernet0/24 | ||
+ | switchport trunk encapsulation dot1q | ||
+ | switchport mode trunk | ||
+ | ! | ||
+ | interface GigabitEthernet0/1 | ||
+ | ! | ||
+ | interface GigabitEthernet0/2 | ||
+ | ! | ||
+ | interface Vlan1 | ||
+ | ip address 192.168.99.14 255.255.255.0 | ||
+ | ! | ||
+ | interface Vlan2 | ||
+ | no ip address | ||
+ | ! | ||
+ | ip classless | ||
+ | ip http server | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | control-plane | ||
+ | ! | ||
+ | ! | ||
+ | line con 0 | ||
+ | line vty 0 4 | ||
+ | password cisco | ||
+ | no login | ||
+ | line vty 5 15 | ||
+ | password cisco | ||
+ | no login | ||
+ | ! | ||
+ | ! | ||
+ | end | ||
+ | |||
+ | </PRE> |
Revision as of 11:57, 27 March 2009
Contents
CCNP øveuge
Anders, Jacob, Mikkel, Peder
OSPF netværk
Router 1
ip dhcp excluded-address 192.168.1.1 192.168.1.10 ! ip dhcp pool testuge import all network 192.168.1.0 255.255.255.0 default-router 192.168.1.1 dns-server 172.16.4.77 ! ! username R4 password 0 cisco ! interface Loopback0 ip address 192.168.10.1 255.255.255.255 ! interface Loopback1 ip address 10.1.1.1 255.255.255.0 ! interface Loopback2 ip address 10.1.2.1 255.255.255.0 ! interface Loopback3 ip address 10.1.3.1 255.255.255.0 ! interface Loopback4 ip address 10.1.4.1 255.255.255.0 ! interface Loopback5 ip address 10.1.5.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.100.1 255.255.255.252 ip nat inside ip virtual-reassembly speed auto full-duplex no mop enabled ! interface FastEthernet0/1 ip address dhcp ip nat outside ip virtual-reassembly duplex auto speed auto ! interface Serial0/1/0 ip address 172.16.100.9 255.255.255.252 encapsulation ppp no fair-queue ppp authentication chap ! interface Serial0/1/1 no ip address shutdown clock rate 125000 ! interface Serial0/2/0 no ip address shutdown clock rate 2000000 ! router ospf 1 log-adjacency-changes passive-interface FastEthernet0/1 network 10.1.1.0 0.0.0.255 area 0 network 10.1.2.0 0.0.0.255 area 0 network 10.1.3.0 0.0.0.255 area 0 network 10.1.4.0 0.0.0.255 area 0 network 10.1.5.0 0.0.0.255 area 0 network 172.16.100.0 0.0.0.3 area 0 network 192.168.10.1 0.0.0.0 area 0 default-information originate always ! router bgp 100 no synchronization bgp default local-preference 200 bgp log-neighbor-changes network 10.1.1.0 mask 255.255.255.0 network 10.1.2.0 mask 255.255.255.0 network 10.1.3.0 mask 255.255.255.0 network 10.1.4.0 mask 255.255.255.0 network 10.1.5.0 mask 255.255.255.0 network 172.16.100.0 mask 255.255.255.252 network 192.168.10.1 mask 255.255.255.255 aggregate-address 10.1.0.0 255.255.0.0 summary-only neighbor 172.16.100.10 remote-as 200 neighbor 172.16.100.10 update-source Serial0/1/0 neighbor 192.168.10.2 remote-as 100 neighbor 192.168.10.2 update-source Loopback0 neighbor 192.168.10.2 next-hop-self neighbor 192.168.10.3 remote-as 100 neighbor 192.168.10.3 update-source Loopback0 neighbor 192.168.10.3 next-hop-self no auto-summary ! ip route 0.0.0.0 0.0.0.0 FastEthernet0/1 ! ! ip http server no ip http secure-server ip nat inside source list 1 interface FastEthernet0/1 overload ! access-list 1 permit 192.168.1.0 0.0.0.255 ! control-plane ! line con 0 line aux 0 line vty 0 4 password cisco login
Router 2
Router 3
Switch 1
IS-IS netværk
Router 4
Router 5
Router 6
Switch 2
Current configuration : 2626 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SW2 ! enable secret 5 $1$YqCY$l6FXVLpSE8p/mWoS5Lwn71 enable password cisco ! no aaa new-model ip subnet-zero ! ! ! ! no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! interface FastEthernet0/1 switchport mode trunk ! interface FastEthernet0/2 switchport mode trunk ! interface FastEthernet0/3 switchport access vlan 2 switchport mode access ! interface FastEthernet0/4 switchport access vlan 2 switchport mode access ! interface FastEthernet0/5 switchport access vlan 2 switchport mode access ! interface FastEthernet0/6 switchport access vlan 2 switchport mode access ! interface FastEthernet0/7 switchport access vlan 2 switchport mode access ! interface FastEthernet0/8 switchport access vlan 2 switchport mode access ! interface FastEthernet0/9 switchport access vlan 2 switchport mode access ! interface FastEthernet0/10 switchport access vlan 2 switchport mode access ! interface FastEthernet0/11 switchport access vlan 2 switchport mode access ! interface FastEthernet0/12 switchport access vlan 2 switchport mode access ! interface FastEthernet0/13 switchport access vlan 3 switchport mode access ! interface FastEthernet0/14 switchport access vlan 3 switchport mode access ! interface FastEthernet0/15 switchport access vlan 3 switchport mode access ! interface FastEthernet0/16 switchport access vlan 3 switchport mode access ! interface FastEthernet0/17 switchport access vlan 3 switchport mode access ! interface FastEthernet0/18 switchport access vlan 4 switchport mode access ! interface FastEthernet0/19 switchport access vlan 4 switchport mode access ! interface FastEthernet0/20 switchport access vlan 4 switchport mode access ! interface FastEthernet0/21 switchport access vlan 4 switchport mode access ! interface FastEthernet0/22 switchport access vlan 4 switchport mode access ! interface FastEthernet0/23 switchport access vlan 4 switchport mode access ! interface FastEthernet0/24 switchport access vlan 4 switchport mode access ! interface GigabitEthernet0/1 switchport mode trunk ! interface GigabitEthernet0/2 switchport mode trunk ! interface Vlan1 ip address 192.168.99.12 255.255.255.0 no ip route-cache ! interface Vlan2 no ip address no ip route-cache ! interface Vlan3 no ip address no ip route-cache ! ip http server ! control-plane ! ! line con 0 line vty 0 4 password cisco no login line vty 5 15 password cisco no login ! end
Switch 3
Switch 4
Current configuration : 2587 bytes ! version 12.2 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname SW4 ! enable secret 5 $1$rom0$uHDgDlJHC.sjIFOFVjJcV1 enable password cisco ! no aaa new-model ip subnet-zero ! ! ! ! no file verify auto spanning-tree mode pvst spanning-tree extend system-id ! vlan internal allocation policy ascending ! ! interface FastEthernet0/1 switchport access vlan 2 switchport mode access ! interface FastEthernet0/2 switchport access vlan 2 switchport mode access ! interface FastEthernet0/3 switchport access vlan 2 switchport mode access ! interface FastEthernet0/4 switchport access vlan 2 switchport mode access ! interface FastEthernet0/5 switchport access vlan 2 switchport mode access ! interface FastEthernet0/6 switchport access vlan 2 switchport mode access ! interface FastEthernet0/7 switchport access vlan 2 switchport mode access ! interface FastEthernet0/8 switchport access vlan 2 switchport mode access ! interface FastEthernet0/9 switchport access vlan 2 switchport mode access ! interface FastEthernet0/10 switchport access vlan 2 switchport mode access ! interface FastEthernet0/11 switchport access vlan 2 switchport mode access ! interface FastEthernet0/12 switchport access vlan 2 switchport mode access ! interface FastEthernet0/13 switchport access vlan 3 switchport mode access ! interface FastEthernet0/14 switchport access vlan 3 switchport mode access ! interface FastEthernet0/15 switchport access vlan 3 switchport mode access ! interface FastEthernet0/16 switchport access vlan 3 switchport mode access ! interface FastEthernet0/17 switchport access vlan 3 switchport mode access ! interface FastEthernet0/18 switchport access vlan 3 switchport mode access ! interface FastEthernet0/19 switchport access vlan 4 switchport mode access ! interface FastEthernet0/20 switchport access vlan 4 switchport mode access ! interface FastEthernet0/21 switchport access vlan 4 switchport mode access ! interface FastEthernet0/22 switchport access vlan 4 switchport mode access ! interface FastEthernet0/23 switchport trunk encapsulation dot1q switchport mode trunk ! interface FastEthernet0/24 switchport trunk encapsulation dot1q switchport mode trunk ! interface GigabitEthernet0/1 ! interface GigabitEthernet0/2 ! interface Vlan1 ip address 192.168.99.14 255.255.255.0 ! interface Vlan2 no ip address ! ip classless ip http server ! ! ! control-plane ! ! line con 0 line vty 0 4 password cisco no login line vty 5 15 password cisco no login ! ! end