Thanks to visit codestin.com
Credit goes to www.scribd.com

0% found this document useful (0 votes)
23 views25 pages

Configuring Spanning Tree

This document provides instructions for configuring Spanning Tree Protocol (STP) for MINI-LINK TN, detailing both CLI commands and MINI-LINK Craft methods. It outlines prerequisites including safety information, required hardware, licenses, and configuration steps for Rapid Spanning Tree (RSTP) and Multiple Spanning Tree (MSTP). The document also includes example scripts for configuring both types of spanning trees and emphasizes the importance of proper setup to ensure network redundancy and prevent loops.

Uploaded by

Dama The Crow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
23 views25 pages

Configuring Spanning Tree

This document provides instructions for configuring Spanning Tree Protocol (STP) for MINI-LINK TN, detailing both CLI commands and MINI-LINK Craft methods. It outlines prerequisites including safety information, required hardware, licenses, and configuration steps for Rapid Spanning Tree (RSTP) and Multiple Spanning Tree (MSTP). The document also includes example scripts for configuring both types of spanning trees and emphasizes the importance of proper setup to ensure network redundancy and prevent loops.

Uploaded by

Dama The Crow
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 25

Configuring Spanning Tree

MINI-LINK TN ETSI

OPERATING INSTRUCTIONS

77/1543-HRA 901 20-V11 Uen E1


Copyright

© Ericsson AB 2012–2014. All rights reserved. No part of this document may be


reproduced in any form without the written permission of the copyright owner.

Disclaimer

The contents of this document are subject to revision without notice due to
continued progress in methodology, design and manufacturing. Ericsson shall
have no liability for any error or damage of any kind resulting from the use
of this document.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Contents

Contents

1 Introduction 1
1.1 Description 2

2 Prerequisites 3
2.1 Safety Information 3
2.2 Required Hardware 3
2.3 Required Licenses and Software 3
2.4 Required Configuration 4
2.5 Required Documentation 4

Configuring STP Using CLI


3 Configuration and Operations Tasks 5
3.1 Configuring Rapid Spanning Tree 5
3.2 Configuring Multiple Spanning Tree 7
3.3 Resetting MSTP to Default 11

Configuring STP Using MINI-LINK Craft


4 Configuration and Operations Tasks 13
4.1 Configuring Rapid Spanning Tree 13
4.2 Configuring Multiple Spanning Tree 15
4.3 Resetting MSTP to Default 18

Reference List 21

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuring Spanning Tree

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Introduction

1 Introduction

This instruction describes how to configure Spanning Tree Protocol (STP) for
MINI-LINK TN, using either CLI commands or MINI-LINK Craft.

Figure 1 shows the configuration workflow for STP.

Figure 1 Workflow for Configuring Spanning Tree Protocol

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 1


Configuring Spanning Tree

Figure 2 Workflow for Configuring Multiple Spanning Tree

1.1 Description
STP is an optional switch setting that provides redundant links in case of link
failure and protects the network from infinite loops. STP has two types, Rapid
Spanning Tree Protocol (RSTP) and Multiple Spanning Tree Protocol (MSTP).

RSTP offers redundancy and rerouting of traffic if a node is out of service.


The Ethernet transport network is typically divided in multiple RSTP domains.
Within one RSTP domain a reconfiguration of the active Ethernet connections
typically takes 50–100 ms without service impact

MSTP supports multiple concurrent topologies / spanning trees mapping


VLANs into spanning trees. It uses basic RSTP mechanisms for topology
calculation and rapid port state transitions.

MSTP configures a separate Spanning Tree for each VLAN group and blocks
the links that are redundant within each Spanning Tree. This enables load
balancing of network traffic across redundant links.

2 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Prerequisites

MSTP is backward compatible with RSTP and STP and the same performance
requirements are applicable for MSTP as for RSTP.

For more information, see Technical Description, Reference [13].

2 Prerequisites

This section includes information about required preparation before configuring


STP.

2.1 Safety Information


Make sure that the information in the following documents has been understood
by the persons performing the procedures:
• Personal Health and Safety Information, Reference [9]
• System Safety Information, Reference [12]
• Supplementary Safety Information for MINI-LINK, Reference [11]

2.2 Required Hardware


The node must be equipped with the following hardware:

• NPU3 B, NPU3 C, NPU3 D, or NPU1 C

• ETU3 or ETU2 B

• MMU2 D (HW release R1B or higher), MMU2 B/C/H/K, or MMU3 A

