01-11-2022 10:46 AM
I have a 2960x-48TL-s switch. I can ping the computers, and computers can access everything on the network but can not ping the switch. Was trying to setup web browser access and update the firmware. Haven't setup a switch for a while.
Show Version
3 Virtual Ethernet interfaces
1 FastEthernet interface
52 Gigabit Ethernet interfaces
The password-recovery mechanism is enabled.
512K bytes of flash-simulated non-volatile configuration memory.
Base ethernet MAC Address : 00:EB:D5:87:9D:00
Motherboard assembly number : 73-15971-02
Power supply part number : 341-0537-02
Motherboard serial number : FOC20212CF1
Power supply serial number : DCB201580C6
Model revision number : K0
Motherboard revision number : C0
Model number : WS-C2960X-48TS-L
Daughterboard assembly number : 73-14200-03
Daughterboard serial number : FOC20202Y3Y
System serial number : FCW2021A1TB
Top Assembly Part Number : 800-41468-01
Top Assembly Revision Number : F0
Version ID : V03
CLEI Code Number : CMMNF00ARB
Daughterboard revision number : A0
Hardware Board Revision Number : 0x12
Switch Ports Model SW Version SW Image
------ ----- ----- ---------- ----------
* 1 52 WS-C2960X-48TS-L 15.2(2)E3 C2960X-UNIVERSALK9-M
Configuration register is 0xF
Show Run:
hostname Brian_Switch
!
boot-start-marker
boot-end-marker
!
enable secret 5 $1$xFkX$NXOOMyypclTareQj8zMdA0
enable password brian
!
username eus privilege 15 password 7 121B0C1006020101
username Skyboxadmin privilege 15 password 7 062C4B366C4A04480B3743595F
username baytnwadmin privilege 15 password 7 06571E206C591A4A0013325A5E577E7E
--More--
Jan 11 18:40:59.322: %AAA-3-BADSERVERTYPEERROR: Cannot process accounting server type tacacs+aaa new-model
!
!
aaa authentication login vtymethod group tacacs+ local
aaa authentication login conmethod group tacacs+ local
aaa authentication enable default group tacacs+ enable
aaa authorization exec default group tacacs+ local
aaa accounting exec default start-stop group tacacs+
aaa accounting commands 15 default start-stop group tacacs+
!
aaa session-id common
switch 1 provision ws-c2960x-48ts-l
!
vtp mode transparent
!
mls qos map policed-dscp 0 10 18 24 46 to 8
mls qos map cos-dscp 0 8 16 24 32 46 48 56
mls qos srr-queue output cos-map queue 1 threshold 3 4 5
mls qos srr-queue output cos-map queue 2 threshold 1 2
mls qos srr-queue output cos-map queue 2 threshold 2 3
mls qos srr-queue output cos-map queue 2 threshold 3 6 7
mls qos srr-queue output cos-map queue 3 threshold 3 0
mls qos srr-queue output cos-map queue 4 threshold 3 1
mls qos srr-queue output dscp-map queue 1 threshold 3 32 33 40 41 42 43 44 45
mls qos srr-queue output dscp-map queue 1 threshold 3 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
mls qos srr-queue output dscp-map queue 2 threshold 3 48 49 50 51 52 53 54 55
mls qos srr-queue output dscp-map queue 2 threshold 3 56 57 58 59 60 61 62 63
mls qos srr-queue output dscp-map queue 3 threshold 3 0 1 2 3 4 5 6 7
mls qos srr-queue output dscp-map queue 4 threshold 1 8 9 11 13 15
mls qos srr-queue output dscp-map queue 4 threshold 2 10 12 14
mls qos queue-set output 1 threshold 1 100 100 50 200
mls qos queue-set output 1 threshold 2 125 125 100 400
mls qos queue-set output 1 threshold 3 100 100 100 400
mls qos queue-set output 1 threshold 4 60 150 50 200
mls qos queue-set output 1 buffers 15 25 40 20
mls qos
!
spanning-tree mode pvst
spanning-tree extend system-id
auto qos srnd4
!
vlan internal allocation policy ascending
!
vlan 10,30,40,118,192
!
class-map match-all AUTOQOS_VOIP_DATA_CLASS
match ip dscp ef
class-map match-all AUTOQOS_DEFAULT_CLASS
match access-group name AUTOQOS-ACL-DEFAULT
class-map match-all AUTOQOS_VOIP_SIGNAL_CLASS
match ip dscp cs3
!
policy-map AUTOQOS-SRND4-CISCOPHONE-POLICY
class AUTOQOS_VOIP_DATA_CLASS
set dscp ef
police 128000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_VOIP_SIGNAL_CLASS
set dscp cs3
police 32000 8000 exceed-action policed-dscp-transmit
class AUTOQOS_DEFAULT_CLASS
set dscp default
police 10000000 8000 exceed-action policed-dscp-transmit
!
interface FastEthernet0
no ip address
!
interface GigabitEthernet1/0/1
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/2
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/3
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/4
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/5
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/6
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/7
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/8
description VOIP
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/9
description Cisco Phone
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/10
switchport access vlan 40
!
interface GigabitEthernet1/0/11
switchport access vlan 192
!
interface GigabitEthernet1/0/12
switchport access vlan 192
!
interface GigabitEthernet1/0/13
switchport access vlan 192
!
interface GigabitEthernet1/0/14
switchport access vlan 192
!
interface GigabitEthernet1/0/15
switchport access vlan 192
!
interface GigabitEthernet1/0/16
switchport access vlan 192
!
interface GigabitEthernet1/0/17
switchport access vlan 192
!
interface GigabitEthernet1/0/18
!
interface GigabitEthernet1/0/19
description Jeff test
switchport access vlan 192
switchport trunk native vlan 1000
switchport mode trunk
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/20
description UBNT
switchport access vlan 40
switchport trunk native vlan 1000
switchport mode trunk
!
interface GigabitEthernet1/0/21
!
interface GigabitEthernet1/0/22
!
interface GigabitEthernet1/0/23
description UBNT
switchport trunk native vlan 1000
switchport mode trunk
!
interface GigabitEthernet1/0/24
description SWSSOH07-2
switchport mode trunk
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/25
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/26
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/27
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/28
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/29
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/30
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/31
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/32
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/33
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/34
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/35
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/36
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/37
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/38
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/39
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/40
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/41
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/42
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/43
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/44
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/45
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/46
switchport access vlan 40
switchport voice vlan 30
srr-queue bandwidth share 1 30 35 5
priority-queue out
mls qos trust device cisco-phone
mls qos trust cos
auto qos voip cisco-phone
spanning-tree portfast
service-policy input AUTOQOS-SRND4-CISCOPHONE-POLICY
!
interface GigabitEthernet1/0/47
description ubnt
switchport trunk native vlan 1000
switchport mode trunk
!
interface GigabitEthernet1/0/48
switchport mode trunk
!
interface GigabitEthernet1/0/49
switchport mode trunk
!
interface GigabitEthernet1/0/50
switchport mode trunk
!
interface GigabitEthernet1/0/51
switchport mode trunk
!
interface GigabitEthernet1/0/52
switchport mode trunk
!
interface Vlan1
no ip address
!
interface Vlan10
ip address 10.7.1.202 255.255.255.0
!
interface Vlan25
no ip address
!
ip default-gateway 10.7.4.1
ip http server
ip http authentication local
ip http secure-server
!
ip access-list extended AUTOQOS-ACL-DEFAULT
permit ip any any
logging facility local5
logging source-interface Vlan1
!
snmp-server engineID local 00000009020000308028C180
snmp-server community private RW
snmp-server community public RO
snmp-server community wanguru RW
snmp-server location 80" Offices
!
line con 0
session-timeout 15
password 7 107D011050031A0A05
login authentication conmethod
stopbits 1
line vty 0 4
session-timeout 15
password 7 095C4F1A0A1218000F
logging synchronous
login authentication vtymethod
length 0
line vty 5 15
password 7 1309181906400D72
login authentication vtymethod
!
ntp server 129.6.15.28
ntp server 10.7.2.100
end
01-11-2022 10:52 AM
01-11-2022 10:53 AM
interface Vlan10 ip address 10.7.1.202 255.255.255.0 ! interface Vlan25 no ip address ! ip default-gateway 10.7.4.1
from what IP address you trying to ping switch ?
is the default gateway correct ? 10.7.4.1 ( check and change to right default gateway to work - example should be 10.7.1.X IP address
01-11-2022 10:54 AM
I am trying to ping from 10.7.4.211 and 10.7.4.209
01-11-2022 10:55 AM
IPv4 Address. . . . . . . . . . . : 10.7.4.211
Subnet Mask . . . . . . . . . . . : 255.255.254.0
Default Gateway . . . . . . . . . : 10.7.4.1
Pinging from
01-11-2022 11:14 AM - edited 01-11-2022 11:16 AM
in that case change the config of switch to work : ( do this config from console)
interface Vlan10 no ip address 10.7.1.202 255.255.255.0 ip address 10.7.4.202 255.255.254.0 !
01-11-2022 02:50 PM
Taking a slightly different approach to discussing the problem. There is a mismatch in the configuration. The switch vlan interface is configured in one vlan
interface Vlan10
ip address 10.7.1.202 255.255.255.0
The hosts that are attempting to ping are in a different subnet
10.7.4.211 and 10.7.4.209
For the switch to reach addresses in a remote subnet it needs its default gateway. But the gateway is not in the same subnet as the vlan interface
ip default-gateway 10.7.4.1
So the switch can not reach its default gateway and therefore can not respond to ping. I agree that the solution is to change the address of the vlan interface and put it into the 10.7.4 subnet.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide