disable port

disable port [port_list | all]

Description

Disables one or more ports on the switch.

Syntax Description

port_list

Specifies one or more ports or slots and ports.

all

Specifies all ports on the switch.

Default

Enabled.

Usage Guidelines

Use this command for security, administration, and troubleshooting purposes.

When a port is disabled, the link is brought down.

Example

The following command disables ports 3, 5, and 12 through 15 on a stand-alone switch:

disable ports 3,5,12-15

The following command disables ports 3, 5, and 12 through 15 on a switch:

disable port 3,5,12-15

History

This command was first available in ExtremeXOS 10.1.

Platform Availability

This command is available on ExtremeSwitching X435, X440-G2, X450-G2, X460-G2, X465, X590, X620, X690, and X695 series switches.