networking-forum.com
Community BlogCommunity Wiki * Register  * Search  * Login
View unanswered postsView active topics

All times are UTC - 6 hours [ DST ]



Post new topic Reply to topic  [ 12 posts ] 
Author Message
 Post subject: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 8:50 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
Hi,

While going through some syslog stuff this morning I've noticed that a couple of switches are complaining about duplex mismatches on trunk interfaces. When I took a closer look, two switches (switches 1 & 3) are reporting that they have a duplex mismatch to a device connected to a downstream switch (switch 2).

Basic topology is switch 2 has a 1G fibre link to both switch 1 & 3.

For example, on switch 1:
Code:
111962: Jun 19 12:43:10: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on GigabitEthernet1/0/5 (not half duplex), with SEP1C17D33702E7 Port 1 (half duplex)

I get the same thing from switch 3, just with a different interface listed.

Duplex settings between the 3 switches are all fine.

Checking on switch 2 shows that the device is connected to g0/20, which is definitely half duplex.

Code:
Port      Name               Status       Vlan       Duplex  Speed Type
Gi0/20                       connected    140        a-half   a-10 10/100/1000BaseTX


I've had a look at other switches that have one of these devices connected (it's a cisco ATA-186 if anyone is interested) and they aren't doing this so I'm presuming this isn't an expected behaviour.

CCO suggests disabling CDP v2 if there is a non cisco device in between the 2 switches reporting issues, but all 3 of these are cisco, anyone have any other suggestions?

Switch 1 - WS-C3750X-24S 12.2(58)SE2
Switch 2 - WS-C3560E-24PD 12.2(52)SE
Switch 3 - WS-C3750G-12S 12.2(55)SE

Cheers

J


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 9:00 am 
Offline
Post Whore
Post Whore
User avatar

Joined: Mon Jan 17, 2005 11:01 pm
Posts: 5148
Location: Canada eh
Certs: 350-001, CCNP, CXFF, ITILv3F
My first question is why are you running gig interfaces at 10/half?!?!

The fact that they auto-negotiated to 10/half is concerning. That would indicate to me that something prevented auto-negotiation from working correctly. If it did work right you'd be at 1000/Full.

The errors you're seeing are due to the information contained in the CDP messages not matching. They may be indicative of an issue, but they may not be. In this case I'd double check the interface configurations on both ends, and maybe check the cable between them. You also say duplex settings are fine... What are the duplex settings? If you have one side set to full, and the other set to auto then the auto side will default to half because auto-negotiation is broken. Set both sides to auto.

_________________
blog.brokennetwork.ca


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 9:34 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
Hi,

Thanks for the reply.

Infinite wrote:
My first question is why are you running gig interfaces at 10/half?!?!

The fact that they auto-negotiated to 10/half is concerning. That would indicate to me that something prevented auto-negotiation from working correctly. If it did work right you'd be at 1000/Full.

I'm informed by my colleagues in the telecoms department that the ATA only runs at 10/half, it does seem a waste but we only have gig switches in that cabinet.

Infinite wrote:
The errors you're seeing are due to the information contained in the CDP messages not matching. They may be indicative of an issue, but they may not be. In this case I'd double check the interface configurations on both ends, and maybe check the cable between them.

I don't think its the cables, these are all fibre links (apart from the one to the ATA). Although I haven't swapped them out since seeing this issue, I know they were swapped out recently as part of a building refurb.

Infinite wrote:
You also say duplex settings are fine... What are the duplex settings? If you have one side set to full, and the other set to auto then the auto side will default to half because auto-negotiation is broken. Set both sides to auto.

I'm presuming that as these are SFP's they default to full duplex, I certainly can't change it to anything else.

Cheers

J


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 10:40 am 
Offline
Senior Member
Senior Member

Joined: Wed Dec 29, 2010 1:01 pm
Posts: 485
Location: New York
Certs: CCNA
Are there phones connected to the switches? What device is SEP1C17D33702E7?

_________________
I don't have a signature.


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 11:13 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
jacksonh wrote:
Are there phones connected to the switches? What device is SEP1C17D33702E7?

Yes, all cisco phones.

SEP1C17D33702E7 is a cisco ATA, full details below.
Code:
sh cdp entry SEP1C17D33702E7
-------------------------
Device ID: SEP1C17D33702E7
Entry address(es):
  IP address: 172.19.136.182
Platform: Cisco ATA 186,  Capabilities: Host
Interface: GigabitEthernet0/20,  Port ID (outgoing port): Port 1
Holdtime : 167 sec

Version :
ATA030204SCCP090202A

advertisement version: 2
Duplex: half
Management address(es):


Cheers

J


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 11:23 am 
Offline
Member
Member
User avatar

Joined: Tue May 26, 2009 1:39 pm
Posts: 183
Location: USA
We have a few Cisco ATA's in our environment and we hard code the switchports to 10\HALF.


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Tue Jun 19, 2012 1:14 pm 
Offline
Member
Member

