AT-8000GS Series Command Line User Guide

AT-S95 Version 2.0.0.22

Spanning-Tree Commands

spanning-tree

The spanning-tree Global Configuration mode command enables spanning-tree functionality. Use the no form of this command to disable spanning-tree functionality.

Syntax

spanning-tree

no spanning-tree

Parameters

This command has no arguments or keywords.

Default Configuration

Spanning-tree is enabled.

Command Modes

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example enables spanning-tree functionality.

console(config)# spanning-tree

spanning-tree mode

The spanning-tree mode Global Configuration mode command configures the spanning-tree protocol. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mode {stp | rstp| mstp}

no spanning-tree mode

Parameters

stp — Indicates that the Spanning Tree Protocol (STP) is enabled.

rstp — Indicates that the Rapid Spanning Tree Protocol (RSTP) is enabled.

mstp — Indicates that the Multiple Spanning Tree Protocol (RSTP) is enabled.

Default Configuration

STP is enabled.

Command Modes

Global Configuration mode

User Guidelines

In RSTP mode, the device uses STP when the neighbor device uses STP.

In MSTP mode, the device uses RSTP when the neighbor device uses RSTP and uses STP when the neighbor device uses STP.

Example

The following example configures the spanning-tree protocol to RSTP.

console(config)# spanning-tree mode rstp

spanning-tree forward-time

The spanning-tree forward-time Global Configuration mode command configures the spanning-tree bridge forward time, which is the amount of time a port remains in the listening and learning states before entering the forwarding state. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree forward-time seconds

no spanning-tree forward-time

Parameters

seconds — Time in seconds. (Range: 4 - 30)

Default Configuration

The default forwarding time for the IEEE Spanning Tree Protocol (STP) is 15 seconds.

Command Modes

Global Configuration mode

User Guidelines

When configuring the forwarding time, the following relationship should be kept:

2*(Forward-Time - 1) >= Max-Age

Example

The following example configures the spanning tree bridge forwarding time to 25 seconds.

console(config)# spanning-tree forward-time 25

spanning-tree hello-time

The spanning-tree hello-time Global Configuration mode command configures the spanning tree bridge hello time, which is how often the device Broadcasts hello messages to other devices. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree hello-time seconds

no spanning-tree hello-time

Parameters

seconds — Time in seconds. (Range: 1 - 10)

Default Configuration

The default hello time for IEEE Spanning Tree Protocol (STP) is 2 seconds.

Command Modes

Global Configuration mode

User Guidelines

When configuring the hello time, the following relationship should be kept:

Max-Age >= 2*(Hello-Time + 1)

Example

The following example configures spanning tree bridge hello time to 5 seconds.

console(config)# spanning-tree hello-time 5

spanning-tree max-age

The spanning-tree max-age Global Configuration mode command configures the spanning tree bridge maximum age. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree max-age seconds

no spanning-tree max-age

Parameters

seconds — Time in seconds. (Range: 6 - 40)

Default Configuration

The default maximum age for IEEE Spanning Tree Protocol (STP) is 20 seconds.

Command Modes

Global Configuration mode

User Guidelines

When configuring the maximum age, the following relationships should be kept:

2*(Forward-Time - 1) >= Max-Age

Max-Age >= 2*(Hello-Time + 1)

Example

The following example configures the spanning tree bridge maximum-age to 10 seconds.

console(config)# spanning-tree max-age 10

spanning-tree priority

The spanning-tree priority Global Configuration mode command configures the spanning tree priority of the device. The priority value is used to determine which bridge is elected as the root bridge. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree priority priority

no spanning-tree priority

Parameters

priority — Priority of the bridge. (Range: 0 - 61440 in steps of 4096)

Default Configuration

The default bridge priority for IEEE Spanning Tree Protocol (STP) is 32768.

Command Modes

Global Configuration mode

User Guidelines

The bridge with the lowest priority is elected as the root bridge.

Example

The following example configures spanning tree priority to 12288.

console(config)# spanning-tree priority 12288

spanning-tree disable

The spanning-tree disable Interface Configuration mode command disables spanning tree on a specific port. Use the no form of this command to enable spanning tree on a port.

Syntax

spanning-tree disable

no spanning-tree disable

Parameters

This command has no arguments or keywords.

Default Configuration

Spanning tree is enabled on all ports.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example disables spanning-tree on Ethernet port 1/e16.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree disable

spanning-tree cost

The spanning-tree cost Interface Configuration mode command configures the spanning tree path cost for a port. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree cost cost

no spanning-tree cost

Parameters

cost — Path cost of the port (Range: 1 - 200,000,000)

Default Configuration

Default path cost is determined by port speed and path cost method (long or short) as shown below:

Interface

Long

Short

Port-channel

20,000

4

Gigabit Ethernet (1000 Mbps)

20,000

4

Fast Ethernet (100 Mbps)

200,000

19

Ethernet (10 Mbps)

2,000,000

100

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

The path cost method is configured using the spanning-tree pathcost method Global Configuration mode command.

Example

The following example configures the spanning-tree cost on Ethernet port 1/e16 to 35000.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree cost 35000

spanning-tree port-priority

The spanning-tree port-priority Interface Configuration mode command configures port priority. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree port-priority priority

no spanning-tree port-priority

Parameters

priority — The priority of the port. (Range: 0 - 240 in multiples of 16)

Default Configuration

The default port priority for IEEE Spanning TreeProtocol (STP) is 128.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the spanning priority on Ethernet port 1/e16 to 96.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree port-priority 96

spanning-tree portfast

The spanning-tree portfast Interface Configuration mode command enables PortFast mode. In PortFast mode, the interface is immediately put into the forwarding state upon linkup without waiting for the standard forward time delay. Use the no form of this command to disable PortFast mode.

Syntax

spanning-tree portfast

no spanning-tree portfast

Parameters

This command has no arguments or keywords.

Default Configuration

PortFast mode is disabled.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

This feature should be used only with interfaces connected to end stations. Otherwise, an accidental topology loop could cause a data packet loop and disrupt device and network operations.

Example

The following example enables PortFast on Ethernet port 1/e16.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree portfast

spanning-tree link-type

The spanning-tree link-type Interface Configuration mode command overrides the default link-type setting determined by the duplex mode of the port and enables Rapid Spanning Tree Protocol (RSTP) transitions to the forwarding state. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree link-type {point-to-point | shared}

no spanning-tree spanning-tree link-type

Parameters

point-to-point —Indicates that the port link type is point-to-point.

shared — Indicates that the port link type is shared.

Default Configuration

The device derives the port link type from the duplex mode. A full-duplex port is considered a point-to-point link and a half-duplex port is considered a shared link.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example enables shared spanning-tree on Ethernet port 1/e16.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree link-type shared

spanning-tree pathcost method

The spanning-tree pathcost method Global Configuration mode command sets the default path cost method. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree pathcost method {long | short}

no spanning-tree pathcost method

Parameters

long — Specifies port path costs with a range of 1 - 200,000,000.

short — Specifies port path costs with a range of 0 - 65,535.

Default Configuration

Short path cost method.

Command Mode

Global Configuration mode

User Guidelines

This command applies to all spanning tree instances on the device.

The cost is set using the spanning-tree cost command.

Example

The following example sets the default path cost method to long.

console(config)# spanning-tree pathcost method long

spanning-tree bpdu

The spanning-tree bpdu Global Configuration mode command defines BPDU handling when the spanning tree is disabled globally or on a single interface. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree bpdu {filtering | flooding}

Parameters

filtering — Filter BPDU packets when the spanning tree is disabled on an interface.

flooding — Flood BPDU packets when the spanning tree is disabled on an interface.

