Page 191 / 400 Scroll up to view Page 186 - 190
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-123
202-10088-01, March 2005
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.
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
Page 192 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-124
Switching Commands
202-10088-01, March 2005
spanning-tree mst instance
This command adds a multiple spanning tree instance to the switch. The instance <mstid> is a
number within a range of 1 to 4094, that corresponds to the new instance ID to be added. The
maximum number of multiple instances supported by the software is 4.
Format
spanning-tree mst instance <mstid>
Mode
Global Config
no spanning-tree mst instance
This command removes a multiple spanning tree instance from the switch and reallocates all
VLANs allocated to the deleted instance to the common and internal spanning tree. The instance
<mstid> is a number that corresponds to the desired existing multiple spanning tree instance to be
removed.
Format
no spanning-tree mst instance <mstid>
Mode
Global Config
spanning-tree mst priority
This command sets the bridge priority for a specific multiple spanning tree instance. The instance
<mstid> is a number that corresponds to the desired existing multiple spanning tree instance. The
priority value is a number within a range of 0 to 61440 in increments of 4096.
If 0 (defined as the default CIST ID) is passed as the <mstid>, then this command sets the Bridge
Priority parameter to a new value for the common and internal spanning tree. The bridge priority
value again is a number within a range of 0 to 61440.
The twelve least significant bits will be
masked according to the 802.1s specification.
This will cause the priority to be rounded down to
the next lower valid priority.
Default
32768
Format
spanning-tree mst priority <mstid> <0-61440>
Mode
Global Config
no spanning-tree mst priority
This command sets the bridge priority for a specific multiple spanning tree instance to the default
value, i.e. 32768. The instance <mstid> is a number that corresponds to the desired existing
multiple spanning tree instance.
Page 193 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-125
202-10088-01, March 2005
If 0 (defined as the default CIST ID) is passed as the <mstid>, then this command sets the Bridge
Priority parameter for the common and internal spanning tree to the default value, i.e. 32768.
Format
spanning-tree mst priority <mstid>
Mode
Global Config
spanning-tree mst vlan
This command adds an association between a multiple spanning tree instance and a VLAN. The
VLAN will no longer be associated with the common and internal spanning tree. The instance
<mstid> is a number that corresponds to the desired existing multiple spanning tree instance. The
<vlanid> corresponds to an existing VLAN ID.
Format
spanning-tree mst vlan <mstid> <vlanid>
Mode
Global Config
no spanning-tree mst vlan
This command removes an association between a multiple spanning tree instance and a VLAN.
The VLAN will again be associated with the common and internal spanning tree. The instance
<mstid> is a number that corresponds to the desired existing multiple spanning tree instance. The
<vlanid> corresponds to an existing VLAN ID.
Format
no spanning-tree mst vlan <mstid> <vlanid>
Mode
Global Config
spanning-tree port mode
This command sets the Administrative Switch Port State for this port to enabled.
Default
disabled
Format
spanning-tree port mode
Mode
Interface Config
no spanning-tree port mode
This command sets the Administrative Switch Port State for this port to disabled.
Format
no spanning-tree port mode
Mode
Interface Config
Page 194 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
8-126
Switching Commands
202-10088-01, March 2005
spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to enabled.
Default
disabled
Format
spanning-tree port mode all
Mode
Global Config
no spanning-tree port mode all
This command sets the Administrative Switch Port State for all ports to disabled.
Format
no spanning-tree port mode all
Mode
Global Config
spanning-tree
This command sets the STP mode for a specific port-channel (LAG). This is the value specified
for STP Mode on the Port Configuration Menu. 802.1D mode is the default. The interface is a
logical slot/port for a configured port-channel. The
all
option sets
all configured port-channels
(LAGs) with the same option.
Format
spanning-tree {
<logical
slot/port
> | all | <off |
802.1d | fast>}
Mode
Global Config
The mode is one of the following:
802.1d
IEEE 802.1D-compliant STP mode is used
fast
Fast STP mode is used
off
STP is turned off
spanning-tree bpdumigrationcheck
This command enables BPDU migration check on a given interface. The
all
option enables BPDU
migration check on all interfaces.
Format
spanning-tree bpdumigrationcheck {
<
slot/port
> | all}
Mode
Global Config
Page 195 / 400
User Manual for the NETGEAR 7300S Series Layer 3 Managed Switch Software
Switching Commands
8-127
202-10088-01, March 2005
no spanning-tree bpdumigrationcheck
This command disables BPDU migration check on a given interface. The
all
option disables
BPDU migration check on all interfaces.
Format
no spanning-tree bpdumigrationcheck {
<
slot/port
> |
all}
Mode
Global 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>
Modes
Privileged EXEC
User EXEC
Bridge Priority
Specifies the bridge priority for the spanning tree.
Bridge Identifier
The bridge identifier for the selected instance.
Time Since Topology Change
The time in seconds since the topology last changed.
Topology Change Count
Number of times the topology has changed.
Topology Change in progress
Boolean value of the Topology Change parameter for the switch indi-
cating if a topology change is in progress on any port assigned to the common
and internal spanning tree.
Designated Root
The bridge identifier of the root bridge. It is derived from the bridge priority and
the base MAC address of the bridge.
Root Path Cost
Value of the Root Path Cost parameter for the common and internal spanning
tree.
Root Port Identifier
Port to access the Designated Root.
Bridge Max Age
Specifies the bridge maximum age for the spanning tree.
Bridge Forwarding Delay
Specifies the time spent in “Listening and Learning” mode
before forwarding packets. Bridge Forwarding Delay must be
greater or equal to “(Bridge Max Age/2) + 1”. The time range is
from 4 seconds to 30 seconds. The default value is 15.
Hello Time
Configured value of the parameter for common spanning tree.
Bridge Hold Time
Minimum time between transmission of Configuration Bridge Protocol Data
Units (BPDUs)

Rate

4.5 / 5 based on 2 votes.

Bookmark Our Site

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

Share
Top