cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1427
Views
0
Helpful
3
Replies

sg300 define IP for VLAN

skasiri01
Level 1
Level 1

I have SG300 Switch running on L3 mode. I can`t assign IP to VLANS .when I try it through CLI or GUI switch crashes and needs reboot.

3 Replies 3

V K Moorthy
Level 1
Level 1

Have your tried

 

Below command

 

config# int vlan 2

config-int#ip address 192.168.2.1 255.255.255.0

config-int# do wr

regards

Moorthy

 

Ekawit Phio-On
Level 1
Level 1

Hi skasiri,
 

Am having the same problem that I losing connection after you assign IP to a Vlan. But lets try:
Lets say if your switch ip that you connect to is: 192.168.1.254 which is default ip for switch.
And you try for example assign 10.0.1.1 to your 2nd vlan and lost connection, you can try to change your ip on your PC to 10.0.1.2-254(choose an ip in range of 2-254) if you can connect with 10.0.1.2 try to check if your vlan been assign.
 

"Notice" if your 10.0.1.1 vlan port to GE1, you need to connect your cable from pc to GE1 on the switch.

hope its help
 

ek9at10psi
Level 1
Level 1

the easiest way IMO is to default the switch, make sure you put it back in L3, set a static IP on your local machine, ie 192.168.1.100 / 255.255.255.0 / 192.168.1.254.

 

Log in to the web GUI and set VLAN1 to a static IP of your choice.

 

From there, you won't have to worry about locking yourself out.  Been there, done that.

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:

Switch products supported in this community
Cisco Business Product Family
  • CBS110
  • CBS220
  • CBS250
  • CBS350
Cisco Switching Product Family
  • 110
  • 200
  • 220
  • 250
  • 300
  • 350
  • 350X
  • 550X