2.3 Required Licenses and Software


MSTP on NPU3 B, NPU3 C, and NPU3 D requires a license. For more details,
see Installing and Managing Licenses, Reference [5], for information about
how to install a license.

To access an NE remotely through MINI-LINK Craft, a MINI-LINK Craft license


is required on that specific NE to ensure full functionality in MINI-LINK Craft.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 3


Configuring Spanning Tree

2.4 Required Configuration


Before configuring STP, make sure that the followings are configured:

• The Ethernet switch is activated and configured. For more information, see
Configuring an Ethernet Layer 2 Connection, Reference [4].

• Switch ports are configured. For more information , see Configuring an


Ethernet Layer 2 Connection, Reference [4].

• The corresponding Layer 2 Control Protocol (L2CP) is set to Peer, see


MINI-LINK Craft User Interface Descriptions.

If you want to configure MSTP, make sure that a VLAN is configured and the
switch ports are added to the VLAN. For more information, see Configuring an
Ethernet Layer 2 Connection, Reference [4].

2.5 Required Documentation


Read through this document. Make sure that referenced documentation is
available during the configuration process by having the electronic CPI library
available on your PC. See Library Description, Reference [6] for information
about how to make the CPI library available.

4 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

Configuring STP Using CLI

3 Configuration and Operations Tasks

To configure STP parameters using CLI commands, perform the tasks


described in the following sections.

Note: The configuration can be prepared offline and transferred to the


node in the form of a CLI script, either remotely (when modifying the
configuration for an installed node) or on site (when installing a new
node).

The following additional information is applicable when using CLI commands:

• How to start a CLI session and navigate between different command


modes, see CLI User Guide, Reference [3].

• How to prepare a CLI script, see Preparing a CLI Script File Offline,
Reference [10].

• How to transfer a CLI script on site, see Transferring a CLI Script File on
Site, Reference [14].

• For a detailed description of each CLI command, see CLI Descriptions,


Reference [2].

3.1 Configuring Rapid Spanning Tree


This example script configures a Rapid Spanning Tree:

! In Global Configuration mode, disable


! the Spanning Tree Protocol:
! (config)#[no] spanning-tree enable
! This example disables the Spanning Tree Protocol:
no spanning-tree enable

! Set spanning tree protocol:


! (config)#spanning-tree type {rstp|mstp}
! This example sets the spanning tree protocol to Rapid
! Spanning Tree (RSTP):
spanning-tree type rstp

! Instruct RSTP to emulate additional aspects of earlier

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 5


Configuring Spanning Tree

! versions
! of the behavior of the spanning tree protocol:
! (config)#[no] spanning-tree force-version {stp|rstp|mstp}
! This example instructs RSTP to emulate STP:
spanning-tree force-version stp

! In Global Configuration mode, enable the Spanning


! Tree Protocol:
! (config)#[no] spanning-tree enable
! This example enables the Spanning Tree Protocol:
spanning-tree enable

! Set the maximum age of STP information before it is discarded:


! (config)#[no] spanning-tree max-age <AGE>
! This example sets the maximum age to 8 seconds:
spanning-tree max-age 800

! Set how fast a port changes its spanning tree state


! when moving towards the Forwarding state when the
! bridge is acting as the root:
! (config)#[no] spanning-tree forward-delay <DELAY>
! This example sets the forward delay to 12 seconds:
spanning-tree forward-delay 1200

! Set the priority of the spanning tree:


! (config)#spanning-tree priority <PRIORITY>
! This example sets the priority to 32768:
spanning-tree priority 32768

! Limit the maximum transmission rate:


! (config)#[no] spanning-tree transmit-holdcount <COUNT>
! This example sets the maximum transmission rate
! to 1 message per 6 seconds:
spanning-tree transmit-holdcount 6

! Switch to the (config-bridgeport) submode:


! (config)#bridge-port <BRIDGEPORT>
! This example switches to the (config-bridgeport) submode on
! bridge port 2 (the bridge port must be connected to an interface):
bridge-port 2

! Enable the port:


! (config-bridgeport)#[no] spanning-tree port-enable
! This example enables the port:
spanning-tree port-enable

! Set the priority of this port:


! (config-bridgeport)#spanning-tree port-priority <PRIORITY>
! This example sets the priority to 64:
spanning-tree port-priority 64

6 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

! Set the cost contribution of this port:


! (config-bridgeport)#spanning-tree path-cost <COST>
! This example sets the cost contribution to be
! automatically calculated:
spanning-tree path-cost 0

