Solved

Interface Vlan and No Switchport

Posted on 2016-10-15
7
90 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
[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
  • 3
7 Comments
 
LVL 29

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 500 total points
ID: 41844952
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
ID: 41846985
Correct SVI is Virtual, kind of assigned to the whole VLAN, not to specific port
0
 
LVL 29

Assisted Solution

by:Predrag Jovic
Predrag Jovic earned 500 total points
ID: 41847046
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
Connect further...control easier

With the ATEN CE624, you can now enjoy a high-quality visual experience powered by HDBaseT technology and the convenience of a single Cat6 cable to transmit uncompressed video with zero latency and multi-streaming for dual-view applications where remote access is required.

 

Author Comment

by:jskfan
ID: 41849809
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
ID: 41849819
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 29

Accepted Solution

by:
Predrag Jovic earned 500 total points
ID: 41850222
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
ID: 41855641
Thank you for the explanation
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Draytek (Site to Site VPN using IPSec) 6 69
Multiple MPLS Circuits Connecting to LAN 3 58
Cisco Edge Routers for BGP 6 95
Dlink-DIR 816 router 4 44
There are two basic ways to configure a static route for Cisco IOS devices. I've written this article to highlight a case study comparing the configuration of a static route using the next-hop IP and the configuration of a static route using an outg…
Arrow Electronics was searching for a KVM  (Keyboard/Video/Mouse) switch that could display on one single monitor the current status of all units being tested on the rack.
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…

726 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