How To Shut Port On Cisco Switch?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To shut a port on a Cisco switch, use the following command:
switchport shutdown
For example, to shut down port fa 0/1 on a Cisco switch, you would use the command:
switchport shutdown fa 0/1
1. Connect to the switch using a terminal emulator such as PuTTY.
2. Log in with an account that has administrative privileges.
3. Enter global configuration mode by typing “configure terminal” at the prompt.
4. Enter interface configuration mode for the port you wish to shut down by typing “interface [port number]” at the prompt.
5. Shut down the port by typing “shutdown” at the prompt.
6. To confirm the port is shut down enter the “show interfaces status” command at the prompt.
7. Exit out of interface configuration mode by typing “end” at the prompt.
8. Verify your changes by typing “show running-config” at the prompt.
9. Save your changes by typing “copy running-config startup-config” at the prompt.
10. Finally, exit out of the switch by typing “exit” at the prompt.
1. Log into the Cisco switch using the appropriate credentials.
2. Use the command line interface (CLI) to access the switch’s configuration mode.
3. Enter the following command to shut down the port:
switchport shutdown <interface number>
4. Enter the following command to verify the port has been shut down:
show interfaces <interface number> status
The output will show the port’s status as “Administratively Down”.
5. Exit out of the CLI mode and save the configuration changes.
1. Open the CLI (Command Line Interface) of the switch by connecting to it via SSH or Telnet and entering the correct credentials.
2. Enter the command “configure terminal” to enter configuration mode.
3. Enter the command “interface [interface number]” for entering the configuration mode for the specific interface.
4. Enter the command “shutdown”, which will disable the port.
5. Enter the command “end” to save the configuration and exit from configuration mode.
6. Enter the command “wr mem” which will save the changes to running configuration file.