cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
442
Views
0
Helpful
1
Replies

Cisco WS-C2960X-24PSQ-L strange port behavior

Hi,

 

I've got a tricky issue with Cisco WS-C2960X-24PSQ-L. It comes brand new; only upgraded software to 15.2(7)E2 and configured a few things (ssh, passwords...) (full config at the end)

 

When I plug anything on uplink (ports 25 or 26), or on PoE ports (ports 1-12), everything is fine. But when I plug the same hardware on non-PoE, non-uplink, then nothing happens. The port stays down (ports 13-24).

 

If then I go to the CLI and "cycle" the port, it works again. Moreover, I see this behavior on 2 different switches of the same model (I sent the first one I had back to seller because I thought it was a faulty hardware...) And even better: This is persistent for that uptime (if I unplug the PC and plug it back, it works fine), but not accross reload: it I save the config and reload, port is permanently down.

 

Transcript of a test session (notice I do not touch the cables, only use the config...), beginning with a PC plugged on port 13, not working:

cisco#show int gi0/13
GigabitEthernet0/13 is down, line protocol is down (notconnect) 
  Hardware is Gigabit Ethernet, address is 00a2.89f2.920d (bia 00a2.89f2.920d)
  MTU 1500 bytes, BW 10000 Kbit/sec, DLY 1000 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Auto-duplex, Auto-speed, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output never, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 0 bits/sec, 0 packets/sec
  5 minute output rate 0 bits/sec, 0 packets/sec
     0 packets input, 0 bytes, 0 no buffer
     Received 0 broadcasts (0 multicasts)
     0 runts, 0 giants, 0 throttles 
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 0 multicast, 0 pause input
     0 input packets with dribble condition detected
     0 packets output, 0 bytes, 0 underruns
     0 output errors, 0 collisions, 1 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

cisco#show run int gi0/13

Building configuration...
Current configuration : 37 bytes
!
interface GigabitEthernet0/13
end

cisco#configure terminal                    
Enter configuration commands, one per line.  End with CNTL/Z.
cisco(config)#interface gi0/13
cisco(config-if)#shutdown
Jul 27 21:31:55.724: %LINK-5-CHANGED: Interface GigabitEthernet0/13, changed state to administrati 
cisco(config-if)#no shutdown
cisco(config-if)#
Jul 27 21:32:12.816: %LINK-3-UPDOWN: Interface GigabitEthernet0/13, changed state to down
cisco(config-if)#
Jul 27 21:32:16.245: %LINK-3-UPDOWN: Interface GigabitEthernet0/13, changed state to up
Jul 27 21:32:17.248: %LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/13, changed state to up

cisco(config-if)#end             


cisco#show int gi0/13    

Jul 27 21:32:26.601: %SYS-5-CONFIG_I: Configured from console by admin on vty0 (192.168.1.194)
GigabitEthernet0/13 is up, line protocol is up (connected) 
  Hardware is Gigabit Ethernet, address is 00a2.89f2.920d (bia 00a2.89f2.920d)
  MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, 
     reliability 255/255, txload 1/255, rxload 1/255
  Encapsulation ARPA, loopback not set
  Keepalive set (10 sec)
  Full-duplex, 1000Mb/s, media type is 10/100/1000BaseTX
  input flow-control is off, output flow-control is unsupported 
  ARP type: ARPA, ARP Timeout 04:00:00
  Last input never, output 00:00:00, output hang never
  Last clearing of "show interface" counters never
  Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0
  Queueing strategy: fifo
  Output queue: 0/40 (size/max)
  5 minute input rate 5000 bits/sec, 2 packets/sec
  5 minute output rate 7000 bits/sec, 3 packets/sec
     309 packets input, 67353 bytes, 0 no buffer
     Received 56 broadcasts (41 multicasts)
     0 runts, 0 giants, 0 throttles 
     0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored
     0 watchdog, 41 multicast, 0 pause input
     0 input packets with dribble condition detected
     337 packets output, 181851 bytes, 0 underruns
     0 output errors, 0 collisions, 2 interface resets
     0 unknown protocol drops
     0 babbles, 0 late collision, 0 deferred
     0 lost carrier, 0 no carrier, 0 pause output
     0 output buffer failures, 0 output buffers swapped out

