Solved

Configure VLAN's on Cisco SG500

Posted on 2014-03-10
5
2,022 Views
1 Endorsement
Last Modified: 2014-03-11
I need to configure 4 VLAN's each with 12 ports on a Cisco SG500 switch.  All ports will be access ports.  What commands can I use to accomplish this?

VLAN 10    Ports 1-6 and 25-30

VLAN 20    Ports 7-12 and 31-36

VLAN 30     Ports 13-18 and 37-42

VLAN 40     Ports 19-24 and 43-48
1
Comment
Question by:NytroZ
  • 3
  • 2
5 Comments
 
LVL 12

Accepted Solution

by:
Infamus earned 500 total points
ID: 39919005
VLAN 10    Ports 1-6 and 25-30

config t
int range (port1-6)
switchport access vlan 10
exit

int range (port25-30)
switchport access vlan 10
exit

VLAN 20    Ports 7-12 and 31-36

config t
int range (port7-12)
switchport access vlan 20
exit

int range (port31-36)
switchport access vlan 20
exit

VLAN 30     Ports 13-18 and 37-42

config t
int range (port13-18)
switchport access vlan 30
exit

int range (port37-42)
switchport access vlan 30
exit


VLAN 40     Ports 19-24 and 43-48
config t
int range (port19-24)
switchport access vlan 40
exit

int range (port43-48)
switchport access vlan 40
exit


Fort the port numbers, run "sh int status" to check the interface names.

If you can post the "sh int status" and I can complete the command for you.
0
 

Author Comment

by:NytroZ
ID: 39919014
How does this affect the VLAN1?  I think this wsa the management vlan.  Does that need to change?  When I tried to add port 1-6 I lost connectivity through web access.
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39919046
You will have to have layer 3 devices to handle inter-vlan routing.

For example a router on a stick configuration if you have a router.

Layer 2 devices will divide the vlans in to different networks but will not route the traffic through.

All interfaces are belong to vlan 1 unless you specify the vlan on the interface.
0
 

Author Comment

by:NytroZ
ID: 39920586
Does the configuration look correct?  What is needed to put int 1-3 in VLAN 10 and then make VLAN 10 the management interface.
ciscosg500.txt
0
 
LVL 12

Expert Comment

by:Infamus
ID: 39920655
All you need to do is remove IP address on the interface vlan 1 and assign IP address on the interface vlan 10.

When you say port 1-48, are y ou refering to int gi2/1/1-48?

What are int gi1/1/1-10?  Are these stacked switches?
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

PRTG Network Monitor lets you monitor your bandwidth usage, so you know who is using up your bandwidth, and what they're using it for.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question