Subversion Repositories Progetto_Dorsale

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
6 xraver 1
 
2
!
3
version 12.4
4
service timestamps debug datetime msec
5
service timestamps log datetime msec
6
no service password-encryption
7
!
8
hostname c3640
9
!
10
boot-start-marker
11
boot-end-marker
12
!
13
enable secret 5 $1$mhBI$UC2OwWgvexhr1EJ6lrGW21
14
!
15
no aaa new-model
16
memory-size iomem 25
17
!
18
!
19
ip cef
20
ip name-server 130.251.1.4
21
!
22
!
23
ip vrf Cliente1
24
 rd 100:100
25
 vpn id 100:100
26
 route-target export 100:1000
27
 route-target import 100:1000
28
!
29
ip vrf Cliente3
30
 rd 100:300
31
 vpn id 100:300
32
 route-target export 100:3000
33
 route-target import 100:3000
34
!
35
!
36
!
37
!
38
!
39
!
40
!
41
!
42
!
43
!
44
!
45
!
46
!
47
username admin password 7 02050D480809
48
!
49
!
50
!
51
!
52
!
53
interface Loopback0
54
 ip address 192.168.0.3 255.255.255.255
55
!
56
interface Ethernet0/0
57
 no ip address
58
 half-duplex
59
!
60
interface Ethernet0/0.40
61
 encapsulation dot1Q 40
62
 ip address 192.168.4.1 255.255.255.0
63
 mpls ip
64
!
65
interface Ethernet0/0.70
66
 encapsulation dot1Q 70
67
 ip address 192.168.7.254 255.255.255.0
68
 mpls ip
69
!
70
interface Ethernet0/0.80
71
 encapsulation dot1Q 80
72
 ip address 192.168.8.1 255.255.255.0
73
 mpls ip
74
!
75
interface Ethernet0/0.100
76
 encapsulation dot1Q 100
77
 ip vrf forwarding Cliente1
78
 ip address 10.0.0.254 255.255.255.0
79
!
80
interface Ethernet0/0.300
81
 encapsulation dot1Q 300
82
 ip vrf forwarding Cliente3
83
 ip address 10.0.0.254 255.255.255.0
84
!
85
interface TokenRing0/0
86
 no ip address
87
 shutdown
88
 ring-speed 16
89
!
90
interface FastEthernet1/0
91
 no ip address
92
 shutdown
93
 duplex auto
94
 speed auto
95
!
96
interface FastEthernet1/1
97
 no ip address
98
 shutdown
99
 duplex auto
100
 speed auto
101
!
102
router ospf 300 vrf Cliente3
103
 router-id 192.168.0.3
104
 log-adjacency-changes
105
 redistribute bgp 100 metric 20 subnets
106
 network 10.0.0.0 0.0.0.255 area 1
107
!
108
router ospf 100 vrf Cliente1
109
 router-id 10.0.0.254
110
 log-adjacency-changes
111
 redistribute bgp 100 metric 20 subnets
112
 network 10.0.0.0 0.0.0.255 area 1
113
!
114
router ospf 1
115
 router-id 192.168.8.1
116
 log-adjacency-changes
117
 network 192.168.0.3 0.0.0.0 area 0
118
 network 192.168.4.0 0.0.0.255 area 0
119
 network 192.168.7.0 0.0.0.255 area 0
120
 network 192.168.8.0 0.0.0.255 area 0
121
!
122
router bgp 100
123
 no synchronization
124
 bgp log-neighbor-changes
125
 neighbor 192.168.0.1 remote-as 100
126
 neighbor 192.168.0.1 update-source Loopback0
127
 neighbor 192.168.0.2 remote-as 100
128
 neighbor 192.168.0.2 update-source Loopback0
129
 neighbor 192.168.0.4 remote-as 100
130
 neighbor 192.168.0.4 update-source Loopback0
131
 no auto-summary
132
 !
133
 address-family vpnv4
134
  neighbor 192.168.0.1 activate
135
  neighbor 192.168.0.1 send-community both
136
  neighbor 192.168.0.2 activate
137
  neighbor 192.168.0.2 send-community both
138
  neighbor 192.168.0.4 activate
139
  neighbor 192.168.0.4 send-community both
140
 exit-address-family
141
 !
142
 address-family ipv4 vrf Cliente3
143
  redistribute connected
144
  redistribute ospf 300 vrf Cliente3
145
  no synchronization
146
 exit-address-family
147
 !
148
 address-family ipv4 vrf Cliente1
149
  redistribute connected
150
  redistribute ospf 100 vrf Cliente1
151
  no synchronization
152
 exit-address-family
153
!
154
ip default-gateway 192.168.4.254
155
ip http server
156
ip forward-protocol nd
157
ip route 0.0.0.0 0.0.0.0 192.168.4.254
158
!
159
!
160
!
161
!
162
!
163
!
164
control-plane
165
!
166
!
167
!
168
voice-port 2/0/0
169
!
170
voice-port 2/0/1
171
!
172
!
173
!
174
!
175
!
176
!
177
banner login Cisco 3640 - Border
178
!
179
line con 0
180
 login local
181
line aux 0
182
line vty 0 4
183
 login local
184
!
185
!
186
end