A SERVICE OF

logo

Chapter 2 Catalyst 6500 Series Switch and ROM Monitor Commands
set default portstatus
2-260
Catalyst 6500 Series Switch Command Reference—Release 8.1
78-15474-01
222
set default portstatus
To set the default port status, use the set default portstatus command.
set default portstatus {enable | disable}
Syntax Description
Defaults The default is enabled.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines When you enter the clear config all command, or if a configuration loss occurs, all ports collapse into
VLAN 1. This situation might cause a security and network instability problem. During a configuration
loss, when you enter the set default portstatus command, all ports are put into a disable state, and the
traffic flowing through the ports is blocked. You can then manually configure the ports back to the
enable state.
This command is not saved in the configuration file.
After you set the default port status, the default port status does not clear when you enter the clear config
all command.
Examples This example shows how to disable the default port status:
Console> (enable) set default portstatus disable
port status set to disable.
Console> (enable)
Related Commands show default
enable Activates default port status.
disable Deactivates default port status.