09-21-2015 06:27 PM
Hi,
I am working with a cisco switch SG500X-48P POE, It needs to be use as inter-vlan. but every time that I create a vlan and try to assign an ip address to it. The http and telnet conctivity is lost. I have wait for a long time but the access to it never comes back.
Only way I can get access again is doing factory reset.
attached device snapshot
User Name:
User Name:cisco
Password:*****
switch91c715#sh ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static,
R - RIP
C 192.168.1.0/24 is directly connected, vlan 1
switch91c715#conf t
switch91c715(config)#ip routing
switch91c715(config)#
switch91c715#sh int
% Incomplete command
switch91c715#sh interfaces
access-lists Display access lists applied on interfaces
advertise Show the auto negotiation advertisement information.
configuration Interface configuration
counters Interface counters
description Interface description
Port-Channel Port-channel member ports information
protected-ports protected ports information
status Interface status
switchport switchport
switch91c715#sh ip interface
GigabitEthernet Giga ethernet interface to configure
GE Giga ethernet interface to configure
TengigabitEthernet 10 Giga ethernet interface to configure
XG 10 Giga ethernet interface to configure
Port-Channel Ethernet Channel of interfaces
Loopback Loopback interface
Tunnel Tunnel interface
vlan IEEE 802.1Q Vlans
<CR>
switch91c715#sh ip interface vlan
% Unrecognized command
switch91c715#sh ip interface vlan
<1-4094> Vlan interface number
switch91c715#sh ip interface vlan 1
IP Address I/F I/F Status Type Directed Precedence Status
admin/oper Broadcast
------------------- ---------- ------------- ----------- ---------- ---------- -----------
0.0.0.0/32 vlan 1 UP/UP DHCP disable No Not
received
192.168.1.254/24 vlan 1 UP/UP Default disable No Valid
switch91c715#sh ip route
Maximum Parallel Paths: 1 (1 after reset)
IP Forwarding: enabled
Codes: > - best, C - connected, S - static,
R - RIP
C 192.168.1.0/24 is directly connected, vlan 1
switch91c715#conf t
switch91c715(config)#ip routing
switch91c715(config)#exit
switch91c715#show system
fans Show fans information
id Display system identity information
languages show supported languages
mode show System features
router show System level resource configuration for router
sensors Show sensors information
tcam tcam
unit Unit number (relevant for stackable systems only)
<CR>
switch91c715#show system mode
Feature State
------------------- ---------
Queues Configuration: 4 queues
switch91c715#show system router
resources show System level resource configuration
switch91c715#show system router
% Incomplete command
switch91c715#show system router resources
In-Use Reserved (Current)
------ ------------------
IPv4 Entries 8 4096
Number of Routes 0
Number of Neighbors 1
Number of Interfaces 3
IPv6 Entries 0 4096
Number of Routes 0
Number of Neighbors 0
Number of Interfaces 0
Number of On-Link Prefixes 0
switch91c715#show system
fans Show fans information
id Display system identity information
languages show supported languages
mode show System features
router show System level resource configuration for router
sensors Show sensors information
tcam tcam
unit Unit number (relevant for stackable systems only)
<CR>
switch91c715#sh run
config-file-header
switch91c715
v1.3.7.18 / R750_NIK_1_35_647_358
CLI v1.0
set system queues-mode 4
file SSD indicator encrypted
@
ssd-control-start
ssd config
ssd file passphrase control unrestricted
no ssd file integrity control
ssd-control-end cb0a3fdb1f3a1af4e4430033719968c0
!
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 switch91c715
management access-list All
permit
exit
no passwords complexity enable
username cisco password encrypted 7af78c911d5b48bea1dc2449d9d89513abeb4be5 privilege 15
ip telnet server
!
switch91c715#
!
switch91c6e0#wr
Overwrite file [startup-config].... (Y/N)[N] ?Y
13-Jan-2014 08:56:55 %COPY-I-FILECPY: Files Copy - source URL running-config destination URL flash://startup-config
Copy succeeded
switch91c6e0#conf t
switch91c6e0(config)#vlan 100
switch91c6e0(config)#int vlan 100
switch91c6e0(config-if)#exit
switch91c6e0(config)#int vlan 99
switch91c6e0(config-if)#ip address 192.168.10.2 255.255.255.252
The semaphore timeout period has expired.
Thanks for your help,
William
Solved! Go to Solution.
09-22-2015 02:17 PM
Hello William,
Sorry the switch is not performing as expected. What I think is happening is this. With the device in factory default mode, VLAN 1 IP address 192.168.1.254 is self assigned if no DHCP server is present. If you look at that IPV4 interface, the address is considered dynamic. If you do not make this address static, and assign another VLAN with a static address, this static address will become the address of the switch. And since there are no ports in this VLAN, we basically get locked out of the switch.
To resolve this, it can be done 2 ways. One is to create this second VLAN with an IP address assigned to it, and then assign one of the ports on the switch to be an access port in that VLAN. Once the device reboots, if you assign you PC an address in that second VLANs network, and connect to that port that is the access port for that VLAN, you should be able to connect to that second VLAN IP address to manage the switch. Second way, and probably the preferred way would be to go to Administration>Management Interface>Management Interface. You will see that VLAN1 address 192.168.1.254 dynamic. Change this to static and change the address if needed, save and copy run to startup config, you will be able to access the device from any port that has untagged VLAN1 from a PC. Then you can configure your VLANs as needed and will not get locked out. Hope this helps William.
09-22-2015 02:17 PM
Hello William,
Sorry the switch is not performing as expected. What I think is happening is this. With the device in factory default mode, VLAN 1 IP address 192.168.1.254 is self assigned if no DHCP server is present. If you look at that IPV4 interface, the address is considered dynamic. If you do not make this address static, and assign another VLAN with a static address, this static address will become the address of the switch. And since there are no ports in this VLAN, we basically get locked out of the switch.
To resolve this, it can be done 2 ways. One is to create this second VLAN with an IP address assigned to it, and then assign one of the ports on the switch to be an access port in that VLAN. Once the device reboots, if you assign you PC an address in that second VLANs network, and connect to that port that is the access port for that VLAN, you should be able to connect to that second VLAN IP address to manage the switch. Second way, and probably the preferred way would be to go to Administration>Management Interface>Management Interface. You will see that VLAN1 address 192.168.1.254 dynamic. Change this to static and change the address if needed, save and copy run to startup config, you will be able to access the device from any port that has untagged VLAN1 from a PC. Then you can configure your VLANs as needed and will not get locked out. Hope this helps William.
09-23-2015 02:07 PM
Thanks for your support,
09-22-2015 02:44 PM
Moved discussion to the Small Business > Switches community.
09-22-2015 04:41 PM
I agree with that possibility. I also suggest you upgrade to current release firmware and I think you need to put the switch into router mode to do inter-vlan routing: set system mode router
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