EasyManuals Logo

Cisco Catalyst 250 Series Command Reference

Cisco Catalyst 250 Series
134 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #119 background imageLoading...
Page #119 background image
spanning-tree vlan
To configure Spanning Tree Protocol (STP) on a per-virtual LAN (VLAN) basis, use the spanning-tree vlan
command in global configuration mode. To return to the default settings, use the no form of this command.
spanning-tree vlan vlan-id [forward-time seconds| hello-time seconds| max-age seconds| priority priority|
[root {primary| secondary} [diameter net-diameter]]]
no spanning-tree vlan vlan-id [forward-time| hello-time| max-age| priority| root]
Syntax Description
VLAN range associated with the spanning-tree instance. The range is 1 to
4094.
vlan-id
(Optional) Sets the STP forward delay time in second. The range is 4 to 30.
The default is 15.
forward-time seconds
(Optional) Specifies the duration, in seconds, between the generation of
configuration messages by the root switch. The range is 1 to 10.
The default is 2.
hello-time seconds
(Optional) Sets the maximum number of seconds the information in a bridge
packet data unit (BPDU) is valid. The range is 6 to 40.
The default is 20.
max-age seconds
(Optional) Sets the STP bridge priority. The range is 0 to 61440 in increments
of 4096.
The default for the primary root switch is 24576.
The default for the secondary root switch is 28672.
priority priority
(Optional) Forces this switch to be the root switch.root primary
(Optional) Specifies this switch to act as the root switch should the primary
root fail.
root secondary
(Optional) Specifies the maximum number of switches between any two
points of attachment of end stations. The range is 2 through 7.
diameter net -diameter
Command Default
Spanning tree is enabled on all VLANs.
Command Modes
Global configuration
Catalyst 2960-X Switch Layer 2 Command Reference, Cisco IOS Release 15.0(2)EX
OL-29043 -01 113
Layer 2 Commands
spanning-tree vlan

Table of Contents

Other manuals for Cisco Catalyst 250 Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 250 Series and is the answer not in the manual?

Cisco Catalyst 250 Series Specifications

General IconGeneral
BrandCisco
ModelCatalyst 250 Series
CategorySwitch
LanguageEnglish

Related product manuals