hit counter script

Cisco Catalyst 3560-X Command Reference Manual page 842

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

spanning-tree guard
Examples
Related Commands
Catalyst 3750-X and 3560-X Switch Command Reference
2-810
Downloaded from
www.Manualslib.com
Loop guard is most effective when it is configured on the entire switched network. When the switch is
operating in PVST+ or rapid-PVST+ mode, loop guard prevents alternate and root ports from becoming
designated ports, and spanning tree does not send bridge protocol data units (BPDUs) on root or alternate
ports. When the switch is operating in MST mode, BPDUs are not sent on nonboundary interfaces if the
interface is blocked by loop guard in all MST instances. On a boundary interface, loop guard blocks the
interface in all MST instances.
To disable root guard or loop guard, use the spanning-tree guard none interface configuration
command. You cannot enable both root guard and loop guard at the same time.
You can override the setting of the spanning-tree loopguard default global configuration command by
using the spanning-tree guard loop interface configuration command.
This example shows how to enable root guard on all the VLANs associated with the specified port:
Switch(config)# interface gigabitethernet2/0/2
Switch(config-if)# spanning-tree guard root
This example shows how to enable loop guard on all the VLANs associated with the specified port:
Switch(config)# interface gigabitethernet2/0/2
Switch(config-if)# spanning-tree guard loop
You can verify your settings by entering the show running-config privileged EXEC command.
Command
show running-config
spanning-tree cost
spanning-tree loopguard default
spanning-tree mst cost
spanning-tree mst port-priority
spanning-tree mst root
spanning-tree port-priority
spanning-tree vlan
priority
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
Description
Displays the operating configuration. For syntax information,
use this link to the Cisco IOS Release 12.2 Command
Reference listing page:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1835/pr
od_command_reference_list.html
Select the Cisco IOS Commands Master List, Release 12.2
to navigate to the command.
Sets the path cost for spanning-tree calculations.
Prevents alternate or root ports from becoming designated
ports because of a failure that leads to a unidirectional link.
Configures the path cost for MST calculations.
Configures an interface priority.
Configures the MST root switch priority and timers based on
the network diameter.
Configures an interface priority.
Sets the switch priority for the specified spanning-tree
instance.
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents