cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
4052
Views
10
Helpful
9
Replies

Cant Ping My Switch

WildMan365
Level 1
Level 1

I am connecting a 3750 switch directly to another switch. The switch I am connecting to has vlan 1058 untagged on all ports and I can access the internet and ping the default gateway from it. It has no connection issues.

 

I have configured vlan 1058 on the 3750, disabled spanning tree on all interfaces/vlans, shut down vlan 1, no shut down vlan 1058/ interface & configured an unused IP and the correct default gateway on vlan 1058. I

 

I can ping it from my PC but the port goes down and interface vlan 1058 both go down after about 10 pings.

 

The syslogs were giving me errors and I adjusted configurations which allowed me to ping. I also enabled IP Routing but that didn't work. I even cleared the arp cache on the Core switch/router. I'm not sure what I'm doing wrong.  I'm just trying to get this switch online.

1 Accepted Solution

Accepted Solutions

Hello

vlan 1050 is an extended vlan and you've disabled spanning tree which is a requirement for extended vlans when enabled.

 

res
Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

View solution in original post

9 Replies 9

Hello

I am trying to understand what you have done again regards connecting the two switch together

 

The first switch is connected to i guess the router and all ports are a created vlan 1050, when you say untagged did you specify this vlan as native?

 

Not sure either what you mean by shuting all vlan/ports down ?

 

Can you post the config please ?

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Here's my config. I disabled ip routing cause I'm am only trying to give a management IP to the device. I also disabled spanning tree on the upstream switch and can access devices fine from vlan 1058 with my PC. Again I can ping the switch & my pc which is on the same subnet/vlan only when I unplug the switch and reconnect it. And at that I get about 10 replys then it drops. The syslog shows interface vlan 1058 and Gi1/0/1 up/up then I can ping, then 10 seconds later the syslog shows them both go down and immeadielty back up. When they go back up I stop being able to ping the switch. When I first started configuring the syslog gave me VTP error for creating vlan 1058 which I fixed and spanning tree bpdu errors too which I also corrected. After those 2 corrections I was then able to ping but these are the results I'm experiencing now. This is a brand new switch by the way.

 

 

 

Switch#sh run
Building configuration...

Current configuration : 4416 bytes
!
version 12.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname Switch
!
boot-start-marker
boot-end-marker
!
!
!
!
no aaa new-model
switch 1 provision ws-c3750x-48
system mtu routing 1500
!
!
vtp mode transparent
!
!
crypto pki trustpoint TP-self-signed-1947457536
 enrollment selfsigned
 subject-name cn=IOS-Self-Signed-Certificate-1947457536
 revocation-check none
 rsakeypair TP-self-signed-1947457536
!
!
crypto pki certificate chain TP-self-signed-1947457536
 certificate self-signed 01
  3082023F 308201A8 A0030201 02020101 300D0609 2A864886 F70D0101 04050030
  31312F30 2D060355 04031326 494F532D 53656C66 2D536967 6E65642D 43657274
  69666963 6174652D 31393437 34353735 3336301E 170D3933 30333031 30303031
  33345A17 0D323030 31303130 30303030 305A3031 312F302D 06035504 03132649
  4F532D53 656C662D 5369676E 65642D43 65727469 66696361 74652D31 39343734
  35373533 3630819F 300D0609 2A864886 F70D0101 01050003 818D0030 81890281
  8100EDD2 157040C8 48803735 703D927F 3C720144 F6B1F0D0 BE615E21 28530DF3
  8DE5632F 033C519B CDAD018F E1381750 FD517C66 0001DF94 AEC67D4F D485D7E4
  1A152131 93BE5501 D675BDB5 FAAB4CF0 5A7D09E4 6A0E17EB B464E9E6 27BF9794
  2A7D47F0 FC2BD158 748237FC EF3F87E4 50389BF4 F5164B3B A024EED1 6AA9F5C2
  BAEB0203 010001A3 67306530 0F060355 1D130101 FF040530 030101FF 30120603
  551D1104 0B300982 07537769 7463682E 301F0603 551D2304 18301680 14F9C064
  58B978E4 60EBD61E 36F04A51 A8271265 63301D06 03551D0E 04160414 F9C06458
  B978E460 EBD61E36 F04A51A8 27126563 300D0609 2A864886 F70D0101 04050003
  8181001A 07BE8845 A5506D48 EEF48BF1 F4AF6EA9 2753C74E 3F0E893B E1896511
  56AB1C0B 931DDBDE 8392C2BF 03C48DE6 7205FF16 FD86F917 89AF1A4E D8457591
  E10BDEA2 9B82B9A3 2D5318BB 37DE5F43 E1419F86 B33FFF1D 670C5AB9 95C450F0
  CFAC75D1 E02C9D2F 0060A605 BCCBF336 61A14E2F 37A73BA0 8F3CE29A DF6AE0CB 08DFF9
  quit
license boot level ipservices
!
spanning-tree mode pvst
spanning-tree extend system-id
no spanning-tree vlan 1,1058
!
!
!
!
vlan internal allocation policy ascending
!
vlan 1058
!
!
!
interface FastEthernet0
 no ip address
 no ip route-cache
 no ip mroute-cache
