Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

2950 cisco switch port problem

Status
Not open for further replies.

Delboy16

Technical User
Sep 27, 2002
13
GB

I am having a problem with a 2k w/sbox and the switch. If I use any port on the switch I cannot get any traffic to move, even ping does not work. Now if I connect a hub before the switch all works well on any port. I have a laptop that works fine on any of the ports. I cant find any setting that would affect this situation. As I am a novice with Cisco kit I am unable to resolve the problem.
I use the virtual manager to configure the switch as the CLI I find is difficult to use. I have checked out the ARP table whereby there are only 2 entries recorded but there are 5 devices connnected. I thought the ARP recorded all the mac addresses connected to the switch.I have cleared the Arp Table and started again but this has had no effect. I am at a loss to fix this, can anybody help me....
 
Hey, here's a goofy question but it may help us get to the answer faster, does the link light come on when you plug in, and if so, does it every go to green or stay amber?
 
Hi navage thanks for repyling to my question. Yes the link goes green. I am in the process of tring to establish also if snmp is enabled does this cause the problem to occur.

reagrds
Del....
 
The arp table is dynamic and short lived. I've seen a 48 port switch before with only 5 to 10 arp entries, so that's not always reliable.

Is the switch part of your network or just a stand alone device? Have you tried other 2K devices to make sure it's not just in the 2K's IP settings? Default gateway for the workstations' IP settings are correct? What model switch is it?

Tell you what, if you want to post the config file here (delete the IP address) then we can see if there's settings that would prohibit the connections.

To get the config file from the CLI just telnet into the switch using the same IP address you use for the Virtual Manager. When the Switch> comes up type in "enable" and then enter the password. When you see Switch# type in "show run" the copy all the output over to notepad using the regular cut and paste.

This'll help figure out what's going on. Other than MAC filtering I can't think of what would prohibit one device from connecting, Especially if your port is turning Green.
 
This may sound silly but did you check that the port speed on the switch is not set to 100mbps/full duplex and the NIC at 10mbps/half duplex.This will cause the two devices to show a link light but not pass data.It is important that the NIC matches the speed and duplex of the switch(auto/auto,100/full or 10/half)
 
Hi navage I have posted the config and reload data for your help.

Cagiva#clear mac-address-table
Cagiva#sh arp
Protocol Address Age (min) Hardware Addr Type Interface
Internet ###.###.###.### - 0007.5095.9140 ARPA VLAN1
Internet ###.###.###.### 24 0047.4332.0187 ARPA VLAN1
Internet ###.###.###.### 5 0050.da38.d76c ARPA VLAN1
Cagiva#sh running-config
Building configuration...

Current configuration:
!
! Last configuration change at 12:58:54 GMT Wed Jan 1 2003
! NVRAM config last updated at 12:57:47 GMT Wed Jan 1 2003
!
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname Cagiva
!
enable secret 5 $1$WApa$PKy961LciT1pTcB/KnYvk1
!
!
!
!
!
clock timezone GMT 0
!
ip subnet-zero
--More--
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/11
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/12
4d21h: CDP-PA: version 2 packet sent out on FastEtip domain-name TDP
ip name-server 192.168.###.###
cluster enable Davis 0
!
!
!
interface FastEthernet0/1
!
interface FastEthernet0/2
!
interface FastEthernet0/3
!
interface FastEthernet0/4
!
interface FastEthernet0/5
!
interface FastEthernet0/6
!
interface FastEthernet0/7
!
interface FastEthernet0/8
!
interface FastEthernet0/9
!
interface FastEthernet0/10
!
interface FastEthernet0/11
!
interface FastEthernet0/12
!
interface FastEthernet0/13
!
interface FastEthernet0/14
!
interface FastEthernet0/15
!
interface FastEthernet0/16
!
interface FastEthernet0/17
description Honda
spanning-tree portfast
!
interface FastEthernet0/18
description Yamaha
spanning-tree portfast
!
interface FastEthernet0/19
description Kawasaki
spanning-tree portfast
!
interface FastEthernet0/20
spanning-tree portfast
!
interface FastEthernet0/21
switchport access vlan 100
spanning-tree portfast
!
interface FastEthernet0/22
switchport access vlan 100
spanning-tree portfast
!
interface FastEthernet0/23
switchport access vlan 200
spanning-tree portfast
!
interface FastEthernet0/24
description Ducati
switchport access vlan 200
spanning-tree portfast
!
interface VLAN1
ip address ###.###.###.### 255.255.255.0
no ip directed-broadcast
ip nat outside
arp timeout 2880
!
ip default-gateway ###.###.###.###
ip nat inside source list 199 interface VLAN1 overload
access-list 199 dynamic Cluster-NAT permit ip any any
mac-address-table aging-time 100000
!
line con 0
exec-timeout 0 0
transport input none
stopbits 1
line vty 0 4
login
line vty 5 15
login
!
end

