IP Telefoni Tele-punkt/netværk

From Teknologisk videncenter
< IP Telefoni Tele-punkt
Revision as of 16:30, 19 March 2010 by Heth (talk | contribs) (Config PB2)
Jump to: navigation, search
Testnetværk i lokalet

Config R1

Current configuration : 5456 bytes
!
! Last configuration change at 13:54:05 UTC Thu Mar 18 2010 by cisco
! NVRAM config last updated at 08:04:39 UTC Thu Mar 18 2010
!
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$M7by$NcEdXiw609erFqnF31PBG1
enable password class
!
no aaa new-model
!
resource policy
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.64.0 192.168.64.49
!
ip dhcp pool PC
   network 192.168.64.0 255.255.255.0
   domain-name pb1.tekkom.dk
   default-router 192.168.64.1
   dns-server 192.168.22.73
   option 150 ip 192.168.22.4
!
!
ip vrf PB
 description Kunde: Pengebanken (PB) i Rodborg (RDB) : PB-RDB
 rd 3292:2
 route-target export 1100:2
 route-target import 1100:2
!
no ip domain lookup
ip host r1 10.10.10.1
ip host r2 10.10.10.2
ip host r3 10.10.10.3
ip host bks1 192.168.64.2
ip host bks2 192.168.64.3
ip host bks3 192.168.64.4
ip host rdb1 192.168.72.2
ip host rdb2 192.168.72.3
ip host rdb3 192.168.72.4
ip host pb1 192.168.64.3
ip host pb2 192.168.64.4
ip host pb3 192.168.72.3
ip host pb4 192.168.72.4
!
class-map match-all Telnet
 match protocol telnet
class-map match-all Voice
 match ip dscp ef
class-map match-all Signaling
 match ip dscp cs3
!
!
policy-map VoIP
 class Telnet
  bandwidth 200
 class Voice
  priority 200
 class Signaling
  bandwidth 10
 class class-default
  fair-queue
!
interface Loopback0
 ip address 10.10.10.1 255.255.255.255
 ip router isis
!
interface Loopback10
 ip address 10.10.1.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 ip nat inside
 ip virtual-reassembly
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 192.168.64.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/0.21
 description VRF PB for hold 1
 encapsulation dot1Q 21
 ip vrf forwarding PB
 ip address 192.168.21.1 255.255.255.252
!
interface FastEthernet0/0.22
 description VRF PB for hold 2
 encapsulation dot1Q 22
 ip vrf forwarding PB
 ip address 192.168.22.1 255.255.255.252
!
interface FastEthernet0/0.101
 description Internet Hold 1
 encapsulation dot1Q 101
 ip address 10.10.101.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/0.102
 encapsulation dot1Q 102
 ip address 10.10.102.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/1
 description internet access
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
 ip route-cache flow
 duplex auto
 speed auto
!
interface Serial0/2/0
 ip address 10.10.0.5 255.255.255.252
 ip router isis
 mpls label protocol ldp
 mpls ip
 clock rate 2000000
 service-policy output VoIP
!
router isis
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng level-2
 net 49.0000.0101.3300.1111.00
 metric-style wide
 default-information originate
!
router bgp 3292
 bgp log-neighbor-changes
 neighbor 10.10.10.2 remote-as 3292
 neighbor 10.10.10.2 update-source Loopback0
 neighbor 10.10.10.3 remote-as 3292
 neighbor 10.10.10.3 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.10.10.2 activate
 neighbor 10.10.10.3 activate
 default-information originate
 no auto-summary
 no synchronization
 network 10.10.1.0 mask 255.255.255.0
 network 192.168.64.0
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.10.10.2 activate
 neighbor 10.10.10.2 send-community both
 neighbor 10.10.10.3 activate
 neighbor 10.10.10.3 send-community extended
 exit-address-family
 !
 address-family ipv4 vrf PB
 redistribute connected
 redistribute static
 neighbor 192.168.21.2 remote-as 65001
 neighbor 192.168.21.2 activate
 neighbor 192.168.22.2 remote-as 65002
 neighbor 192.168.22.2 activate
 no synchronization
 exit-address-family