! Automatically detect if the port operates as edge port


! or not:
! (config-bridgeport)#[no] spanning-tree autoedge
! Configure the port as an edge port:
spanning-tree autoedge

! (config-bridgeport)#[no] spanning-tree admin-edgeport


! No example given since the port is set to automatically
! detect if it operates as edge port or not

! Set the point-to-point status of the LAN network segment


! attached to this port:
! (config-bridgeport)#spanning-tree admin-pointtopoint //
! [auto]
! This example configures the port to automatically detect any
! point-to-point connection:
spanning-tree admin-pointtopoint auto

! Enable MAC addressing for the port:


! (config-bridgeport)#[no] spanning-tree mac-enable
! This example enables MAC addressing for the port:
spanning-tree mac-enable

! Exit the (config-bridgeport) submode:


! (config-bridgeport)#exit
exit

! Exit the Global Configuration mode:


! (config)#exit
exit

! Display the spanning-tree configuration:


! #show spanning-tree [<PORTNO>]
show spanning-tree

Note: The corresponding Layer 2 Control Protocol (L2CP) needs to be set


to Peer.

3.2 Configuring Multiple Spanning Tree


This example script configures a Multiple Spanning Tree:

! In Global Configuration mode, disable the Spanning Tree

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 7


Configuring Spanning Tree

! Protocol:
! (config)#[no] spanning-tree enable
! This example disables the Spanning Tree Protocol:
no spanning-tree enable

! Set spanning tree protocol:


! (config)#spanning-tree type {rstp|mstp}
! This example sets the spanning tree protocol
! to Multiple Spanning Tree (MSTP):
spanning-tree type mstp

! Instruct MSTP to emulate additional aspects of earlier


! versions of the behavior of the spanning tree protocol:
! (config)#[no] spanning-tree force-version {stp|rstp|mstp}
! This example instructs MSTP to emulate RSTP:
spanning-tree force-version rstp

! In Global Configuration mode, enable the Spanning Tree


! Protocol:
! (config)#[no] spanning-tree enable
! This example enables the Spanning Tree Protocol:
spanning-tree enable

! Set the initial value of remaining hops:


! (config)#[no] spanning-tree max-hops <MAX-HOPS>
! This example sets max-hops to 15:
spanning-tree max-hops 15

! Limit the maximum transmission rate:


! (config)#[no] spanning-tree transmit-holdcount <COUNT>
! This example sets the maximum transmission rate
! to 1 message per 6 seconds:
spanning-tree transmit-holdcount 6

! Set the priority of the spanning tree:


! (config)#spanning-tree priority <PRIORITY>
! This example sets the priority to 32768:
spanning-tree priority 32768

! Set the maximum age of STP information before it is


! discarded:
! (config)#[no] spanning-tree max-age <AGE>
! This example sets the maximum age to 8 seconds:
spanning-tree max-age 800

! Set how fast a port changes its spanning tree state


! when moving towards the Forwarding state when
! the bridge is acting as the root:
! (config)#[no] spanning-tree forward-delay <DELAY>
! This example sets the forward delay to 12 seconds:
spanning-tree forward-delay 1200

8 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

! Switch to the (config-mst) submode:


! (config)#spanning-tree mst
spanning-tree mst

! Set the name of the configuration:


! (config-mst)#[no] name<NAME>
! Set the name of the spanning tree to MyMST
name MyMST

! Set the revision level of the spanning tree:


! (config-mst)#[no] revision<REVISION>
! This example sets the revision of the spanning tree to 1:
revision 1

! Exit the (config-mst) submode:


! (config-mst)#exit
exit

! Switch to the (config-bridgeport) submode:


! (config)#bridge-port <BRIDGEPORT>
! This example switches to the (config-bridgeport) submode on
! bridge port 2 (the bridge port must be connected to an interface):
bridge-port 2

! Enable the port:


! (config-bridgeport)#[no] spanning-tree port-enable
! This example enables the port:
spanning-tree port-enable

! Set the priority of this port:


! (config-bridgeport)#spanning-tree port-priority <PRIORITY>
! This example sets the priority to 64:
spanning-tree port-priority 64

! Set the cost contribution of this port:


! (config-bridgeport)#spanning-tree path-cost <COST>
! This example sets the cost contribution to be
! automatically calculated:
spanning-tree path-cost 0

! Force the port to transmit RSTP BPDUs:


! (config-bridgeport)#spanning-tree protocol-migration
spanning-tree protocol-migration

