Solved

Interface Vlan and No Switchport

Posted on 2016-10-15
7
42 Views
Last Modified: 2016-10-22
I would like to know if :
- I configure, for instance, one L3 switch port in Vlan 10, then configure the same port as Interface Vlan 10 , and assign it IP address.
OR
-I just configure the Port with "No Switchport", then assign it IP address.

Will these be the same ?

Thank you
0
Comment
Question by:jskfan
  • 4
  • 3
7 Comments
 
LVL 26

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 500 total points
Comment Utility
I configure, for instance, one L3 switch port in Vlan 10, then configure the same port as Interface Vlan 10 , and assign it IP address.
No, it is either L2 in VLAN 10 or L3 and you can assign IP address to port, not both.
 :)
if you issue # no switchport port will be removed from ports that are assigned to some vlan (the same way you cant see trunk ports when command # sh  vlan brief is issued and trunk is active).

So, second option is OK if you need to assign IP adress to interface - by issuing # no switchport you can assign later IP address to interface.
One option is assign port to VLAN - in that case IP addresses are assigned either to hosts* or to SVIs (but not to switch physical interfaces).
*Host in this case can be even router :) - you can assign IP address to router port and on the connected switch you can configure port as access port in VLAN 10.
0
 

Author Comment

by:jskfan
Comment Utility
Correct SVI is Virtual, kind of assigned to the whole VLAN, not to specific port
0
 
LVL 26

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 500 total points
Comment Utility
SVI = Switch Virtual Interface
... second part is complete mystery for me since in original question you asked about ports (now it is not specific port, but assigned to whole VLAN?), and, by the way, there is no no switchport command under SVI.
0
IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

 

Author Comment

by:jskfan
Comment Utility
I meant SVI IP address is specific to a VLAN (vlan can have one or more than one port)
No switchport is specific to a switch port, that you want to assign an IP address just like a router interface.

The usage of SVI IP usually serves as Default gateway for computers.
The usage of No switchport , is when you want to route traffic...

In a different questions E Experts stated that SVI can also be configured on L2 switch for management interface.
with L3 switch, you can configure SVI and you can configure IP Routing so that Vlans can route traffic within the Switch without going out to  the router

if you have L2 Switch with separate Vlans on it and you connect the L2 sw to a router port (trunk port) , vlans will have to go to the router then back to communicate between themselves.
The DG on computers will point to an interface of the Router
0
 

Author Comment

by:jskfan
Comment Utility
Sorry I have not finished my above  comment:

if you have L2 Switch with separate Vlans on it and you connect the L2 switch Trunk port to a router port (trunk port) , vlans will have to go to the router then back to communicate between themselves.
is there anything to configure on the router to make the routing between Vlans happen ?
0
 
LVL 26

Accepted Solution

by:
Predrag Jovic earned 500 total points
Comment Utility
is there anything to configure on the router to make the routing between Vlans happen ?
The way you described it, answer is "No, you don't need to configure anything on router". (but, maybe you meant something else?)
0
 

Author Closing Comment

by:jskfan
Comment Utility
Thank you for the explanation
0

Featured Post

Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

Join & Write a Comment

This tutorial will go through the steps required to write a script that will back up the configuration settings of a HP-ProCurve switch. You will need to get the following things to follow this tutorial: Telnet Scripting Tool e.g. TST10.exe …
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

728 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

9 Experts available now in Live!

Get 1:1 Help Now