!
ip route 0.0.0.0 0.0.0.0 192.168.22.73
ip route 172.21.1.0 255.255.255.0 10.10.101.2
ip route 172.21.100.0 255.255.255.0 10.10.101.2
ip route 172.22.1.0 255.255.255.0 10.10.102.2
ip route 172.22.100.0 255.255.255.0 10.10.102.2
ip route 172.23.1.0 255.255.255.0 10.10.103.2
ip route 172.23.100.0 255.255.255.0 10.10.103.2
ip route 172.24.1.0 255.255.255.0 10.10.104.2
ip route 172.24.100.0 255.255.255.0 10.10.104.2
!
ip flow-cache timeout inactive 10
ip flow-export version 5
ip flow-export destination 192.168.72.55 9991
!
ip http server
no ip http secure-server
ip nat inside source list 38 interface FastEthernet0/1 overload
ip nat inside source static tcp 10.10.10.1 23 interface FastEthernet0/1 23
ip nat inside source static tcp 10.10.10.1 22 interface FastEthernet0/1 22
!
access-list 10 permit any
access-list 38 permit 10.10.0.0 0.0.255.255
access-list 38 permit 192.168.64.0 0.0.15.255
access-list 38 permit 172.21.0.0 0.0.255.255
access-list 38 permit 172.22.0.0 0.0.255.255
access-list 38 permit 172.23.0.0 0.0.255.255
access-list 38 permit 172.24.0.0 0.0.255.255
snmp-server community public RO
snmp-server community secret RW
snmp-server ifindex persist
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
!
route-map Internet permit 10
 match ip address 10
!
route-map Internet permit 20
 set level level-2
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 password cisco
 logging synchronous
 login
!
scheduler allocate 20000 1000

Config R2

Current configuration : 3177 bytes
!
! Last configuration change at 09:23:17 UTC Thu Mar 18 2010
! NVRAM config last updated at 06:39:09 UTC Thu Mar 18 2010
!
version 12.4
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$Ql.f$3uAerOgnp3Erg9n2McbZk.
enable password class
!
no aaa new-model
!
resource policy
!
ip cef
!
no ip domain lookup
ip host r1 10.10.10.1
ip host r2 10.10.10.2
ip host r3 10.10.10.3
ip host bks1 192.168.64.2
ip host bks2 192.168.64.3
ip host bks3 192.168.64.4
ip host rdb1 192.168.72.2
ip host rdb2 192.168.72.3
ip host rdb3 192.168.72.4
ip host pb1 192.168.64.3
ip host pb2 192.168.64.4
ip host pb3 192.168.72.3
ip host pb4 192.168.72.4
!
interface Loopback0
 ip address 10.10.10.2 255.255.255.255
 ip router isis
!
interface Loopback10
 ip address 10.10.2.1 255.255.255.0
!
interface FastEthernet0/0
 ip address 192.168.100.1 255.255.255.0
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/1
 no ip address
 shutdown
 duplex auto
 speed auto
!
interface FastEthernet0/1/0
 shutdown
!
interface FastEthernet0/1/1
 shutdown
!
interface FastEthernet0/1/2
 shutdown
!
interface FastEthernet0/1/3
 shutdown
!
interface Serial0/2/0
 bandwidth 8000
 ip address 10.10.0.9 255.255.255.252
 ip router isis
 mpls label protocol ldp
 mpls ip
 clock rate 2000000
!
interface Serial0/3/0
 bandwidth 8000
 ip address 10.10.0.6 255.255.255.252
 ip router isis
 mpls label protocol ldp
 mpls ip
!
interface Vlan1
 no ip address
 shutdown
!
router isis
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng level-2
 net 49.0000.0101.3300.2222.00
 is-type level-2-only
 metric-style wide
!
router bgp 3292
 bgp log-neighbor-changes
 neighbor 10.10.10.1 remote-as 3292
 neighbor 10.10.10.1 update-source Loopback0
 neighbor 10.10.10.3 remote-as 3292
 neighbor 10.10.10.3 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.10.10.1 activate
 neighbor 10.10.10.3 activate
 no auto-summary
 no synchronization
 network 10.10.2.0 mask 255.255.255.0
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.10.10.1 activate
 neighbor 10.10.10.1 send-community extended
 neighbor 10.10.10.3 activate
 neighbor 10.10.10.3 send-community extended
 exit-address-family
!
ip route 172.21.1.0 255.255.255.0 10.10.101.2
ip route 172.21.100.0 255.255.255.0 10.10.101.2
ip route 172.22.1.0 255.255.255.0 10.10.102.2
ip route 172.22.100.0 255.255.255.0 10.10.102.2
ip route 172.23.1.0 255.255.255.0 10.10.103.2
ip route 172.23.100.0 255.255.255.0 10.10.103.2
ip route 172.24.1.0 255.255.255.0 10.10.104.2
ip route 172.24.100.0 255.255.255.0 10.10.104.2
!
!
ip http server
no ip http secure-server
!
snmp-server community public RO
snmp-server community secret RW
snmp-server ifindex persist
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
!
control-plane
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 password cisco
 logging synchronous
 no login
!
scheduler allocate 20000 1000
end

Config R3

Current configuration : 5503 bytes
!
! Last configuration change at 11:21:31 UTC Thu Mar 18 2010
! NVRAM config last updated at 08:08:02 UTC Thu Mar 18 2010
!
version 12.4
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$K2jF$4crf9YxHOv2ATLiw7hTe0.
enable password class
!
no aaa new-model
!
resource policy
!
ip cef
!
!
no ip dhcp use vrf connected
ip dhcp excluded-address 192.168.72.0 192.168.72.49
!
ip dhcp pool PC
   network 192.168.72.0 255.255.255.0
   domain-name pb1.tekkom.dk
   default-router 192.168.72.1
   dns-server 192.168.22.73
   option 150 ip 192.168.22.4
!
!
ip vrf PB
 description Kunde: Pengebanken (PB) i Rodborg (RDB) : PB-RDB
 rd 3292:2
 route-target export 1100:2
 route-target import 1100:2
!
no ip domain lookup
ip host rdb1 192.168.72.2
ip host pb1 192.168.64.3
ip host pb4 192.168.72.4
ip host pb3 192.168.72.3
ip host pb2 192.168.64.4
ip host r1 10.10.10.1
ip host r2 10.10.10.2
ip host r3 10.10.10.3
ip host bks1 192.168.64.2
ip host bks2 192.168.64.3
ip host bks3 192.168.64.4
ip host rdb2 192.168.72.3
ip host rdb3 192.168.72.4
!
class-map match-all Telnet
 match protocol telnet
class-map match-all Voice
 match ip dscp ef
class-map match-all Signaling
 match ip dscp cs3
!
!
policy-map VoIP
 class Voice
  priority 200
 class Signaling
  bandwidth 10
 class Telnet
  bandwidth 200
 class class-default
  fair-queue
!
interface Loopback0
 ip address 10.10.10.3 255.255.255.255
 ip router isis
!
interface Loopback10
 ip address 10.10.3.1 255.255.255.0
!
interface FastEthernet0/0
 no ip address
 speed auto
 full-duplex
 no mop enabled
!
interface FastEthernet0/0.1
 encapsulation dot1Q 1 native
 ip address 192.168.72.1 255.255.255.0
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/0.23
 description hold 3 VRF
 encapsulation dot1Q 23
 ip vrf forwarding PB
 ip address 192.168.23.1 255.255.255.252
 ip virtual-reassembly
!
interface FastEthernet0/0.24
 description hold 4 VRF
 encapsulation dot1Q 24
 ip vrf forwarding PB
 ip address 192.168.24.1 255.255.255.252
 ip virtual-reassembly
!
interface FastEthernet0/0.103
 description Hold 3 internet
 encapsulation dot1Q 103
 ip address 10.10.103.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/0.104
 description Hold 4 internet
 encapsulation dot1Q 104
 ip address 10.10.104.1 255.255.255.252
 ip nat inside
 ip virtual-reassembly
!
interface FastEthernet0/1
 description internet access
 ip address dhcp
 ip nat outside
 ip virtual-reassembly
 duplex auto
 speed auto
!
interface Serial0/2/0
 bandwidth 8000
 ip address 10.10.0.10 255.255.255.252
 ip router isis
 ip nat inside
 ip virtual-reassembly
 mpls label protocol ldp
 mpls ip
 service-policy output VoIP
!
interface Serial0/3/0
 no ip address
 shutdown
 clock rate 2000000
