DXS-3600-32S CLI Reference Guide


Add to my manuals
596 Pages

advertisement

DXS-3600-32S CLI Reference Guide | Manualzz

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Spanning Tree Protocol (STP) Commands

52-1 spanning-tree (global configuration)

This command is used to enable the STP mode. Use no form to disable STP.

spanning-tree no spanning-tree

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The spanning-tree/no spanning-tree command allows the Spanning Tree Protocol to be globally enabled/disabled on the switch.

Example

This example shows how to enable STP mode is the default mode.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree

Success

DXS-3600-32S(config)#

5 2000-02-15 00:22:09 INFO(6) Spanning Tree Protocol is enabled

DXS-3600-32S(config)#

52-2 spanning-tree reset

This command is used to restore the Spanning Tree configuration to the default value. This command does not have the no form.

spanning-tree reset

Parameters

Default

None.

None.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

To reset the STP configuration to default.

Example

This example shows how to reset the STP configuration to default.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree reset

Success

DXS-3600-32S(config)#

52-3 spanning-tree (timers)

This command is used to set the value of Spanning-Tree Timers. Use the no form of this command to restore the default value.

spanning-tree [hello-time SECONDS | forward-time SECONDS | max-age SECONDS]

no spanning-tree [hello-time SECONDS | forward-time SECONDS | max-age SECONDS]

470

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Parameters

hello-time SECONDS Specifies the time interval to send one BPDU at the Designated Port. The default setting is 2 seconds. The range is 1 to 2 seconds.

Note: This timer cannot be configured in MSTP mode.

forward-time SECONDS Specifies the maximum time (in seconds) the device will wait before changing states

(i.e., from the listening to learning to forwarding). The default setting is 15 seconds.

The range is 4 to 30 seconds.

max-age SECONDS Specifies the maximum aging time (in seconds) of the BPDU message. The default setting is 20 seconds.The range is 6 to 40 seconds.

Default

Command Mode

The default value of hello-time is 2.

The default value of forward-time is 15.

The default value of max-age is 20.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

There are some constraints on the relationship of the three timers.

Please refer to the following formulas :

• 2 × (Bridge_Forward_Delay – 1.0 seconds) >= Bridge_Max_Age

• Bridge_Max_Age >= 2 × (Bridge_Hello_Time + 1.0 seconds)

Parameters cannot be applied if the equation is not satisfied.

Example

This example shows how to configure the STP timer.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree hello-time 1

Success

DXS-3600-32S(config)#spanning-tree forward-time 16

Success

DXS-3600-32S(config)#spanning-tree max-age 21

Success

DXS-3600-32S(config)#

52-4 spanning-tree tx-hold-count

This command is used to limit the maximum BPDU transmission rate for every port. Use the no form of this command to return the setting to default setting.

spanning-tree transmit-hold-count TX-HOLD-COUNT

no spanning-tree transmit-hold-count

Parameters

TX-HOLD-COUNT

Specifies the value to restrict the numbers of BPDU transmitted on a port in the period of a Hello Time. The range is 1 to 10.

Default

Command Mode

The default value is 6.

Global Configuration Mode.

471

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Command Default Level

Level: 8

Usage Guideline

This parameter will be commonly used by STP, RSTP, and MSTP.

Note: Changing this parameter to a higher value may have a significant impact on

CPU utilization, especially in MSTP mode. Lowering this parameter could slow convergence in some scenarios. We recommend that you do not change the value from the default setting.

Example

This example shows how to configure the tx-hold-count value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree tx-hold-count 5

Success

DXS-3600-32S(config)#

52-5 spanning-tree max-hops

This command is used to configure the MSTP related max-hops timers. Use the no form of this command to return the setting to default setting.

spanning-tree max-hops MAX-COUNT

no spanning-tree max-hops

Parameters

MAX-COUNT

Specifies the MSTP maximum hop number. The range is 6 to 40 hops.

Default

Command Mode

The default value is 20.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Use this command to configure the MSTP related max-hops timers.

Example

