Solved

Configure VLAN's on Cisco SG500

Posted on 2014-03-10
5
1,936 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Let’s list some of the technologies that enable smooth teleworking. 
If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…

757 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now