Blame | Last modification | View Log | RSS feed
!
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname c3640
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$mhBI$UC2OwWgvexhr1EJ6lrGW21
!
no aaa new-model
memory-size iomem 25
!
!
ip cef
ip name-server 130.251.1.4
!
!
ip vrf Cliente1
rd 100:100
vpn id 100:100
route-target export 100:1000
route-target import 100:1000
!
ip vrf Cliente3
rd 100:300
vpn id 100:300
route-target export 100:3000
route-target import 100:3000
!
!
!
!
!
!
!
!
!
!
!
!
!
username admin password 7 02050D480809
!
!
!
!
!
interface Loopback0
ip address 192.168.0.3 255.255.255.255
!
interface Ethernet0/0
no ip address
half-duplex
!
interface Ethernet0/0.40
encapsulation dot1Q 40
ip address 192.168.4.1 255.255.255.0
mpls ip
!
interface Ethernet0/0.70
encapsulation dot1Q 70
ip address 192.168.7.254 255.255.255.0
mpls ip
!
interface Ethernet0/0.80
encapsulation dot1Q 80
ip address 192.168.8.1 255.255.255.0
mpls ip
!
interface Ethernet0/0.100
encapsulation dot1Q 100
ip vrf forwarding Cliente1
ip address 10.0.0.254 255.255.255.0
!
interface Ethernet0/0.300
encapsulation dot1Q 300
ip vrf forwarding Cliente3
ip address 10.0.0.254 255.255.255.0
!
interface TokenRing0/0
no ip address
shutdown
ring-speed 16
!
interface FastEthernet1/0
no ip address
shutdown
duplex auto
speed auto
!
interface FastEthernet1/1
no ip address
shutdown
duplex auto
speed auto
!
router ospf 300 vrf Cliente3
router-id 192.168.0.3
log-adjacency-changes
redistribute bgp 100 metric 20 subnets
network 10.0.0.0 0.0.0.255 area 1
!
router ospf 100 vrf Cliente1
router-id 10.0.0.254
log-adjacency-changes
redistribute bgp 100 metric 20 subnets
network 10.0.0.0 0.0.0.255 area 1
!
router ospf 1
router-id 192.168.8.1
log-adjacency-changes
network 192.168.0.3 0.0.0.0 area 0
network 192.168.4.0 0.0.0.255 area 0
network 192.168.7.0 0.0.0.255 area 0
network 192.168.8.0 0.0.0.255 area 0
!
router bgp 100
no synchronization
bgp log-neighbor-changes
neighbor 192.168.0.1 remote-as 100
neighbor 192.168.0.1 update-source Loopback0
neighbor 192.168.0.2 remote-as 100
neighbor 192.168.0.2 update-source Loopback0
neighbor 192.168.0.4 remote-as 100
neighbor 192.168.0.4 update-source Loopback0
no auto-summary
!
address-family vpnv4
neighbor 192.168.0.1 activate
neighbor 192.168.0.1 send-community both
neighbor 192.168.0.2 activate
neighbor 192.168.0.2 send-community both
neighbor 192.168.0.4 activate
neighbor 192.168.0.4 send-community both
exit-address-family
!
address-family ipv4 vrf Cliente3
redistribute connected
redistribute ospf 300 vrf Cliente3
no synchronization
exit-address-family
!
address-family ipv4 vrf Cliente1
redistribute connected
redistribute ospf 100 vrf Cliente1
no synchronization
exit-address-family
!
ip default-gateway 192.168.4.254
ip http server
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 192.168.4.254
!
!
!
!
!
!
control-plane
!
!
!
voice-port 2/0/0
!
voice-port 2/0/1
!
!
!
!
!
!
banner login Cisco 3640 - Border
!
line con 0
login local
line aux 0
line vty 0 4
login local
!
!
end