Configuring Spanning Tree Protocol

Information About Spanning Tree Protocol

The following sections provide information about spanning tree protocol (STP), about BPDU, about RSTP and configuring STP.

About Spanning Tree Protocol

Spanning Tree Protocol (STP) is a Layer 2 link management protocol that provides path redundancy while preventing loops in the network. For a Layer 2 Ethernet network to function properly, only one active path can exist between any two stations. Multiple active paths among end stations cause loops in the network. If a loop exists in the network, end stations might receive duplicate messages. Devices might also learn end-station MAC addresses on multiple Layer 2 interfaces. These conditions result in an unstable network. Spanning-tree operation is transparent to end stations, which cannot detect whether they are connected to a single LAN segment or a switched LAN of multiple segments.

The STP uses a spanning-tree algorithm to select one device of a redundantly connected network as the root of the spanning tree. The algorithm calculates the best loop-free path through a switched Layer 2 network by assigning a role to each port based on the role of the port in the active topology:

  • Root—A forwarding port elected for the spanning-tree topology

  • Designated—A forwarding port elected for every switched LAN segment

  • Alternate—A blocked port providing an alternate path to the root bridge in the spanning tree

  • Backup—A blocked port in a loopback configuration

The device that has all its ports as the designated role or as the backup role is the root device. The device that has at least one of its ports in the designated role is called the designated device.

Spanning tree forces redundant data paths into a standby (blocked) state. If a network segment in the spanning tree fails and a redundant path exists, the spanning-tree algorithm recalculates the spanning-tree topology and activates the standby path.

About Bridge Protocol Data Unit

Devices send and receive spanning-tree frames, called bridge protocol data units (BPDUs), at regular intervals. The devices do not forward these frames but use them to construct a loop-free path. BPDUs contain information about the sending device and its ports, including device and MAC addresses, device priority, port priority, and path cost. Spanning tree uses this information to elect the root device and root port for the switched network and the root port and designated port for each switched segment.

About RSTP

Rapid Spanning Tree Protocol (RSTP) is an optimized version of the STP protocol. In RSTP the delay of entering the forwarding state is reduced when a port is selected as a root port and a designated port. This provides rapid convergence for the network to reach the topology stability.

The following lists the conditions under which RSTP works on ports.

  • Rapid convergence of the port state of the root port occurs when the previous root port on the device has stopped forwarding data and the upstream port has started forwarding data.

  • Rapid convergence of the port state of the designated port occurs when the designated port either is an edge port or connected to a point-to-point link.

    If the designated port is an edge port, then the designated port can directly forward data.

    If the designated port is connected with a point-to-point link, the device can forward data only after receiving the handshake from the downstream device.

Although RSTP can provide rapid convergence, compared to a STP it has certain limitations which are as follows.

  • All bridges in a LAN share the same spanning tree.

    VLAN based redundant links cannot be blocked.

    All VLAN messages are forwarded along a spanning tree.

Configuring STP

