Solved

Removing 'switchport' from an interface configuration.

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

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

AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
Creating an OSPF network that automatically (dynamically) reroutes network traffic over other connections to prevent network downtime.
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