Interface Vlan and No Switchport

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
jskfanAsked:
Who is Participating?
 
JustInCaseConnect With a Mentor Commented:
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
 
JustInCaseConnect With a Mentor Commented:
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
 
jskfanAuthor Commented:
Correct SVI is Virtual, kind of assigned to the whole VLAN, not to specific port
0
Cloud Class® Course: SQL Server Core 2016

This course will introduce you to SQL Server Core 2016, as well as teach you about SSMS, data tools, installation, server configuration, using Management Studio, and writing and executing queries.

 
JustInCaseConnect With a Mentor Commented:
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
 
jskfanAuthor Commented:
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
 
jskfanAuthor Commented:
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
 
jskfanAuthor Commented:
Thank you for the explanation
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.