To configure STP on a device, you need to perform the following configurations.

  1. Enable the STP. By default, all ports are included in the spanning tree topology. To disable spanning tree on a port, use the no spanning-tree command in configuration mode. After the spanning tree is enabled globally, RSTP is selected by default.

  2. Configure time parameters. The device has the following three time parameters

    • Forward delay:

      The default is 15 seconds. If the forward delay value is too small, a temporary redundant path is introduced. If the forward delay value is too big, the network does not resume communication for a long time. The range is 4-30 seconds.

      The forward delay value must be greater than or equal to hello time interval.

    • Hello Time:

      The default value is 2 seconds. A long Hello time value causes the bridge to consider a link failure and recalculate the spanning tree topology due to link message loss. A short Hello time value causes the bridge to constantly send configuration information which increases the internet and CPU load. The range is 1-10.

      The Hello time value must be less than or equal to forward delay value

    • Max Age:

      Max Age sets the maximum time interval for an STP message. If the time interval times out, the message is discarded. The Max Age time interval depends on the network diameter of the switching network. The default is 20 seconds. If the interval is too small, spanning tree calculation occurs more frequently and network congestion may be mistaken for network link failure. If the interval is too large, the network is not able to detect link failure. The Max Age interval ranges from 6-40.

    Configure these three parameters on the switch for STP or RSTP calculation.

  3. Configure path cost of a port. Configuring path cost of a port allows the port to easily become a root port or a designated port. The path cost of a port is dependent on the port speed. The higher the port speed, the smaller is the path cost of the port. STP automatically converts the port speed into the corresponding path cost.

    Configuring the path cost of an Ethernet port will cause the spanning tree recalculations. The path cost range of a port is from 1 to 65,535. It is recommended to use the default value. The STP protocol calculates the path cost of the current port. By default, the path cost is determined from the speed of a specific port. The default value changes based on the port speed. For example, if the port speed is 10M, then the default value is 20,00,000, if the port speed is 100M, then the default value is 200,000 and if the port speed is 1000M the default value is 20,000. If the port speed is not available, then the path cost is set to 200,000 by default.

  4. Configure port priority. Configuring the priority of a port, allows the port to become a root port. The lower the priority value is, the higher is the priority of the port. Changing the priority of an Ethernet port each time will cause the spanning tree recalculations. The priority values range from 0 to 240. The priority value must be an integer multiple of 16. By default, the priority of a port is set to 128.

  5. Configure Mcheck. A device in RSTP mode is compatible with a device in STP mode. However, if two devices are in STP mode and one of the device changes to RSTP mode, then the devices continue communicating in STP mode. The Mcheck feature allows a port to send RSTP message to an adjacent port to confirm whether the adjacent port can work in RSTP mode also. Once a confirmation is received both ports work in RSTP mode.

  6. Configure point to point link. In RSTP mode, a port enters a forwarding state immediately. Configuring a point to point link on a port stops the port from being a shared media link. You can either specify the link type of a port, or allow the link type to be determined automatically based on the port duplex mode.

    The following list the conditions under which a port is and is not considered as a point to point link

    • A port in configured and full duplex mode is considered as a point to point link.

    • A port in half duplex mode is not considered as a point to point link.

    • A device with force mode set to true, the port is considered as a point to point link.

    • A device with force mode set to false, the port is not considered as a point to point link.

  7. Configure a port as an edge port. An edge port is referred to a port if the port is connected to a terminal device such as a host, and if ports enters forwarding state in a short time after the linkup. Configuring the edge port is valid for RSTP mode only.

  8. Set port to send the maximum rate of BPDU messages. The maximum rate of BPDU messages send by a port is the maximum number of BPDU messages send in each Hello time.

    By default, a port sends 3 BPDU messages per Hello time.

  9. Configure root protection for a port. A root bridge can receive a higher priority configuration message either due to human error or malicious attack on the network. This causes a change in the root bridge which affects network topology calculations. In this case, if the traffic was forwarded over a high-speed link, then the network topology change causes the traffic passing through the high-speed link to be traced to the low-speed link resulting in network congestion. Configuring root protection for the port avoids this.

    A port with root protection enabled can only be a designated port. For a high priority configuration received on the port, the following two options are available for configuring the status of these ports:

    • Block-port: The port state is set to discard. BPDU configuration messages are discarded and data packets are not forwarded.

    • Drop-packets: The port state is set to forward. BPDU configuration messages are discarded, and data packets are forwarded.

  10. Configure loop-guard. If a port in blocked state does not receive a BDPU confirmation message, it changes to a forwarding state. A loop-guard prevents a port in blocked state to change to forwarding state even if it does not receive a BDPU configuration message.

  11. Configure BPDU committed access rate (CAR). A large number of BPDU messages forwarded to the CPU can affect CPU performance. Configuring the BPDU CAR limits the rate of BPDU messages forwarded to the CPU.

    This feature is enabled by default.

  12. Discard external BPDU messages. The discard external BPDU messages feature is used to drop BPDU messages from other networks which affects the spanning tree topology calculations.

    Discard external BPDU messages feature is usually enabled on the edge port. You can enable this feature either globally or locally. To enable only certain designated ports to discard BPDU external messages, enable locally.

    This feature is disabled by default.

How to Configure STP

The following sections provide configuration information about STP.

Enabling STP

