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

Search Scope:

- This Document
- Entire Library

## Configure the Dynamic Path Cost Lag Speed in an Aggregate Port

1. Configure dynamic path cost calculation for Lagg in both the switches.
   1. Configure the dynamic path cost lag-speed.

          SEFOS(config)# spanning-tree pathcost dynamic lag-speed

   2. Create and enable port channel in both the switches.

          SEFOS(config)# set port-channel enable
          SEFOS(config)# interface port-channel 1
          SEFOS(config-if)# no shutdown
          SEFOS(config-if)# exit
          SEFOS(config)# interface extreme-ethernet 0/45
          SEFOS(config-if)# channel-group 1 mode on
          SEFOS(config-if)# exit

2. View the output in Switch 1.

       SEFOS# show spanning-tree
       Root Id         Priority   32768                Address    00:02:02:03:04:01                Cost       1900                Port       73 [po1]                Max age 20 Sec, forward delay 15 Sec                Hello Time 2 Sec

       MST00

       Spanning tree Protocol has been enabled

       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                Hello Time is 2 sec                Dynamic Path Cost is Disabled                Dynamic Path Cost Lag-Speed Change is Enabled
       Name              Role         State        Cost     Prio   Type----              ----         -----        ----     ----   ------Ex0/46            Alternate    Discarding   2000     128    P2Ppo1               Root         Forwarding   1900     128    P2P

3. Make Port 46 as member of Port Channel on both switches.

       SEFOS(config)# interface extreme-ethernet 0/46
       SEFOS(config-if)# channel-group 1 mode on
       SEFOS(config-if)# exit

4. View the output in Switch 1.

       SEFOS# show spanning-tree
       Root Id         Priority   32768                Address    00:02:02:03:04:01                Cost       1900                Port       73 [po1]                Max age 20 Sec, forward delay 15 Sec                Hello Time 2 Sec

       MST00

       Spanning tree Protocol has been enabled

       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                Hello Time is 2 sec                Dynamic Path Cost is Disabled                Dynamic Path Cost Lag-Speed Change is Enabled
       Name              Role         State        Cost     Prio   Type----              ----         -----        ----     ----   ------po1               Root         Forwarding   1900     128    P2P

5. Remove Port 46 from Port Channel on both the switches.

       SEFOS(config)# interface extreme-ethernet 0/46
       SEFOS(config-if)# no channel-group
       SEFOS(config-if)# exit

6. View the output in Switch 1.

       SEFOS# show spanning-tree
       Root Id         Priority   32768                Address    00:02:02:03:04:01                Cost       1900                Port       73 [po1]                Max age 20 Sec, forward delay 15 Sec                Hello Time 2 Sec

       MST00

       Spanning tree Protocol has been enabled

       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                Hello Time is 2 sec                Dynamic Path Cost is Disabled                Dynamic Path Cost Lag-Speed Change is Enabled
       Name              Role         State        Cost     Prio   Type----              ----         -----        ----     ----   ------Ex0/46            Alternate    Discarding   2000     128    P2Ppo1               Root         Forwarding   1900     128    P2P

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