Skip to main content

Port Up / Down Commands

Overview

Use these commands to administratively shut down or bring up a switch port. Useful when you need to power-cycle a PoE device, isolate a port, or troubleshoot a link.


Cisco IOS / Catalyst

# Enter interface configuration
switch# configure terminal
switch(config)# interface GigabitEthernet1/0/5

# Shut down the port (disable)
switch(config-if)# shutdown

# Bring the port back up
switch(config-if)# no shutdown

# Verify port status
switch(config-if)# end
switch# show interface GigabitEthernet1/0/5 status

Shorthand: Interface names can be abbreviated — gi1/0/5 instead of GigabitEthernet1/0/5, or fa0/5 for FastEthernet.


Cisco Meraki

Meraki switches are managed via Dashboard only:

  1. Go to Switch > Switches, select the switch

  2. Click the Ports tab

  3. Click the port number to open its settings

  4. Toggle Port Enabled off/on

  5. Click Update


HP / Aruba ProCurve

# Enter interface configuration
switch# configure
switch(config)# interface 5

# Disable the port
switch(eth-5)# disable

# Enable the port
switch(eth-5)# enable

# Verify status
switch(eth-5)# exit
switch# show interface 5

Tips

  • Shutting down a PoE port and bringing it back up is often the fastest way to reboot a camera or access reader without physically unplugging

  • Always confirm the correct port before shutting down — verify with show mac address-table interface gi1/0/5 (Cisco) to see what device is connected

  • On Cisco: use show interface status to see all port states at a glance