To enable STP, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

[no] spanning-tree

Example:

Device(config)# spanning-tree 

Enables the spanning tree globally.

Use the no spanning-tree command to disable the spanning tree.

Step 4

spanning-tree mode {stp | rstp}

Example:

Device(config)# spanning-tree mode rstp 

(Optional) Configures the selected spanning tree mode.

  • stp : Selects STP as mode.

  • rstp : Selects RSTP as mode.

Step 5

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 6

[no] spanning-tree

Example:

Device(config-if-ethernet-1/1)# spanning-tree 

(Optional) Enables the spanning tree on an interface.

Use the no spanning-tree command to disable this feature.

Configuring Time Parameters

To configure time parameters, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

spanning-tree hello-time seconds

Example:

Device(config)# spanning-tree hello-time 2 

(Optional) Configures the hello message time interval.

seconds: The message time interval. The range is 1-10.
Step 4

spanning-tree forward-time seconds

Example:

Device(config)# spanning-tree forward-time 15 

(Optional) Configures the forwarding delay of the system.

seconds : The delay time. The range is 4-30.

Step 5

spanning-tree max-age seconds

Example:

Device(config)# spanning-tree max-age 20 

(Optional) Configures the aging time of the system.

seconds : The maximum aging time. The range is 6-40.

Configuring Path Cost of a Port

To configure path cost of a port, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

spanning-tree cost path-cost

Example:

Device(config-if-ethernet-1/1)# spanning-tree cost 
10 

Modifies the path cost of the port.

path-cost : Path cost value of STP port. The range is 1-200000000.

Several ports are aggregated into one aggregation group. The default path cost of the aggregation group is p [1 - (n-1/10)], p is the path cost of the port, and n is the number of the aggregation group ports.

Step 5

exit

Example:

Device(config-if-ethernet-1/1)# exit 

Example:

(Optional) Exits interface configuration mode.

Step 6

channel-group id spanning-tree cost path-cost

Example:

Device(config)# channel-group 2 spanning-tree cost 10 

Sets the path cost of the aggregation group.

  • id : Channel group ID. The range is 0-5.

  • path-cost : Path cost value of STP port. The range is 1-200000000.

Configuring Port Priority

To configure port priority, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

spanning-tree port-priority priority

Example:

Device(config-if-ethernet-1/1)# spanning-tree port-priority 3 

Configures the STP priority of the port.

priority : Port priority value. The range is 0-240.

Configuring Mcheck

To configure Mcheck, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

spanning-tree mcheck

Example:

Device(config-if-ethernet-1/1)# spanning-tree mcheck 

Performs the Mcheck function.

Configuring Point to Point Link

To configure point to point link, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

spanning-tree point-to-point {auto | forcetrue | forcefalse}

Example:

Device(config-if-ethernet-1/1)# spanning-tree point-to-point auto 

Configures the port link type.

auto : STP decides the point to point link.

forcetrue : Enables point to point link.

forcefalse : Disables point to point link.

Configuring a Port to an Edge Port

To configure a port as an edge port, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

[no] spanning-tree portfast

Example:

Device(config-if-ethernet-1/1)# spanning-tree portfast 

Configures the port as an edge port.

Use the no spanning-tree portfast command to disable this feature.

Setting Port to Send the Maximum Rate of BPDU Messages

To set port to send the maximum rate of BPDU messages, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

spanning-tree transmit-limit transmit-limit

Example:

Device(config-if-ethernet-1/1)# spanning-tree transmit-limit 6 

Sets port to send the maximum rate of BPDU messages.

transmit-limit : The number of BPDU messages. The range is 1-255.

Configuring Root Protection for a Port

To configure root protection for a port, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

spanning-tree root-guard action {block-port | drop-packets}

Example:

Device(config)# spanning-tree root-guard action block-port 

Enables root protection and configures the root protection methods globally.

  • block-port : BPDU configuration messages are discarded and data packets are not forwarded.

  • drop-packets : BPDU configuration messages are discarded, and data packets are forwarded.

Step 4

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

(Optional) Enters interface configuration mode

port-number : The port ID.

Step 5

[no] spanning-tree root-guard