This example shows how to configure the max-hops value.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree max-hops 19

Success

DXS-3600-32S(config)#

52-6 spanning-tree mode

This command is used to decide the STP mode. To return to the default settings, use the no form of this command.

spanning-tree mode {mstp | rstp |stp} no spanning-tree mode

Parameters mstp rstp stp

Specifies to used the Multiple Spanning Tree Protocol (MSTP).

Specifies to used the Rapid Spanning Tree Protocol (RSTP).

Specifies to used the Spanning Tree Protocol (IEEE 802.1D-Compatible)

472

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Default

Command Mode

The default mode is RSTP.

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

If mode is configured as STP or RSTP, all currently running MSTP instances will be cancelled automatically.

If the newly configured mode is changed from the previous one, the spanning-tree state machine will restart again, therefore all of the stable spanning-tree port states will transit into discarding states.

Example

This example shows how to configure the running version of STP module to RSTP.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mode rstp

Success

DXS-3600-32S(config)#

12 2000-02-15 00:46:00 INFO(6) Spanning Tree version change (new version:RSTP

)

DXS-3600-32S(config)#

52-7 spanning-tree mst configure

This command is used to enter the MST configuration mode in the global configuration mode and configure the MSTP region. Use the no form of the command to restore all parameters (name, revision, vlan map) to the default values.

spanning-tree mst configure no spanning-tree mst configure

Parameters

None.

Default

Command Mode

By default, all VLANs are mapped to the CIST (instance 0), name is ‘bridge mac’, and the revision is 0.

Global Configuration Mode.

Command Default Level

Level: 3

Usage Guideline

The MST configuration consists of three main parameters:

Instance VLAN mapping - See the instance command

Region name - See the name (MST configuration mode) command

Configuration revision number - See the revision (MST configuration mode) command

The exit command is used to leave MST configuration mode.

Example

This example shows how to enter the MST configuration mode in the global configuration.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#

473

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

52-8 instance

This command is used to map a VLAN or a set of VLANs to an MST instance. To return the VLANs to the default instance (CIST), use the no instance INSTANCE-ID vlans VLANDID [,|.] command. Use the no instance INSTANCE-

ID command to delete an MST instance.

instance INSTANCE-ID vlans VLANDID [,|.]

no instance INSTANCE-ID [vlans VLANDID [,|.]]

Parameters

INSTANCE-ID

vlans VLANDID [,|.]

Specifies the MSTP Instance identifier to which the specified VLANs are mapped.

The instance 0 represents for default instance, CIST.

Specifies the number of the VLANs to be mapped to the specified instance. Valid values are from 1 to 4094.

Default

Command Mode

All VLANs are mapped to the CIST instance in default.

MST Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to map VLANs to the MST instance.

When mapping VLAN(s) to a MST instance, if this instance is not exist, this instance will be created automatically. User can use no instance INSTANCE-ID command to delete a MST instance manually.

Example

This example shows how to map a range of VLANs to instance 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#instance 2 vlans 1-100

Success

DXS-3600-32S(config-mst)#

52-9 name

This command is used to set the name of an MST region. To return to the default name, use the no form of this command.

name NAME

no name

Parameters

NAME

Specifies the name given for a specified MST region. The name string has a maximum length of 32 characters.

Default

Command Mode

The default value for name is the Bridge MAC Address.

MST Configuration Mode.

Command Default Level

Level: 8

474

Usage Guideline

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Two or more switches with the same VLAN mapping and configuration version number are considered to be in different MST regions if the region names are different.

Caution: Be careful when using the name command to set the name of an MST region. If you make a mistake, you can put the switch in a different region. The configuration name is a case-sensitive parameter.

Example

This example shows how to configure the MSTP configuration name to ‘region1’.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#name region1

Success

DXS-3600-32S(config-mst)#

13 2000-02-15 00:56:55 INFO(6) Spanning Tree MST configuration ID name and revision level change (name:region1 revision level:0)

DXS-3600-32S(config-mst)#

52-10 revision_level

This command is used to set the revision number for the MST configuration. To return to the default settings, use the no form of this command.

