I have tried stright and crossover cable. Nothing works. If I connect a PC to the switch, the LED is on. I can ping the switch. I can access the console, and I can see "switch>" However, if I connect it to a D-Link switch, there is no connection. I am 100% sure the dlink switch works. I recently had to recover the software.
------------------ show version ------------------
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA5, RELEASE SOFTWARE (fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.
Compiled Wed 13-Jul-05 22:09 by antonino
Image text-base: 0x80010000, data-base: 0x80566000
ROM: Bootstrap program is C2950 boot loader
Switch uptime is 6 minutes
System returned to ROM by power-on
System image file is "flash:/c2950-i6q4l2-mz.121-22.EA5.bin"
cisco WS-C2950-24 (RC32300) processor (revision B0) with 21025K bytes of memory.
Processor board ID FAB0532Q34C
Last reset from system-reset
Running Standard Image
24 FastEthernet/IEEE 802.3 interface(s)
32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:06:52:B8:11:00
Motherboard assembly number: 73-5781-08
Motherboard serial number: FAB0525B0ML
Model revision number: B0
Model number: WS-C2950-24
System serial number: FAB0532Q34C
Configuration register is 0xF
------------------ show running-config ------------------
Building configuration...
Current configuration : 8346 bytes
!
version 12.1
no service pad
service timestamps debug uptime
service timestamps log datetime
no service password-encryption
service sequence-numbers
!
hostname Switch
!
enable secret 5
enable password
!
username Admin privilege 15 secret 5
errdisable recovery cause link-flap
errdisable recovery interval 60
ip subnet-zero
!
udld aggressive
!
!
spanning-tree mode rapid-pvst
spanning-tree loopguard default
no spanning-tree optimize bpdu transmission
spanning-tree extend system-id
!
!
macro global description cisco-global
!
!
interface FastEthernet0/1
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
mls qos cos override
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
:

Same Config for all the ports)
:
interface FastEthernet0/24
switchport mode trunk
switchport nonegotiate
mls qos trust cos
macro description cisco-switch
spanning-tree link-type point-to-point
!
interface Vlan1
ip address 192.168.1.200 255.255.255.0
no ip route-cache
!
ip http server
!
line con 0
password
login
line vty 0 4
password
login
line vty 5 15
password
login
!
!
end