!
interface Serial0/3/1
 no ip address
 shutdown
 clock rate 2000000
!
router isis
 mpls traffic-eng router-id Loopback0
 mpls traffic-eng level-2
 net 49.0000.0101.3300.3333.00
 metric-style wide
 default-information originate
!
router bgp 3292
 bgp log-neighbor-changes
 neighbor 10.10.10.1 remote-as 3292
 neighbor 10.10.10.1 update-source Loopback0
 neighbor 10.10.10.2 remote-as 3292
 neighbor 10.10.10.2 update-source Loopback0
 !
 address-family ipv4
 neighbor 10.10.10.1 activate
 neighbor 10.10.10.2 activate
 no auto-summary
 no synchronization
 network 0.0.0.0
 network 10.10.3.0 mask 255.255.255.0
 network 192.168.72.0
 exit-address-family
 !
 address-family vpnv4
 neighbor 10.10.10.1 activate
 neighbor 10.10.10.1 send-community extended
 neighbor 10.10.10.2 activate
 neighbor 10.10.10.2 send-community both
 exit-address-family
 !
 address-family ipv4 vrf PB
 redistribute connected
 redistribute static
 neighbor 192.168.23.2 remote-as 65003
 neighbor 192.168.23.2 activate
 neighbor 192.168.24.2 remote-as 65004
 neighbor 192.168.24.2 activate
 no synchronization
 exit-address-family
!
ip route 0.0.0.0 0.0.0.0 192.168.22.73
ip route 172.21.1.0 255.255.255.0 10.10.101.2
ip route 172.21.100.0 255.255.255.0 10.10.101.2
ip route 172.22.1.0 255.255.255.0 10.10.102.2
ip route 172.22.100.0 255.255.255.0 10.10.102.2
ip route 172.23.1.0 255.255.255.0 10.10.103.2
ip route 172.23.100.0 255.255.255.0 10.10.103.2
ip route 172.24.1.0 255.255.255.0 10.10.104.2
ip route 172.24.100.0 255.255.255.0 10.10.104.2
!
!
ip http server
no ip http secure-server
ip nat inside source list 38 interface FastEthernet0/1 overload
ip nat inside source static tcp 10.10.10.3 23 interface FastEthernet0/1 23
ip nat inside source static tcp 10.10.10.3 22 interface FastEthernet0/1 22
!
access-list 10 permit any
access-list 38 permit 10.10.0.0 0.0.255.255
access-list 38 permit 192.168.64.0 0.0.15.255
access-list 38 permit 172.21.0.0 0.0.255.255
access-list 38 permit 172.22.0.0 0.0.255.255
access-list 38 permit 172.23.0.0 0.0.255.255
access-list 38 permit 172.24.0.0 0.0.255.255
snmp-server community public RO
snmp-server community secret RW
snmp-server ifindex persist
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
!
route-map Internet permit 10
 match ip address 10
!
route-map Internet permit 20
 set level level-2
!
line con 0
 logging synchronous
line aux 0
line vty 0 4
 password cisco
 logging synchronous
 login
!
scheduler allocate 20000 1000
end

Config BKS1

Current configuration : 4687 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname BKS1
!
enable secret 5 $1$FvdA$pmX.GWgOC097PSzA0OqVK0
enable password class
!
no aaa new-model
ip subnet-zero
ip host r1 10.10.10.1
ip host r2 10.10.10.2
ip host r3 10.10.10.3
ip host bks1 192.168.64.2
ip host bks2 192.168.64.3
ip host bks3 192.168.64.4
ip host rdb1 192.168.72.2
ip host rdb2 192.168.72.3
ip host rdb3 192.168.72.4
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface FastEthernet0/1
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/2
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface FastEthernet0/3
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/4
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/5
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/6
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/7
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/8
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/9
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/10
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/11
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/12
 switchport mode dynamic desirable
 spanning-tree portfast
!
interface FastEthernet0/13
 switchport mode dynamic desirable
!
interface FastEthernet0/14
 switchport mode dynamic desirable
!
interface FastEthernet0/15
 switchport mode dynamic desirable
!
interface FastEthernet0/16
 switchport mode dynamic desirable
!
interface FastEthernet0/17
 switchport mode dynamic desirable
!
interface FastEthernet0/18
 switchport mode dynamic desirable
