Solved

Configure VLAN's on Cisco SG500

Posted on 2014-03-10
5
2,321 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

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.
This article is a collection of issues that people face from time to time and possible solutions to those issues. I hope you enjoy reading it.
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses
Course of the Month8 days, 7 hours left to enroll

617 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