Example:

Device(config-if-ethernet-1/1)# spanning-tree root-guard 

(Optional) Enables root protection locally.

Use the no spanning-tree root-guard command to disable this feature.

Configuring Loop-Guard

To configure loop-guard, perform this procedure.

Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

Enters interface configuration mode

port-number : The port ID.

Step 4

[no] spanning-tree loop-guard

Example:

Device(config-if-ethernet-1/1)# spanning-tree loop-guard 

Enables loop-guard.

Use the no spanning-tree loop-guard command to disable this feature.

Discard External BPDU Messages

To discard external BPDU messages, perform this procedure.


Note

This feature is disabled by default.


Procedure

  Command or Action Purpose
Step 1

enable

Example:

Device> enable 

Enables privileged EXEC mode.

Enter your password if prompted.

Step 2

configure terminal

Example:

Device# configure terminal 

Enters global configuration mode.

Step 3

[no] discard-bpdu

Example:

Device(config)# discard-bpdu 

Enables discarding external BPDU messages globally.

Use the no discard-bpdu command to disable this feature.

Step 4

interface ethernet port-number

Example:

Device(config)# interface ethernet 1/1

(Optional) Enters interface configuration mode

port-number : The port ID.

Step 5

[no] discard-bpdu

Example:

Device(config-if-ethernet-1/1)# discard-bpdu 

(Optional) Enables discarding external BPDU messages locally.

Use the no discard-bpdu command to disable this feature.

Step 6

exit

Example:

Device(config-if-ethernet-1/1)# exit 

Example:

(Optional) Exits interface configuration mode.

Monitoring Spanning Tree Configuration

The commands in the following table can be used to monitor spanning tree configurations.

Table 1. Monitoring Spanning Tree Configuration Commands

Command

Purpose

show spanning-tree interface {brief |ethernet interface_list}

Display the configuration parameters such as status of a port, the root device and MAC addresses.

show discard-bpdu

Displays the BPDU global and local status.

Configuration Examples for Single Spanning Tree

Example: Configuring RSTP on a Device

Device A is the core switch and acts as the root bridge. Device B acts as the designated bridge. The links connecting device B and device C are backup links. If device B, device A, or device C fails, the backup link works.

The following example shows the RSTP configuration on device A.

Device> enable
Device# configure terminal 
Device(config)# interface range ethernet 1/1 ethernet 1/2
Device(config-if-range)# switchport mode trunk
Device(config-if-range)# exit
Device(config)# spanning-tree priority 0
Device(config)# spanning-tree
Device(config)# spanning-tree mode rstp

The following example shows the RSTP configuration on device B.

Device> enable
Device# configure terminal 
Device(config)# interface range ethernet 1/1 ethernet 1/2
Device(config-if-range)# switchport mode trunk
Device(config-if-range)# exit
Device(config)# spanning-tree priority 4096
Device(config)# interface range ethernet 1/1 ethernet 1/2
Device(config-if-range)# spanning-tree cost 10
Device(config-if-range)# exit
Device(config)# spanning-tree mode rstp
Device(config)# spanning-tree
Device(config)# spanning-tree mode rstp

The following example shows the RSTP configuration on device C.

Device> enable
Device# configure terminal 
Device(config)# interface range ethernet 1/1 ethernet 1/2
Device(config-if-range)# switchport mode trunk
Device(config-if-range)# exit
Device(config)# interface range ethernet 1/1 ethernet 1/2
Device(config-if-range)# spanning-tree cost 10
Device(config-if-range)# exit
Device(config)# spanning-tree
Device(config)# spanning-tree mode rstp
Device(config)# spanning-tree priority 32768

Example: Viewing the RSTP Configuration

The following example shows how to view the view the election result and port status of RSTP on device A.