revision_level REVISION

no revision_level

Parameters

REVISION

Specifies the same given name with different revision level also represents for different MST region. The range is 0 to 65535.

Default

Command Mode

Default value for revision-level is 0.

MST Configuration Mode

Command Default Level

Level: 8

Usage Guideline

Two or more switches that have the same configuration but different revision numbers are considered to be part of two different regions.

Caution: Be careful when using the revision command to set the revision number of the MST configuration because a mistake can put the switch in a different region.

Example

This example shows how to configure the revision level of MSTP configuration to 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst configure

Success

DXS-3600-32S(config-mst)#revision_level 2

Success

DXS-3600-32S(config-mst)#

14 2000-02-15 01:00:08 INFO(6) Spanning Tree MST configuration ID name and revision level change (name:region1 revision level:2)

DXS-3600-32S(config-mst)#

475

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

52-11 spanning-tree mst

This command is used to set the path cost and port-priority parameters for any MST instance (including the CIST with instance ID 0). To return to the default settings, use the no form of this command.

spanning-tree mst INSTANCE-ID {cost COST | port-priority PRIORITY}

no spanning-tree mst INSTANCE-ID {cost | port-priority}

Parameters

INSTANCE-ID

cost COST

port-priority PRIORITY

Specifies the MSTP instance identifier. The instance 0 represents for default instance, CIST.

(Optional) Specifies the internal path cost for an instance. Valid values are from 0 to

200000000 and 0 means auto.

(Optional) Specifies the port priority for an instance. Valid values are from 0 to 240 in increments of 16.

Default

Command Mode

The default port priority is 128.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

Higher cost values indicate higher costs.

Smaller port-priority priority values indicate higher priorities.

Example

This example shows how to set the internal path cost of instance 0.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree mst 0 cost 32

Success

DXS-3600-32S(config-if)#

52-12 spanning-tree mst priority

This command is used to configure the bridge priority value for the selected MSTP instance. Use the no form of this command to return the setting to default setting.

spanning-tree mst INSTANCE-ID priority PRIORITY

no spanning-tree mst INSTANCE-ID priority

Parameters

INSTANCE-ID

PRIORITY

Specifies the MSTP instance identifier. The instance 0 represents for default instance, CIST.

Specifies the bridge priority value must be divisible by 4096. The range is 0 to 61440.

Default

The default value is 32768.

Command Mode

Global Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to configure the bridge priority for special MST instance.

476

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to configure bridge priority for the MSTP instance 2.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#spanning-tree mst 2 priority 0

Success

DXS-3600-32S(config)#

52-13 clear spanning-tree detected-protocols

This command is used to restart the protocol migration.

clear spanning-tree detected-protocols [interface INTERFACE-ID]

Parameters

interface INTERFACE-ID (Optional) Specifies the port interface that will be triggered the detecting action. If no option is specified, every port is affected by this command.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 8

Usage Guideline

This configuration is only effective for RSTP version or MSTP mode. By issuing the command Port protocol migrating state machine will be forced to SEND_RSTP state.

This action can be used to test whether all legacy bridges on a given LAN have been removed. If there is no STP Bridge on the LAN, the port will be operated in the configured mode, either in RSTP or MSTP mode. Otherwise, the port will be operated in STP mode.

RSTP and MST have built-in compatibility mechanisms that allow them to interact properly with other versions of IEEE spanning tree or other regions. For example, a bridge running RSTP can send 802.1D BPDUs on one of its ports when it is connected to a legacy bridge. An MST bridge can detect that a port is at the boundary of a region when it receives a legacy BPDU or an MST BPDU that is associated with a different region. These mechanisms are not always able to revert to the most efficient mode. For example, an RSTP bridge that is designated for a legacy 802.1D stays in 802.1D mode even after the legacy bridge has been removed from the link. Similarly, an MST port assumes that it is a boundary port when the bridges to which it is connected have joined the same region. To force the MST port to renegotiate with the neighbors, enter the clear spanning-tree detected-protocol command.