Joined: Sun Jun 26, 2011 6:22 pm
Posts: 108
Location: Quebec, Canada
Certs: CCNP, CCNA Security, CCNA, JNCIS-ENT
Hardcode your switchport to 10half for the ATA 186, it doesn't negotiate at all. You get the error because your switchport is on auto and the device is hardcoded.

You get the same result since the device actually works in half-duplex, but you normally either hardcode both sides or put them both in autonegotiation.

http://www.cisco.com/en/US/docs/voice_ip_comm/cata/186_188/2_15_ms/english/administration/guide/sccp/sccpach1.html


Note: The Cisco ATA 188 performs auto-negotiation for duplexity and speed and is capable of 10/100 Mbps, full-duplex operation. The Cisco ATA 186 is fixed at 10 Mbps, half-duplex operation.


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Wed Jun 20, 2012 3:28 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
Thanks for the suggestions, I've hardcoded the port, but we are still getting the log entries.

Cheers

J


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Wed Jun 20, 2012 3:40 am 
Offline
Ultimate Member
Ultimate Member
User avatar

Joined: Thu Jan 13, 2011 5:10 pm
Posts: 984
Location: Leeds, UK
Certs: CCIE R&S #38338, CCNP, CCIP
Can you post the log entry, the config from the interface in question and the output of 'show cdp nei detail' for that particular interface.

_________________
---
David
CCIE R&S #38338, CCIP, CCNP

http://networkbroadcast.co.uk - My Blog
http://twitter.com/davidrothera


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Wed Jun 20, 2012 4:23 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
Hi,

Yep, here you are.

Log entry from switch 1:
Code:
113244: Jun 20 09:17:00: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on GigabitEthernet1/0/5 (not half duplex), with SEP1C17D33702E7 Port 1 (half duplex).
113245: Jun 20 09:18:00: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on GigabitEthernet1/0/5 (not half duplex), with SEP1C17D33702E7 Port 1 (half duplex).

I presume you mean the interface with the ATA on switch 2 as opposed to the inter switch links?
Code:
interface GigabitEthernet0/20
 switchport access vlan 140
 switchport mode access
 switchport voice vlan 166
 speed 10
 duplex half
 mls qos trust device cisco-phone
 mls qos trust dscp
 snmp trap mac-notification change added
 snmp trap mac-notification change removed
 spanning-tree portfast
end

CDP neighbour detail:
Code:
-------------------------
Device ID: SEP1C17D33702E7
Entry address(es):
  IP address: 172.19.136.182
Platform: Cisco ATA 186,  Capabilities: Host
Interface: GigabitEthernet0/20,  Port ID (outgoing port): Port 1
Holdtime : 141 sec

Version :
ATA030204SCCP090202A

advertisement version: 2
Duplex: half
Management address(es):


Cheers

J


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Wed Jun 20, 2012 6:43 am 
Offline
Senior Member
Senior Member
User avatar

Joined: Fri Jul 23, 2010 9:43 am
Posts: 328
Location: Central Ohio
Certs: A+, Net+, Sec+, Server+
[quote="Jericho"]Hi,


Code:
113244: Jun 20 09:17:00: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on *GigabitEthernet1/0/5* (not half duplex), with SEP1C17D33702E7 Port 1 (half duplex).
113245: Jun 20 09:18:00: %CDP-4-DUPLEX_MISMATCH: duplex mismatch discovered on *GigabitEthernet1/0/5* (not half duplex), with SEP1C17D33702E7 Port 1 (half duplex).


You have configured gi1/0/20 as 10/half, but the log entry is for gi1/0/5; therefore, CDP is giving the error message for another port. Also noticed that 'cdp neighbor detail' shows the same ID as in the log on a different port. Has the phone been moved?

--Richard

_________________
http://justnetworked.wordpress.com


Top
 Profile  
 
 Post subject: Re: CDP Duplex mismatch
PostPosted: Wed Jun 20, 2012 9:41 am 
Offline
New Member
New Member

Joined: Sat Jul 16, 2011 2:42 pm
Posts: 43
Location: UK
Certs: Ccna
mynd wrote:
You have configured gi1/0/20 as 10/half, but the log entry is for gi1/0/5; therefore, CDP is giving the error message for another port. Also noticed that 'cdp neighbor detail' shows the same ID as in the log on a different port. Has the phone been moved?
--Richard


That's what I'm trying to work out.

The ATA is connected to port g0/20 on switch2.
Switch 2 is connected to g1/0/5 on switch1.
I'm getting duplex mismatches on switch 1 referring to the ATA connected to switch2.

Cheers

J


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: Centurion, Exabot [Bot], javin, Majestic-12 [Bot], Reggle, Steven King, totaluser, TravisT, williamtyrell78 and 32 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group