cisco#

And then, as if by magic, port is up.

 

The full config (you'll see i've tried various configs on other failed ports, without result):

!
! Last configuration change at 23:32:26 EST Mon Jul 27 2020 by admin
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
no service dhcp
!
hostname cisco
!
boot-start-marker
boot-end-marker
!
enable secret 5 <redacted>
!
username admin secret 9 <redacted>
aaa new-model
!
!
aaa authentication login default local
!
!
!
!
!
!
aaa session-id common
clock timezone EST 1 0
clock summer-time EST recurring
!
!
!
!
no ip dhcp relay information check
!
!
ip domain-name <redacted>
!
!
!
!
!
!
!
crypto pki trustpoint TP-self-signed-2314378624
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-2314378624
revocation-check none
rsakeypair TP-self-signed-2314378624
!
!
crypto pki certificate chain TP-self-signed-2314378624
!
spanning-tree mode rapid-pvst
spanning-tree portfast edge bpduguard default
spanning-tree extend system-id
!
!
!
!
vlan internal allocation policy ascending
!
!
!
!
!
!
!
!
!
!
!
interface Bluetooth0
no ip address
shutdown
downshift disable
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet0/1
!
interface GigabitEthernet0/2
!
interface GigabitEthernet0/3
!
interface GigabitEthernet0/4
!
interface GigabitEthernet0/5
!
interface GigabitEthernet0/6
!
interface GigabitEthernet0/7
!
interface GigabitEthernet0/8
!
interface GigabitEthernet0/9
!
interface GigabitEthernet0/10
!
interface GigabitEthernet0/11
!
interface GigabitEthernet0/12
!
interface GigabitEthernet0/13
!
interface GigabitEthernet0/14
!
interface GigabitEthernet0/15
switchport mode access
no cdp enable
spanning-tree portfast edge
!
interface GigabitEthernet0/16
!
interface GigabitEthernet0/17
!
interface GigabitEthernet0/18
!
interface GigabitEthernet0/19
!
interface GigabitEthernet0/20
!
interface GigabitEthernet0/21
!
interface GigabitEthernet0/22
!
interface GigabitEthernet0/23
spanning-tree portfast edge
!
interface GigabitEthernet0/24
spanning-tree portfast edge
!
interface GigabitEthernet0/25
!
interface GigabitEthernet0/26
!
interface GigabitEthernet0/27
!
interface GigabitEthernet0/28
!
interface Vlan1
ip address 192.168.1.254 255.255.255.0
!
ip default-gateway 192.168.1.1
!
ip http server
ip http secure-server
ip ssh time-out 60
ip ssh logging events
ip ssh version 2
!
!
!
!
!
!
line con 0
line vty 5 15
!
!
end

 Any idea how I can use that switch? I mean, if the power goes down (it does rarely due to UPS, but sh** happens) I lose all 12 ports until I can manually go to console and restart them one by one... What config do I miss? Or is it a bug in latest IOS?

 

To summarise my investigations:

- Not a port config issue (port 12 and 13 share the same config, not same behavior)

- Not a faulty hardware (or i'm really unlucky): 2 separate switches show the same behavior

- Not a faulty cable (same cable on different port work fine, tested 6 cables)

- Not a client config or hardware issue (tested 4 NICs (TP Link, Intel, Broadcom, Apple) with 4 very different OSs (macOs, Linux, Windows, FreeBSD)

 

What else?

 

Many thanks,

 

Mathieu

1 Reply 1

Hi,

 

Finally found out (after 1 month of searching, I found it 10min after posting my initial message!)

 

That's BUG CSCvt79105: https://bst.cloudapps.cisco.com/bugsearch/bug/CSCvt79105/?rfs=iqvred

 

(but on a C2960X, not a C2960 like mine... I guess this is the same bug in fact)

 

Mathieu

Review Cisco Networking for a $25 gift card