-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSwitchs.txt
195 lines (127 loc) · 3 KB
/
Switchs.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
****************
* ALL Switch *
****************
------- Switch 7 --------
# Criar Vlans e dar-lhes um nome
vlan 10
name vendas
exit
vlan 20
name marketing
exit
vlan 30
name rh
exit
# Prioridades com spanning-tree
spanning-tree vlan 10 priority 24576
spanning-tree vlan 20 priority 28672
# Interface Port-channel para a comunicação entre dois switches
interface Port-channel1
switchport mode trunk
# Interfaces
interface FastEthernet0/3
switchport mode trunk
interface FastEthernet0/4
switchport mode trunk
interface FastEthernet0/11
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
interface FastEthernet0/12
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
interface FastEthernet0/15
switchport mode trunk
------- Switch 9 --------
# Criar Vlans e dar-lhes um nome
vlan 10
name vendas
exit
vlan 20
name marketing
exit
vlan 30
name rh
exit
# Prioridades com Spanning-Tree
spanning-tree vlan 20 priority 28672
spanning-tree vlan 30 priority 24576
# Interface Port-channel para a comunicação entre dois switches
interface Port-channel1
switchport mode trunk
# Interfaces
interface FastEthernet0/11
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
interface FastEthernet0/12
switchport mode trunk
channel-protocol lacp
channel-group 1 mode active
interface FastEthernet0/13
switchport mode trunk
------- Switch 11 --------
# Criar Vlans e dar-lhes um nome
vlan 10
name vendas
exit
vlan 20
name marketing
exit
vlan 30
name rh
exit
# Prioridades com Spanning-Tree
spanning-tree vlan 30 priority 28672
# Interface Port-channel para a comunicação entre dois switches
interface Port-channel2
switchport mode trunk
# Interfaces
interface FastEthernet0/4
switchport access vlan 30
switchport mode access
# Interface para Telefone com VLAN
interface FastEthernet0/5
switchport mode access
switchport voice vlan 20
mls qos trust cos
spanning-tree portfast
interface FastEthernet0/11
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
interface FastEthernet0/12
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
interface FastEthernet0/13
switchport mode trunk
------- Switch 14 --------
# Criar Vlans e dar-lhes um nome
vlan 10
name vendas
exit
vlan 20
name marketing
exit
vlan 30
name rh
exit
# Interface Port-Channel para a comunicação entre dois switches
interface Port-channel2
switchport mode trunk
# Interfaces
interface FastEthernet0/4
switchport access vlan 10
switchport mode access
interface FastEthernet0/11
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
interface FastEthernet0/12
switchport mode trunk
channel-protocol lacp
channel-group 2 mode active
interface FastEthernet0/15
switchport mode trunk