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:
Go to Switch > Switches, select the switch
Click the Ports tab
Click the port number to open its settings
Toggle Port Enabled off/on
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 connectedOn Cisco: use
show interface statusto see all port states at a glance
No comments to display
No comments to display