forked from Team254/cheesy-arena
-
Notifications
You must be signed in to change notification settings - Fork 0
/
switch_config.txt
194 lines (194 loc) · 4.1 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
! 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.1
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname ChezySwitch
!
enable secret 5 $1$kKSW$fCMwnMdYvXui1TulfyYHN/
!
ip subnet-zero
ip routing
ip dhcp excluded-address 10.0.100.1 10.0.100.100
!
ip dhcp pool dhcppool
network 10.0.100.0 255.255.255.0
default-router 10.0.100.1
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
!
!
!
!
!
interface FastEthernet0/1
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/2
switchport access vlan 11
switchport mode access
!
interface FastEthernet0/3
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/4
switchport access vlan 12
switchport mode access
!
interface FastEthernet0/5
switchport mode access
!
interface FastEthernet0/6
switchport access vlan 13
switchport mode access
!
interface FastEthernet0/7
switchport mode access
!
interface FastEthernet0/8
switchport access vlan 14
switchport mode access
!
interface FastEthernet0/9
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/10
switchport access vlan 15
switchport mode access
!
interface FastEthernet0/11
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface FastEthernet0/12
switchport access vlan 16
switchport mode access
!
interface FastEthernet0/13
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/14
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/15
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/16
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/17
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/18
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/19
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/20
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/21
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/22
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/23
switchport access vlan 2
switchport mode access
!
interface FastEthernet0/24
switchport access vlan 2
switchport mode access
!
interface GigabitEthernet0/1
switchport trunk encapsulation dot1q
switchport mode trunk
!
interface GigabitEthernet0/2
switchport access vlan 2
switchport mode access
!
interface Vlan1
ip address 10.0.0.61 255.255.255.0
!
interface Vlan2
ip address 10.0.100.2 255.255.255.0
!
interface Vlan11
ip address 10.0.1.61 255.255.255.0
ip access-group 111 in
!
interface Vlan12
ip address 10.0.2.61 255.255.255.0
ip access-group 112 in
!
interface Vlan13
ip address 10.0.3.61 255.255.255.0
ip access-group 113 in
!
interface Vlan14
ip address 10.0.4.61 255.255.255.0
ip access-group 114 in
!
interface Vlan15
ip address 10.0.5.61 255.255.255.0
ip access-group 115 in
!
interface Vlan16
ip address 10.0.6.61 255.255.255.0
ip access-group 116 in
!
ip classless
ip http server
!
access-list 111 permit ip 10.0.1.0 0.0.0.255 host 10.0.100.5
access-list 111 permit udp any eq bootpc any eq bootps
access-list 112 permit ip 10.0.2.0 0.0.0.255 host 10.0.100.5
access-list 112 permit udp any eq bootpc any eq bootps
access-list 113 permit ip 10.0.3.0 0.0.0.255 host 10.0.100.5
access-list 113 permit udp any eq bootpc any eq bootps
access-list 114 permit ip 10.0.4.0 0.0.0.255 host 10.0.100.5
access-list 114 permit udp any eq bootpc any eq bootps
access-list 115 permit ip 10.0.5.0 0.0.0.255 host 10.0.100.5
access-list 115 permit udp any eq bootpc any eq bootps
access-list 116 permit ip 10.0.6.0 0.0.0.255 host 10.0.100.5
access-list 116 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