MSTP (Multiple Spanning Tree Protocol)

spanning-tree mode mst

## MST Configuration ##
spanning-tree mst configuration
name MyTree
revision 1

## Map VLANs to instances ##
instance 1 vlan 20, 30
instance 2 vlan 40, 50

## Bridge priority (per instance) ##
spanning-tree mst 1 priority 32768

## Timers, in seconds ##
spanning-tree mst hello-time 2
spanning-tree mst forward-time 15
spanning-tree mst max-age 20

## Maximum hops for BPDUs ##
spanning-tree mst max-hops 20

## Interface attributes ##
interface FastEthernet0/1
spanning-tree mst 1 port-priority 128
spanning-tree mst 1 cost 19