[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

VLAN configuration on Cisco SG300/SG500

Posted on 2013-01-28
7
Medium Priority
?
18,689 Views
Last Modified: 2014-04-14
I have 5 Cisco SG-300 and 1 Cisco SG-500 switches.
I want to configure VLANs on each switch and set up inter-VLAN routing.
All switches operate in Layer-3 mode.

The SG-300 switches will have 172.16.[3-7].0/24 subnets for VLAN, SG-500 will have 192.168.1.0/24 subnet.

Each switch is phisically located on a different floor/different building.
The SG-500 is located in the Server room and all SG-300 switches are connected to it.

How should I configure the switches?
I need exact CLI commands for setting up VLANs, assigning them to ports and setting up routing between VLANs.
0
Comment
Question by:proteus-IV
[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
  • 4
  • 2
7 Comments
 
LVL 9

Assisted Solution

by:Sandeep Gupta
Sandeep Gupta earned 750 total points
ID: 38826890
before starting..check

switch# show system mode

Feature                 State
-------------------     ---------
Mode:                   Switch


then proceed:

switch# configure terminal
switch(config)# interface vlan 1
switch(config-if)# ip address 192.168.1.2 255.255.255.0
switch(config-if)# exit
switch(config)# interface vlan 2
switch(config-if)# name Voice-VLAN
switch(config-if)# ip address 192.168.10.2 255.255.255.0
switch(config-if)# exit
switch(config)# vlan 5
switch(config)# interface vlan 5
switch(config-if)# name Guest-VLAN
switch(config-if)# ip address 192.168.50.2 255.255.255.0
switch(config-if)# exit


informative links:

http://boardreader.com/fp/Cisco_Support_Community_309110/Small_Business_Switches_9789024.html

http://www.google.co.in/url?sa=t&rct=j&q=&esrc=s&frm=1&source=web&cd=8&cad=rja&ved=0CHUQFjAH&url=http%3A%2F%2Fwww.ingrammicro.com%2Fvisitor%2Fcisco%2Fswitch_overview.ppt&ei=O44GUYSSM6Wd0QXFsIGYBw&usg=AFQjCNEj6CW-4q4mdyji4jx_u1sC714UwQ&sig2=AxGrbGhVPNh9AHObC0iyfQ&bvm=bv.41524429,d.d2k
0
 

Author Comment

by:proteus-IV
ID: 38827009
switch# show system mode
% Wrong number of parameters or invalid range, size or characters entered

I have only these autofill comands for "show system":
#show system    
  id                   Display system identity information
  languages            show supported languages
  resources            show System level resource configuration
  tcam                 tcam
  unit                 Unit number (relevant for stackable systems only)
   <CR>

Also, how do I assign or remove ports from VLAN?
Do I have to set port mode to general, access, trunk, tagged, untagged on SG-500?
Do I have to configure VLANs on both SG-500 and SG-300 switches?

I forgot to mention, I need to setup DHCP relay, so that clients from each subnet on VLAN can get an appropriate address from respective scope on DHCP server.
DHCP server is located on 192.168.0/24 subnet and clients will be on 172.16.[3-7].0/24 subnets.
0
 
LVL 5

Expert Comment

by:Leeeee
ID: 38827846
The SG series do not run IOS so the command syntax is going to be a little different.
0
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 

Author Comment

by:proteus-IV
ID: 38830043
Ok, can you give me the IOS commands and I will find out how I need to modify them?
0
 
LVL 5

Accepted Solution

by:
Leeeee earned 750 total points
ID: 38832236
0
 

Author Comment

by:proteus-IV
ID: 38834206
For test I set up one port on SG-300 as a tagged member of VLAN2=172.16.3.0/24
If i choose Interface VLAN mode as General I cannot set default VLAN1 as excluded.
I can only set the PVID to VLAN2 and then set it as tagged.

To what mode do I need to set the ports on SG-300 and SG-500 (Access, General, Trunk, Customer, Forbidden, Tagged, Untagged or Multicast TV VLAN)?

When I set a port on SG-500 as VLAN2 member and tagged, connected SG-300 to that port.
Set a port to which a PC connects on SG-300 to mode Access and VLAN2 tagged member, when I try to get an IP via DHCP on the PC i do not get anything.
I set up DHCP relaying on the SG-500 interface connecting to SG-300.

Also, I cannot change VLAN membership when port is in Access mode without changing the PVID. What is PVID actually and what do I need to set it to?

Why do DHCP requests do not get passed through my DHCP server on 192.168.1.0/24 subnet?

I set VLAN1 to 192.168.1.0/24 subnet. VLAN1 is the default VLAN. Should I be using this VLAN in my configuration or not? For what is this default VLAN used?

How do I go on about this?
0
 

Author Comment

by:proteus-IV
ID: 38901126
I have setup a test configuration.
I have 2 SG300 and 1 SG500 switch.
I am trying to setup inter-VLAN routing and DHCP relay.
They are connected thusly:
switch1[port49]<->[port7]switch2[port48]<->[port49]switch3
 
On switch1 I have set up VLAN3 with subnet 172.16.3.0/24 and on switch3 I have VLAN2 with subnet 192.168.1.0/24.
I need these VLANs to be able to communicate between each other.
I can ping from APC connected to switch1 to VLAN2 and VLAN3 IPs on switch2, but I cannot ping to those VLANs on switch2 from a PC connected to switch3.
 
Also, when I connect to managment interface on switch3 I cannot ping VLAN2 and VLAN3 interface IPs on switch2.
Traffic on default VLAN1 is passing through, though.
I tried changing the cable that connects switch 2 and switch3, but it didn't help.
 
What could be the issue here?
switch.conf.zip
0

Featured Post

Fill in the form and get your FREE NFR key NOW!

Veeam® is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

If you’re involved with your company’s wide area network (WAN), you’ve probably heard about SD-WANs. They’re the “boy wonder” of networking, ostensibly allowing companies to replace expensive MPLS lines with low-cost Internet access. But, are they …
WARNING:   If you follow the instructions here, you will wipe out your VTP and VLAN configurations.  Make sure you have backed up your switch!!! I recently had some issues with a few low-end Cisco routers (RV325) and I opened a case with Cisco TA…
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…
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…

650 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