Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1009
  • Last Modified:

Cisco Switch 3750 port problem

I have two ports on Cisco 3750 can't get DHCP IP addresses (only get self assigned IP), other ports with same config can get IP address without problem.

Could you please suggest anything I can do for troubleshooting? Thanks
0
tonitoni99
Asked:
tonitoni99
  • 9
  • 5
  • 3
  • +2
1 Solution
 
lruiz52Commented:
Can you post the switches config?

Also make sure that the switch port is on the correct vlan and that it is not in shutdown.

Config t
              Int ?
                Switchport.  Access vlan ??
               No shutdown
                End

Writ
0
 
tonitoni99Author Commented:
0
 
MiftaulCommented:
Please tell which two ports you are connecting the pc.
0
Veeam and MySQL: How to Perform Backup & Recovery

MySQL and the MariaDB variant are among the most used databases in Linux environments, and many critical applications support their data on them. Watch this recorded webinar to find out how Veeam Backup & Replication allows you to get consistent backups of MySQL databases.

 
lruiz52Commented:
Yes, post which ports!
0
 
Don JohnstonInstructorCommented:
Come on guys... There's only 192 ports. How hard could it be to guess?  ;-)

I'm going to guess that the host is on port g4/0/20. And that the absence of an IP helper command is causing the problem.  And that the DHCP server might not have a scope defined for that network.
0
 
tonitoni99Author Commented:
They are int1/0/35 and int1/0/36. thanks
0
 
Don JohnstonInstructorCommented:
It's not the switch.

Maybe the DHCP pool is out of addresses.
0
 
tonitoni99Author Commented:
I checked there are still have 50% of the DHCP available, and new PC are still can get IPs. How to verify if it's DHCP issue? thanks
0
 
MiftaulCommented:
Setup up a pc with static ip within the dhcp subnet. Connect the pc on one of the two switchport and try pinging your dhcp server.

Do you get a reply, if not it could be a switch issue.
0
 
tonitoni99Author Commented:
I tried the suggestion from Miftaul, setup a PC with static IP, when plugin to these two problem ports, can't ping the dhcp server. If plug in other port, no problem.

Now the problem is with the ports, any idea how to resolve them? thanks
0
 
Don JohnstonInstructorCommented:
Post the output of:
"show int status g1/0/34"
"show int status g1/0/35"
"show int status g1/0/36"
0
 
Hassan BesherCommented:
Try to configure Port Monitoring (SPAN) on port  int1/0/35 and destination port (whatever) is connecting to your wireshark station to see exactly what is going on

My_Switch(config)# monitor session 1 source interface 1/0/35 both
My_Switch(config)# monitor session 1 destination interface ......

A destination port has these characteristics:

•For a local SPAN session, the destination port must reside on the same switch stack as the source port. For an RSPAN session, it is located on the switch containing the RSPAN destination session. There is no destination port on a switch or switch stack running only an RSPAN source session.

•When a port is configured as a SPAN destination port, the configuration overwrites the original port configuration. When the SPAN destination configuration is removed, the port reverts to its previous configuration. If a configuration change is made to the port while it is acting as a SPAN destination port, the change does not take effect until the SPAN destination configuration had been removed.
0
 
tonitoni99Author Commented:
Port      Name               Status       Vlan       Duplex  Speed Type
Gi1/0/35  "User Port"        connected    3          a-full a-1000 10/100/1000BaseTX

Port      Name               Status       Vlan       Duplex  Speed Type
Gi1/0/36  "User Port"        notconnect   3           auto   auto 10/100/1000BaseTX


Port      Name               Status       Vlan       Duplex  Speed Type
Gi1/0/34  "User Port"        notconnect   3            auto   auto 10/100/1000BaseTX


If a PC connects into gi1/0/35, it said connected, however, it only has self assigned IP. I also find port 34 has the same problem.
0
 
Don JohnstonInstructorCommented:
They are int1/0/35 and int1/0/36. thanks

I also find port 34 has the same problem.
So now port g1/0/34 has this problem also???

Is there a VLAN3 port that is working correctly?  If so, which one?
0
 
tonitoni99Author Commented:
yes. gi1/0/34 has problem as well, the rest of ports are fine, for example gi1/0/26.
0
 
Don JohnstonInstructorCommented:
Please post the output of the following commands for a working port and a non-working port (with a device actually connnected).

show interface switchport
show interface
0
 
tonitoni99Author Commented:
problem port gi1/0/34 (non-working port)

sh int gi1/0/34 switchport
Name: Gi1/0/34
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 3 (VLAN0003)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 101 (NEW-TEST-VOIP-VLAN)
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none

a working port

#sh int gi1/0/41 switchport
Name: Gi1/0/41
Switchport: Enabled
Administrative Mode: static access
Operational Mode: static access
Administrative Trunking Encapsulation: negotiate
Operational Trunking Encapsulation: native
Negotiation of Trunking: Off
Access Mode VLAN: 3 (VLAN0003)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Voice VLAN: 101 (NEW-TEST-VOIP-VLAN)
Administrative private-vlan host-association: none
Administrative private-vlan mapping: none
Administrative private-vlan trunk native VLAN: none
Administrative private-vlan trunk Native VLAN tagging: enabled
Administrative private-vlan trunk encapsulation: dot1q
Administrative private-vlan trunk normal VLANs: none
Administrative private-vlan trunk associations: none
Administrative private-vlan trunk mappings: none
Operational private-vlan: none
Trunking VLANs Enabled: ALL
Pruning VLANs Enabled: 2-1001
Capture Mode Disabled
Capture VLANs Allowed: ALL

Protected: false
Unknown unicast blocked: disabled
Unknown multicast blocked: disabled
Appliance trust: none
0
 
tonitoni99Author Commented:
any more suggestion? thanks
0
 
Hassan BesherCommented:
is DHCP Server connected to the same switch?

if not is there any security features applied like dhcp-snooping,... ?
0
 
tonitoni99Author Commented:
there is no dhcp-snooping features. any other idea? thanks
0
 
Hassan BesherCommented:
install wireshark at PC and configure it as dhcp client and see what is going on.

Connect dhcp server to the same switch, and test !
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 9
  • 5
  • 3
  • +2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now