Default Configuration

The default setting is flooding.

Command Modes

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example defines BPDU packet flooding when the spanning-tree is disabled on an interface.

console(config)# spanning-tree bpdu flooding

spanning-tree guard root

The spanning-tree guard root Interface Configuration (Ethernet, port-channel) mode command enables root guard on all spanning tree instances on the interface. Root guard prevents the interface from becoming the root port of the device. Use the no form of this command to disable root guard on the interface.

Syntax

spanning-tree guard root

no spanning-tree guard root

Parameters

This command has no arguments or keywords.

Default Configuration

Root guard is disabled.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

Root guard can be enabled when the device operates in STP, RSTP and MSTP.

When root guard is enabled, the port changes to the alternate state if spanning-tree calculations selects the port as the root port.

Example

The following example prevents Ethernet port 1/e1 from being the root port of the device.

console(config) # interface ethernet 1/e1

console(config-mst) # spanning-tree guard root

spanning-tree bpduguard

The spanning-tree bpduguard Interface Configuration (Ethernet, port-channel) mode command shuts down an interface when it receives a bridge protocol data unit (BPDU). Use the no form of this command to restore the default configuration.

Syntax

spanning-tree bpduguard

no spanning-tree bpduguard

Parameters

This command has no arguments or keywords.

Default Configuration

The default configuration is set to disabled.

Command Mode

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

You can enable the command when the spanning tree is enabled (useful when the port is in the PortFast mode) or disabled.

Example

The following example shuts down an interface when it receives a BPDU.

console(config)# interface ethernet 1/e16

console(config-if)# spanning-tree bpduguard

clear spanning-tree detected-protocols

The clear spanning-tree detected-protocols Privileged EXEC mode command restarts the protocol migration process (forces renegotiation with neighboring devices) on all interfaces or on a specified interface.

Syntax

clear spanning-tree detected-protocols [ethernet interface | port-channel port-channel-number]

Parameters

interface — A valid Ethernet port.

port-channel-number — A valid port-channel number.

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC mode

User Guidelines

This feature should be used only when working in RSTP or MSTP mode.

Example

The following example restarts the protocol migration process on Ethernet port 1/e16.

console# clear spanning-tree detected-protocols ethernet 1/e16

spanning-tree mst priority

The spanning-tree mst priority Global Configuration mode command configures the device priority for the specified spanning-tree instance. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mst instance-id priority priority

no spanning-tree mst instance-id priority

Parameters

instance -id — ID of the spanning -tree instance (Range: 1 - 8).

priority — Device priority for the specified spanning-tree instance (Range: 0 - 61440 in multiples of 4096).

Default Configuration

The default bridge priority for IEEE Spanning Tree Protocol (STP) is 32768.

Command Mode

Global Configuration mode

User Guidelines

The device with the lowest priority is selected as the root of the spanning tree.

Example

The following example configures the spanning tree priority of instance 1 to 4096.

console(config) # spanning-tree mst 1 priority 4096

spanning-tree mst max-hops

The spanning-tree mst priority Global Configuration mode command configures the number of hops in an MST region before the BDPU is discarded and the port information is aged out. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mst max-hops hop-count

no spanning-tree mst max-hops

Parameters

hop-count—Number of hops in an MST region before the BDPU is discarded (Range: 1-40).

Default Configuration

The default number of hops is 20.

Command Mode

Global Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the maximum number of hops that a packet travels in an MST region before it is discarded to 10.

console(config) # spanning-tree mst max-hops 10

spanning-tree mst port-priority

The spanning-tree mst port-priority Interface Configuration mode command configures port priority for the specified MST instance. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mst instance-id port-priority priority

no spanning-tree mst instance-id port-priority

Parameters

instance-ID—ID of the spanning tree instance. (Range: 1 - 8)

priority—The port priority. (Range: 0 - 240 in multiples of 16)

Default Configuration

