Difference between revisions of "CCNP 1 øvelses uge 26"
From Teknologisk videncenter
(→Router 3) |
(→CCNP øveuge) |
||
(10 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
= CCNP øveuge = | = CCNP øveuge = | ||
− | [[Image: | + | [[Image:Øvelsesuge26.png|thumb|none|1000px]] |
Line 12: | Line 12: | ||
<PRE> | <PRE> | ||
− | + | Current configuration : 3785 bytes | |
− | ip dhcp excluded-address 192.168.1. | + | ! |
+ | ! Last configuration change at 09:48:42 UTC Fri Jun 26 2009 | ||
+ | ! NVRAM config last updated at 07:45:25 UTC Fri Jun 26 2009 | ||
+ | ! | ||
+ | version 12.4 | ||
+ | service timestamps debug datetime msec | ||
+ | service timestamps log datetime msec | ||
+ | no service password-encryption | ||
+ | ! | ||
+ | hostname R1 | ||
+ | ! | ||
+ | boot-start-marker | ||
+ | boot-end-marker | ||
+ | ! | ||
+ | enable secret 5 $1$sQ3f$h7zWrkBeT8/8e/M5ZSFla/ | ||
+ | enable password cisco | ||
+ | ! | ||
+ | no aaa new-model | ||
+ | ! | ||
+ | resource policy | ||
+ | ! | ||
+ | ip cef | ||
+ | ! | ||
+ | ! | ||
+ | no ip dhcp use vrf connected | ||
+ | ip dhcp excluded-address 192.168.100.1 192.168.100.2 | ||
+ | ip dhcp excluded-address 192.168.100.255 | ||
+ | ip dhcp excluded-address 192.168.100.3 | ||
! | ! | ||
− | ip dhcp pool | + | ip dhcp pool R1 |
import all | import all | ||
− | network 192.168. | + | network 192.168.100.0 255.255.255.0 |
− | default-router 192.168. | + | default-router 192.168.100.2 |
− | + | ! | |
+ | ! | ||
+ | ip host NET-MAN 192.168.100.4 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | voice-card 0 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
! | ! | ||
− | |||
! | ! | ||
interface Loopback0 | interface Loopback0 | ||
Line 36: | Line 89: | ||
ip address 10.1.3.1 255.255.255.0 | ip address 10.1.3.1 255.255.255.0 | ||
! | ! | ||
− | interface | + | interface FastEthernet0/0 |
− | ip address | + | no ip address |
+ | duplex auto | ||
+ | speed auto | ||
! | ! | ||
− | interface | + | interface FastEthernet0/0.1 |
− | + | encapsulation dot1Q 1 native | |
− | + | ip address 192.168.100.2 255.255.255.0 | |
− | |||
− | ip address | ||
ip nat inside | ip nat inside | ||
ip virtual-reassembly | ip virtual-reassembly | ||
− | |||
− | |||
− | |||
! | ! | ||
− | interface FastEthernet0/ | + | interface FastEthernet0/0.2 |
+ | encapsulation dot1Q 2 | ||
ip address dhcp | ip address dhcp | ||
ip nat outside | ip nat outside | ||
ip virtual-reassembly | ip virtual-reassembly | ||
− | + | ! | |
+ | interface FastEthernet0/1 | ||
+ | ip address 172.16.1.1 255.255.255.252 | ||
speed auto | speed auto | ||
+ | half-duplex | ||
+ | no mop enabled | ||
! | ! | ||
interface Serial0/1/0 | interface Serial0/1/0 | ||
− | ip address 172.16. | + | ip address 172.16.1.17 255.255.255.252 |
+ | ip nat inside | ||
+ | ip virtual-reassembly | ||
encapsulation ppp | encapsulation ppp | ||
no fair-queue | no fair-queue | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
interface Serial0/2/0 | interface Serial0/2/0 | ||
Line 75: | Line 126: | ||
router ospf 1 | router ospf 1 | ||
log-adjacency-changes | log-adjacency-changes | ||
− | + | network 172.16.1.0 0.0.0.3 area 0 | |
− | network | + | network 172.16.16.0 0.0.0.3 area 0 |
− | |||
− | |||
− | |||
− | |||
− | network 172.16. | ||
network 192.168.10.1 0.0.0.0 area 0 | network 192.168.10.1 0.0.0.0 area 0 | ||
default-information originate always | default-information originate always | ||
Line 87: | Line 133: | ||
router bgp 100 | router bgp 100 | ||
no synchronization | no synchronization | ||
− | |||
bgp log-neighbor-changes | bgp log-neighbor-changes | ||
network 10.1.1.0 mask 255.255.255.0 | network 10.1.1.0 mask 255.255.255.0 | ||
network 10.1.2.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.3.0 mask 255.255.255.0 | ||
− | network | + | network 172.16.1.0 mask 255.255.255.252 |
− | + | network 172.16.1.16 mask 255.255.255.252 | |
− | network 172.16. | ||
network 192.168.10.1 mask 255.255.255.255 | network 192.168.10.1 mask 255.255.255.255 | ||
− | + | network 192.168.100.0 | |
− | neighbor 172.16. | + | neighbor 172.16.1.18 remote-as 200 |
− | neighbor 172.16. | + | neighbor 172.16.1.18 update-source Serial0/1/0 |
+ | neighbor 172.16.1.18 default-originate | ||
neighbor 192.168.10.2 remote-as 100 | neighbor 192.168.10.2 remote-as 100 | ||
neighbor 192.168.10.2 update-source Loopback0 | neighbor 192.168.10.2 update-source Loopback0 | ||
Line 105: | Line 150: | ||
neighbor 192.168.10.3 update-source Loopback0 | neighbor 192.168.10.3 update-source Loopback0 | ||
neighbor 192.168.10.3 next-hop-self | neighbor 192.168.10.3 next-hop-self | ||
+ | neighbor 192.168.10.6 remote-as 100 | ||
+ | neighbor 192.168.10.6 update-source Loopback0 | ||
+ | neighbor 192.168.10.6 next-hop-self | ||
no auto-summary | no auto-summary | ||
! | ! | ||
− | ip route 0.0.0.0 0.0.0.0 FastEthernet0/ | + | ip route 0.0.0.0 0.0.0.0 FastEthernet0/0.2 |
− | |||
! | ! | ||
ip http server | ip http server | ||
no ip http secure-server | no ip http secure-server | ||
− | ip nat inside source list 1 interface FastEthernet0/ | + | ip nat inside source list 1 interface FastEthernet0/0.2 overload |
! | ! | ||
− | access-list 1 permit 192.168.1.0 0.0.0.255 | + | access-list 1 permit 192.168.100.0 0.0.0.255 |
+ | access-list 1 permit 192.168.200.0 0.0.0.255 | ||
+ | snmp-server community NMro RO | ||
+ | snmp-server community NMrw RW | ||
+ | snmp-server trap-source Loopback0 | ||
+ | snmp-server location Router 1 | ||
+ | snmp-server contact Steffen - Phone: ******** | ||
+ | snmp-server chassis-id Cisco 2800 | ||
+ | snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart | ||
+ | snmp-server enable traps tty | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps frame-relay multilink bundle-mismatch | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
! | ! | ||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | + | control-plane | |
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
line con 0 | line con 0 | ||
Line 213: | Line 195: | ||
password cisco | password cisco | ||
login | login | ||
+ | ! | ||
+ | scheduler allocate 20000 1000 | ||
+ | end | ||
</PRE> | </PRE> | ||
Line 358: | Line 343: | ||
</PRE> | </PRE> | ||
+ | |||
=== Router 3 === | === Router 3 === | ||
Line 644: | Line 630: | ||
</PRE> | </PRE> | ||
− | |||
− | |||
− | |||
+ | === Switch 1 === | ||
<PRE> | <PRE> | ||
− | + | version 12.1 | |
+ | no service pad | ||
+ | service timestamps debug uptime | ||
+ | service timestamps log uptime | ||
+ | no service password-encryption | ||
+ | ! | ||
+ | hostname S1 | ||
+ | ! | ||
+ | enable secret 5 $1$/Jbk$ocZcb1TiogWXSEBkRqejg/ | ||
+ | enable password cisco | ||
+ | ! | ||
+ | ip subnet-zero | ||
+ | ! | ||
+ | ip host NET-MAN 192.168.100.4 | ||
+ | ! | ||
+ | spanning-tree mode pvst | ||
+ | no spanning-tree optimize bpdu transmission | ||
+ | spanning-tree extend system-id | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | interface FastEthernet0/1 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/2 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/3 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/4 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/5 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/6 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/7 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/8 | ||
+ | switchport mode access | ||
+ | spanning-tree portfast | ||
+ | ! | ||
+ | interface FastEthernet0/9 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/10 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/11 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/12 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/13 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/14 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/15 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/16 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/17 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/18 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/19 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/20 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/21 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/22 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/23 | ||
+ | switchport mode access | ||
+ | ! | ||
+ | interface FastEthernet0/24 | ||
+ | switchport access vlan 2 | ||
+ | switchport mode access | ||
+ | spanning-tree portfast | ||
+ | spanning-tree bpdufilter enable | ||
+ | ! | ||
+ | interface GigabitEthernet0/1 | ||
+ | switchport mode trunk | ||
+ | ! | ||
+ | interface GigabitEthernet0/2 | ||
! | ! | ||
+ | interface Vlan1 | ||
+ | ip address 192.168.100.1 255.255.255.0 | ||
+ | no ip route-cache | ||
+ | ! | ||
+ | ip default-gateway 192.168.100.2 | ||
+ | ip http server | ||
+ | snmp-server community NMro RO | ||
+ | snmp-server community NMrw RW | ||
+ | snmp-server trap-source Vlan1 | ||
+ | snmp-server location S1 | ||
+ | snmp-server contact Steffen - Phone ******** | ||
+ | snmp-server chassis-id Cisco 2950 | ||
+ | snmp-server enable traps snmp authentication warmstart linkdown linkup coldstart | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
+ | ! | ||
+ | line con 0 | ||
+ | line vty 0 4 | ||
+ | password cisco | ||
+ | login | ||
+ | line vty 5 15 | ||
+ | password cisco | ||
+ | login | ||
+ | ! | ||
+ | ! | ||
+ | end | ||
+ | |||
+ | |||
+ | </PRE> | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | == IS-IS netværk == | ||
+ | |||
+ | === Router 4 === | ||
+ | <pre> | ||
+ | |||
version 12.4 | version 12.4 | ||
service timestamps debug datetime msec | service timestamps debug datetime msec | ||
Line 662: | Line 788: | ||
boot-end-marker | boot-end-marker | ||
! | ! | ||
− | enable secret 5 $1$ | + | enable secret 5 $1$tc.T$KynUjta9W5VyH.YvGuc0G/ |
enable password cisco | enable password cisco | ||
! | ! | ||
no aaa new-model | no aaa new-model | ||
+ | ! | ||
+ | resource policy | ||
+ | ! | ||
ip cef | ip cef | ||
! | ! | ||
− | + | ! | |
+ | no ip dhcp use vrf connected | ||
+ | ip dhcp excluded-address 192.168.200.255 | ||
+ | ip dhcp excluded-address 192.168.200.1 192.168.200.3 | ||
+ | ! | ||
+ | ip dhcp pool R4 | ||
+ | network 192.168.200.0 255.255.255.0 | ||
+ | default-router 192.168.200.2 | ||
+ | domain-name tekkom.local | ||
+ | dns-server 172.16.4.77 | ||
+ | ! | ||
+ | ! | ||
+ | ip host NET-MAN 192.168.100.4 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | voice-card 0 | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
interface Loopback0 | interface Loopback0 | ||
Line 676: | Line 844: | ||
interface Loopback1 | interface Loopback1 | ||
ip address 10.4.1.1 255.255.255.0 | ip address 10.4.1.1 255.255.255.0 | ||
− | |||
! | ! | ||
interface Loopback2 | interface Loopback2 | ||
ip address 10.4.2.1 255.255.255.0 | ip address 10.4.2.1 255.255.255.0 | ||
− | |||
! | ! | ||
interface Loopback3 | interface Loopback3 | ||
ip address 10.4.3.1 255.255.255.0 | ip address 10.4.3.1 255.255.255.0 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
interface FastEthernet0/0 | interface FastEthernet0/0 | ||
− | ip address 172.16. | + | ip address 172.16.1.13 255.255.255.252 |
ip router isis | ip router isis | ||
speed auto | speed auto | ||
− | + | half-duplex | |
no mop enabled | no mop enabled | ||
! | ! | ||
interface FastEthernet0/1 | interface FastEthernet0/1 | ||
no ip address | no ip address | ||
− | |||
duplex auto | duplex auto | ||
speed auto | speed auto | ||
! | ! | ||
− | interface | + | interface FastEthernet0/1.1 |
− | ip address | + | encapsulation dot1Q 1 native |
− | + | ip address 192.168.200.2 255.255.255.0 | |
+ | ! | ||
+ | interface Serial0/1/0 | ||
+ | no ip address | ||
+ | shutdown | ||
no fair-queue | no fair-queue | ||
− | clock rate | + | clock rate 2000000 |
− | |||
! | ! | ||
− | interface Serial0/ | + | interface Serial0/1/1 |
no ip address | no ip address | ||
shutdown | shutdown | ||
− | clock rate | + | clock rate 2000000 |
+ | ! | ||
+ | interface Serial0/2/0 | ||
+ | ip address 172.16.1.18 255.255.255.252 | ||
+ | encapsulation ppp | ||
+ | clock rate 2000000 | ||
! | ! | ||
router isis | router isis | ||
− | net 49.1921.6801.0004.00 | + | net 49.0001.1921.6801.0004.00 |
is-type level-2-only | is-type level-2-only | ||
! | ! | ||
Line 729: | Line 893: | ||
network 10.4.2.0 mask 255.255.255.0 | network 10.4.2.0 mask 255.255.255.0 | ||
network 10.4.3.0 mask 255.255.255.0 | network 10.4.3.0 mask 255.255.255.0 | ||
− | + | network 172.16.1.12 mask 255.255.255.252 | |
− | + | network 172.16.1.16 mask 255.255.255.252 | |
− | network 172.16. | ||
− | network 172.16. | ||
network 192.168.10.4 mask 255.255.255.255 | network 192.168.10.4 mask 255.255.255.255 | ||
− | + | network 192.168.200.0 | |
− | neighbor 172.16. | + | neighbor 172.16.1.17 remote-as 100 |
− | neighbor 172.16. | + | neighbor 172.16.1.17 update-source Serial0/2/0 |
− | |||
neighbor 192.168.10.5 remote-as 200 | neighbor 192.168.10.5 remote-as 200 | ||
neighbor 192.168.10.5 update-source Loopback0 | neighbor 192.168.10.5 update-source Loopback0 | ||
neighbor 192.168.10.5 next-hop-self | neighbor 192.168.10.5 next-hop-self | ||
− | |||
− | |||
− | |||
no auto-summary | no auto-summary | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
ip http server | ip http server | ||
no ip http secure-server | no ip http secure-server | ||
! | ! | ||
− | + | snmp-server community NMro RO | |
− | snmp-server community | + | snmp-server community NMrw RW |
+ | snmp-server trap-source Loopback0 | ||
+ | snmp-server location Router 4 | ||
+ | snmp-server contact Steffen - Phone: ******** | ||
+ | snmp-server chassis-id Cisco 2800 | ||
+ | snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart | ||
+ | snmp-server enable traps tty | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps frame-relay multilink bundle-mismatch | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
control-plane | control-plane | ||
! | ! | ||
− | + | ! | |
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
line con 0 | line con 0 | ||
Line 772: | Line 947: | ||
end | end | ||
− | </ | + | |
+ | </pre> | ||
=== Router 5 === | === Router 5 === | ||
Line 778: | Line 954: | ||
<PRE> | <PRE> | ||
− | |||
− | |||
version 12.3 | version 12.3 | ||
service timestamps debug datetime msec | service timestamps debug datetime msec | ||
Line 790: | Line 964: | ||
boot-end-marker | boot-end-marker | ||
! | ! | ||
− | enable secret 5 $1$ | + | enable secret 5 $1$/e8w$UKP0CmYDhhkYDv6U/LIQv. |
enable password cisco | enable password cisco | ||
! | ! | ||
− | |||
no network-clock-participate slot 1 | no network-clock-participate slot 1 | ||
no network-clock-participate wic 0 | no network-clock-participate wic 0 | ||
Line 801: | Line 974: | ||
! | ! | ||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
+ | ip host NET-MAN 192.168.100.4 | ||
ip audit po max-events 100 | ip audit po max-events 100 | ||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
interface Loopback0 | interface Loopback0 | ||
− | ip address 192.168.10. | + | ip address 192.168.10.5 255.255.255.255 |
− | ip router isis | + | ip router isis |
! | ! | ||
interface Loopback1 | interface Loopback1 | ||
− | ip address 10. | + | ip address 10.5.1.1 255.255.255.0 |
− | |||
! | ! | ||
interface Loopback2 | interface Loopback2 | ||
− | ip address 10. | + | ip address 10.5.2.1 255.255.255.0 |
− | |||
! | ! | ||
interface Loopback3 | interface Loopback3 | ||
− | ip address 10. | + | ip address 10.5.3.1 255.255.255.0 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
interface FastEthernet0/0 | interface FastEthernet0/0 | ||
− | + | ip address 172.16.1.14 255.255.255.252 | |
+ | ip router isis | ||
speed auto | speed auto | ||
− | + | half-duplex | |
no mop enabled | no mop enabled | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
interface Serial0/0 | interface Serial0/0 | ||
− | + | ip address 172.16.1.10 255.255.255.252 | |
no fair-queue | no fair-queue | ||
+ | clock rate 2000000 | ||
! | ! | ||
interface Serial0/1 | interface Serial0/1 | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
no ip address | no ip address | ||
shutdown | shutdown | ||
! | ! | ||
− | router isis | + | router isis |
− | net 49.0001.1921.6801. | + | net 49.0001.1921.6801.0005.00 |
+ | is-type level-2-only | ||
! | ! | ||
router bgp 200 | router bgp 200 | ||
no synchronization | no synchronization | ||
− | |||
bgp log-neighbor-changes | bgp log-neighbor-changes | ||
− | network 10. | + | network 10.5.1.0 mask 255.255.255.0 |
− | network 10. | + | network 10.5.2.0 mask 255.255.255.0 |
− | network 10. | + | network 10.5.3.0 mask 255.255.255.0 |
− | network | + | network 172.16.1.8 mask 255.255.255.252 |
− | network | + | network 172.16.1.12 mask 255.255.255.252 |
− | + | network 192.168.10.5 mask 255.255.255.255 | |
− | network 192.168.10. | + | neighbor 172.16.1.9 remote-as 100 |
− | + | neighbor 172.16.1.9 update-source Loopback0 | |
− | neighbor 172.16. | ||
− | neighbor 172.16. | ||
neighbor 192.168.10.4 remote-as 200 | neighbor 192.168.10.4 remote-as 200 | ||
neighbor 192.168.10.4 update-source Loopback0 | neighbor 192.168.10.4 update-source Loopback0 | ||
neighbor 192.168.10.4 next-hop-self | neighbor 192.168.10.4 next-hop-self | ||
− | |||
− | |||
− | |||
no auto-summary | no auto-summary | ||
! | ! | ||
Line 1,053: | Line 1,051: | ||
no ip http secure-server | no ip http secure-server | ||
! | ! | ||
− | + | ! | |
+ | ! | ||
+ | snmp-server community NMro RO | ||
+ | snmp-server community NMrw RW | ||
+ | snmp-server trap-source Loopback0 | ||
+ | snmp-server location Router 5 | ||
+ | snmp-server contact Steffen - Phone: ******** | ||
+ | snmp-server chassis-id Cisco 2621XM | ||
+ | snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart | ||
+ | snmp-server enable traps tty | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
+ | ! | ||
! | ! | ||
line con 0 | line con 0 | ||
Line 1,060: | Line 1,076: | ||
password cisco | password cisco | ||
login | login | ||
+ | ! | ||
! | ! | ||
end | end | ||
− | </ | + | |
+ | |||
+ | </PRE> | ||
=== Switch 2 === | === Switch 2 === | ||
+ | <PRE> | ||
− | + | version 12.1 | |
− | |||
− | |||
− | version 12. | ||
no service pad | no service pad | ||
service timestamps debug uptime | service timestamps debug uptime | ||
Line 1,076: | Line 1,093: | ||
no service password-encryption | no service password-encryption | ||
! | ! | ||
− | hostname | + | hostname S2 |
! | ! | ||
− | enable secret 5 $1$ | + | enable secret 5 $1$kfZp$y1oT9qGk1r9dAhM2yYCdn0 |
enable password cisco | enable password cisco | ||
! | ! | ||
− | |||
ip subnet-zero | ip subnet-zero | ||
! | ! | ||
+ | ip host NET-MAN 192.168.100.4 | ||
! | ! | ||
+ | spanning-tree mode pvst | ||
+ | no spanning-tree optimize bpdu transmission | ||
+ | spanning-tree extend system-id | ||
! | ! | ||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
interface FastEthernet0/1 | interface FastEthernet0/1 | ||
− | switchport mode | + | switchport mode access |
! | ! | ||
interface FastEthernet0/2 | interface FastEthernet0/2 | ||
− | switchport mode | + | switchport mode access |
! | ! | ||
interface FastEthernet0/3 | interface FastEthernet0/3 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/4 | interface FastEthernet0/4 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/5 | interface FastEthernet0/5 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/6 | interface FastEthernet0/6 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/7 | interface FastEthernet0/7 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/8 | interface FastEthernet0/8 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/9 | interface FastEthernet0/9 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/10 | interface FastEthernet0/10 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/11 | interface FastEthernet0/11 | ||
− | |||
switchport mode access | switchport mode access | ||
+ | snmp trap mac-notification added | ||
+ | spanning-tree portfast | ||
! | ! | ||
interface FastEthernet0/12 | interface FastEthernet0/12 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/13 | interface FastEthernet0/13 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/14 | interface FastEthernet0/14 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/15 | interface FastEthernet0/15 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/16 | interface FastEthernet0/16 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/17 | interface FastEthernet0/17 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/18 | interface FastEthernet0/18 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/19 | interface FastEthernet0/19 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/20 | interface FastEthernet0/20 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/21 | interface FastEthernet0/21 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/22 | interface FastEthernet0/22 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/23 | interface FastEthernet0/23 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
interface FastEthernet0/24 | interface FastEthernet0/24 | ||
− | |||
switchport mode access | switchport mode access | ||
! | ! | ||
Line 1,191: | Line 1,187: | ||
! | ! | ||
interface GigabitEthernet0/2 | interface GigabitEthernet0/2 | ||
− | |||
! | ! | ||
interface Vlan1 | interface Vlan1 | ||
− | ip address 192.168. | + | ip address 192.168.200.1 255.255.255.0 |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
no ip route-cache | no ip route-cache | ||
! | ! | ||
+ | ip default-gateway 192.168.200.2 | ||
ip http server | ip http server | ||
− | + | snmp-server community NMro RO | |
− | + | snmp-server community NMrw RW | |
− | + | snmp-server trap-source Vlan1 | |
+ | snmp-server location S2 | ||
+ | snmp-server contact Steffen - Phone ******** | ||
+ | snmp-server chassis-id Cisco 2950 | ||
+ | snmp-server enable traps snmp authentication warmstart linkdown linkup coldstart | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps copy-config | ||
+ | snmp-server enable traps syslog | ||
+ | snmp-server enable traps entity | ||
+ | snmp-server enable traps flash insertion removal | ||
+ | snmp-server enable traps bridge | ||
+ | snmp-server enable traps stpx | ||
+ | snmp-server enable traps rtr | ||
+ | snmp-server enable traps c2900 | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server enable traps vlancreate | ||
+ | snmp-server enable traps vlandelete | ||
+ | snmp-server enable traps port-security | ||
+ | snmp-server enable traps MAC-Notification | ||
+ | snmp-server enable traps envmon fan shutdown supply temperature status | ||
+ | snmp-server enable traps hsrp | ||
+ | snmp-server enable traps cluster | ||
+ | snmp-server enable traps vlan-membership | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
! | ! | ||
line con 0 | line con 0 | ||
line vty 0 4 | line vty 0 4 | ||
password cisco | password cisco | ||
− | + | login | |
line vty 5 15 | line vty 5 15 | ||
password cisco | password cisco | ||
− | + | login | |
+ | ! | ||
! | ! | ||
end | end | ||
+ | |||
+ | |||
</PRE> | </PRE> | ||
− | |||
− | < | + | |
− | Current configuration : | + | |
+ | == Leg med Router R1 == | ||
+ | |||
+ | === R1 === | ||
+ | <pre> | ||
+ | |||
+ | Current configuration : 3785 bytes | ||
+ | ! | ||
+ | ! Last configuration change at 09:48:42 UTC Fri Jun 26 2009 | ||
+ | ! NVRAM config last updated at 07:45:25 UTC Fri Jun 26 2009 | ||
! | ! | ||
− | version 12. | + | version 12.4 |
− | + | service timestamps debug datetime msec | |
− | service timestamps debug | + | service timestamps log datetime msec |
− | service timestamps log | ||
no service password-encryption | no service password-encryption | ||
! | ! | ||
− | hostname | + | hostname R1 |
! | ! | ||
− | enable secret 5 $1$ | + | boot-start-marker |
+ | boot-end-marker | ||
+ | ! | ||
+ | enable secret 5 $1$sQ3f$h7zWrkBeT8/8e/M5ZSFla/ | ||
enable password cisco | enable password cisco | ||
! | ! | ||
no aaa new-model | no aaa new-model | ||
− | |||
! | ! | ||
+ | resource policy | ||
! | ! | ||
+ | ip cef | ||
! | ! | ||
! | ! | ||
− | no | + | no ip dhcp use vrf connected |
− | + | ip dhcp excluded-address 192.168.100.1 192.168.100.2 | |
− | + | ip dhcp excluded-address 192.168.100.255 | |
− | + | ip dhcp excluded-address 192.168.100.3 | |
− | |||
! | ! | ||
+ | ip dhcp pool R1 | ||
+ | import all | ||
+ | network 192.168.100.0 255.255.255.0 | ||
+ | default-router 192.168.100.2 | ||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | + | ip host NET-MAN 192.168.100.4 | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | + | voice-card 0 | |
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
! | ! | ||
! | ! | ||
! | ! | ||
− | |||
! | ! | ||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
− | + | 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 | + | ip address 10.1.2.1 255.255.255.0 |
! | ! | ||
+ | interface Loopback3 | ||
+ | ip address 10.1.3.1 255.255.255.0 | ||
! | ! | ||
+ | interface FastEthernet0/0 | ||
+ | no ip address | ||
+ | duplex auto | ||
+ | speed auto | ||
! | ! | ||
+ | interface FastEthernet0/0.1 | ||
+ | encapsulation dot1Q 1 native | ||
+ | ip address 192.168.100.2 255.255.255.0 | ||
+ | ip nat inside | ||
+ | ip virtual-reassembly | ||
! | ! | ||
− | + | interface FastEthernet0/0.2 | |
− | + | encapsulation dot1Q 2 | |
− | + | ip address dhcp | |
− | + | ip nat outside | |
− | + | ip virtual-reassembly | |
− | |||
! | ! | ||
interface FastEthernet0/1 | interface FastEthernet0/1 | ||
− | + | ip address 172.16.1.1 255.255.255.252 | |
− | + | speed auto | |
+ | half-duplex | ||
+ | no mop enabled | ||
! | ! | ||
− | interface | + | interface Serial0/1/0 |
− | + | ip address 172.16.1.17 255.255.255.252 | |
− | + | ip nat inside | |
+ | ip virtual-reassembly | ||
+ | encapsulation ppp | ||
+ | no fair-queue | ||
! | ! | ||
− | interface | + | interface Serial0/2/0 |
− | + | no ip address | |
− | + | shutdown | |
+ | clock rate 2000000 | ||
! | ! | ||
− | + | router ospf 1 | |
− | + | max-metric router-lsa on-startup 5 | |
− | + | log-adjacency-changes | |
+ | redistribute bgp 100 subnets route-map LEG | ||
+ | network 172.16.1.0 0.0.0.3 area 0 | ||
+ | network 172.16.16.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 log-neighbor-changes | |
+ | bgp redistribute-internal | ||
+ | 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 172.16.1.0 mask 255.255.255.252 | ||
+ | network 172.16.1.16 mask 255.255.255.252 | ||
+ | network 192.168.10.1 mask 255.255.255.255 | ||
+ | network 192.168.100.0 | ||
+ | neighbor 172.16.1.18 remote-as 200 | ||
+ | neighbor 172.16.1.18 update-source Serial0/1/0 | ||
+ | neighbor 172.16.1.18 default-originate | ||
+ | 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 | ||
+ | neighbor 192.168.10.6 remote-as 100 | ||
+ | neighbor 192.168.10.6 update-source Loopback0 | ||
+ | neighbor 192.168.10.6 next-hop-self | ||
+ | no auto-summary | ||
! | ! | ||
− | + | ip route 0.0.0.0 0.0.0.0 FastEthernet0/0.2 | |
− | |||
− | |||
! | ! | ||
− | + | ip as-path access-list 1 permit 200 | |
− | |||
− | |||
! | ! | ||
− | interface FastEthernet0/ | + | ip http server |
− | + | no ip http secure-server | |
− | + | ip nat inside source list 1 interface FastEthernet0/0.2 overload | |
! | ! | ||
− | + | access-list 1 permit 192.168.100.0 0.0.0.255 | |
− | + | access-list 1 permit 192.168.200.0 0.0.0.255 | |
− | + | access-list 78 permit any | |
+ | snmp-server community NMro RO | ||
+ | snmp-server community NMrw RW | ||
+ | snmp-server trap-source Loopback0 | ||
+ | snmp-server location Router 1 | ||
+ | snmp-server contact Steffen - Phone: ******** | ||
+ | snmp-server chassis-id Cisco 2800 | ||
+ | snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart | ||
+ | snmp-server enable traps tty | ||
+ | snmp-server enable traps config | ||
+ | snmp-server enable traps frame-relay multilink bundle-mismatch | ||
+ | snmp-server enable traps vtp | ||
+ | snmp-server host 192.168.100.4 version 2c NMrw | ||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | + | route-map LEG permit 10 | |
− | + | match ip address 78 | |
− | + | set metric 17 | |
+ | set metric-type external | ||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | + | control-plane | |
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
! | ! | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
! | ! | ||
! | ! | ||
line con 0 | line con 0 | ||
+ | line aux 0 | ||
line vty 0 4 | line vty 0 4 | ||
password cisco | password cisco | ||
− | + | login | |
− | |||
− | |||
− | |||
− | |||
! | ! | ||
+ | scheduler allocate 20000 1000 | ||
end | end | ||
− | </ | + | |
+ | </pre> | ||
+ | |||
[[category:cisco]] | [[category:cisco]] |
Latest revision as of 09:48, 26 June 2009
Contents
CCNP øveuge
Steffen og Peder
OSPF netværk
Router 1
Current configuration : 3785 bytes ! ! Last configuration change at 09:48:42 UTC Fri Jun 26 2009 ! NVRAM config last updated at 07:45:25 UTC Fri Jun 26 2009 ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$sQ3f$h7zWrkBeT8/8e/M5ZSFla/ enable password cisco ! no aaa new-model ! resource policy ! ip cef ! ! no ip dhcp use vrf connected ip dhcp excluded-address 192.168.100.1 192.168.100.2 ip dhcp excluded-address 192.168.100.255 ip dhcp excluded-address 192.168.100.3 ! ip dhcp pool R1 import all network 192.168.100.0 255.255.255.0 default-router 192.168.100.2 ! ! ip host NET-MAN 192.168.100.4 ! ! ! voice-card 0 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 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 FastEthernet0/0 no ip address duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.100.2 255.255.255.0 ip nat inside ip virtual-reassembly ! interface FastEthernet0/0.2 encapsulation dot1Q 2 ip address dhcp ip nat outside ip virtual-reassembly ! interface FastEthernet0/1 ip address 172.16.1.1 255.255.255.252 speed auto half-duplex no mop enabled ! interface Serial0/1/0 ip address 172.16.1.17 255.255.255.252 ip nat inside ip virtual-reassembly encapsulation ppp no fair-queue ! interface Serial0/2/0 no ip address shutdown clock rate 2000000 ! router ospf 1 log-adjacency-changes network 172.16.1.0 0.0.0.3 area 0 network 172.16.16.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 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 172.16.1.0 mask 255.255.255.252 network 172.16.1.16 mask 255.255.255.252 network 192.168.10.1 mask 255.255.255.255 network 192.168.100.0 neighbor 172.16.1.18 remote-as 200 neighbor 172.16.1.18 update-source Serial0/1/0 neighbor 172.16.1.18 default-originate 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 neighbor 192.168.10.6 remote-as 100 neighbor 192.168.10.6 update-source Loopback0 neighbor 192.168.10.6 next-hop-self no auto-summary ! ip route 0.0.0.0 0.0.0.0 FastEthernet0/0.2 ! ip http server no ip http secure-server ip nat inside source list 1 interface FastEthernet0/0.2 overload ! access-list 1 permit 192.168.100.0 0.0.0.255 access-list 1 permit 192.168.200.0 0.0.0.255 snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 1 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2800 snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps frame-relay multilink bundle-mismatch snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! scheduler allocate 20000 1000 end
Router 2
version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R2 ! boot-start-marker boot-end-marker ! enable secret 5 $1$UOYS$kmVcQwW/FtaYR83AkCqB71 enable password cisco ! memory-size iomem 10 no network-clock-participate slot 1 no network-clock-participate wic 0 no aaa new-model ip subnet-zero ip cef ! ! ! ip host NET-MAN 192.168.100.4 ip audit po max-events 100 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.10.2 255.255.255.255 ! interface Loopback1 ip address 10.2.1.1 255.255.255.0 ! interface Loopback2 ip address 10.2.2.1 255.255.255.0 ! interface Loopback3 ip address 10.2.3.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.5 255.255.255.252 speed auto half-duplex no mop enabled ! interface Serial0/0 no ip address shutdown no fair-queue ! interface FastEthernet0/1 ip address 172.16.1.2 255.255.255.252 duplex auto speed auto ! interface Serial0/1 no ip address shutdown ! router ospf 1 log-adjacency-changes area 1 virtual-link 192.168.10.3 network 172.16.1.0 0.0.0.3 area 0 network 172.16.1.4 0.0.0.3 area 1 network 192.168.10.2 0.0.0.0 area 0 ! router ospf 100 log-adjacency-changes ! router bgp 100 no synchronization bgp log-neighbor-changes network 10.2.1.0 mask 255.255.255.0 network 10.2.2.0 mask 255.255.255.0 network 10.2.3.0 mask 255.255.255.0 network 172.16.1.0 mask 255.255.255.252 network 172.16.1.4 mask 255.255.255.252 network 172.16.1.20 mask 255.255.255.252 network 192.168.10.2 mask 255.255.255.255 neighbor 192.168.10.1 remote-as 100 neighbor 192.168.10.1 update-source Loopback0 neighbor 192.168.10.3 remote-as 100 neighbor 192.168.10.3 update-source Loopback0 neighbor 192.168.10.6 remote-as 100 neighbor 192.168.10.6 update-source Loopback0 no auto-summary ! ip classless ! ip http server no ip http secure-server ! ! ! snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 2 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2621XM snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! ! end
Router 3
version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R3 ! boot-start-marker boot-end-marker ! enable secret 5 $1$DCVp$gaFMrDNeeBEy6/09dw0xK0 enable password cisco ! memory-size iomem 10 no network-clock-participate slot 1 no network-clock-participate wic 0 no aaa new-model ip subnet-zero ip cef ! ! ! ip host NET-MAN 192.168.100.4 ip audit po max-events 100 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.10.3 255.255.255.255 ! interface Loopback1 ip address 10.3.1.1 255.255.255.0 ! interface Loopback2 ip address 10.3.2.1 255.255.255.0 ! interface Loopback3 ip address 10.3.3.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.6 255.255.255.252 duplex auto speed auto ! interface Serial0/0 ip address 172.16.1.9 255.255.255.252 ! interface Serial0/1 ip address 172.16.1.21 255.255.255.252 clock rate 128000 ! router ospf 1 log-adjacency-changes area 1 virtual-link 192.168.10.2 area 2 stub network 172.16.1.4 0.0.0.3 area 1 network 172.16.1.20 0.0.0.3 area 2 network 192.168.10.3 0.0.0.0 area 1 ! router bgp 100 no synchronization bgp log-neighbor-changes network 10.3.1.0 mask 255.255.255.0 network 10.3.2.0 mask 255.255.255.0 network 10.3.3.0 mask 255.255.255.0 network 172.16.1.4 mask 255.255.255.252 network 172.16.1.8 mask 255.255.255.252 network 192.168.10.3 mask 255.255.255.255 neighbor 172.16.1.10 remote-as 200 neighbor 172.16.1.10 update-source Serial0/0 neighbor 192.168.10.1 remote-as 100 neighbor 192.168.10.1 update-source Loopback0 neighbor 192.168.10.1 next-hop-self 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.6 remote-as 100 neighbor 192.168.10.6 update-source Loopback0 neighbor 192.168.10.6 next-hop-self no auto-summary ! ip classless ! ip http server no ip http secure-server ! ! ! snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 3 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2621XM snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! ! end
Router 6
version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R6 ! boot-start-marker boot-end-marker ! enable secret 5 $1$XLoI$43Yxy2/h/IPgJTvRnUpZZ1 enable password cisco ! no network-clock-participate slot 1 no network-clock-participate wic 0 no aaa new-model ip subnet-zero ip cef ! ! ! ip host NET-MAN 192.168.100.4 ip audit po max-events 100 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.10.6 255.255.255.252 ! interface Loopback1 ip address 10.6.1.1 255.255.255.0 ! interface Loopback2 ip address 10.6.2.1 255.255.255.0 ! interface Loopback3 ip address 10.6.3.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.25 255.255.255.252 speed auto half-duplex no mop enabled ! interface Serial0/0 no ip address shutdown ! interface Serial0/1 ip address 172.16.1.22 255.255.255.252 ! interface Serial0/2 no ip address shutdown ! interface Serial0/3 no ip address shutdown ! router ospf 1 log-adjacency-changes area 2 stub network 172.16.1.20 0.0.0.3 area 2 network 192.168.10.6 0.0.0.0 area 2 ! router ospf 100 log-adjacency-changes ! router bgp 100 no synchronization bgp log-neighbor-changes network 10.6.1.0 mask 255.255.255.0 network 10.6.2.0 mask 255.255.255.0 network 10.6.3.0 mask 255.255.255.0 network 172.16.1.20 mask 255.255.255.252 network 172.16.1.24 mask 255.255.255.252 network 192.168.10.6 mask 255.255.255.255 neighbor 172.16.1.21 remote-as 100 neighbor 172.16.1.21 update-source Loopback0 neighbor 172.16.1.26 remote-as 100 neighbor 172.16.1.26 update-source Loopback0 neighbor 192.168.10.1 remote-as 100 neighbor 192.168.10.1 update-source Loopback0 neighbor 192.168.10.2 remote-as 100 neighbor 192.168.10.2 update-source Loopback0 neighbor 192.168.10.3 remote-as 100 neighbor 192.168.10.3 update-source Loopback0 no auto-summary ! ip classless ! ip http server no ip http secure-server ! ! ! snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 6 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2621XM snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! ! end
Switch 1
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname S1 ! enable secret 5 $1$/Jbk$ocZcb1TiogWXSEBkRqejg/ enable password cisco ! ip subnet-zero ! ip host NET-MAN 192.168.100.4 ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! interface FastEthernet0/1 switchport mode access ! interface FastEthernet0/2 switchport mode access ! interface FastEthernet0/3 switchport mode access ! interface FastEthernet0/4 switchport mode access ! interface FastEthernet0/5 switchport mode access ! interface FastEthernet0/6 switchport mode access ! interface FastEthernet0/7 switchport mode access ! interface FastEthernet0/8 switchport mode access spanning-tree portfast ! interface FastEthernet0/9 switchport mode access ! interface FastEthernet0/10 switchport mode access ! interface FastEthernet0/11 switchport mode access ! interface FastEthernet0/12 switchport mode access ! interface FastEthernet0/13 switchport mode access ! interface FastEthernet0/14 switchport mode access ! interface FastEthernet0/15 switchport mode access ! interface FastEthernet0/16 switchport mode access ! interface FastEthernet0/17 switchport mode access ! interface FastEthernet0/18 switchport mode access ! interface FastEthernet0/19 switchport mode access ! interface FastEthernet0/20 switchport mode access ! interface FastEthernet0/21 switchport mode access ! interface FastEthernet0/22 switchport mode access ! interface FastEthernet0/23 switchport mode access ! interface FastEthernet0/24 switchport access vlan 2 switchport mode access spanning-tree portfast spanning-tree bpdufilter enable ! interface GigabitEthernet0/1 switchport mode trunk ! interface GigabitEthernet0/2 ! interface Vlan1 ip address 192.168.100.1 255.255.255.0 no ip route-cache ! ip default-gateway 192.168.100.2 ip http server snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Vlan1 snmp-server location S1 snmp-server contact Steffen - Phone ******** snmp-server chassis-id Cisco 2950 snmp-server enable traps snmp authentication warmstart linkdown linkup coldstart snmp-server enable traps config snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! line con 0 line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end
IS-IS netværk
Router 4
version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R4 ! boot-start-marker boot-end-marker ! enable secret 5 $1$tc.T$KynUjta9W5VyH.YvGuc0G/ enable password cisco ! no aaa new-model ! resource policy ! ip cef ! ! no ip dhcp use vrf connected ip dhcp excluded-address 192.168.200.255 ip dhcp excluded-address 192.168.200.1 192.168.200.3 ! ip dhcp pool R4 network 192.168.200.0 255.255.255.0 default-router 192.168.200.2 domain-name tekkom.local dns-server 172.16.4.77 ! ! ip host NET-MAN 192.168.100.4 ! ! ! voice-card 0 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.10.4 255.255.255.255 ip router isis ! interface Loopback1 ip address 10.4.1.1 255.255.255.0 ! interface Loopback2 ip address 10.4.2.1 255.255.255.0 ! interface Loopback3 ip address 10.4.3.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.13 255.255.255.252 ip router isis speed auto half-duplex no mop enabled ! interface FastEthernet0/1 no ip address duplex auto speed auto ! interface FastEthernet0/1.1 encapsulation dot1Q 1 native ip address 192.168.200.2 255.255.255.0 ! interface Serial0/1/0 no ip address shutdown no fair-queue clock rate 2000000 ! interface Serial0/1/1 no ip address shutdown clock rate 2000000 ! interface Serial0/2/0 ip address 172.16.1.18 255.255.255.252 encapsulation ppp clock rate 2000000 ! router isis net 49.0001.1921.6801.0004.00 is-type level-2-only ! router bgp 200 no synchronization bgp log-neighbor-changes network 10.4.1.0 mask 255.255.255.0 network 10.4.2.0 mask 255.255.255.0 network 10.4.3.0 mask 255.255.255.0 network 172.16.1.12 mask 255.255.255.252 network 172.16.1.16 mask 255.255.255.252 network 192.168.10.4 mask 255.255.255.255 network 192.168.200.0 neighbor 172.16.1.17 remote-as 100 neighbor 172.16.1.17 update-source Serial0/2/0 neighbor 192.168.10.5 remote-as 200 neighbor 192.168.10.5 update-source Loopback0 neighbor 192.168.10.5 next-hop-self no auto-summary ! ! ! ip http server no ip http secure-server ! snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 4 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2800 snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps frame-relay multilink bundle-mismatch snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! scheduler allocate 20000 1000 end
Router 5
version 12.3 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R5 ! boot-start-marker boot-end-marker ! enable secret 5 $1$/e8w$UKP0CmYDhhkYDv6U/LIQv. enable password cisco ! no network-clock-participate slot 1 no network-clock-participate wic 0 no aaa new-model ip subnet-zero ip cef ! ! ! ip host NET-MAN 192.168.100.4 ip audit po max-events 100 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! interface Loopback0 ip address 192.168.10.5 255.255.255.255 ip router isis ! interface Loopback1 ip address 10.5.1.1 255.255.255.0 ! interface Loopback2 ip address 10.5.2.1 255.255.255.0 ! interface Loopback3 ip address 10.5.3.1 255.255.255.0 ! interface FastEthernet0/0 ip address 172.16.1.14 255.255.255.252 ip router isis speed auto half-duplex no mop enabled ! interface Serial0/0 ip address 172.16.1.10 255.255.255.252 no fair-queue clock rate 2000000 ! interface Serial0/1 no ip address shutdown ! router isis net 49.0001.1921.6801.0005.00 is-type level-2-only ! router bgp 200 no synchronization bgp log-neighbor-changes network 10.5.1.0 mask 255.255.255.0 network 10.5.2.0 mask 255.255.255.0 network 10.5.3.0 mask 255.255.255.0 network 172.16.1.8 mask 255.255.255.252 network 172.16.1.12 mask 255.255.255.252 network 192.168.10.5 mask 255.255.255.255 neighbor 172.16.1.9 remote-as 100 neighbor 172.16.1.9 update-source Loopback0 neighbor 192.168.10.4 remote-as 200 neighbor 192.168.10.4 update-source Loopback0 neighbor 192.168.10.4 next-hop-self no auto-summary ! ip classless ! ip http server no ip http secure-server ! ! ! snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 5 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2621XM snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! ! end
Switch 2
version 12.1 no service pad service timestamps debug uptime service timestamps log uptime no service password-encryption ! hostname S2 ! enable secret 5 $1$kfZp$y1oT9qGk1r9dAhM2yYCdn0 enable password cisco ! ip subnet-zero ! ip host NET-MAN 192.168.100.4 ! spanning-tree mode pvst no spanning-tree optimize bpdu transmission spanning-tree extend system-id ! ! ! ! interface FastEthernet0/1 switchport mode access ! interface FastEthernet0/2 switchport mode access ! interface FastEthernet0/3 switchport mode access ! interface FastEthernet0/4 switchport mode access ! interface FastEthernet0/5 switchport mode access ! interface FastEthernet0/6 switchport mode access ! interface FastEthernet0/7 switchport mode access ! interface FastEthernet0/8 switchport mode access ! interface FastEthernet0/9 switchport mode access ! interface FastEthernet0/10 switchport mode access ! interface FastEthernet0/11 switchport mode access snmp trap mac-notification added spanning-tree portfast ! interface FastEthernet0/12 switchport mode access ! interface FastEthernet0/13 switchport mode access ! interface FastEthernet0/14 switchport mode access ! interface FastEthernet0/15 switchport mode access ! interface FastEthernet0/16 switchport mode access ! interface FastEthernet0/17 switchport mode access ! interface FastEthernet0/18 switchport mode access ! interface FastEthernet0/19 switchport mode access ! interface FastEthernet0/20 switchport mode access ! interface FastEthernet0/21 switchport mode access ! interface FastEthernet0/22 switchport mode access ! interface FastEthernet0/23 switchport mode access ! interface FastEthernet0/24 switchport mode access ! interface GigabitEthernet0/1 switchport mode trunk ! interface GigabitEthernet0/2 ! interface Vlan1 ip address 192.168.200.1 255.255.255.0 no ip route-cache ! ip default-gateway 192.168.200.2 ip http server snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Vlan1 snmp-server location S2 snmp-server contact Steffen - Phone ******** snmp-server chassis-id Cisco 2950 snmp-server enable traps snmp authentication warmstart linkdown linkup coldstart snmp-server enable traps config snmp-server enable traps copy-config snmp-server enable traps syslog snmp-server enable traps entity snmp-server enable traps flash insertion removal snmp-server enable traps bridge snmp-server enable traps stpx snmp-server enable traps rtr snmp-server enable traps c2900 snmp-server enable traps vtp snmp-server enable traps vlancreate snmp-server enable traps vlandelete snmp-server enable traps port-security snmp-server enable traps MAC-Notification snmp-server enable traps envmon fan shutdown supply temperature status snmp-server enable traps hsrp snmp-server enable traps cluster snmp-server enable traps vlan-membership snmp-server host 192.168.100.4 version 2c NMrw ! line con 0 line vty 0 4 password cisco login line vty 5 15 password cisco login ! ! end
Leg med Router R1
R1
Current configuration : 3785 bytes ! ! Last configuration change at 09:48:42 UTC Fri Jun 26 2009 ! NVRAM config last updated at 07:45:25 UTC Fri Jun 26 2009 ! version 12.4 service timestamps debug datetime msec service timestamps log datetime msec no service password-encryption ! hostname R1 ! boot-start-marker boot-end-marker ! enable secret 5 $1$sQ3f$h7zWrkBeT8/8e/M5ZSFla/ enable password cisco ! no aaa new-model ! resource policy ! ip cef ! ! no ip dhcp use vrf connected ip dhcp excluded-address 192.168.100.1 192.168.100.2 ip dhcp excluded-address 192.168.100.255 ip dhcp excluded-address 192.168.100.3 ! ip dhcp pool R1 import all network 192.168.100.0 255.255.255.0 default-router 192.168.100.2 ! ! ip host NET-MAN 192.168.100.4 ! ! ! voice-card 0 ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! 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 FastEthernet0/0 no ip address duplex auto speed auto ! interface FastEthernet0/0.1 encapsulation dot1Q 1 native ip address 192.168.100.2 255.255.255.0 ip nat inside ip virtual-reassembly ! interface FastEthernet0/0.2 encapsulation dot1Q 2 ip address dhcp ip nat outside ip virtual-reassembly ! interface FastEthernet0/1 ip address 172.16.1.1 255.255.255.252 speed auto half-duplex no mop enabled ! interface Serial0/1/0 ip address 172.16.1.17 255.255.255.252 ip nat inside ip virtual-reassembly encapsulation ppp no fair-queue ! interface Serial0/2/0 no ip address shutdown clock rate 2000000 ! router ospf 1 max-metric router-lsa on-startup 5 log-adjacency-changes redistribute bgp 100 subnets route-map LEG network 172.16.1.0 0.0.0.3 area 0 network 172.16.16.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 log-neighbor-changes bgp redistribute-internal 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 172.16.1.0 mask 255.255.255.252 network 172.16.1.16 mask 255.255.255.252 network 192.168.10.1 mask 255.255.255.255 network 192.168.100.0 neighbor 172.16.1.18 remote-as 200 neighbor 172.16.1.18 update-source Serial0/1/0 neighbor 172.16.1.18 default-originate 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 neighbor 192.168.10.6 remote-as 100 neighbor 192.168.10.6 update-source Loopback0 neighbor 192.168.10.6 next-hop-self no auto-summary ! ip route 0.0.0.0 0.0.0.0 FastEthernet0/0.2 ! ip as-path access-list 1 permit 200 ! ip http server no ip http secure-server ip nat inside source list 1 interface FastEthernet0/0.2 overload ! access-list 1 permit 192.168.100.0 0.0.0.255 access-list 1 permit 192.168.200.0 0.0.0.255 access-list 78 permit any snmp-server community NMro RO snmp-server community NMrw RW snmp-server trap-source Loopback0 snmp-server location Router 1 snmp-server contact Steffen - Phone: ******** snmp-server chassis-id Cisco 2800 snmp-server enable traps snmp authentication linkdown linkup coldstart warmstart snmp-server enable traps tty snmp-server enable traps config snmp-server enable traps frame-relay multilink bundle-mismatch snmp-server enable traps vtp snmp-server host 192.168.100.4 version 2c NMrw ! ! ! route-map LEG permit 10 match ip address 78 set metric 17 set metric-type external ! ! ! ! control-plane ! ! ! ! ! ! ! ! ! ! line con 0 line aux 0 line vty 0 4 password cisco login ! scheduler allocate 20000 1000 end