! automatically detect if the port operates as edge port


! or not:
! (config-bridgeport)#[no] spanning-tree autoedge
! Configure the port as an edge port:
spanning-tree autoedge

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 9


Configuring Spanning Tree

! Configure the port as an edge port:


! (config-bridgeport)#[no] spanning-tree admin-edgeport
! No example given since the port is set to automatically
! detect if it operates as edge port or not

! Set the point-to-point status of the LAN network segment


! attached to this port:
! (config-bridgeport)#spanning-tree admin-pointtopoint //
! [auto]
! This example configures the port to automatically detect any
! point-to-point connection:
spanning-tree admin-pointtopoint auto

! Enable or disable the restricted role for the port:


! (config-bridgeport)#[no] spanning-tree restricted-role
! This example enables the restricted role for the port:
spanning-tree restricted-role

! Enable or disable CIST port restricted tcn:


! (config-bridgeport)#[no] spanning-tree restricted-tcn
! This example enables CIST port restricted tcn:
spanning-tree restricted-tcn

! Enable MAC addressing for the port:


! (config-bridgeport)#[no] spanning-tree mac-enable
! This example enables the MAC port:
spanning-tree mac-enable

! Exit the (config-bridgeport) submode:


! (config-bridgeport)#exit
exit

! Switch to the (config-mst) submode:


! (config)#spanning-tree mst
spanning-tree mst

! Set the Spanning Tree instance VLAN range:


! (config-mst)#[no] instance <INSTANCE-ID> vlan <VLAN_RANGE>
! This example sets the VLAN range 300 to 304 for instance
# ID 3:
instance 3 vlan 300-304

! Set the Spanning Tree instance ID priority:


! (config-mst)#[no] instance <INSTANCE-ID> priority //
! <PRIORITY>
! This example sets the priority for instance ID 3 to 16384:
instance 3 priority 16384

! Exit the (config-mst) submode:


! (config-mst)#exit
exit

10 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

! Exit the Global Configuration mode:


! (config)#exit
exit

! Display the spanning-tree configuration:


! #show spanning-tree [<PORTNO>]
show spanning-tree

Note: The corresponding Layer 2 Control Protocol (L2CP) needs to be set to


Peer. .

3.3 Resetting MSTP to Default


This example script removes all MST instances and resets the configuration
names to their respective MAC addresses:

! In Global Configuration mode, switch to the (config-mst)


# submode:
! (config)#spanning-tree mst
spanning-tree mst

! Reset the MSTP configuration:


! (config-mst)#reset

! Exit the (config-mst) submode:


! (config-mst)#exit
exit

! Exit the Global Configuration mode:


! (config)#exit
exit

! Display the spanning-tree configuration:


! #show spanning-tree [<PORTNO>]
show spanning-tree

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 11


Configuring Spanning Tree

12 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

Configuring STP Using MINI-LINK


Craft

4 Configuration and Operations Tasks

To configure STP parameters using MINI-LINK Craft, perform the tasks


described in the following sections.

Note: The configuration can be performed either remotely or on site.

The following additional information is applicable when using MINI-LINK Craft:

• How to access the node using MINI-LINK Craft, see Accessing a Network
Element, Reference [1].

• How to navigate in MINI-LINK Craft, see MINI-LINK Craft User Guide


, Reference [7].

• For a detailed description of the parameters on each MINI-LINK Craft page,


see MINI-LINK Craft User Interface Descriptions, Reference [8].

4.1 Configuring Rapid Spanning Tree


1. In the Management Tree, expand Ethernet.

2. Right-click Ethernet Switch.

3. Select Configure and click Spanning Tree.

MINI-LINK Craft displays the Ethernet Switch - Configure Spanning


Tree page.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 13


Configuring Spanning Tree

Figure 3 The Ethernet Switch - Configure Spanning Tree Page

4. Select STP Enable.

5. In the STP Type menu, select RSTP.

6. Select Save on the Toolbar to apply changes.

7. Under Related Tasks, click Configure Rapid Spanning Tree.

MINI-LINK Craft displays the Ethernet Switch - Configure Rapid


Spanning Tree page.

Figure 4 The Ethernet Switch - Configure Rapid Spanning Tree Page

14 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

8. Under General, set the parameters.

For more information about the parameters, see MINI-LINK Craft User
Interface Descriptions, Reference [8].

9. In the table, enable spanning tree for each port that must be configured
with RSTP and set the parameters.

For more information about the parameters, see MINI-LINK Craft User
Interface Descriptions, Reference [8].

