Link to home
Start Free TrialLog in
Avatar of IT Guy
IT Guy

asked on

running config - something seems wrong but unsure

Cannot ping or access via ip new cisco switch


show running-config
config-file-header
SG350x
v2.4.0.94 / RTESLA2.4_930_181_045
CLI v1.0
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a31af4e4430033719968c0
!
!
unit-type-control-start
unit-type unit 1 network gi uplink te
unit-type unit 2 network gi uplink te
unit-type unit 3 network gi uplink te
unit-type unit 4 network gi uplink te
unit-type-control-end
!
spanning-tree mode mst
vlan database
vlan 3,5
exit
voice vlan oui-table add 0001e3 Siemens_AG_phone________
voice vlan oui-table add 00036b Cisco_phone_____________
voice vlan oui-table add 00096e Avaya___________________
voice vlan oui-table add 000fe2 H3C_Aolynk______________
voice vlan oui-table add 0060b9 Philips_and_NEC_AG_phone
voice vlan oui-table add 00d01e Pingtel_phone___________
voice vlan oui-table add 00e075 Polycom/Veritel_phone___
voice vlan oui-table add 00e0bb 3Com_phone______________
bonjour interface range vlan 1
hostname SG350x
management access-list admin
permit
exit
ip http authentication aaa login-authentication https local radius
snmp-server server
snmp-server location "Server Room"
no ip domain lookup
ip name-server  192.168.1.10
ip telnet server
!
interface vlan 1
 no ip address dhcp
!
interface vlan 3
 name "Corpyy"
!
interface vlan 5
 name "Guest"
!
interface GigabitEthernet1/0/1
 switchport access vlan 5
!
interface GigabitEthernet1/0/2
 switchport access vlan 5
!
interface GigabitEthernet1/0/3
 switchport access vlan 5
!
interface GigabitEthernet1/0/4
 switchport access vlan 5
!
interface GigabitEthernet1/0/5
 switchport access vlan 5
!
interface GigabitEthernet1/0/6
 switchport access vlan 5
!
interface GigabitEthernet1/0/25
 switchport access vlan 5
!
interface GigabitEthernet1/0/26
 switchport access vlan 5
!
interface GigabitEthernet1/0/27
 switchport access vlan 5
!
interface GigabitEthernet1/0/28
 switchport access vlan 5
!
interface GigabitEthernet1/0/29
 switchport access vlan 5
!
interface GigabitEthernet1/0/30
 switchport access vlan 5
!
interface GigabitEthernet1/0/48
 dot1x reauthentication
 ip address 192.168.1.27 255.255.254.0
 no switchport
!
interface TengigabitEthernet1/0/1
 description UPLINK
 no spanning-tree portfast
 no switchport
 switchport mode trunk
 switchport trunk native vlan none
!
interface TengigabitEthernet1/0/2
 switchport access vlan none
!
interface TengigabitEthernet1/0/3
 switchport access vlan none
!
interface TengigabitEthernet1/0/4
 switchport access vlan none
!
exit
banner login ^C
banner exec ^C
Be mindful of Changes you Make, Always Backup and Get authorization before Making Changes!
^C
ip default-gateway 192.168.1.1
dot1x page customization
data ********
exit
SG350x#
Avatar of Soulja
Soulja
Flag of United States of America image

Can you try adding :

conf t
ip routing
ip route 0.0.0.0 0.0.0.0 192.168.1.1

Open in new window



Gi1/0/48 is a routed port btw. That is your intention correct?
Avatar of IT Guy
IT Guy

ASKER

we initially wanted to enable layer 3 on the switch but never got it working, i think we used port 48 for that, is that a problem? should we disable/change
If that is not what you want to do. Remove the configuration from that port. Add the ip address to the vlan interface that you are trying to access it on. Make sure the gateway is on the same subnet as the  ip for that vlan.

Are you trying to access the switch directly connected to one of it's ports? If so, make sure the port is part of the vlan that you are add the ip address on.
Avatar of IT Guy

ASKER

currently this cisco switch is connected to a dell layer 3 uplink switch - the dell switch is the functioning layer 3 switch on our network at the moment.
Ok, so whichever vlan you ip the new switch on, the port connecting to the Dell will need to be on that same vlan. This could be either and access port, or trunk if you are using more than one vlan on that new switch. I will do a trunk just for future plans.
Avatar of IT Guy

ASKER

i ran this command ip route 0.0.0.0 0.0.0.0 192.168.1.1 but still can't access via web or ping
That command was based on you using the routed port? Is that what you are trying to do? If so, what is the routed port connected to?
Avatar of IT Guy

ASKER

there is nothing connected to port48, my Dell Layer 3 switch is providing internet to the cisco switch on port 47. i have some vlans configured on the cisco switch but nothing else. i also think port 24 is my management port but could not find that in the running config
I don't see port 47 or por 24 in your configs above. The only way an actual port would be your management port on the switch is if it is a routed port. Otherwise, you vlan interface will have to be for management.

So which vlan is your management vlan? Put and ip address on that vlan interface.
What vlan are you using for your managment connection to the Dell switch?

What subnet is that vlan in?


Take the static route out.  The default gateway statement has got you covered there if you are only running layer 2 on the switch.

Assuming that 192.168.1.0/24 is your managment subnet and the associate vlan is vlan 1 drop this configuration in on the cisco switch:

interface vlan 1
ip address 192.168.1.X 255.255.255.0
no shut

vlan 1
no shut

end

wr

Open in new window


If the vlan or subnet above is not correct, then change as necessary.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.