forked from Team254/cheesy-arena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
switch_config.txt
308 lines (308 loc) · 6.39 KB
/
switch_config.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
! Baseline configuration for the Catalyst 3500-series switch. Load this into the switch prior to configuring
! Cheesy Arena to connect to it. Default password is 1234Five.
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname ChezySwitch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$kKSW$fCMwnMdYvXui1TulfyYHN/
!
!
!
no aaa new-model
system mtu routing 1500
ip routing
ip dhcp excluded-address 10.0.100.1 10.0.100.150
!
ip dhcp pool dhcppool
network 10.0.100.0 255.255.255.0
domain-name team254.com
dns-server 8.8.8.8 8.8.4.4
lease 7
!
!
!
!
!
!
!
!
spanning-tree mode pvst
spanning-tree portfast default
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
!
!
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport trunk native vlan 100
switchport mode trunk
!
interface GigabitEthernet0/2
switchport trunk encapsulation dot1q
switchport trunk native vlan 100
switchport mode trunk
!
interface GigabitEthernet0/3
switchport mode access
!
interface GigabitEthernet0/4
switchport trunk encapsulation dot1q
switchport trunk native vlan 100
switchport mode trunk
!
interface GigabitEthernet0/5
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/6
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/7
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/8
switchport access vlan 20
switchport mode access
!
interface GigabitEthernet0/9
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/10
switchport access vlan 30
switchport mode access
!
interface GigabitEthernet0/11
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/12
switchport access vlan 40
switchport mode access
!
interface GigabitEthernet0/13
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/14
switchport access vlan 50
switchport mode access
!
interface GigabitEthernet0/15
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/16
switchport access vlan 60
switchport mode access
!
interface GigabitEthernet0/17
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/18
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/19
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/20
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/21
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/22
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/23
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/24
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/25
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/26
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/27
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/28
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/29
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/30
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/31
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/32
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/33
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/34
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/35
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/36
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/37
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/38
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/39
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/40
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/41
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/42
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/43
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/44
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/45
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/46
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/47
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/48
switchport access vlan 100
switchport mode access
!
interface GigabitEthernet0/49
!
interface GigabitEthernet0/50
!
interface GigabitEthernet0/51
!
interface GigabitEthernet0/52
!
interface Vlan1
ip address 10.0.0.61 255.255.255.0
!
interface Vlan10
ip address 10.0.1.61 255.255.255.0
ip access-group 110 in
!
interface Vlan20
ip address 10.0.2.61 255.255.255.0
ip access-group 120 in
!
interface Vlan30
ip address 10.0.3.61 255.255.255.0
ip access-group 130 in
!
interface Vlan40
ip address 10.0.4.61 255.255.255.0
ip access-group 140 in
!
interface Vlan50
ip address 10.0.5.61 255.255.255.0
ip access-group 150 in
!
interface Vlan60
ip address 10.0.6.61 255.255.255.0
ip access-group 160 in
!
interface Vlan100
ip address 10.0.100.2 255.255.255.0
!
ip classless
no ip http server
no ip http secure-server
!
!
access-list 110 permit ip 10.0.1.0 0.0.0.255 host 10.0.100.5
access-list 110 permit udp any eq bootpc any eq bootps
access-list 120 permit ip 10.0.2.0 0.0.0.255 host 10.0.100.5
access-list 120 permit udp any eq bootpc any eq bootps
access-list 130 permit ip 10.0.3.0 0.0.0.255 host 10.0.100.5
access-list 130 permit udp any eq bootpc any eq bootps
access-list 140 permit ip 10.0.4.0 0.0.0.255 host 10.0.100.5
access-list 140 permit udp any eq bootpc any eq bootps
access-list 150 permit ip 10.0.5.0 0.0.0.255 host 10.0.100.5
access-list 150 permit udp any eq bootpc any eq bootps
access-list 160 permit ip 10.0.6.0 0.0.0.255 host 10.0.100.5
access-list 160 permit udp any eq bootpc any eq bootps
!
snmp-server community 1234Five RO
!
!
line con 0
exec-timeout 0 0
line vty 0 4
password 1234Five
login
line vty 5 15
password 1234Five
login
!
end