2-1046
Catalyst 4500 Series Switch Cisco IOS Command Reference—Release IOS XE 3.4.0SG and IOS 15.1(2)SG)
OL-27596 -01
Chapter 2 Cisco IOS Commands for the Catalyst 4500 Series Switches
switchport autostate exclude
switchport autostate exclude
To exclude a port from the VLAN interface link-up calculation, use the switchport autostate exclude
command. To return to the default settings, use the no form of this command.
switchport autostate exclude
no switchport autostate exclude
Syntax Description This command has no keywords or arguments.
Defaults All ports are included in the VLAN interface link-up calculation.
Command Modes Interface configuration mode
Command History
Usage Guidelines You must enter the switchport command without any keywords to configure the LAN interface as a
Layer 2 interface before you can enter the switchport autostate exclude command. This action is
required only if you have not entered the switchport command for the interface.
Note The switchport command is not used on platforms that do not support Cisco-routed ports. All physical
ports on such platforms are assumed to be Layer 2-switched interfaces.
The switchport autostate exclude command marks the port to be excluded from the interface VLAN
up calculation when there are multiple ports in the VLAN.
The show interface interface switchport command displays the autostate mode if the mode has been
set. If the mode has not been set, the autostate mode is not displayed.
Examples This example shows how to exclude a port from the VLAN interface link-up calculation:
Switch(config-if)# switchport autostate exclude
Switch(config-if)#
This example shows how to include a port in the VLAN interface link-up calculation:
Switch(config-if)# no switchport autostate exclude
Switch(config-if)#
You can verify your settings by entering the show interfaces switchport privileged EXEC command.
Release Modification
12.2(37)SG Support for this command was introduced on the Catalyst 4500 series switch.