Solved

Configure VLAN's on Cisco SG500

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Don’t let your business fall victim to the coming apocalypse – use our Survival Guide for the Fax Apocalypse to identify the risks and signs of zombie fax activities at your business.
If you're not part of the solution, you're part of the problem.   Tips on how to secure IoT devices, even the dumbest ones, so they can't be used as part of a DDoS botnet.  Use PRTG Network Monitor as one of the building blocks, to detect unusual…
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…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

895 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

14 Experts available now in Live!

Get 1:1 Help Now