10. Click Save in the tool bar to apply changes.

Note: The corresponding Layer 2 Control Protocol (L2CP) needs to be set to


Peer, see MINI-LINK Craft User Interface Descriptions, Reference [8].

4.2 Configuring Multiple Spanning Tree


1. In the Management Tree, expand Ethernet.

2. Right-click Ethernet Switch.

3. Click Configure and then click Spanning Tree.

MINI-LINK Craft displays the Ethernet Switch - Configure Spanning


Tree page.

Figure 5 The Ethernet Switch - Configure Spanning Tree Page

4. Select STP Enable.

5. In the STP Type menu, select MSTP.

6. Select Save on the Toolbar to apply changes.

7. Under Related Tasks, click Configure Multiple Spanning Tree.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 15


Configuring Spanning Tree

The Ethernet Switch - Configure Multiple Spanning Tree page is


displayed.

Figure 6 The Ethernet Switch - Configure Multiple Spanning Tree Page

8. Under General, set the general parameters.

For more information about the parameters, see MINI-LINK Craft User
Interface Descriptions, Reference [8].

9. Under Related Tasks, click Configure Multiple Spanning Tree CIST


(MST CIST).

MINI-LINK Craft displays the Configure Multiple Spanning Tree CIST


(MST CIST) page.

16 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

Figure 7 The Ethernet Switch - Configure Multiple Spanning CIST Page

10. Under General, set the parameters.

For more information about the parameters, see MINI-LINK Craft User
Interface Descriptions, Reference [8].

11. Select Save on the Toolbar to apply changes.

12. Click the Back button.

13. Click Configure Multiple Spanning Tree Instance (MSTI).

The Configure Multiple Spanning Tree Instance (MSTI) page is


displayed.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 17


Configuring Spanning Tree

Figure 8 The Ethernet Switch - Configure Multiple Spanning Tree Instance (MSTI) Page

14. Click to add a new MST instance to the list.

Note: It is possible to add up to 16 instances.

15. Map a VLAN or a group of VLANs to the instance.

16. Select Save on the Toolbar to apply changes.

17. Select the added instance. The parameters are displayed under Selected
MST Instance Ports.

18. Set the parameters.

For more information about the parameters, see MINI-LINK Craft User
Interface Descriptions, Reference [8].

19. Select Save on the Toolbar to apply changes.

Note: The corresponding Layer 2 Control Protocol (L2CP) needs to be set to


Peer, see MINI-LINK Craft User Interface Descriptions, Reference [8].

4.3 Resetting MSTP to Default


This section describes how to remove all MST instances and to reset the
configuration names to respective MAC address.

18 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Configuration and Operations Tasks

1. In the Management Tree, expand Ethernet.

2. Right-click Ethernet Switch.

3. Click Configure and then click Spanning Tree.

MINI-LINK Craft displays the Ethernet Switch - Configure Spanning


Tree page.

4. Select STP Enable.

5. In the STP Type menu, select MSTP.

6. Select Save on the Toolbar to apply changes.

7. Click Configure Multiple Spanning Tree.

MINI-LINK Craft displays the Ethernet Switch - Configure Multiple


Spanning Tree page.

8. In the Reset to Default menu, select reset to default.

9. Select Save on the Toolbar to apply changes.

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 19


Configuring Spanning Tree

20 77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22


Reference List

Reference List

[1] Accessing a Network Element , 3/1543-HRA 901 20

[2] CLI Descriptions, 22/1551-HRA 901 20

[3] CLI User Guide, 2/1553-HRA 901 20

[4] Configuring an Ethernet Layer 2 Connection, 73/1543-HRA 901 20

[5] Installing and Managing Licenses, 9/1543-HRA 901 20

[6] Library Description, 1551-LZN 712 0425

[7] MINI-LINK Craft User Guide, 1/1553-HRA 901 20

[8] MINI-LINK Craft User Interface Descriptions, 7/1551-HRA 901 20

[9] Personal Health and Safety Information, 124 46-2885

[10] Preparing a CLI Script File Offline, 16/1553-HRA 901 20

[11] Supplementary Safety Information for MINI-LINK, 124 46-HSD 101 16/1

[12] System Safety Information, 124 46-2886

[13] Technical Description, 46/221 02-HRA 901 20

[14] Transferring a CLI Script File on Site, 17/1553-HRA 901 20

77/1543-HRA 901 20-V11 Uen E1 | 2014-07-22 21

You might also like