The default port priority for IEEE Multiple Spanning Tree Protocol (MSTP) is 128.

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the port priority of port e1 to 142.

console(config)# interface ethernet e1

console(config-if)# spanning-tree mst 1 port-priority 142

spanning-tree mst cost

The spanning-tree mst cost Interface Configuration mode command configures the path cost for multiple spanning tree (MST) calculations. If a loop occurs, the spanning tree considers path cost when selecting an interface to put in the forwarding state. Use the no form of this command to return to the default configuration.

Syntax

spanning-tree mst instance-id cost cost

no spanning-tree mst instance-id cost

Parameters

instance-ID—ID of the spanning -tree instance (Range: 1- 7).

cost—The port path cost. (Range: 1 - 200,000,000)

Default Configuration

Default path cost is determined by port speed and path cost method (long or short) as shown below:

Interface

Long

Short

Port-channel

20,000

4

Gigabit Ethernet (1000 Mbps)

20,000

4

Fast Ethernet (100 Mbps)

200,000

19

Ethernet (10 Mbps)

2,000,000

100

Command Modes

Interface Configuration (Ethernet, port-channel) mode

User Guidelines

There are no user guidelines for this command.

Example

The following example configures the MSTP instance 1 path cost for Ethernet port 1/e16 to 4.

console(config) # interface ethernet 1/e16

console(config-if) # spanning-tree mst 1 cost 4

spanning-tree mst configuration

The spanning-tree mst configuration Global Configuration mode command enables configuring an MST region by entering the Multiple Spanning Tree (MST) mode.

Syntax

spanning-tree mst configuration

Parameters

This command has no arguments or keywords.

Default Configuration

This command has no default configuration.

Command Mode

Global Configuration mode

User Guidelines

All devices in an MST region must have the same VLAN mapping, configuration revision number and name.

Example

The following example configures an MST region.

console(config)# spanning-tree mst configuration

console(config-mst) # instance 1 add vlan 10-20

console(config-mst) # name region1

console(config-mst) # revision 1

instance (mst)

The instance MST Configuration mode command maps VLANS to an MST instance.

Syntax

instance instance-id {add | remove} vlan vlan-range

Parameters

instance-ID—ID of the MST instance (Range: 1 - 7).

vlan-range—VLANs to be added to or removed from the specified MST instance. To specify a range of VLANs, use a hyphen. To specify a series of VLANs, use a comma. (Range: 1 - 4094).

Default Configuration

VLANs are mapped to the common and internal spanning tree (CIST) instance (instance 0).

Command Modes

MST Configuration mode

User Guidelines

All VLANs that are not explicitly mapped to an MST instance are mapped to the common and internal spanning tree (CIST) instance (instance 0) and cannot be unmapped from the CIST.

For two or more devices to be in the same MST region, they must have the same VLAN mapping, the same configuration revision number, and the same name.

Example

The following example maps VLANs 10 - 20 to MST instance 1.

console(config)# spanning-tree mst configuration

console(config-mst)# instance 1 add vlan 10-20

name (mst)

The name MST Configuration mode command defines the configuration name. Use the no form of this command to return to the default setting.

Syntax

name string

no name

Parameters

string—MST configuration name. Case-sensitive (Range: 1 - 32 characters).

Default Configuration

The default name is a bridge ID.

Command Mode

MST Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example defines the configuration name as region1.

console(config) # spanning-tree mst configuration

console(config-mst) # name region 1

revision (mst)

The revision MST configuration command defines the configuration revision number. Use the no form of this command to return to the default configuration.

Syntax

revision value

no revision

Parameters

value—Configuration revision number (Range: 0 - 65535).

Default Configuration

The default configuration revision number is 0.

Command Mode

MST Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example sets the configuration revision to 1.

console(config) # spanning-tree mst configuration

console(config-mst) # revision 1

show (mst)

The show MST Configuration mode command displays the current or pending MST region configuration.

Syntax

