proteus-IV
asked on
VLAN configuration on Cisco SG300/SG500
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.
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.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
The SG series do not run IOS so the command syntax is going to be a little different.
ASKER
Ok, can you give me the IOS commands and I will find out how I need to modify them?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
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?
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?
ASKER
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]s witch2[por t48]<->[po rt49]switc h3
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
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]s
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
ASKER
% 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.