!
interface GigabitEthernet1/0/1
 switchport access vlan 1058
!
interface GigabitEthernet1/0/2
!
interface GigabitEthernet1/0/3
!
interface GigabitEthernet1/0/4
!
interface GigabitEthernet1/0/5
!
interface GigabitEthernet1/0/6
!
interface GigabitEthernet1/0/7
!
interface GigabitEthernet1/0/8
!
interface GigabitEthernet1/0/9
!
interface GigabitEthernet1/0/10
!
interface GigabitEthernet1/0/11
!
interface GigabitEthernet1/0/12
!
interface GigabitEthernet1/0/13
!
interface GigabitEthernet1/0/14
!
interface GigabitEthernet1/0/15
!
interface GigabitEthernet1/0/16
!
interface GigabitEthernet1/0/17
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
!
interface GigabitEthernet1/0/20
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
!
interface GigabitEthernet1/0/24
!
interface GigabitEthernet1/0/25
!
interface GigabitEthernet1/0/26
!
interface GigabitEthernet1/0/27
!
interface GigabitEthernet1/0/28
!
interface GigabitEthernet1/0/29
!
interface GigabitEthernet1/0/30
!
interface GigabitEthernet1/0/31
!
interface GigabitEthernet1/0/32
!
interface GigabitEthernet1/0/33
!
interface GigabitEthernet1/0/34
!
interface GigabitEthernet1/0/35
!
interface GigabitEthernet1/0/36
!
interface GigabitEthernet1/0/37
!
interface GigabitEthernet1/0/38
!
interface GigabitEthernet1/0/39
!
interface GigabitEthernet1/0/40
!
interface GigabitEthernet1/0/41
!
interface GigabitEthernet1/0/42
!
interface GigabitEthernet1/0/43
!
interface GigabitEthernet1/0/44
!
interface GigabitEthernet1/0/45
!
interface GigabitEthernet1/0/46
!
interface GigabitEthernet1/0/47
!
interface GigabitEthernet1/0/48
!
interface GigabitEthernet1/1/1
!
interface GigabitEthernet1/1/2
!
interface GigabitEthernet1/1/3
!
interface GigabitEthernet1/1/4
!
interface TenGigabitEthernet1/1/1
!
interface TenGigabitEthernet1/1/2
!
interface Vlan1
 no ip address
 no ip route-cache
 no ip mroute-cache
 shutdown
!
interface Vlan1058
 ip address 10.222.58.5 255.255.255.0
 no ip route-cache
 no ip mroute-cache
!
ip default-gateway 10.222.58.1
ip classless
ip http server
ip http secure-server
!
ip sla enable reaction-alerts
!
!
line con 0
line vty 0 4
 login
line vty 5 15
 login
!
end

 

 

 

 

Hi

 

Verify the cabling or Network card on the computer. 

 

Also try

interface Vlan 1058
 ip address 10.222.58.5 255.255.255.0

shutdown

no shutdown 

 

Based on your comments it is a unusual situation, try to upgrade and if the problem persists a ticket with the TAC could be opened to discard any hardware/software problem. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

Hello

vlan 1050 is an extended vlan and you've disabled spanning tree which is a requirement for extended vlans when enabled.

 

res
Paul

 


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Good point Paul, STP is disabled for Vlan 1 and 1058.

Spanning-tree should never be disabled. 




>> Marcar como útil o contestado, si la respuesta resolvió la duda, esto ayuda a futuras consultas de otros miembros de la comunidad. <<

How do I enable it? Its not letting me (Switch(config)#no no spanning-tree vlan 1,1058) & also I could not ping it until I disabled it.

 

Hello

spanning -tree vlan 1-4094
spanning-tree extended system-ID

Also it could be possible that your using a vlan number that is internally assigned by the switch in that case you need to pick one that isn't being used

show vlan internal usage

res
Paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul

Thanks Paul! I disabled STP cause I got the following Log ....

*Mar  1 01:01:00.796: %SPANTREE-7-RECV_1Q_NON_TRUNK: Received 802.1Q BPDU on non trunk GigabitEthernet1/0/3 VLAN1058.
*Mar  1 01:01:00.796: %SPANTREE-7-BLOCK_PORT_TYPE: Blocking GigabitEthernet1/0/3 on VLAN1058. Inconsistent port type.

 

Adding STP did not work originally maybe cause the new 3750 is connected to another managed switch/port with vlan 1058 (untagged) & 2058(tagged) which may have inspired the syslogs above. I added the following to the interface/uplink & have been pinging for over 5 minutes now.

 

interface GigabitEthernet1/0/3
 switchport access vlan 1058
 switchport trunk encapsulation dot1q
 switchport trunk native vlan 1058

Hello

That error occurs when two connected ports are configured differently (inconsistent) ( 1 access and 1 trunk)

glad to hear its working now

res
paul


Please rate and mark as an accepted solution if you have found any of the information provided useful.
This then could assist others on these forums to find a valuable answer and broadens the community’s global network.

Kind Regards
Paul
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Review Cisco Networking products for a $25 gift card