!
interface FastEthernet0/19
 switchport mode dynamic desirable
!
interface FastEthernet0/20
 switchport mode dynamic desirable
!
interface FastEthernet0/21
 switchport mode dynamic desirable
!
interface FastEthernet0/22
 switchport mode dynamic desirable
!
interface FastEthernet0/23
 switchport mode dynamic desirable
!
interface FastEthernet0/24
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport mode dynamic desirable
!
interface GigabitEthernet0/2
 switchport mode dynamic desirable
!
interface Vlan1
 ip address 192.168.64.2 255.255.255.0
 no ip route-cache
!
ip default-gateway 192.168.64.1
ip classless
ip http server
ip http secure-server
!
snmp-server community public RO
snmp-server community secret RW
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
snmp ifmib ifindex persist
!
control-plane
!
!
line con 0
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
end

Config PB1

Current configuration : 7065 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PB1
!
enable secret 5 $1$RGp1$PAC7WJKr9KsIJ31zinVos/
enable password class
!
no aaa new-model
ip subnet-zero
ip routing
ip host bks1 192.168.64.2
ip host r2 10.10.10.2
ip host r1 10.10.10.1
ip host r3 10.10.10.3
ip host pb1 172.21.1.1
ip host pb2 172.22.1.1
ip host pb3 172.23.1.1
ip host pb4 172.24.1.1
ip host rdb1 192.168.72.2
!
ip dhcp excluded-address 172.21.1.0 172.21.1.49
ip dhcp excluded-address 172.21.1.200 172.21.1.254
ip dhcp excluded-address 172.21.100.0 172.21.100.49
ip dhcp excluded-address 172.21.100.200 172.21.100.254
!
ip dhcp pool VOICE
   network 172.21.100.0 255.255.255.0
   domain-name pb1.tekkom.dk
   default-router 172.21.100.1
   dns-server 192.168.22.73
   option 66 ascii "tftp://172.21.100.3"
   option 150 ip 172.21.100.2
!
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 11
 name hold_1_net
!
vlan 12
 name hold_2_net
!
vlan 21
 name VRF_hold_1
!
vlan 22
 name VRF_hold_2
!
vlan 101
 name Internet_hold_1
!
vlan 102
 name Internet_hold_2
!
vlan 110
 name Voice_Vlan
!
interface FastEthernet0/1
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/2
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/3
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/4
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/5
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/6
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/7
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/8
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/9
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/10
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/11
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/12
 description Intern port i hold 1
 switchport access vlan 11
 switchport mode access
 switchport voice vlan 110
 spanning-tree portfast
!
interface FastEthernet0/13
 switchport mode dynamic desirable
!
interface FastEthernet0/14
 switchport mode dynamic desirable
!
interface FastEthernet0/15
 switchport mode dynamic desirable
!
interface FastEthernet0/16
 switchport mode dynamic desirable
!
interface FastEthernet0/17
 switchport mode dynamic desirable
!
interface FastEthernet0/18
 switchport mode dynamic desirable
!
interface FastEthernet0/19
 switchport mode dynamic desirable
!
interface FastEthernet0/20
 switchport access vlan 110
 switchport trunk encapsulation dot1q
 switchport mode access
!
interface FastEthernet0/21
 switchport mode dynamic desirable
!
interface FastEthernet0/22
 switchport mode dynamic desirable
!
interface FastEthernet0/23
 switchport access vlan 110
 switchport mode access
 spanning-tree portfast
!
interface FastEthernet0/24
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
 switchport mode dynamic desirable
!
interface GigabitEthernet0/2
 switchport mode dynamic desirable
!
interface Vlan1
 ip address 192.168.64.3 255.255.255.0
!
interface Vlan11
 description Net
 ip address 172.21.1.1 255.255.255.0
 ip helper-address 172.22.1.1
!
interface Vlan21
 description VRF PB fra hold 2
 ip address 192.168.21.2 255.255.255.252
!
interface Vlan101
 description Internet
 ip address 10.10.101.2 255.255.255.252
!
interface Vlan110
 description Voice VLAN
 ip address 172.21.100.1 255.255.255.0
!
router bgp 65001
 no synchronization
 bgp log-neighbor-changes
 network 172.21.1.0 mask 255.255.255.0
 network 172.21.100.0 mask 255.255.255.0
 neighbor 192.168.21.1 remote-as 3292
 no auto-summary
