Port Configuration Reset to Factory DefaultsNEW!

Version 33.6.1 adds the ability to reset all port-level configurations to factory defaults with a single command. This feature is useful when repurposing ports, troubleshooting configuration issues, or returning ports to a known baseline state.

What Gets Reset

The unconfigure ports <port_list> configuration command resets all port-related settings to factory defaults, including:

After executing this command, the port configuration matches the state immediately after an unconfigure switch command.

Resetting Port Configuration

To reset one or more ports to factory defaults, use the following command:

unconfigure ports <port_list> configuration

Where port_list specifies one or more ports. You can specify individual ports, port ranges, or comma-separated lists.

Examples:

# Reset a single port
unconfigure ports 5 configuration

# Reset a range of ports
unconfigure ports 10-20 configuration

# Reset multiple non-contiguous ports
unconfigure ports 1,5,10-15,25 configuration

Confirmation Prompt

The command displays a warning message and requires confirmation before proceeding:

Warning: This will restore factory defaults to all port-related configuration 
for selected port(s). Do you wish to proceed? (y/N)

Enter y or Yes to proceed with the reset operation. Enter N, No, or press Enter to cancel the operation.

This confirmation prompt prevents accidental configuration loss.

Use Cases

This command is particularly useful in the following scenarios:

Impact on Traffic

Resetting port configuration disrupts traffic on the affected ports. The ports briefly go down and return to an operational state with default configuration. Plan to execute this command during a maintenance window or when traffic disruption is acceptable.

Warning

Warning

If the port is part of a critical path (such as an uplink or part of a load sharing group), resetting the configuration causes network interruption. Ensure you have documented the required configuration and are prepared to reconfigure the port immediately if necessary.

Verifying Port Configuration

After resetting port configuration, verify the port status and configuration using standard show commands:

# View port status
show ports <port_list> information detail

# View VLAN membership
show vlan <port_list>

# View protocol-specific configuration
show lldp ports <port_list>
show stp ports <port_list>

Related Commands

The unconfigure ports command has several other options for unconfiguring specific features:

The configuration option differs from these by resetting all port-related settings, not just specific features.