show {current | pending}

Parameters

currentIndicates the current region configuration.

pendingIndicates the pending region configuration.

Default Configuration

This command has no default configuration.

Command Mode

MST Configuration mode

User Guidelines

The pending MST region configuration takes effect only after entering the MST configuration mode.

Example

The following example displays a pending MST region configuration.

console(config-mst)# show pending

Pending MST configuration

Name: Region1

Revision: 1

Instance

Vlans Mapped

State

--------

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

-------

 

0

1-9,21-4094

Enabled

1

10-20

Enabled

exit (mst)

The exit MST Configuration mode command exits the MST configuration mode and applies all configuration changes.

Syntax

exit

Parameters

This command has no arguments or keywords.

Default Configuration

This command has no default configuration.

Command Mode

MST Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example exits the MST configuration mode and saves changes.

console(config) # spanning-tree mst configuration

console(config-mst) # exit

abort (mst)

The abort MST Configuration mode command exits the MST configuration mode without applying the configuration changes.

Syntax

abort

Parameters

This command has no arguments or keywords.

Default Configuration

This command has no default configuration.

Command Mode

MST Configuration mode

User Guidelines

There are no user guidelines for this command.

Example

The following example exits the MST configuration mode without saving changes.

console(config) # spanning-tree mst configuration

console(config-mst) # abort

show spanning-tree

The show spanning-tree Privileged EXEC mode command shows spanning tree configuration.

Syntax

show spanning-tree [ethernet interface -number| port-channel port-channel-number] [instance instance-id]

show spanning-tree [detail] [active | blockedports] [instance instance-id]

show spanning-tree mst-configuration

Parameters

detail —Display detailed information.

active — Display active ports only.

blockedports — Display blocked ports only.

mst-configuration — Display the MST configuration identifier.

interface-number — Ethernet port number.

port-channel-number — Port channel index.

instance-id — ID associated with a spanning-tree instance.

Default Configuration

This command has no default configuration.

Command Modes

Privileged EXEC mode

User Guidelines

There are no user guidelines for this command.

Examples

The following examples displays spanning-tree information.

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree enabled mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

32768

 

 

 

 

 

Address

 

00:01:42:97:e0:00

 

Path Cost

 

20000

 

 

 

 

 

Root Port

 

1 (1/e1)

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Bridge ID

Priority

 

36864

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e1

Enabled

128.1

20000

FWD

Root

No

P2p (RSTP)

1/e2

Enabled

128.2

20000

FWD

Desg

No

Shared (STP)

1/e3

Disabled

128.3

20000

-

-

-

e-

1/e4

Enabled

128.4

20000

BLK

ALTN

No

Shared (STP)

1/e5

Enabled

128.5

20000

DIS

-

-

-

 

 

 

 

 

 

 

 

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree enabled mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

36864

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

This switch is the root.

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e1

Enabled

128.1

20000

FWD

Desg

No

P2p (RSTP)

1/e2

Enabled

128.2

20000

FWD

Desg

No

Shared (STP)

1/e3

Disabled

128.3

20000

-

-

-

-

1/e4

Enabled

128.4

20000

FWD

Desg

No

Shared (STP)

1/e5

Enabled

128.5

20000

DIS

-

-

-

 

 

 

 

 

 

 

 

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree disabled (BPDU filtering) mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

N/A

 

 

 

 

 

Address

 

N/A

 

Path Cost

 

N/A

 

 

 

 

 

Root Port

 

N/A

 

 

 

 

 

Hello Time N/A

Max Age N/A

Forward Delay N/A

 

 

 

 

 

 

 

 

Bridge ID

Priority

 

36864

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----

1/e1

Enabled

128.1

20000

-

-

-

-

1/e2

Enabled

128.2

20000

-

-

-

-

1/e3

Disabled

128.3

20000

-

-

-

-

1/e4

Enabled

128.4

20000

-

-

-

-

1/e5

Enabled

128.5

20000

-

-

-

-

 

 

 

 

 

 

 

 

console# show spanning-tree active

 

 

 

 

 

 

 

 

Spanning tree enabled mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

32768

 

 

 

 

 

Address

 

00:01:42:97:e0:00

 

Path Cost

 

20000

 

 

 

 

 

Root Port

 

1 (1/e1)

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Bridge ID

Priority

 

36864

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e1

Enabled

128.1

20000

FWD

Root

No

P2p (RSTP)

1/e2

Enabled

128.2

20000

FWD

Desg

No

Shared (STP)

1/e3

Enabled

128.4

20000

BLK

ALTN

No

Shared (STP)

 

 

 

 

 

 

 

 

console# show spanning-tree blockedports

 

 

 

 

 

 

 

 

Spanning tree enabled mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

32768

 

 

 

 

 

Address

 

00:01:42:97:e0:00

 

Path Cost

 

20000

 

 

 

 

 

Root Port

 

1 (1/e1)

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Bridge ID

Priority

 

36864

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e4

Enabled

128.4

19

BLK

ALTN

No

Shared (STP)

 

 

 

 

 

 

 

 

console# show spanning-tree detail

 

 

 

 

 

 

 

 

Spanning tree enabled mode RSTP

Default port cost method: long

 

 

 

 

 

 

 

 

Root ID

Priority

 

32768

 

 

 

 

 

Address

 

00:01:42:97:e0:00

 

Path Cost

 

20000

 

 

 

 

 

Root Port

 

1 (1/e1)

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Bridge ID

Priority

36864

 

 

 

 

 

 

Address

 

00:02:4b:29:7a:00

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

Number of topology changes 2 last change occurred 2d18h ago

Times:

hold 1, topology change 35, notification 2

 

hello 2, max age 20, forward delay 15

 

 

 

 

 

 

 

 

 

Port 1 (1/e1) enabled

State: Forwarding

Role: Root

Port id: 128.1

Port cost: 20000

Type: P2p (configured: auto) RSTP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

Address: 00:01:42:97:e0:00

Designated port id: 128.25

Designated path cost: 0

Number of transitions to forwarding state: 1

BPDU: sent 2, received 120638

 

 

 

 

 

 

 

 

Port 2 (1/e2) enabled

State: Forwarding

Role: Designated

Port id: 128.2

Port cost: 20000

Type: Shared (configured: auto) STP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

Address: 00:02:4b:29:7a:00

Designated port id: 128.2

Designated path cost: 20000

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

Port 3 (1/e3) disabled

State: N/A

Role: N/A

Port id: 128.3

Port cost: 20000

Type: N/A (configured: auto)

Port Fast: N/A (configured:no)

Designated bridge Priority: N/A

Address: N/A

Designated port id: N/A

Designated path cost: N/A

Number of transitions to forwarding state: N/A

BPDU: sent N/A, received N/A

 

 

 

 

 

 

 

 

Port 4 (1/e4) enabled

State: Blocking

Role: Alternate

Port id: 128.4

Port cost: 20000

Type: Shared (configured:auto) STP

Port Fast: No (configured:no)

Designated bridge Priority: 28672

Address: 00:30:94:41:62:c8

Designated port id: 128.25

Designated path cost: 20000

Guard Root: Disabled

BPDU Guard:Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 120638

 

 

 

 

 

 

 

 

Port 5 (1/e5) enabled

State: Disabled

Role: N/A

Port id: 128.5

Port cost: 20000

Type: N/A (configured: auto)

Port Fast: N/A (configured:no)

Designated bridge Priority: N/A

Address: N/A

Designated port id: N/A

Designated path cost: N/A

Number of transitions to forwarding state: N/A

BPDU: sent N/A, received N/A

 

 

 

 

 

 

 

 

console# show spanning-tree ethernet 1/e1

Port 1 (1/e1) enabled