Cagiva#reload

System configuration has been modified. Save? [yes/no]: yes
Building configuration...
[OK]
Proceed with reload? [confirm]y
4d21h: Bootstrap Emulator called with code 45
4d21h: %SYS-5-RELOAD: Reload requested
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/1
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/2
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/3
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/4
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/5
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/6
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/7
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/8
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/9
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/10
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/11
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/12
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/13
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/14
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/15
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/16
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/17
4d21h: CDP-PA: version 2 packet sent out on FastEthernet0/18
4d21h: CDP-PA: versioî

C2950 Boot Loader (CALHOUN-HBOOT-M) Version 12.0(5.3)WC(1), MAINTENANCE INTERIM
SOFTWARE
Compiled Mon 30-Apr-01 07:56 by devgoyal
WS-C2950-24 starting...
Base ethernet MAC Address: 00:07:50:95:91:40
Xmodem file system is available.
Initializing Flash...
flashfs[0]: 165 files, 3 directories
flashfs[0]: 0 orphaned files, 0 orphaned directories
flashfs[0]: Total bytes: 7741440
flashfs[0]: Bytes used: 2966016
flashfs[0]: Bytes available: 4775424
flashfs[0]: flashfs fsck took 6 seconds.
...done initializing flash.
Boot Sector Filesystem (bs:) installed, fsid: 3
Parameter Block Filesystem (pb:) installed, fsid: 4
Loading "flash:c2950-c3h2s-mz.120-5.3.WC.1.bin"...##############################
################################################################################
#################

File "flash:c2950-c3h2s-mz.120-5.3.WC.1.bin" uncompressed and installed, entry p
oint: 0x80010000
executing...

Restricted Rights Legend

Use, duplication, or disclosure by the Government is
subject to restrictions as set forth in subparagraph
(c) of the Commercial Computer Software - Restricted
Rights clause at FAR sec. 52.227-19 and subparagraph
(c) (1) (ii) of the Rights in Technical Data and Computer
Software clause at DFARS sec. 252.227-7013.

cisco Systems, Inc.
170 West Tasman Drive
San Jose, California 95134-1706



Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-C3H2S-M), Version 12.0(5.3)WC(1), MAINTENANCE INT
ERIM SOFTWARE
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Mon 30-Apr-01 07:56 by devgoyal
Image text-base: 0x80010000, data-base: 0x8031A000


Initializing flashfs...
flashfs[1]: 165 files, 3 directories
flashfs[1]: 0 orphaned files, 0 orphaned directories
flashfs[1]: Total bytes: 7741440
flashfs[1]: Bytes used: 2966016
flashfs[1]: Bytes available: 4775424
flashfs[1]: flashfs fsck took 6 seconds.
flashfs[1]: Initialization complete.
Done initializing flashfs.
C2950 POST: System Board Test : Passed
C2950 POST: Ethernet Controller Test : Passed
C2950 POST: MII TEST : Passed

cisco WS-C2950-24 (RC32300) processor (revision B0) with 22260K bytes of memory.

Processor board ID FOC0536Z0L8
Last reset from system-reset

Processor is running Enterprise Edition Software
Cluster command switch capable
Cluster member switch capable
24 FastEthernet/IEEE 802.3 interface(s)

32K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address: 00:07:50:95:91:40
Motherboard assembly number: 73-5781-08
Power supply part number: NONE
Motherboard serial number: FOC053600FU
Power supply serial number: DAB053411MJ
Model revision number: B0
Model number: WS-C2950-24
System serial number: FOC0536Z0L8


Press RETURN to get started!


C2950 INIT: Complete

00:00:17: %SYS-5-CONFIG: Configured from NVRAM by console
00:00:17: %SYS-5-RESTART: System restarted --
Cisco Internetwork Operating System Software
IOS (tm) C2950 Software (C2950-C3H2S-M), Version 12.0(5.3)WC(1), MAINTENANCE INT
ERIM SOFTWARE
Copyright (c) 1986-2001 by cisco Systems, Inc.
Compiled Mon 30-Apr-01 07:56 by devgoyal
 
The command to view the cam table(MAC Address Table)on a Cisco IOS switch is:sh mac-address-table.This should show all the MAC's that the switch has seen within the cam aging time.The default is 300 sec.If you want to check the MAC address of a device in a particular port the command is:sh mac-address-table dyn int faS/P(were S=slot and P=port).
 
from your config I would expect you to have problems with DHCP enabled devices on ports 0/1 to 0/16, whilst the PC is requesting an address the switch port is still blocking and the PC gives up before the port changes to forwarding. if this is your problem set spanning-tree portfast as reqd - but dont set on connections to other network devices.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top