[x]
Posted via EE Mobile

Search, ask, and monitor your questions on the go with EE Mobile. Visit Experts Exchange from your mobile device and never be out of touch again.

Question
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

9.1

vlan flapping between trunk port and etherchannel

Asked by node_runner in Network Switches & Hubs, Network Operations, Network Design & Methodology

Tags: cisco, catalyst, 3560

I have two catalyst 3560 switches. they are connected via a single trunk port using 082.11q on gi0/23 on each switch.

I'm trying to set up an internal switch infrastructure, such that each of my linux servers are connected to both switches, using etherchannel on the switch, and bonding on the linux host.

For the most part I have this working. say I have "server x" with eth1 and eth0, connected to gi0/1 on both switches. I've configured each port on each switch using "channel-group 1 mode on" and made sure port 1 on each switch is on the same vlan and that the resulting po1 is on the right vlan.

Things usually work fine. I can physically disconnect one interface on the server and still have connectivity. However, I am having intermittent connectivity issues on all the servers.

My switch logs show these for all of my poX groups for my servers on an intermittent basis:
Host (mac srubbed) in vlan 1 is flapping between port Gi0/23 and port Po10

Keep in mind that gi0/23 is my trunk port between the two switches. I don't really understand what the problem is because the logical port info for each poX seems to be passing over the trunk interface and things seem to work most of the time. I've looked this up all over the web and I've tried a few different things:

1) I've tried configured gi0/23 on each switch with "spanning-tree bpdufilter enable". Toggling this on and off doesn't seem to help any.

2) I've tried configuring gi0/23 on each switch with "l2protocol-tunnel point-to-point" and this doesn't seem to help either.

Each time, I can re-create the flapping log entry just be sending traffic to any one of those servers and I'll get that error. The odd thing is that most of the time, the traffic still makes it to and from the host. Only about 20% of time do connections actually get dropped.

I'm using the default bonding method (round-robin) on each host, but I've also tried configuring one of the hosts to use active/standby mode for the bonding option and that didn't seem to help either.

Any ideas?

Running config for both switches:

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:
===============BEGIN SW2==========================
Current configuration : 2623 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname sw2
!
enable secret 5 xxxxxxxxxxx
enable password xxxxxxxxxxxxx
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
ip name-server 10.1.5.1
ip name-server 10.1.5.2
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel1
!
interface Port-channel2
!
interface Port-channel3
 switchport access vlan 2
!
interface Port-channel4
 switchport access vlan 2
!
interface Port-channel5
!
interface Port-channel6
!
interface Port-channel7
 switchport access vlan 2
!
interface Port-channel8
!
interface Port-channel9
 switchport access vlan 2
!
interface Port-channel10
!
interface GigabitEthernet0/1
 channel-group 1 mode on
!
interface GigabitEthernet0/2
 channel-group 2 mode on
!
interface GigabitEthernet0/3
 switchport access vlan 2
 channel-group 3 mode on
!
interface GigabitEthernet0/4
 switchport access vlan 2
 channel-group 4 mode on
!
interface GigabitEthernet0/5
 channel-group 5 mode on
!
interface GigabitEthernet0/6
 channel-group 6 mode on
!
interface GigabitEthernet0/7
 switchport access vlan 2
 channel-group 7 mode on
!
interface GigabitEthernet0/8
 channel-group 8 mode on
!
interface GigabitEthernet0/9
 switchport access vlan 2
 channel-group 9 mode on
!
interface GigabitEthernet0/10
 channel-group 10 mode on
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
 switchport trunk encapsulation dot1q
 switchport mode trunk
 l2protocol-tunnel point-to-point pagp
 
 l2protocol-tunnel point-to-point lacp
 l2protocol-tunnel point-to-point udld
 spanning-tree bpdufilter disable
!
interface GigabitEthernet0/24
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
 ip address 10.1.4.2 255.255.0.0
!
interface Vlan2
 ip address 10.1.4.2 255.255.0.0
 shutdown
!
ip default-gateway 10.1.5.1
ip classless
ip http server
!
logging 10.1.3.1
snmp-server community xxxxxxx RO
!
control-plane
!
!
line con 0
 exec-timeout 0 0
line vty 0 4
 password xxxxxxx
 login
line vty 5 15
 password xxxxxxxx
 login
!
end
========================================
 
 
==========BEGIN SW1===================
Current configuration : 2468 bytes
!
version 12.2
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname sw1
!
enable secret 5 xxxxxxxx
enable password xxxxxxxxxx
!
no aaa new-model
system mtu routing 1500
ip subnet-zero
!
!
!
!
no file verify auto
spanning-tree mode pvst
spanning-tree extend system-id
!
vlan internal allocation policy ascending
!
interface Port-channel1
!
interface Port-channel2
!
interface Port-channel3
 switchport access vlan 2
!
interface Port-channel4
 switchport access vlan 2
!
interface Port-channel5
!
interface Port-channel6
!
interface Port-channel7
 switchport access vlan 2
!
interface Port-channel8
!
interface Port-channel9
 switchport access vlan 2
!
interface Port-channel10
!
interface GigabitEthernet0/1
 channel-group 1 mode on
!
interface GigabitEthernet0/2
 channel-group 2 mode on
!
interface GigabitEthernet0/3
 switchport access vlan 2
 channel-group 3 mode on
!
interface GigabitEthernet0/4
 switchport access vlan 2
 channel-group 4 mode on
!
interface GigabitEthernet0/5
 channel-group 5 mode on
!
interface GigabitEthernet0/6
 channel-group 6 mode on
!
interface GigabitEthernet0/7
 switchport access vlan 2
 channel-group 7 mode on
!
interface GigabitEthernet0/8
 channel-group 8 mode on
!
interface GigabitEthernet0/9
 switchport access vlan 2
 channel-group 9 mode on
!
interface GigabitEthernet0/10
 channel-group 10 mode on
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
 switchport trunk encapsulation dot1q
 switchport mode trunk
 l2protocol-tunnel point-to-point pagp
 l2protocol-tunnel point-to-point lacp
 l2protocol-tunnel point-to-point udld
 spanning-tree bpdufilter disable
!
interface GigabitEthernet0/24
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
 ip address 10.1.4.1 255.255.0.0
!
ip classless
ip http server
!
logging 10.1.3.1
snmp-server community xxxxxx RO
!
control-plane
!
!
line con 0
line vty 0 4
 password x
 login
line vty 5 15
 password x
 login
!
end
 
Related Solutions
Keywords: vlan flapping between trunk port and et…
 
Loading Advertisement...
 
[+][-]09/30/08 01:14 PM, ID: 22609026Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/08 01:29 PM, ID: 22609159Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/30/08 01:44 PM, ID: 22609274Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/08 02:00 PM, ID: 22609423Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/30/08 02:21 PM, ID: 22609594Expert Comment

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 30-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]09/30/08 02:35 PM, ID: 22609692Author Comment

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 30-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]09/30/08 03:04 PM, ID: 22609881Accepted Solution

View this solution now by starting your 30-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

About this solution

Zones: Network Switches & Hubs, Network Operations, Network Design & Methodology
Tags: cisco, catalyst, 3560
Sign Up Now!
Solution Provided By: donjohnston
Participating Experts: 2
Solution Grade: A
 
 
Loading Advertisement...
20091111-EE-VQP-89 / EE_QW_2_20070628