If you enter the clear spanning-tree detected-protocol command with no arguments, the command is applied to every port of the switch.

Example

This example shows how to trigger the protocol migration event for port 1.

DXS-3600-32S#clear spanning-tree detected-protocols interface tenGigabitEthernet 1

Success

DXS-3600-32S#

52-14 spanning-tree (interface configuration)

This command is used to enable the STP mode. Use no form to disable STP.

477

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

spanning-tree no spanning-tree

Parameters

Default

None.

The value is disabled in default.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The spanning-tree/no spanning-tree command allows the Spanning Tree Protocol to be enabled/disabled on the switch interface.

Example

This example shows how to enable STP on an interface.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree

Success

DXS-3600-32S(config-if)#

52-15 spanning-tree hello-time

This command is used to configure the MSTP port hello time. Use the no form of this command to return the setting to default setting.

spanning-tree hello-time SECONDS

no spanning-tree hello-time

Parameters

SECONDS

Specifies the time interval to send one BPDU at the Designated Port. The default setting is 2 seconds. The range is 1 to 2 seconds.

Default

Command Mode

The default value is 2.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

The port hello time is only used in MSTP version. This parameter cannot be configured in STP or RSTP version.

Example

This example shows how to configure the port hello time.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree hello-time 1

Success

DXS-3600-32S(config-if)#

52-16 spanning-tree externalcost

This command is used to configure the STP port external cost. Use the no form of this command to return the setting to default setting.

spanning-tree externalcost COST

478

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

no spanning-tree externalcost

Parameters

COST

Specifies the external cost of interface. Valid values are from 0 to 200000000 and 0 means auto.

Default

Command Mode

The default port cost is calculated by port speed.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

This command is used to configure the path cost between MST regions from the transmitting Bridge to the CIST Root Bridge.

Example

This example shows how to configure the external path cost.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree externalcost 22

Success

DXS-3600-32S(config-if)#

52-17 spanning-tree portfast

This command is used to enable fast forwarding mode where the interface is immediately put into the forwarding state upon linkup without waiting for the timer to expire.

spanning-tree portfast [disabled]

Parameters disabled

Specifies to disable the portfast on the interface.

Default

The default vaule is disabled.

Command Mode

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

You should use this command only with interfaces that connect to end stations; otherwise, an accidental topology loop could cause a data-packet loop and disrupt the switch and network operation.

An interface with portfast mode enabled is moved directly to the spanning-tree forwarding state when linkup occurs without waiting for the standard forward-time delay.

Example

This example shows how to configure the portfast state.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree portfast

Success

DXS-3600-32S(config-if)#

479

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

52-18 spanning-tree autoedge

This command is used to enable auto-edge on the interface. Use the disabled option of this command to disable autoedge on the interface.

spanning-tree autoedge [disabled]

Parameters disabled

Specifies to disable the auto-edge on the interface.

Default

Command Mode

By default, this option is enabled.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

In auto mode, the bridge will delay for a period to become edge port if no bridge

BPDU is received

Example

This example shows how to configure auto-edge.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree autoedge

Success

DXS-3600-32S(config-if)#

52-19 spanning-tree guard root

This command is used to the guard mode. To return to the default settings, use the no form of this command.

spanning-tree guard root no spanning-tree guard root

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

BPDU guard prevents a port from being a root port BPDUs. Typically, this feature is used in a service-provider environment where the network administrator wants to prevent a low speed port being a root for the local bridge networks. This configuration will take effect on all the spanning-tree versions.

A Boolean value set by management. If TRUE causes the Port not to be selected as

Root Port for the CIST or any MSTI, even it has the best spanning tree priority vector. Such a Port will be selected as an Alternate Port after the Root Port has been selected. This parameter should be FALSE by default. If set, it can cause lack of spanning tree connectivity. It is set by a network administrator to prevent bridges external to a core region of the network influencing the spanning tree active topology, possibly because those bridges are not under the full control of the administrator.

480

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to prevent a interface to being a root port.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree guard root

Success

DXS-3600-32S(config-if)#

