Solved

Removing 'switchport' from an interface configuration.

Posted on 2014-07-18
2
134 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

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

Suggested Solutions

I eventually solved a perplexing problem setting up telnet for a new switch.  I installed a new Cisco WS-03560X-24P switch connected to an existing Cisco 4506 running a WS-X4013-10GE Sup II-Plus. After configuring vlans and trunking,  I could no…
There are times where you would like to have access to information that is only available from a different network. This network could be down the hall, or across country. If each of the network sites have access to the internet, you can create a ne…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now