cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
697
Views
0
Helpful
8
Replies

Cant Ping My Switch

Play Time
Level 1
Level 1

Hey, 

i have a problem with my Cisco device (Catalyst 3560G 48Port PoE).

I cant ping the switch or ping a Client(Pc). I added the Config and removed all private informations.

 

test-sw-1#sh ru

Building configuration...

 

Current configuration : 4192 bytes

!

version 12.2

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

no service password-encryption

!

hostname test-sw-1

!

boot-start-marker
boot-end-marker

!

enable password ****

!

username Telnet-User password 0 *****

!

!

no aaa new-model
system mtu routing 1500

!

!

!
crypto pki trustpoint TP-self-signed-4225796480

enrollment selfsigned

subject-name cn=IOS-Self-Signed-Certificate-4225796480

revocation-check none

rsakeypair TP-self-signed-4225796480

!

!

crypto pki certificate chain TP-self-signed-4225796480

certificate self-signed 01

.........................................................
quit

!

!

!

spanning-tree mode pvst

spanning-tree extend system-id

!

vlan internal allocation policy ascending

!

!

!

!

interface GigabitEthernet0/1

switchport mode access

!

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

!

interface GigabitEthernet0/16

!

interface GigabitEthernet0/17

switchport access vlan 10

switchport mode access

!

interface GigabitEthernet0/18

!

interface GigabitEthernet0/19

switchport access vlan 10

switchport mode access

!

interface GigabitEthernet0/20

!

interface GigabitEthernet0/21

!

interface GigabitEthernet0/22

!

interface GigabitEthernet0/23

!

interface GigabitEthernet0/24

!

interface GigabitEthernet0/25

!

interface GigabitEthernet0/26

!

interface GigabitEthernet0/27

!

interface GigabitEthernet0/28

!

interface GigabitEthernet0/29

!

interface GigabitEthernet0/30

!

interface GigabitEthernet0/31

!

interface GigabitEthernet0/32

!

interface GigabitEthernet0/33

!

interface GigabitEthernet0/34

!

interface GigabitEthernet0/35

!

interface GigabitEthernet0/36

!

interface GigabitEthernet0/37

!

interface GigabitEthernet0/38

!

interface GigabitEthernet0/39

!

interface GigabitEthernet0/40

!

interface GigabitEthernet0/41

!

interface GigabitEthernet0/42

!

interface GigabitEthernet0/43

!

interface GigabitEthernet0/44

!

interface GigabitEthernet0/45

!

interface GigabitEthernet0/46

!

interface GigabitEthernet0/47

!

interface GigabitEthernet0/48

switchport access vlan 101

switchport mode access

!

interface GigabitEthernet0/49

!

interface GigabitEthernet0/50

!

interface GigabitEthernet0/51

!

interface GigabitEthernet0/52

!

interface Vlan1

no ip address

shutdown

!

interface Vlan10

ip address 10.0.0.10 255.255.255.0

!

interface Vlan101

ip address 101.0.0.10 255.255.255.0

!

ip classless

ip http server

ip http secure-server

!

!

!

!

!

line con 0

password *****

login

line vty 0 4

login

line vty 5 15

login

!

end

 

Greetings

 

 

 

 

8 Replies 8

luis_cordova
VIP Alumni
VIP Alumni

Hi @Play Time ,

 

Queries:

Can you ping other devices?

Do you have normal connectivity?

Have you tried disabling the firewall of the 

PCs?

 

Regards

Hey Luis ,
I cant ping other devices from the switch.
But i can ping other clients from my Pc.
No this is just a test field so ther is no other device i this network.

Btw:
I have test it out an i can Ping other Clients via direct connection (cross cable) and through the switch too so ther is no issue with the Pc

Hi @Play Time ,

 

If you want to be able to connect two different vlan, you must have an L3 device. If it is a router, you should use router-on-a-stick and assign it a gateway for the administration vlan.

If your switch has an L3 feature, you must enable that with the ip routing command.

 

Regards

Hello

You don’t provide enough information

Where are you trying to ping this switch from?

To/ From what subnet

Is this switch connected to a another switch/router from where your trying to connect?

If there is another switch and your trying to connect from a different vlan I don’t see any trunk in your configuration

Can you please elaborate on your current setup


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

Hello Paul,
im trying to ping the switch from my Pc but if i try to ping my pc from the swicht it doesnt work either.
No the system im running is just a test field so ther just the connection to my Pc.
In my config you see 2 vlan the vlan101 which is the managemant vlan and ther is the vlan 10 which is the Test vlan, caus im not using other Cisco devices i dont need trunk or uplink. I dont need to communicat between this tow Vlan caus they have both other applications.

Hello

Do you have the correct addressing applied to the pc and just for testing turn off any software firewall on the pc
Apply the following to the switch and test again.

 

Conf t

vlan 100-101

exit

 

interface GigabitEthernet0/17
spanning-tree portfast

 

interface GigabitEthernet0/48
spanning-tree portfast


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

balaji.bandi
Hall of Fame
Hall of Fame

Your config high level is here, you have only few ports allocated to VLAN, Rest of the port get in to Default VLAN1

 

So you Plugged your Pc in to  in Gi 0/17 or 0/19  - YOUR PC need to be  ip address 10.0.0.11 255.255.255.0 with the gateway  IP  10.0.0.10

 

 

So you Plugged your Pc in to  in Gi 0/48   - YOUR PC need to be  ip address 101.0.0.11 255.255.255.0 with the gateway  IP  101.0.0.10

 

You should be able to ping respect Gateways, from switch to PC you not able to Ping as suggested other post disable PC FW and try.

 

interface GigabitEthernet0/17
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/19
switchport access vlan 10
switchport mode access
!
interface GigabitEthernet0/48
switchport access vlan 101
switchport mode access
!
!
interface Vlan10
ip address 10.0.0.10 255.255.255.0
!
interface Vlan101
ip address 101.0.0.10 255.255.255.0

!

 

If this is still not working, as suggested you need to provide more information, what is the IP of the PC  ?

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Mohamed Alhenawy
Spotlight
Spotlight

Hello dear, 

 

Can you share with us the output for # show Ip cef 

 

- What is the default gateway which you have it on the switch ?  

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