State: Forwarding

Role: Root

Port id: 128.1

Port cost: 20000

Type: P2p (configured: auto) RSTP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

Address: 00:01:42:97:e0:00

Designated port id: 128.25

Designated path cost: 0

Number of transitions to forwarding state: 1

BPDU: sent 2, received 120638

 

 

 

 

 

 

 

 

console# show spanning-tree mst-configuration

 

 

 

 

 

 

 

 

Name: Region1

Revision: 1

 

Instance

Vlans mapped

State

 

 

--------

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

-------

 

 

 

0

 

1-9, 21-4094

Enabled

 

 

 

1

 

10-20

 

Enabled

 

 

 

 

 

 

 

 

 

 

 

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree enabled mode MSTP

Default port cost method: long

 

 

 

 

 

 

 

 

###### MST 0 Vlans Mapped: 1-9,

CST Root ID

Priority

32768

 

 

 

 

 

Address

00:01:42:97:e0:00

 

 

Path Cost

20000

 

 

 

 

 

 

Root Port

1 (1/e1)

 

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

IST Master ID

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:29:7a:00

 

 

 

 

 

This switch is the IST master.

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

Max hops

20

 

 

 

 

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e1

Enabled

128.1

20000

FWD

Root

No

P2p Bound (RSTP)

1/e2

Enabled

128.2

20000

FWD

Desg

No

Shared Bound (STP)

1/e3

Enabled

128.3

20000

FWD

Desg

No

P2p

1/e4

Enabled

128.4

20000

FWD

Desg

No

P2p

 

 

 

 

 

 

 

 

###### MST 1 Vlans Mapped: 10-20

CST Root ID

Priority

24576

 

 

 

 

 

Address

00:02:4b:29:89:76

 

 

Path Cost

20000

 

 

 

 

 

 

Root Port

4 (1/4)

 

 

 

 

 

 

Rem hops

19

 

 

 

 

 

 

 

 

 

 

Bridge ID

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:29:7a:00

 

 

 

 

 

 

 

 

 

 

 

Interfaces

 

 

 

 

 

 

Name

State

Prio.Nbr

Cost

Sts

Role

PortFast

Type

----

-------

--------

-----

---

----

--------

----------

1/e1

Enabled

128.1

20000

FWD

Boun

No

P2p Bound (RSTP)

1/e2

Enabled

128.2

20000

FWD

Boun

No

Shared Bound (STP)

1/e3

Enabled

128.3

20000

BLK

Altn

No

P2p

1/e4

Enabled

128.4

20000

FWD

Desg

No

P2p

 

 

 

 

 

 

 

 

console# show spanning-tree detail

 

 

 

 

 

 

 

 

Spanning tree enabled mode MSTP

Default port cost method: long

 

 

 

 

 

 

 

 

###### MST 0 Vlans Mapped: 1-9, 21-4094

CST Root ID

Priority

32768

 

 

 

 

 

Address

00:01:42:97:e0:00

 

 

Path Cost

20000

 

 

 

 

 

 

Root Port

1 (1/1)

 

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

IST Master ID

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:29:7a:00

 

 

 

 

 

This switch is the IST master.

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

Max hops

20

 

 

 

 

 

 

Number of topology changes 2 last change occurred 2d18h ago

 

 

Times: hold 1, topology change 35, notification 2

hello 2, max age 20, forward delay 15

 

 

 

 

 

 

 

 

Port 1 (1/e1) enabled

State: Forwarding

 

Role: Root

Port id: 128.1

 

Port cost: 20000

Type: P2p (configured: auto) Boundary RSTP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:01:42:97:e0:00

Designated port id: 128.25

 

Designated path cost: 0

Number of transitions to forwarding state: 1

BPDU: sent 2, received 120638

 

 

 

 

 

 

 

 

Port 2 (1/e2) enabled

State: Forwarding

 

Role: Designated

Port id: 128.2

 

