Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands set default portstatus
2-251
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
222
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 the n manu al ly co nfig ure th e port s ba ck t o 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 ente r 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.