!
ip default-gateway 192.168.64.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.101.1
ip http server
ip http secure-server
!
snmp-server community public RO
snmp-server community secret RW
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
snmp ifmib ifindex persist
!
line con 0
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
end

Config PB2

Current configuration : 6800 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname PB2
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$mOdp$HyzgFeKGrzSdPnTfnRepC/
enable password class
!
no aaa new-model
system mtu routing 1500
vtp domain BKS
vtp mode transparent
ip subnet-zero
ip routing
ip host pb1 172.21.1.1
ip host pb2 172.22.1.1
ip host pb3 172.23.1.1
ip host pb4 172.24.1.1
ip host r1 10.10.10.1
ip host r2 10.10.10.2
ip host r3 10.10.10.3
ip host bks1 192.168.64.2
ip host rdb1 192.168.72.2
!
ip dhcp excluded-address 172.22.1.0 172.22.1.49
ip dhcp excluded-address 172.22.1.200 172.22.1.254
ip dhcp excluded-address 172.22.100.0 172.22.100.49
ip dhcp excluded-address 172.22.100.200 172.22.100.254
!
ip dhcp pool PC
   network 172.21.1.0 255.255.255.0
   domain-name pb1.tekkom.dk
   default-router 172.21.1.1
   dns-server 192.168.22.73
   option 66 ascii "172.21.100.3"
   option 43 ascii "tftp://172.21.100.2"
   option 60 ascii "AastraIPPhone"
!
ip dhcp pool VOICE
   network 172.22.100.0 255.255.255.0
   domain-name pb1.tekkom.dk
   default-router 172.22.100.1
   dns-server 192.168.22.73
   option 150 ip 172.21.100.2
!
spanning-tree mode pvst
spanning-tree etherchannel guard misconfig
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
vlan 11
 name hold_1_net
!
vlan 12
 name hold_2_net
!
vlan 21
 name VRF_hold_1
!
vlan 22
 name VRF_hold_2
!
vlan 101
 name Internet_hold_1
!
vlan 102
 name Internet_hold_2
!
vlan 120
 name Voice_VLAN
!
interface FastEthernet0/1
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/2
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/3
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/4
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/5
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/6
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/7
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/8
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/9
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/10
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/11
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/12
 description Hold 2 net
 switchport access vlan 12
 switchport mode access
 switchport voice vlan 120
 spanning-tree portfast
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
!
interface FastEthernet0/18
!
interface FastEthernet0/19
!
interface FastEthernet0/20
!
interface FastEthernet0/21
!
interface FastEthernet0/22
!
interface FastEthernet0/23
!
interface FastEthernet0/24
 switchport trunk encapsulation dot1q
 switchport mode trunk
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface Vlan1
 ip address 192.168.64.4 255.255.255.0
!
interface Vlan12
 description Hold 2 net
 ip address 172.22.1.1 255.255.255.0
!
interface Vlan22
 description VRF PB fra hold 2
 ip address 192.168.22.2 255.255.255.252
!
interface Vlan102
 description Internet hold 2
 ip address 10.10.102.2 255.255.255.252
!
interface Vlan120
 ip address 172.22.100.1 255.255.255.0
!
router bgp 65002
 no synchronization
 bgp log-neighbor-changes
 network 172.22.1.0 mask 255.255.255.0
 network 172.22.100.0 mask 255.255.255.0
 aggregate-address 172.22.0.0 255.255.0.0 summary-only
 neighbor 192.168.22.1 remote-as 3292
 neighbor 192.168.22.1 transport path-mtu-discovery
 no auto-summary
!
ip default-gateway 192.168.64.1
ip classless
ip route 0.0.0.0 0.0.0.0 10.10.102.1
ip http server
ip http secure-server
!
snmp-server community public RO
snmp-server community secret RW
snmp-server location Mercantec locale 308
snmp-server contact Henrik Thomsen
snmp-server chassis-id Cisco xxx
snmp ifmib ifindex persist
!
control-plane
!
!
line con 0
line vty 0 4
 password cisco
 login
line vty 5 15
 password cisco
 login
!
end

Config RDB1

Config PB3

Config PB4