52-20 spanning-tree link-type

This command is used to configure the link type of the interface. Use the no form of the command to restore the configuration to the default value.

spanning-tree link-type [point-to-point | shared] no spanning-tree link-type

Parameters point-to-point shared

Specifies to set the link type of the interface to point-to-point.

Specifies to forcibly set the link type of the interface to shared.

Default

Command Mode

For a full-duplex interface, its link type is set to a point-to-point link. For a half-duplex interface, its link type is set to shared.

Interface Configuration Mode.

Command Default Level

Level: 8

Usage Guideline

A full-duplex port is considered to have a point-to-point connection. On the opposite, a half-duplex port is considered to have a shared connection. The port can’t transit into the forwarding state rapidly by setting the link type to shared-media. Hence, the auto-determination of link-type by the STP module is recommended.

This configuration will take effect on all the spanning-tree modes.

Example

This example shows how to configure link type.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree link-type point-to-point

Success

DXS-3600-32S(config-if)#

52-21 spanning-tree tc-guard

This command is used to enable the Topology Change guard at the specific interface. Use no form of this command to disable TCN filtering.

spanning-tree tc-guard no spanning-tree tc-guard

Parameters

Default

Command Mode

None.

By default, this option is disabled.

Interface Configuration Mode.

481

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Command Default Level

Level: 8

Usage Guideline

Both of the physical port and port-channel interfaces are valid for this command.

This configuration will take effect on all the spanning-tree modes.

A Boolean value set by management. If TRUE causes the Port not to propagate received topology changenotifications and topology changes to other Ports. This parameter should be FALSE by default. If set it can cause temporary loss of connectivity after changes in a spanning trees active topology as a result opersistent incorrectly learned station location information. It is set by a network administrator to prevent bridges external to a core region of the network, causing address flushing in that region, possibly because those bridges are not under the full control of the administrator or MAC_Operational for the attached LANs transitions frequently.

Example

This example shows how to configure TCN filtering.

DXS-3600-32S#configure terminal

DXS-3600-32S(config)#interface tenGigabitEthernet 1

DXS-3600-32S(config-if)#spanning-tree tc-guard

Success

DXS-3600-32S(config-if)#

52-22 show spanning-tree

This command is used to display the global spanning-tree configurations.

show spanning-tree [summary | forward-time | hello-time | max-age | tx-hold-count | max-hops]

Parameters summary forward-time hello-time max-age tx-hold-count max-hops

Displays the information on various instances of MSTP.

Displays the forward-time.

Displays the hello-time.

Displays the max-age.

Displays the tx-hold-count.

Displays the max_hops.

Default

None.

Command Mode

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show the Spanning-Tree global configuration.

Example

This example shows how to display the global configuration of STP.

DXS-3600-32S#show spanning-tree

StpVersion : RSTP

StpStatus : Disabled

BridgeMaxAge : 21

BridgeHelloTime : 1

BridgeForwardDelay : 16

MaxHops : 19

TxHoldCount : 5

DXS-3600-32S#

482

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows how to display the global configuration of STP summary.

DXS-3600-32S#show spanning-tree summary

StpVersion : RSTP

StpStatus : Disabled

BridgeMaxAge : 21

BridgeHelloTime : 1

BridgeForwardDelay : 16

MaxHops : 19

TxHoldCount : 5

###### MST 0 vlans mapped : 1-4094

BridgeAddr : 0001.0203.0400

Priority : 32768

TimeSinceTopologyChange : 0d:0h:0m:0s

TopologyChanges : 0

DesignatedRoot : 0000.0000.0000.0000

RootCost : 0

RootPort : 0

CistRegionRoot : 0000.0000.0000.0000

CistPathCost : 0

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about forwardtime.

DXS-3600-32S#show spanning-tree forward-time

BridgeForwardDelay : 16

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about hello-time.

DXS-3600-32S#show spanning-tree hello-time

BridgeHelloTime : 1

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about max-age.

DXS-3600-32S#show spanning-tree max-age

BridgeMaxAge : 21

DXS-3600-32S#