Port cost: 20000

Type: Shared (configured: auto) Boundary STP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.2

 

Designated path cost: 20000

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

Port 3 (1/e3) enabled

State: Forwarding

 

Role: Designated

Port id: 128.3

 

Port cost: 20000

Type: Shared (configured: auto) Internal

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.3

 

Designated path cost: 20000

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

Port 4 (1/e4) enabled

State: Forwarding

 

Role: Designated

Port id: 128.4

 

Port cost: 20000

Type: Shared (configured: auto) Internal

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.2

 

Designated cost: 20000

Guard Root: Disabled

BPDU Guard: Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

###### MST 1 Vlans Mapped: 10-20

Root ID

Priority

24576

 

 

 

 

 

Address

00:02:4b:29:89:76

 

 

Path Cost

20000

 

 

 

 

 

 

Port Cost

4 (1/4)

 

 

 

 

 

 

Rem hops

19

 

 

 

 

 

 

 

 

 

 

Bridge ID

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:29:7a:00

 

 

Number of topology changes 2 last change occurred 1d9h ago

 

 

Times: hold 1, topology change 2, notification 2

hello 2, max age 20, forward delay 15

 

 

 

Port 1 (1/e1) enabled

State: Forwarding

 

Role: Boundary

Port id: 128.1

 

Port cost: 20000

Type: P2p (configured: auto) Boundary RSTP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.1

 

Designated path cost: 20000

Guard Root: Disabled

BPDU Guard: Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 120638

 

 

 

 

 

 

 

 

Port 2 (1/e2) enabled

State: Forwarding

 

Role: Designated

Port id: 128.2

 

Port cost: 20000

Type: Shared (configured: auto) Boundary STP

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.2

 

Designated cost: 20000

Guard Root: Disabled

BPDU Guard: Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

Port 3 (1/e3) disabled

State: Blocking

 

Role: Alternate

Port id: 128.3

 

Port cost: 20000

Type: Shared (configured: auto) Internal

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:1a:19

Designated port id: 128.78

 

Designated cost: 20000

Guard Root: Disabled

BPDU Guard: Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

Port 4 (1/e4) enabled

State: Forwarding

 

Role: Designated

Port id: 128.4

 

Port cost: 20000

Type: Shared (configured: auto) Internal

Port Fast: No (configured:no)

Designated bridge Priority: 32768

 

Address: 00:02:4b:29:7a:00

Designated port id: 128.2

 

Designated cost: 20000

Guard Root: Disabled

BPDU Guard: Disabled

Number of transitions to forwarding state: 1

BPDU: sent 2, received 170638

 

 

 

 

 

 

 

 

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree enabled mode MSTP

Default port cost method: long

 

 

 

 

 

 

 

 

###### MST 0 Vlans Mapped: 1-9

CST Root ID

Priority

32768

 

 

 

 

 

Address

00:01:42:97:e0:00

 

 

Path Cost

20000

 

 

 

 

 

 

Root Port

1 (1/e1)

 

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

 

 

 

 

 

 

IST Master ID

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:19:7a:00

 

 

 

 

 

Path Cost

10000

 

 

 

 

 

 

Rem hops

19

 

 

 

 

 

 

 

 

 

 

 

 

Bridge ID

 

Priority

32768

 

 

 

 

 

 

Address

00:02:4b:29:7a:00

 

 

 

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

Max hops

20

 

 

 

 

 

 

 

console# show spanning-tree

 

 

 

 

 

 

 

 

Spanning tree enabled mode MSTP

Default port cost method: long

 

 

 

 

 

 

 

 

###### MST 0 Vlans Mapped: 1-9

CST Root ID

Priority

32768

 

 

 

 

 

Address

00:01:42:97:e0:00

 

 

This switch is root for CST and IST master.

 

 

Hello Time 2 sec

Max Age 20 sec

Forward Delay 15 sec

 

 

Max hops

20