· 6 years ago · Mar 13, 2019, 07:58 PM
1#############################S1##########################
2
3version 12.2
4no service timestamps log datetime msec
5no service timestamps debug datetime msec
6no service password-encryption
7!
8hostname S1
9!
10enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
11!
12!
13!
14no ip domain-lookup
15!
16!
17spanning-tree mode rapid-pvst
18spanning-tree extend system-id
19spanning-tree vlan 1,10,99 priority 28672
20!
21interface FastEthernet0/1
22 switchport trunk native vlan 99
23 switchport mode trunk
24!
25interface FastEthernet0/2
26 shutdown
27!
28interface FastEthernet0/3
29 switchport trunk native vlan 99
30 switchport mode trunk
31!
32interface FastEthernet0/4
33 shutdown
34!
35interface FastEthernet0/5
36 shutdown
37!
38interface FastEthernet0/6
39 switchport access vlan 10
40 switchport mode access
41 spanning-tree portfast
42 spanning-tree bpduguard enable
43!
44interface FastEthernet0/7
45 shutdown
46!
47interface FastEthernet0/8
48 shutdown
49!
50interface FastEthernet0/9
51 shutdown
52!
53interface FastEthernet0/10
54 shutdown
55!
56interface FastEthernet0/11
57 shutdown
58!
59interface FastEthernet0/12
60 shutdown
61!
62interface FastEthernet0/13
63 shutdown
64!
65interface FastEthernet0/14
66 shutdown
67!
68interface FastEthernet0/15
69 shutdown
70!
71interface FastEthernet0/16
72 shutdown
73!
74interface FastEthernet0/17
75 shutdown
76!
77interface FastEthernet0/18
78 shutdown
79!
80interface FastEthernet0/19
81 shutdown
82!
83interface FastEthernet0/20
84 shutdown
85!
86interface FastEthernet0/21
87 shutdown
88!
89interface FastEthernet0/22
90 shutdown
91!
92interface FastEthernet0/23
93 shutdown
94!
95interface FastEthernet0/24
96 shutdown
97!
98interface GigabitEthernet0/1
99 shutdown
100!
101interface GigabitEthernet0/2
102 shutdown
103!
104interface Vlan1
105 no ip address
106 shutdown
107!
108interface Vlan99
109 mac-address 0001.43a7.8701
110 ip address 192.168.1.11 255.255.255.0
111!
112!
113!
114!
115line con 0
116 password cisco
117 logging synchronous
118 login
119!
120line vty 0 4
121 password cisco
122 login
123line vty 5 15
124 password cisco
125 login
126!
127!
128!
129!
130end
131
132
133
134##########################################S2###################################################
135
136Using 1705 bytes
137!
138version 12.2
139no service timestamps log datetime msec
140no service timestamps debug datetime msec
141no service password-encryption
142!
143hostname S2
144!
145enable secret 5 $1$mERr$9cTjUIEqNGurQiFU.ZeCi1
146!
147!
148!
149no ip domain-lookup
150!
151!
152spanning-tree mode rapid-pvst
153spanning-tree extend system-id
154spanning-tree vlan 1,10,99 priority 24576
155!
156interface FastEthernet0/1
157 switchport trunk native vlan 99
158 switchport mode trunk
159!
160interface FastEthernet0/2
161 shutdown
162!
163interface FastEthernet0/3
164 switchport trunk native vlan 99
165 switchport mode trunk
166!
167interface FastEthernet0/4
168 shutdown
169!
170interface FastEthernet0/5
171 shutdown
172!
173interface FastEthernet0/6
174 shutdown
175!
176interface FastEthernet0/7
177 shutdown
178!
179interface FastEthernet0/8
180 shutdown
181!
182interface FastEthernet0/9
183 shutdown
184!
185interface FastEthernet0/10
186 shutdown
187!
188interface FastEthernet0/11
189 shutdown
190!
191interface FastEthernet0/12
192 shutdown
193!
194interface FastEthernet0/13
195 shutdown
196!
197interface FastEthernet0/14
198 shutdown
199!
200interface FastEthernet0/15
201 shutdown
202!
203interface FastEthernet0/16
204 shutdown
205!
206interface FastEthernet0/17
207 shutdown
208!
209interface FastEthernet0/18
210 shutdown
211!
212interface FastEthernet0/19
213 shutdown
214!
215interface FastEthernet0/20
216 shutdown
217!
218interface FastEthernet0/21
219 shutdown
220!
221interface FastEthernet0/22
222 shutdown
223!
224interface FastEthernet0/23
225 shutdown
226!
227interface FastEthernet0/24
228 shutdown
229!
230interface GigabitEthernet0/1
231 shutdown
232!
233interface GigabitEthernet0/2
234 shutdown
235!
236interface Vlan1
237 no ip address
238 shutdown
239!
240interface Vlan99
241 mac-address 000d.bdd4.0d01
242 ip address 192.168.1.12 255.255.255.0
243!
244!
245!
246!
247line con 0
248 password cisco
249 logging synchronous
250 login
251!
252line vty 0 4
253 password cisco
254 login
255line vty 5 15
256 password cisco
257 login
258!
259!
260!
261!
262end