cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
476
Views
0
Helpful
5
Replies

Can access the internet but cannot not ping the switch

Tabish Hussain
Level 1
Level 1

Hi team,

 

I can access the internet but not able to ping one switch. Other switches are pingable in the network.

Below is the configuration of the switch:

Building configuration...

Current configuration : 16299 bytes
!
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname 1000-SWITCH-3
!
boot-start-marker
boot-end-marker
!
enable secret xxx
!
no aaa new-model
clock timezone BST 5 30
switch 1 provision c1000-48t-4g-l
system mtu routing 1500
!
!
!
!
mls qos srr-queue output cos-map queue 1 threshold 1 4
mls qos srr-queue output cos-map queue 2 threshold 1 2 6 7
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 3 threshold 2 0
mls qos srr-queue output cos-map queue 4 threshold 2 1
mls qos srr-queue output dscp-map queue 1 threshold 2 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 2 46 47
mls qos srr-queue output dscp-map queue 2 threshold 1 16 17 18 19 20 21 22 23
mls qos srr-queue output dscp-map queue 2 threshold 1 26 27 28 29 30 31 34 35
mls qos srr-queue output dscp-map queue 2 threshold 1 36 37 38 39
mls qos srr-queue output dscp-map queue 2 threshold 2 24 48 49 50 51 52 53 54
mls qos srr-queue output dscp-map queue 2 threshold 2 55 56 57 58 59 60 61 62
mls qos srr-queue output dscp-map queue 2 threshold 2 63
mls qos srr-queue output dscp-map queue 3 threshold 1 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 10 11 12 13 14 15
mls qos
!
spanning-tree mode rapid-pvst
spanning-tree extend system-id
auto qos srnd4
!
vlan internal allocation policy ascending
!
!
!
!
!
!
interface GigabitEthernet1/0/1
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!
interface GigabitEthernet1/0/2
switchport access vlan 16
switchport mode access
switchport port-security
switchport port-security aging time 2
switchport port-security violation restrict
switchport port-security aging type inactivity
macro description cisco-desktop
spanning-tree portfast
spanning-tree bpduguard enable
!

!
interface Vlan1
ip address 192.168.0.206 255.255.255.0
no ip route-cache
!
ip default-gateway 192.168.0.200
ip http server
!
control-plane
!
!
line con 0
line vty 0 4
password xxx
login
line vty 5 15
login
!
end

 

5 Replies 5

Hello!

Is the default gateway the correct one? Can you ping the GW from the switch?

BR

****Kindly rate all useful posts*****

Yes I can ping default gateway from the switch

Do the other switches have the samo gateway? Do you have an firewall inbetween? Do you have ACL's on the GW?

BR

****Kindly rate all useful posts*****

Yes, other switches has same gateway. Firewall is their but nothing that block it also no acl on DG

It is good to know that the switch can ping the GW. Can the GW ping the switch?

HTH

Rick
Review Cisco Networking for a $25 gift card