![Cisco Catalyst 2350 Скачать руководство пользователя страница 471](http://html.mh-extra.com/html/cisco/catalyst-2350/catalyst-2350_command-reference-manual_67583471.webp)
2-447
Catalyst 2350 Switch Command Reference
OL-19055-01
Chapter 2 Catalyst 2350 Cisco IOS Commands
switchport autostate exclude
switchport autostate exclude
Use the
switchport autostate exclude
interface configuration command to exclude an interface from the
VLAN interface (switch virtual interface) line-state up or down calculation. Use the
no
form of this
command to return to the default setting.
switchport autostate exclude
no switchport autostate exclude
Syntax Description
This command has no arguments or keywords.
Defaults
All ports in the VLAN are included in the VLAN interface link-up calculation.
Command Modes
Interface configuration
Command History
Usage Guidelines
Enter the
switchport autostate exclude
command on a Layer 2 access or trunk port belonging to an SVI.
A VLAN interface (SVI) is up if ports are forwarding traffic in the associated VLAN. When all ports on
a VLAN are down or blocking, the SVI is down. For the SVI to be up, at least one port in the VLAN
must be up and forwarding. You can use the
switchport autostate exclude
command to exclude a port
from the SVI interface line-state up-or-down calculation. For example, you might exclude a monitoring
port from the calculations so that the VLAN is not considered up when only the monitoring port is active.
When you enter the
switchport autostate exclude
command on a port, the command applies to all
VLANs that are enabled on the port.
You can verify the autostate mode of an interface by entering the
show interface
interface-id
switchport
privileged EXEC command. If the mode has not been set, the autostate mode does not appear.
Examples
This example shows how to configure autostate exclude on an interface and to verify the configuration:
Switch(config)# interface
gigabitethernet0/1
Switch(config-if)# switchport
autostate exclude
Switch(config-if)# end
Switch# show
interface gigabitethernet0/1 switchport
Name: Gi0/1
Switchport: Enabled
Administrative Mode: static access
Operational Mode: down
Administrative Trunking Encapsulation: negotiate
Negotiation of Trunking: On
Access Mode VLAN: 1 (default)
Trunking Native Mode VLAN: 1 (default)
Administrative Native VLAN tagging: enabled
Release
Modification
12.2(46)EY
This command was introduced.
Содержание Catalyst 2350
Страница 14: ...Contents xiv Catalyst 2350 Switch Command Reference OL 19055 01 ...
Страница 18: ...xviii Catalyst 2350 Switch Command Reference OL 19055 01 Preface ...
Страница 606: ...B 66 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix B Catalyst 2350 Debug Commands debug vqpc ...
Страница 636: ...D 2 Catalyst 2350 Switch Command Reference OL 19055 01 Appendix D Acknowledgments for Open Source Software ...
Страница 652: ...Index IN 16 Catalyst 2350 Switch Command Reference OL 19055 01 ...