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
Solved

Interface Vlan and No Switchport

Posted on 2016-10-15
7
78 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 28

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 28

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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 

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 28

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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
IPv6 question 1 32
Juniper SRX 210H Throwing Error umass0: BBB reset failed, IOERROR 4 46
HP Procurve and AAA authentication 2 33
Changing VLAN information 3 14
I have seen some questions on problems with SSH/telnet access to Cisco routers that may occur despite the fact that from a PC connected to your LAN, Internet connectivity is in place and users can access Internet sites without any issues.  There are…
We've been using the Cisco/Linksys RV042 for years as: - an internet Gateway - a site-to-site VPN device - a leased line site-to-site subnet-to-subnet interface (And, here I'm assuming that any RV0xx behaves the same way as an RV042.  So that's …
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…

828 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