Example

This example shows how to display the global configuration of STP about max_hops.

DXS-3600-32S#show spanning-tree max-hops

MaxHops : 19

DXS-3600-32S#

Example

This example shows how to the display global configuration of STP about tx-holdcount.

DXS-3600-32S#show spanning-tree tx-hold-count

TxHoldCount : 5

DXS-3600-32S#

483

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

52-23 show spanning-tree interface

This command is used to show the STP configuration of the interface.

show spanning-tree interface INTERFACE-ID [{portfast | link-type}]

Parameters

interface INTERFACE-ID Displays the STP interface information.

portfast

Displays the STP interface's portfast information

link-type

Displays the STP interface's link-type information.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show the STP configuration of the interface.

Example

This example shows the port information.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1

PortAdminExternalCost : 22

operExternalPortPathCost : 200000

PortAdminPortFast : Disabled

PortAutoEdge : Enabled

PortOperPortFast : Disabled

PortAdminLinkType : point-to-point

PortOperP2PLinkType : point-to-point

PortRootGuard : Enabled

PortTcGuard : Enabled

###### MST 0 vlans mapped : 1-4094

PortState : Disabled

PortPriority : 128

PortDesignatedRoot : 0000.0000.0000.0000

PortDesignatedCost : 0

PortDesignatedBridge : 0000.0000.0000.0000

PortDesignatedPort : 0

PortAdminInternalCost : 32

PortOperInternalCost : 200000

PortRole : Disabled

DXS-3600-32S#

Example

This example shows the port information about portfast.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1 portfast

PortAdminPortFast : Disabled

PortOperPortFast : Disabled

PortAdminAutoEdge : Enabled

PortOperAutoEdge : Disabled

DXS-3600-32S#

484

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows the port information about link-type.

DXS-3600-32S#show spanning-tree interface tenGigabitEthernet 1 link-type

PortAdminLinkType : point-to-point

PortOperP2PLinkType : point-to-point

DXS-3600-32S#

52-24 show spanning-tree mst

This command is used to display the information of MST and instances.

show spanning-tree mst {configuration | instance INTANCE-ID [interface INTERFACE-ID]}

Parameters configuration

INTANCE-ID

Specifies the MST configuration of the equipment.

Specifies the instance number.

interface INTERFACE-ID Specifies the interface number.

Default

Command Mode

None.

EXEC Mode.

Command Default Level

Level: 3

Usage Guideline

Show about MSTP information.

Example

This example shows the MST configuration,

DXS-3600-32S#show spanning-tree mst configuration

Multi spanning tree protocol : Disabled

Name : region1

Revision Level : 2

Instance VLANS Mapped

------- -------------------------------------------------------------

CIST 1-4094

DXS-3600-32S#

Example

This example shows MSTP port information.

DXS-3600-32S#show spanning-tree mst instance 0 interface tenGigabitEthernet 1

###### MST 0 vlans mapped : 1-4094

PortState : Disabled

PortPriority : 128

PortDesignatedRoot : 0000.0000.0000.0000

PortDesignatedCost : 0

PortDesignatedBridge : 0000.0000.0000.0000

PortDesignatedPort : 0

PortAdminInternalCost : 32

PortOperInternalCost : 200000

PortRole : Disabled

DXS-3600-32S#

485

DXS-3600-32S 10GbE Layer 2/3 Switch CLI Reference Guide

Example

This example shows MSTP instance information.

DXS-3600-32S#show spanning-tree mst instance 0

###### MST 0 vlans mapped : 1-4094

BridgeAddr : 0001.0203.0400

Priority : 32768

TimeSinceTopologyChange : 0d:0h:0m:0s

TopologyChanges : 0

DesignatedRoot : 0000.0000.0000.0000

RootCost : 0

RootPort : 0

CistRegionRoot : 0000.0000.0000.0000

CistPathCost : 0

DXS-3600-32S#

486

advertisement

Was this manual useful for you? Yes No
Thank you for your participation!

* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project

Related manuals

Download PDF

advertisement

Table of contents