Solved

Removing 'switchport' from an interface configuration.

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
configuring snmp v2 or v3 on Cisco switches 2 49
Management Network in CIsco L2 Switch 3 38
HSRP not working on N7K-c7018 3 44
Classlful vs Classless subneting 18 63
This article is a step by step guide on how to create a basic PTP link using Ubiquiti airOS devices. This guide can be used on the following Ubiquiti AirMAX devices. Nanostation, Bullets, AirBridge, Nanobeam, NanoBridge to name a few. Please review …
Microservice architecture adoption brings many advantages, but can add intricacy. Selecting the right orchestration tool is most important for business specific needs.
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…

867 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

15 Experts available now in Live!

Get 1:1 Help Now