• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer

GeekwithEnvy

  • Home
  • News
  • How To / Guides
  • Featured Apps
  • Mac
  • PC
You are here: Home / How To / How to Enable a Port on a Cisco Switch

How to Enable a Port on a Cisco Switch

May 28, 2017 by Richard Vincenti Jr 4 Comments

Need to enable a port on a Cisco switch? Look no further!

To begin you need to know what the name of the port is that you want to enable on the switch. This name or Port ID can be found by using the following command.network cables

#show interface status

This command will provide a list of your ports by ID.

For this example, we will use the port Gi1/10 for our switch.

Next, we need to enter privileged EXEC mode on the switch in order to issue the following commands.

To do this, type one of the following commands.

#enable

or

#en

Now, we need to enter configuration command followed by terminal to enter global configuration mode.

#configure terminal 

or

#conf t

Next, we tell the switch which interface to configure.

(config)#interface Gi1/10

Now you can assign the selected port to a VLAN. You can use whatever VLAN number you would like but for our example we will use VLAN 10.

(config-if)#switchport access vlan 10

Lastly, we want to bring this port (interface) up or enable it. To do use one of the following commands.

(config-if)#no shutdown

or

(config-if)#no shut

That’s it. Your port should now be enabled and assigned to the VLAN you choose. You can to this to any other available port on your switch. If you want to add other ports to this same network then simply repeat this process using your other port ID’s and assign them to the same VLAN.

If you would like to check on the status of the port (interface) that you just set up use the following commands.

Exit config mode by performing one of the following methods.

Use Ctrl-Z to exit configuration mode.

or

Type “exit” until you are out of configuration mode.

(If you followed this example you will likely need to enter the exit command two times in a row.)

Lastly, we can now show the status of the port(interface) you choose by entering the following command. We are going to stick with our example port for this command.

#show run interface Gi1/10

Filed Under: Guides, How To Tagged With: Cisco, Guide, How To, interface, iOS, Networking, port, quick guide, switch

Reader Interactions

Comments

  1. Dave L says

    December 12, 2018 at 4:35 PM

    yeah! That worked for me. The Gi 1/0/48 is what I needed to configure port 48.

    Reply
    • Bathen says

      March 4, 2020 at 2:38 AM

      switchport access vlan48
      no shut
      that it

      Reply
  2. Larry says

    October 6, 2020 at 7:33 PM

    Nice cheat cheat! Thank you!!

    Reply
  3. bell says

    February 9, 2022 at 11:35 PM

    very nice thx

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Primary Sidebar

Looking for Something?

Please follow & like us :)

Facebook
Facebook
fb-share-icon
Twitter
Visit Us
Tweet
YouTube






Tags

Android App Apple Apps Blizzard blizzard entertainment Computers Electronics Featured App Film Games Gaming Guide Hardware How To internet iOS iPad iPhone Mac Microsoft Mobile NASA News Nintendo OSX PC Playstation 4 ps4 Science Software Sony Space Star Wars Technology trailer Updates video video games Web Windows windows 8 World Of Warcraft Xbox youtube

Footer

  • About Us
  • GWE Podcast
  • GWE Classic
  • Support

Pages

  • Blog
  • Privacy Policy
  • Terms Of Use
  • About Us
  • GWE Podcast
  • Support

Archives

Copyright © 2023 · eleven40 Pro on Genesis Framework · WordPress · Log in

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT