Solved

Removing 'switchport' from an interface configuration.

Posted on 2014-07-18
2
141 Views
Last Modified: 2014-07-22
I am speaking here of Cisco switches.

Consider this:

interface GigabitEthernet10/25
 switchport
end

I know that the this will cause the port to be in the default vlan1.

But what if on the interface the "no switchport" is issued.  I can see that the interface falls out of vlan1, but what becomes of it?
0
Comment
Question by:BladesAway
2 Comments
 
LVL 28

Accepted Solution

by:
Jan Springer earned 450 total points
ID: 40205327
"no switchport" allows the interface to be configured as a routed interface.

if you want this to be a vlan interface but not in vlan 1, leave the 'switchport' and add 'switchport access vlan X'.
0
 
LVL 3

Assisted Solution

by:nickoarg
nickoarg earned 50 total points
ID: 40205609
What happens after you issue the "no switchport" is that you have to configure the interface with an IP address for example.
interface GigabitEthernet10/25
 ip address 192.168.1.1 255.255.255.0
 ...

Regards
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

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

The worst thing when starting a new job is when the previous Network Administrator left behind no documentation. How do you get into the devices? If you've been in this situation or just accidently mistyped your password, this article will hopefully…
Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
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…

831 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