Device> enable
Device# configure terminal 
Device(config)# show spanning-tree interface ethernet 1/1 ethernet 1/2
The bridge is executing the IEEE Rapid Spanning Tree protocol
 The bridge has priority 0, MAC address: 000a.5a13.b13d
 Configured Hello Time 2 second(s), Max Age 20 second(s),
 Forward Delay 15 second(s)
 Root Bridge has priority 0, MAC address 000a.5a13.b13d
 Path cost to root bridge is 0
 Stp top change 3 times

 Port e1/1 of bridge is Forwarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a DesignatedPort
 Port path cost 200000
 Port priority 128
 root guard enabled and port is not in root-inconsistent state
 Designated bridge has priority 0, MAC address 000a.5a13.b13d
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3 BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 0
 sent BPDU:     54
 TCN: 0, RST: 54, Config BPDU: 0
 received BPDU: 10
 TCN: 0, RST: 10, Config BPDU: 0

 Port e1/2 of bridge is Forwarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a Designated Port
 Port path cost 200000
 Port priority 128
 root guard enabled and port is not in root-inconsistent state
 Designated bridge has priority 0, MAC address 000a.5a13.b13d
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3 BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 0
 sent BPDU:     16
 TCN: 0, RST: 17, Config BPDU: 0
 received BPDU: 3
 TCN: 0, RST: 3, Config BPDU: 0

The following example shows how to view the view the election result and port status of RSTP on device B.

Device> enable
Device# configure terminal 
Device(config)# show spanning-tree interface ethernet 1/1 ethernet 1/2
The bridge is executing the IEEE Rapid Spanning Tree protocol
 The bridge has priority 4096, MAC address: 0000.0077.8899
 Configured Hello Time 2 second(s), Max Age 20 second(s),
 Forward Delay 15 second(s)
 Root Bridge has priority 0, MAC address 000a.5a13.b13d
 Path cost to root bridge is 10
 Stp top change 3 times

 Port e1/1 of bridge is Forwarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a RootPort
 Port path cost 10
 Port priority 128
 root guard disabled and port is not in root-inconsistent state
 Designated bridge has priority 0, MAC address 000a.5a13.b13d
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3  BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 0
 sent BPDU:     21
 TCN: 0, RST: 12, Config BPDU: 9
 received BPDU: 204
 TCN: 0, RST: 202, Config BPDU: 2

 Port e1/2 of bridge is Forwarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a DesignatedPort
 Port path cost 10
 Port priority 128
 root guard disabled and port is not in root-inconsistent state
 Designated bridge has priority 4096, MAC address 0000.0077.8899
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3  BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 1
 sent BPDU:     191
 TCN: 0, RST: 188, Config BPDU: 3
 received BPDU: 13
 TCN: 0, RST: 5, Config BPDU: 8


The following example shows how to view the view the election result and port status of RSTP on device C.

Device> enable
Device# configure terminal 
Device(config)# show spanning-tree interface ethernet 1/1 ethernet 1/2
The bridge is executing the IEEE Rapid Spanning Tree protocol
 The bridge has priority 32768, MAC address: 000a.5a13.f48e
 Configured Hello Time 2 second(s), Max Age 20 second(s),
 Forward Delay 15 second(s)
 Root Bridge has priority 0, MAC address 000a.5a13.b13d
 Path cost to root bridge is 20
 Stp top change 3 times

 Port e1/1 of bridge is Forwarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a RootPort
 Port path cost 10
 Port priority 128
 root guard disabled and port is not in root-inconsistent state
 Designated bridge has priority 0, MAC address 000a.5a13.b13d
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3  BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 0
 sent BPDU:     3
 TCN: 0, RST: 3, Config BPDU: 0
 received BPDU: 396
 TCN: 0, RST: 396, Config BPDU: 0

 Port e1/2 of bridge is Discarding
 Spanning tree protocol is enabled
 remote loop detect is disabled
 The port is a AlternatePort
 Port path cost 10
 Port priority 128
 root guard disabled and port is not in root-inconsistent state
 Designated bridge has priority 4096, MAC address 0000.0077.8899
 The Port is a non-edge port
 Connected to a point-to-point LAN segment
 Maximum transmission limit is 3  BPDUs per hello time
 Times: Hello Time 2 second(s), Max Age 20 second(s)
 Forward Delay 15 second(s), Message Age 1
 sent BPDU:     8
 TCN: 0, RST: 8, Config BPDU: 0
 received BPDU: 418
 TCN: 0, RST: 418, Config BPDU: 0