Page 186 / 400 Scroll up to view Page 181 - 185
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-118
Switching Commands
202-10088-01, March 2005
Spanning Tree (STP) Commands
This chapter provides a detailed explanation of the Spanning Tree commands. The commands are
divided into two functional groups:
Show commands display switch settings, statistics, and other information.
Configuration commands configure features and options of the switch. For every
configuration command, there is a show command that displays the configuration setting.
Note:
The software platform STP default mode is IEEE 802.1s, but the legacy IEEE 802.1D mode
is available. To change to the legacy IEEE 802.1D mode, set the STP operational mode to
disabled, then enable the IEEE 802.1D mode from the source code. Recompile the software to
operationally enable the IEEE 802.1D mode. With the IEEE 802.1D mode operationally enabled,
the rapid configuration and multiple instances features are not available. If the rapid configuration
and multiple instances capabilities are required, use the IEEE 802.1s mode which is compatible
with the legacy IEEE 802.1D standard.
spanning-tree max-hops
This command sets the MSTP Max Hops parameter to a new value for the common and internal
spanning tree. The max-hops value is in a range of 1 to 127.
Default
20
Format
spanning-tree max-hops <1-127>
Mode
Global Config
no spanning-tree max-hops
This command sets the Bridge Max Hops parameter for the common and internal spanning tree to
the default value.
Format
no spanning-tree max-hops
Mode
Global Config
spanning-tree
This command sets the spanning-tree operational mode to enabled.
Page 187 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-119
202-10088-01, March 2005
Default
disabled
Format
spanning-tree
Mode
Global Config
no spanning-tree
This command sets the spanning-tree operational mode to disabled. While disabled, the spanning-
tree configuration is retained and can be changed, but is not activated.
Format
no spanning-tree
Mode
Global Config
spanning-tree configuration name
This command sets the Configuration Identifier Name for use in identifying the configuration that
this switch is currently using. The <name> is a string of at most 32 characters.
Default
The base MAC address displayed using hexadecimal notation as specified in
IEEE 802 standard.
Format
spanning-tree configuration name
<name>
Mode
Global Config
no spanning-tree configuration name
This command resets the Configuration Identifier Name to its default.
Format
no spanning-tree configuration name
Mode
Global Config
spanning-tree configuration revision
This command sets the Configuration Identifier Revision Level for use in identifying the
configuration that this switch is currently using. The Configuration Identifier Revision Level is a
number in the range of 0 to 65535.
Default
0
Format
spanning-tree configuration revision <0-65535>
Mode
Global Config
Page 188 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-120
Switching Commands
202-10088-01, March 2005
no spanning-tree configuration revision
This command sets the Configuration Identifier Revision Level for use in identifying the
configuration that this switch is currently using to the default value, i.e. 0.
Format
no spanning-tree configuration revision
Mode
Global Config
spanning-tree edgeport
This command specifies that this port is an Edge Port within the common and internal spanning
tree. This will allow this port to transition to Forwarding State without delay.
Format
spanning-tree edgeport
Mode
Interface Config
no spanning-tree edgeport
This command specifies that this port is not an Edge Port within the common and internal
spanning tree.
Format
no spanning-tree edgeport
Mode
Interface Config
spanning-tree forceversion
This command sets the Force Protocol Version parameter to a new value. The Force Protocol
Version can be one of the following:
802.1d - ST BPDUs are transmitted rather than MST BPDUs (IEEE 802.1d functionality
supported)
802.1w - RST BPDUs are transmitted rather than MST BPDUs (IEEE 802.1w functionality
supported)
802.1s - MST BPDUs are transmitted (IEEE 802.1s functionality supported)
Default
802.1s
Format
spanning-tree forceversion <802.1d | 802.1w | 802.1s>
Mode
Global Config
Page 189 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-121
202-10088-01, March 2005
no spanning-tree forceversion
This command sets the Force Protocol Version parameter to the default value, i.e. 802.1s.
Format
no spanning-tree forceversion
Mode
Global Config
spanning-tree forward-time
This command sets the Bridge Forward Delay parameter to a new value for the common and
internal spanning tree. The forward-time value is in seconds within a range of 4 to 30, with the
value being greater than or equal to "(Bridge Max Age / 2) + 1".
Default
15
Format
spanning-tree forward-time <4-30>
Mode
Global Config
no spanning-tree forward-time
This command sets the Bridge Forward Delay parameter for the common and internal spanning
tree to the default value, i.e. 15.
Format
no spanning-tree forward-time
Mode
Global Config
spanning-tree hello-time
This command sets the Admin Hello Time parameter to a new value for the common and internal
spanning tree. The hellotime <value> is in whole seconds within a range of 1 to 10 with the value
being less than or equal to "(Bridge Max Age / 2) - 1".
Default
2
Format
spanning-tree hello-time <1-10>
Mode
Interface Config
no spanning-tree hello-time
Page 190 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-122
Switching Commands
202-10088-01, March 2005
This command sets the admin Hello Time parameter for the common and internal spanning tree to
the default value.
Format
no spanning-tree hello-time
Mode
Interface Config
spanning-tree max-age
This command sets the Bridge Max Age parameter to a new value for the common and internal
spanning tree. The max-age value is in seconds within a range of 6 to 40, with the value being less
than or equal to "2 times (Bridge Forward Delay - 1)".
Default
20
Format
spanning-tree max-age <6-40>
Mode
Global Config
no spanning-tree max-age
This command sets the Bridge Max Age parameter for the common and internal spanning tree to
the default value, i.e. 20.
Format
no spanning-tree max-age
Mode
Global Config
spanning-tree mst
This command sets the Path Cost or Port Priority for this port within the multiple spanning tree
instance or in the common and internal spanning tree. If the <mstid> parameter corresponds to an
existing multiple spanning tree instance, then the configurations are done for that multiple
spanning tree instance. If however 0 (defined as the default CIST ID) is passed as the <mstid>,
then the configurations are performed for the common and internal spanning tree instance.
If the ‘cost’ token is specified, this command sets the path cost for this port within a multiple
spanning tree instance or the common and internal spanning tree instance, depending on the
<mstid> parameter. The pathcost can be specified as a number in the range of 1 to 200000000 or
auto.
If "auto" is specified, the pathcost value will be set based on Link Speed.

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top