Page 201 / 400 Scroll up to view Page 196 - 200
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-133
202-10088-01, March 2005
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 a range from 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 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.
If the ‘external-cost’ token is specified, this command sets the external-path cost for MST instance
‘0’ i.e. CIST instance. The external pathcost can be specified as a number in the range of 1 to
200000000 or auto.
If "auto" is specified, the external pathcost value will be set based on Link
Speed.
Page 202 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-134
Switching Commands
202-10088-01, March 2005
If the ‘port-priority’ token is specified, this command sets the priority for this port within a specific
multiple spanning tree instance or the common and internal spanning tree instance, depending on
the <mstid> parameter. The port-priority value is a number in the range of 0 to 240 in increments
of 16.
Default
cost : auto
external-cost : auto
port-priorty : 128
Format
spanning-tree mst <mstid> {
{cost <1-200000000> | auto } |
{external-cost <1-200000000> | auto }| port-priority
<0-240>}
Mode
Interface Config
no 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 to the respective default values. 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, to the default value, i.e. a pathcost value based on the Link Speed.
If the ‘external-cost’ token is specified, this command sets the external path cost for this port for
mst ‘0’ instance, to the default value, i.e. a pathcost value based on the Link Speed.
If the ‘port-priority’ token is specified, this command sets the priority for this port within a specific
multiple spanning tree instance or the common and internal spanning tree instance, depending on
the <mstid> parameter, to the default value, i.e. 128.
Format
no spanning-tree mst <mstid> <cost | external-cost |
port-priority>
Mode
Interface Config
spanning-tree hello-time
Page 203 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-135
202-10088-01, March 2005
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
This command sets the admin Hello Time parameter for the common and internal spanning tree to
the default value, i.e. 2.
Format
no spanning-tree hello-time
Mode
Interface Config
show spanning-tree
This command displays spanning tree settings for the common and internal spanning tree, when
the optional parameter “brief” is not included in the command. The following details are
displayed.
Format
show spanning-tree <brief>
Mode
Privileged EXEC and User EXEC
Bridge Priority
Configured value.
Bridge Identifier
Time Since Topology Change
Time in seconds.
Topology Change Count
Number of times changed.
Topology Change
Boolean value of the Topology Change parameter for the switch indicating if a
topology change is in progress on any port assigned to the common and internal
spanning tree.
Designated Root
Root Path Cost
Value of the Root Path Cost parameter for the common and internal spanning
tree.
Root Port Identifier
Root Port Max Age
Derived value
Page 204 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-136
Switching Commands
202-10088-01, March 2005
Root Port Bridge Forward Delay
Derived value
Hello Time
Configured value
Bridge Hold Time
Minimum time between transmission of Configuration Bridge Protocol Data
Units (BPDUs)
Bridge Max Hops
Bridge max-hops count for the device.
CST Regional Root
Regional Root Path Cost
Associated FIDs
List of forwarding database identifiers currently associated with this instance.
Associated VLANs
List of VLAN IDs currently associated with this instance.
When the “brief” optional parameter is included, this command displays spanning tree settings for
the bridge. In this case, the following details are displayed.
Bridge Priority
Configured value.
Bridge Identifier
Bridge Max Age
Configured value.
Bridge Max Hops
Bridge max-hops count for the device.
Bridge Hello Time
Configured value.
Bridge Forward Delay
Configured value.
Bridge Hold Time
Minimum time between transmission of Configuration Bridge
Protocol Data Units (BPDUs)
show spanning-tree interface
This command displays the settings and parameters for a specific switch port within the common
and internal spanning tree. The <slot/port> is the desired switch port. The following details are
displayed on execution of the command.
Format
show spanning-tree interface
<
slot/port
>
Mode
Privileged EXEC and User EXEC
Hello Time
Admin hello time for this port
Port mode
Enabled or disabled
.
Port Up Time Since Counters Last Cleared
Time since port was reset, displayed in days, hours,
minutes, and seconds.
Page 205 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-137
202-10088-01, March 2005
STP BPDUs Transmitted
Spanning Tree Protocol Bridge Protocol Data Units sent
STP BPDUs Received
Spanning Tree Protocol Bridge Protocol Data Units received.
RST BPDUs Transmitted
Rapid Spanning Tree Protocol Bridge Protocol Data Units sent
RST BPDUs Received
Rapid Spanning Tree Protocol Bridge Protocol Data Units received.
MSTP BPDUs Transmitted
Multiple Spanning Tree Protocol Bridge Protocol Data Units sent
MSTP BPDUs Received
Multiple Spanning Tree Protocol Bridge Protocol Data Units received.
show spanning-tree mst port detailed
This command displays the detailed settings and parameters for a specific switch port within a
particular multiple spanning tree instance. The instance <mstid> is a number that corresponds to
the desired existing multiple spanning tree instance. The <slot/port> is the desired switch port.
Format
show spanning-tree mst port detailed <mstid> <slot/
port>
Mode
Privileged EXEC and User EXEC
MST Instance ID
Port Identifier
Port Priority
Port Forwarding State
Current spanning tree state of this port
Port Role
Auto-Calculate Port Path Cost
This indicates whether auto calculation for port path
cost is enabled or not.
Port Path Cost
Configured value of the Internal Port Path Cost parameter
Auto-Calculate External Port Path Cost
This indicates whether auto calculation for
external port path cost is enabled or not.
External Port Path Cost
Configured value of the external Port Path Cost parameter
Designated Root
The Identifier of the designated root for this port.
Designated Port Cost
Path Cost offered to the LAN by the Designated Port
Designated Bridge
B
ridge Identifier of the bridge with the Designated Port.
Designated Port Identifier
Port on the Designated Bridge that offers the lowest cost to
the
LAN

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top