Solved

Configure VLAN's on Cisco SG500

Posted on 2014-03-10
5
2,086 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Short answer to this question: there is no effective WiFi manager in iOS devices as seen in Windows WiFi or Macbook OSx WiFi management, but this article will try and provide some amicable solutions to better suite your needs.
This article will inform Clients about common and important expectations from the freelancers (Experts) who are looking at your Gig.
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…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

679 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