Skip Navigation Links
Exit Print View
| Sun Ethernet Fabric Operating System ### STP Administration Guide

Search Scope:

- This Document
- Entire Library

## Configure the Topology

See MSTP Configuration Guidelines for the topology setup. By default, all switches run MSTP.

1. On switches 1, 2, and 3, create VLAN 2, 3, and 4 with member ports as P1 and P2.

       SEFOS# configure terminal
       SEFOS(config)# vlan 2
       SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2
       SEFOS(config-vlan)# exit
       SEFOS(config)# vlan 3
       SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2
       SEFOS(config-vlan)# exit
       SEFOS(config)# vlan 4
       SEFOS(config-vlan)# ports extreme-ethernet 0/1,0/2
       SEFOS(config-vlan)# end

2. View the VLAN information on all switches.
   1. In switch 1, type.

          SEFOS# show spanning-tree

          Vlan database
          -------------
          Vlan ID             : 1
          Member Ports        : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 2
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 3
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 4
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------

   2. In switch 2, type.

          SEFOS# show spanning-tree

          Vlan database
          -------------
          Vlan ID             : 1
          Member Ports        : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 2
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 3
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 4
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent

   3. In switch 3, type.

          SEFOS# show spanning-tree

          Vlan database
          -------------
          Vlan ID             : 1
          Member Ports        : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Untagged Ports      : Ex0/1, Ex0/2, Ex0/3, Ex0/4, Ex0/5, Ex0/6
                                Ex0/7, Ex0/8, Ex0/9, Ex0/10, Ex0/11, Ex0/12
                                Ex0/13, Ex0/14, Ex0/15, Ex0/16, Ex0/17, Ex0/18
                                Ex0/19, Ex0/20, Ex0/21, Ex0/22, Ex0/23, Ex0/24
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 2
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 3
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------
          Vlan ID             : 4
          Member Ports        : Ex0/1, Ex0/2
          Untagged Ports      : None
          Forbidden Ports     : None
          Name                :
          Status              : Permanent
          ----------------------------------------------------

3. On all switches, create instances 1, 2, and 3 and assign VLANs 2, 3, and 4 respectively.

       SEFOS# configure terminal
       SEFOS(config)# spanning-tree mst configuration
       SEFOS(config-mst)# instance 1 vlan 2
       SEFOS(config-mst)# instance 2 vlan 3
       SEFOS(config-mst)# instance 3 vlan 4
       SEFOS(config-mst)# end

4. Configure the bridge priority for each instance on each switch as follows:

   - Switch 1 is root for spanning tree instance 1.

   - Switch 2 is root for spanning tree instance 2.

   - Switch 3 is root for spanning tree instance 3.

   1. In switch 1, type.

          SEFOS# configure terminal
          SEFOS(config)# spanning-tree mst 1 priority 0
          SEFOS(config-mst)# spanning-tree mst configuration
          SEFOS(config-mst)# name reg1
          SEFOS(config-mst)# end

   2. In switch 2, type.

          SEFOS# configure terminal
          SEFOS(config)# spanning-tree mst 2 priority 0
          SEFOS(config-mst)# name reg1
          SEFOS(config-mst)# end

   3. In switch 3, type.

          SEFOS# configure terminal
          SEFOS(config)# spanning-tree mst 3 priority 0
          SEFOS(config-mst)# name reg1
          SEFOS(config-mst)# end

5. View the spanning tree instance information of MSTI in all switches.
   1. In switch 1, type.

          SEFOS# show spanning-tree

          Root Id         Priority   32768
                          Address    00:01:02:03:04:01
                          Cost       0
                          Port       0 [0]
                          This bridge is the root
                          Max age 20 Sec, forward delay 15 Sec
          MST00
          MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
          Bridge Id       Priority  32768
                          Address  00:01:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   Type
          ----      ----         -----        ----     ----   ------
          Ex0/1     Designated   Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST01
          Root Id         Priority   0
                          Address    00:01:02:03:04:01
                          This bridge is the root
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  0
                          Address  00:01:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Designated   Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST02
          Root Id         Priority   0
                          Address    00:02:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:01:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Root         Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST03
          Root Id         Priority   0
                          Address    00:03:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:01:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Designated   Forwarding   200000   128    SharedLan
          Ex0/2     Root         Forwarding   200000   128    SharedLan

   2. In switch 2, type.

          SEFOS# show spanning-tree

          Root Id         Priority   32768
                          Address    00:01:02:03:04:01
                          Cost       0
                          Port       1 [Ex0/1]
                          Max age 20 Sec, forward delay 15 Sec

          MST00
          MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
          Bridge Id       Priority  32768
                          Address  00:02:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   Type
          ----      ----         -----        ----     ----   ------
          Ex0/1     Root         Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST01
          Root Id         Priority   0
                          Address    00:01:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:02:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Root         Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST02
          Root Id         Priority   0
                          Address    00:02:02:03:04:01
                          This bridge is the root
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  0
                          Address  00:02:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Designated   Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

          MST03
          Root Id         Priority   0
                          Address    00:03:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:02:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Alternate    Discarding   200000   128    SharedLan
          Ex0/2     Root         Forwarding   200000   128    SharedLan

   3. In switch 3, type.

          SEFOS# show spanning-tree

          Root Id         Priority   32768
                          Address    00:01:02:03:04:01
                          Cost       0
                          Port       1 [Ex0/1]
                          Max age 20 Sec, forward delay 15 Sec

          MST00
          MST00 is executing the mstp compatible Multiple Spanning Tree Protocol
          Bridge Id       Priority  32768
                          Address  00:03:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   Type
          ----      ----         -----        ----     ----   ------
          Ex0/1     Root         Forwarding   200000   128    SharedLan
          Ex0/2     Alternate    Discarding   200000   128    SharedLan

          MST01
          Root Id         Priority   0
                          Address    00:01:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:03:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Root         Forwarding   200000   128    SharedLan
          Ex0/2     Alternate    Discarding   200000   128    SharedLan

          MST02
          Root Id         Priority   0
                          Address    00:02:02:03:04:01
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  32768
                          Address  00:03:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Alternate    Discarding   200000   128    SharedLan
          Ex0/2     Root         Forwarding   200000   128    SharedLan

          MST03
          Root Id         Priority   0
                          Address    00:03:02:03:04:01
                          This bridge is the root
                          Max age 20 Sec, forward delay 15 Sec
          Bridge Id       Priority  0
                          Address  00:03:02:03:04:01
                          Max age is 20 sec, forward delay is 15 sec
          Name      Role         State        Cost     Prio   type
          --------- ----         -----        ----     ----   ------
          Ex0/1     Designated   Forwarding   200000   128    SharedLan
          Ex0/2     Designated   Forwarding   200000   128    SharedLan

Copyright © 2010, 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices |