# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## Cisco.IOS.get_spanning_tree test
## Auto-generated by manage.py debug-script at 2010-10-15 18:03:54
##----------------------------------------------------------------------
## Copyright (C) 2007-2010 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class Cisco_IOS_get_spanning_tree_Test(ScriptTestCase):
    script="Cisco.IOS.get_spanning_tree"
    vendor="Cisco"
    platform='C3750'
    version='12.2(35)SE2'
    input={}
    result={'configuration': {'MSTP': {'region': 'TI', 'revision': 0}},
 'instances': [{'bridge_id': '00:1B:2B:78:17:80',
                'bridge_priority': 32768,
                'id': 0,
                'interfaces': [{'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.4',
                                'edge': True,
                                'interface': 'Fa 1/0/2',
                                'point_to_point': True,
                                'port_id': '128.4',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.6',
                                'edge': True,
                                'interface': 'Fa 1/0/4',
                                'point_to_point': True,
                                'port_id': '128.6',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.8',
                                'edge': True,
                                'interface': 'Fa 1/0/6',
                                'point_to_point': True,
                                'port_id': '128.8',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.10',
                                'edge': True,
                                'interface': 'Fa 1/0/8',
                                'point_to_point': True,
                                'port_id': '128.10',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.11',
                                'edge': True,
                                'interface': 'Fa 1/0/9',
                                'point_to_point': True,
                                'port_id': '128.11',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.12',
                                'edge': True,
                                'interface': 'Fa 1/0/10',
                                'point_to_point': True,
                                'port_id': '128.12',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.13',
                                'edge': True,
                                'interface': 'Fa 1/0/11',
                                'point_to_point': True,
                                'port_id': '128.13',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.14',
                                'edge': True,
                                'interface': 'Fa 1/0/12',
                                'point_to_point': True,
                                'port_id': '128.14',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.15',
                                'edge': True,
                                'interface': 'Fa 1/0/13',
                                'point_to_point': True,
                                'port_id': '128.15',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.16',
                                'edge': True,
                                'interface': 'Fa 1/0/14',
                                'point_to_point': True,
                                'port_id': '128.16',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.17',
                                'edge': True,
                                'interface': 'Fa 1/0/15',
                                'point_to_point': True,
                                'port_id': '128.17',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.18',
                                'edge': True,
                                'interface': 'Fa 1/0/16',
                                'point_to_point': True,
                                'port_id': '128.18',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.19',
                                'edge': True,
                                'interface': 'Fa 1/0/17',
                                'point_to_point': True,
                                'port_id': '128.19',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.20',
                                'edge': True,
                                'interface': 'Fa 1/0/18',
                                'point_to_point': True,
                                'port_id': '128.20',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.21',
                                'edge': True,
                                'interface': 'Fa 1/0/19',
                                'point_to_point': True,
                                'port_id': '128.21',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.22',
                                'edge': True,
                                'interface': 'Fa 1/0/20',
                                'point_to_point': True,
                                'port_id': '128.22',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.25',
                                'edge': True,
                                'interface': 'Fa 1/0/23',
                                'point_to_point': True,
                                'port_id': '128.25',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.26',
                                'edge': True,
                                'interface': 'Fa 1/0/24',
                                'point_to_point': True,
                                'port_id': '128.26',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.29',
                                'edge': True,
                                'interface': 'Fa 1/0/25',
                                'point_to_point': True,
                                'port_id': '128.29',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.30',
                                'edge': True,
                                'interface': 'Fa 1/0/26',
                                'point_to_point': True,
                                'port_id': '128.30',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.31',
                                'edge': True,
                                'interface': 'Fa 1/0/27',
                                'point_to_point': True,
                                'port_id': '128.31',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.32',
                                'edge': True,
                                'interface': 'Fa 1/0/28',
                                'point_to_point': True,
                                'port_id': '128.32',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.33',
                                'edge': True,
                                'interface': 'Fa 1/0/29',
                                'point_to_point': True,
                                'port_id': '128.33',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.34',
                                'edge': True,
                                'interface': 'Fa 1/0/30',
                                'point_to_point': True,
                                'port_id': '128.34',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.35',
                                'edge': True,
                                'interface': 'Fa 1/0/31',
                                'point_to_point': True,
                                'port_id': '128.35',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.36',
                                'edge': True,
                                'interface': 'Fa 1/0/32',
                                'point_to_point': True,
                                'port_id': '128.36',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.37',
                                'edge': True,
                                'interface': 'Fa 1/0/33',
                                'point_to_point': True,
                                'port_id': '128.37',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.38',
                                'edge': True,
                                'interface': 'Fa 1/0/34',
                                'point_to_point': True,
                                'port_id': '128.38',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.39',
                                'edge': True,
                                'interface': 'Fa 1/0/35',
                                'point_to_point': True,
                                'port_id': '128.39',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.40',
                                'edge': True,
                                'interface': 'Fa 1/0/36',
                                'point_to_point': True,
                                'port_id': '128.40',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.41',
                                'edge': True,
                                'interface': 'Fa 1/0/37',
                                'point_to_point': True,
                                'port_id': '128.41',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.42',
                                'edge': True,
                                'interface': 'Fa 1/0/38',
                                'point_to_point': True,
                                'port_id': '128.42',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.43',
                                'edge': True,
                                'interface': 'Fa 1/0/39',
                                'point_to_point': True,
                                'port_id': '128.43',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.44',
                                'edge': True,
                                'interface': 'Fa 1/0/40',
                                'point_to_point': True,
                                'port_id': '128.44',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.47',
                                'edge': True,
                                'interface': 'Fa 1/0/43',
                                'point_to_point': True,
                                'port_id': '128.47',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:01:E8:D6:2A:37',
                                'designated_bridge_priority': 32768,
                                'designated_port_id': '128.3',
                                'edge': False,
                                'interface': 'Po 1',
                                'point_to_point': True,
                                'port_id': '128.488',
                                'priority': 128,
                                'role': 'root',
                                'state': 'forwarding'}],
                'root_id': '00:01:E8:6D:1C:5C',
                'root_priority': 8192,
                'vlans': '1,1000-4094'},
               {'bridge_id': '00:1B:2B:78:17:80',
                'bridge_priority': 32769,
                'id': 1,
                'interfaces': [{'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.4',
                                'edge': True,
                                'interface': 'Fa 1/0/2',
                                'point_to_point': True,
                                'port_id': '128.4',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.6',
                                'edge': True,
                                'interface': 'Fa 1/0/4',
                                'point_to_point': True,
                                'port_id': '128.6',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.8',
                                'edge': True,
                                'interface': 'Fa 1/0/6',
                                'point_to_point': True,
                                'port_id': '128.8',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.10',
                                'edge': True,
                                'interface': 'Fa 1/0/8',
                                'point_to_point': True,
                                'port_id': '128.10',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.11',
                                'edge': True,
                                'interface': 'Fa 1/0/9',
                                'point_to_point': True,
                                'port_id': '128.11',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.12',
                                'edge': True,
                                'interface': 'Fa 1/0/10',
                                'point_to_point': True,
                                'port_id': '128.12',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.13',
                                'edge': True,
                                'interface': 'Fa 1/0/11',
                                'point_to_point': True,
                                'port_id': '128.13',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.14',
                                'edge': True,
                                'interface': 'Fa 1/0/12',
                                'point_to_point': True,
                                'port_id': '128.14',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.15',
                                'edge': True,
                                'interface': 'Fa 1/0/13',
                                'point_to_point': True,
                                'port_id': '128.15',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.16',
                                'edge': True,
                                'interface': 'Fa 1/0/14',
                                'point_to_point': True,
                                'port_id': '128.16',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.17',
                                'edge': True,
                                'interface': 'Fa 1/0/15',
                                'point_to_point': True,
                                'port_id': '128.17',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.18',
                                'edge': True,
                                'interface': 'Fa 1/0/16',
                                'point_to_point': True,
                                'port_id': '128.18',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.19',
                                'edge': True,
                                'interface': 'Fa 1/0/17',
                                'point_to_point': True,
                                'port_id': '128.19',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.20',
                                'edge': True,
                                'interface': 'Fa 1/0/18',
                                'point_to_point': True,
                                'port_id': '128.20',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.21',
                                'edge': True,
                                'interface': 'Fa 1/0/19',
                                'point_to_point': True,
                                'port_id': '128.21',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.22',
                                'edge': True,
                                'interface': 'Fa 1/0/20',
                                'point_to_point': True,
                                'port_id': '128.22',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.25',
                                'edge': True,
                                'interface': 'Fa 1/0/23',
                                'point_to_point': True,
                                'port_id': '128.25',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.26',
                                'edge': True,
                                'interface': 'Fa 1/0/24',
                                'point_to_point': True,
                                'port_id': '128.26',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.29',
                                'edge': True,
                                'interface': 'Fa 1/0/25',
                                'point_to_point': True,
                                'port_id': '128.29',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.30',
                                'edge': True,
                                'interface': 'Fa 1/0/26',
                                'point_to_point': True,
                                'port_id': '128.30',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.31',
                                'edge': True,
                                'interface': 'Fa 1/0/27',
                                'point_to_point': True,
                                'port_id': '128.31',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.32',
                                'edge': True,
                                'interface': 'Fa 1/0/28',
                                'point_to_point': True,
                                'port_id': '128.32',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.33',
                                'edge': True,
                                'interface': 'Fa 1/0/29',
                                'point_to_point': True,
                                'port_id': '128.33',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.34',
                                'edge': True,
                                'interface': 'Fa 1/0/30',
                                'point_to_point': True,
                                'port_id': '128.34',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.35',
                                'edge': True,
                                'interface': 'Fa 1/0/31',
                                'point_to_point': True,
                                'port_id': '128.35',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.36',
                                'edge': True,
                                'interface': 'Fa 1/0/32',
                                'point_to_point': True,
                                'port_id': '128.36',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.37',
                                'edge': True,
                                'interface': 'Fa 1/0/33',
                                'point_to_point': True,
                                'port_id': '128.37',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.38',
                                'edge': True,
                                'interface': 'Fa 1/0/34',
                                'point_to_point': True,
                                'port_id': '128.38',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.39',
                                'edge': True,
                                'interface': 'Fa 1/0/35',
                                'point_to_point': True,
                                'port_id': '128.39',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.40',
                                'edge': True,
                                'interface': 'Fa 1/0/36',
                                'point_to_point': True,
                                'port_id': '128.40',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.41',
                                'edge': True,
                                'interface': 'Fa 1/0/37',
                                'point_to_point': True,
                                'port_id': '128.41',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.42',
                                'edge': True,
                                'interface': 'Fa 1/0/38',
                                'point_to_point': True,
                                'port_id': '128.42',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.43',
                                'edge': True,
                                'interface': 'Fa 1/0/39',
                                'point_to_point': True,
                                'port_id': '128.43',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.44',
                                'edge': True,
                                'interface': 'Fa 1/0/40',
                                'point_to_point': True,
                                'port_id': '128.44',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:1B:2B:78:17:80',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.47',
                                'edge': True,
                                'interface': 'Fa 1/0/43',
                                'point_to_point': True,
                                'port_id': '128.47',
                                'priority': 128,
                                'role': 'designated',
                                'state': 'forwarding'},
                               {'designated_bridge_id': '00:01:E8:D6:2A:37',
                                'designated_bridge_priority': 32769,
                                'designated_port_id': '128.3',
                                'edge': False,
                                'interface': 'Po 1',
                                'point_to_point': True,
                                'port_id': '128.488',
                                'priority': 128,
                                'role': 'root',
                                'state': 'forwarding'}],
                'root_id': '00:01:E8:6D:1C:5C',
                'root_priority': 8193,
                'vlans': '2-499'},
               {'bridge_id': '00:1B:2B:78:17:80',
                'bridge_priority': 32770,
                'id': 2,
                'interfaces': [{'designated_bridge_id': '00:01:E8:D6:2A:37',
                                'designated_bridge_priority': 32770,
                                'designated_port_id': '128.3',
                                'edge': False,
                                'interface': 'Po 1',
                                'point_to_point': True,
                                'port_id': '128.488',
                                'priority': 128,
                                'role': 'root',
                                'state': 'forwarding'}],
                'root_id': '00:01:E8:6D:1C:5C',
                'root_priority': 8194,
                'vlans': '500-999'}],
 'mode': 'MSTP'}
    motd=' \n\n'
    cli={
## 'show spanning-tree'
'show spanning-tree': """show spanning-tree

MST0
  Spanning tree enabled protocol mstp
  Root ID    Priority    8192
             Address     0001.e86d.1c5c
             Cost        0
             Port        488 (Port-channel1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32768  (priority 32768 sys-id-ext 0)
             Address     001b.2b78.1780
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Desg FWD 200000    128.4    Edge P2p 
Fa1/0/4          Desg FWD 200000    128.6    Edge P2p 
Fa1/0/6          Desg FWD 200000    128.8    Edge P2p 
Fa1/0/8          Desg FWD 200000    128.10   Edge P2p 
Fa1/0/9          Desg FWD 200000    128.11   Edge P2p 
Fa1/0/10         Desg FWD 200000    128.12   Edge P2p 
Fa1/0/11         Desg FWD 200000    128.13   Edge P2p 
Fa1/0/12         Desg FWD 200000    128.14   Edge P2p 
Fa1/0/13         Desg FWD 200000    128.15   Edge P2p 
Fa1/0/14         Desg FWD 200000    128.16   Edge P2p 
Fa1/0/15         Desg FWD 200000    128.17   Edge P2p 
Fa1/0/16         Desg FWD 200000    128.18   Edge P2p 
Fa1/0/17         Desg FWD 200000    128.19   Edge P2p 
Fa1/0/18         Desg FWD 200000    128.20   Edge P2p 
Fa1/0/19         Desg FWD 200000    128.21   Edge P2p 
Fa1/0/20         Desg FWD 200000    128.22   Edge P2p 
Fa1/0/23         Desg FWD 200000    128.25   Edge P2p 
Fa1/0/24         Desg FWD 200000    128.26   Edge P2p 
Fa1/0/25         Desg FWD 200000    128.29   Edge P2p 
Fa1/0/26         Desg FWD 200000    128.30   Edge P2p 
Fa1/0/27         Desg FWD 200000    128.31   Edge P2p 
Fa1/0/28         Desg FWD 200000    128.32   Edge P2p 
Fa1/0/29         Desg FWD 200000    128.33   Edge P2p 
Fa1/0/30         Desg FWD 200000    128.34   Edge P2p 
Fa1/0/31         Desg FWD 200000    128.35   Edge P2p 
Fa1/0/32         Desg FWD 200000    128.36   Edge P2p 
Fa1/0/33         Desg FWD 200000    128.37   Edge P2p 
Fa1/0/34         Desg FWD 200000    128.38   Edge P2p 
Fa1/0/35         Desg FWD 200000    128.39   Edge P2p 
Fa1/0/36         Desg FWD 200000    128.40   Edge P2p 
Fa1/0/37         Desg FWD 200000    128.41   Edge P2p 
Fa1/0/38         Desg FWD 200000    128.42   Edge P2p 
Fa1/0/39         Desg FWD 200000    128.43   Edge P2p 
Fa1/0/40         Desg FWD 200000    128.44   Edge P2p 
Fa1/0/43         Desg FWD 200000    128.47   Edge P2p 
Po1              Root FWD 100000    128.488  P2p 


MST1
  Spanning tree enabled protocol mstp
  Root ID    Priority    8193
             Address     0001.e86d.1c5c
             Cost        102000
             Port        488 (Port-channel1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32769  (priority 32768 sys-id-ext 1)
             Address     001b.2b78.1780
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Fa1/0/2          Desg FWD 200000    128.4    Edge P2p 
Fa1/0/4          Desg FWD 200000    128.6    Edge P2p 
Fa1/0/6          Desg FWD 200000    128.8    Edge P2p 
Fa1/0/8          Desg FWD 200000    128.10   Edge P2p 
Fa1/0/9          Desg FWD 200000    128.11   Edge P2p 
Fa1/0/10         Desg FWD 200000    128.12   Edge P2p 
Fa1/0/11         Desg FWD 200000    128.13   Edge P2p 
Fa1/0/12         Desg FWD 200000    128.14   Edge P2p 
Fa1/0/13         Desg FWD 200000    128.15   Edge P2p 
Fa1/0/14         Desg FWD 200000    128.16   Edge P2p 
Fa1/0/15         Desg FWD 200000    128.17   Edge P2p 
Fa1/0/16         Desg FWD 200000    128.18   Edge P2p 
Fa1/0/17         Desg FWD 200000    128.19   Edge P2p 
Fa1/0/18         Desg FWD 200000    128.20   Edge P2p 
Fa1/0/19         Desg FWD 200000    128.21   Edge P2p 
Fa1/0/20         Desg FWD 200000    128.22   Edge P2p 
Fa1/0/23         Desg FWD 200000    128.25   Edge P2p 
Fa1/0/24         Desg FWD 200000    128.26   Edge P2p 
Fa1/0/25         Desg FWD 200000    128.29   Edge P2p 
Fa1/0/26         Desg FWD 200000    128.30   Edge P2p 
Fa1/0/27         Desg FWD 200000    128.31   Edge P2p 
Fa1/0/28         Desg FWD 200000    128.32   Edge P2p 
Fa1/0/29         Desg FWD 200000    128.33   Edge P2p 
Fa1/0/30         Desg FWD 200000    128.34   Edge P2p 
Fa1/0/31         Desg FWD 200000    128.35   Edge P2p 
Fa1/0/32         Desg FWD 200000    128.36   Edge P2p 
Fa1/0/33         Desg FWD 200000    128.37   Edge P2p 
Fa1/0/34         Desg FWD 200000    128.38   Edge P2p 
Fa1/0/35         Desg FWD 200000    128.39   Edge P2p 
Fa1/0/36         Desg FWD 200000    128.40   Edge P2p 
Fa1/0/37         Desg FWD 200000    128.41   Edge P2p 
Fa1/0/38         Desg FWD 200000    128.42   Edge P2p 
Fa1/0/39         Desg FWD 200000    128.43   Edge P2p 
Fa1/0/40         Desg FWD 200000    128.44   Edge P2p 
Fa1/0/43         Desg FWD 200000    128.47   Edge P2p 
Po1              Root FWD 100000    128.488  P2p 


MST2
  Spanning tree enabled protocol mstp
  Root ID    Priority    8194
             Address     0001.e86d.1c5c
             Cost        102000
             Port        488 (Port-channel1)
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

  Bridge ID  Priority    32770  (priority 32768 sys-id-ext 2)
             Address     001b.2b78.1780
             Hello Time   2 sec  Max Age 20 sec  Forward Delay 15 sec

Interface        Role Sts Cost      Prio.Nbr Type
---------------- ---- --- --------- -------- --------------------------------
Po1              Root FWD 100000    128.488  P2p 
""",
## 'show spanning-tree mst detail'
'show spanning-tree mst detail': """show spanning-tree mst detail

##### MST0    vlans mapped:   1,1000-4094
Bridge        address 001b.2b78.1780  priority      32768 (32768 sysid 0)
Root          address 0001.e86d.1c5c  priority      8192  (8192 sysid 0)
              port    Po1             path cost     0        
Regional Root address 0001.e86d.1c5c  priority      8192  (8192 sysid 0)
                                      internal cost 102000    rem hops 18
Operational   hello time 2 , forward delay 15, max age 20, txholdcount 6 
Configured    hello time 2 , forward delay 15, max age 20, max hops    20

FastEthernet1/0/2 of MST0 is designated forwarding 
Port info             port id          128.4  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id    128.4
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/4 of MST0 is designated forwarding 
Port info             port id          128.6  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id    128.6
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/6 of MST0 is designated forwarding 
Port info             port id          128.8  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id    128.8
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/8 of MST0 is designated forwarding 
Port info             port id         128.10  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.10
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/9 of MST0 is designated forwarding 
Port info             port id         128.11  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.11
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918489, received 0

FastEthernet1/0/10 of MST0 is designated forwarding 
Port info             port id         128.12  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.12
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918489, received 0

FastEthernet1/0/11 of MST0 is designated forwarding 
Port info             port id         128.13  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.13
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918489, received 0

FastEthernet1/0/12 of MST0 is designated forwarding 
Port info             port id         128.14  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.14
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918489, received 0

FastEthernet1/0/13 of MST0 is designated forwarding 
Port info             port id         128.15  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.15
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918489, received 0

FastEthernet1/0/14 of MST0 is designated forwarding 
Port info             port id         128.16  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.16
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918488, received 0

FastEthernet1/0/15 of MST0 is designated forwarding 
Port info             port id         128.17  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.17
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918488, received 0

FastEthernet1/0/16 of MST0 is designated forwarding 
Port info             port id         128.18  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.18
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2156746, received 0

FastEthernet1/0/17 of MST0 is designated forwarding 
Port info             port id         128.19  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.19
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918488, received 0

FastEthernet1/0/18 of MST0 is designated forwarding 
Port info             port id         128.20  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.20
Timers: message expires in 0 sec, forward delay 0, forward transitions 2
Bpdus sent 2918488, received 0

FastEthernet1/0/19 of MST0 is designated forwarding 
Port info             port id         128.21  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.21
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918488, received 0

FastEthernet1/0/20 of MST0 is designated forwarding 
Port info             port id         128.22  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.22
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 2918488, received 0

FastEthernet1/0/23 of MST0 is designated forwarding 
Port info             port id         128.25  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.25
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092119, received 0

FastEthernet1/0/24 of MST0 is designated forwarding 
Port info             port id         128.26  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.26
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/25 of MST0 is designated forwarding 
Port info             port id         128.29  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.29
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/26 of MST0 is designated forwarding 
Port info             port id         128.30  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.30
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 1811159, received 0

FastEthernet1/0/27 of MST0 is designated forwarding 
Port info             port id         128.31  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.31
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/28 of MST0 is designated forwarding 
Port info             port id         128.32  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.32
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/29 of MST0 is designated forwarding 
Port info             port id         128.33  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.33
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/30 of MST0 is designated forwarding 
Port info             port id         128.34  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.34
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/31 of MST0 is designated forwarding 
Port info             port id         128.35  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.35
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/32 of MST0 is designated forwarding 
Port info             port id         128.36  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.36
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092117, received 0

FastEthernet1/0/33 of MST0 is designated forwarding 
Port info             port id         128.37  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.37
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/34 of MST0 is designated forwarding 
Port info             port id         128.38  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.38
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 3092118, received 0

FastEthernet1/0/35 of MST0 is designated forwarding 
Port info             port id         128.39  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.39
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/36 of MST0 is designated forwarding 
Port info             port id         128.40  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.40
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/37 of MST0 is designated forwarding 
Port info             port id         128.41  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.41
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/38 of MST0 is designated forwarding 
Port info             port id         128.42  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.42
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/39 of MST0 is designated forwarding 
Port info             port id         128.43  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.43
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/40 of MST0 is designated forwarding 
Port info             port id         128.44  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.44
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

FastEthernet1/0/43 of MST0 is designated forwarding 
Port info             port id         128.47  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32768  port id   128.47
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus sent 0, received 0

Port-channel1 of MST0 is root forwarding 
Port info             port id        128.488  priority    128  cost      100000
Designated root       address 0001.e86d.1c5c  priority   8192  cost           0
Design. regional root address 0001.e86d.1c5c  priority   8192  cost        2000
Designated bridge     address 0001.e8d6.2a37  priority  32768  port id    128.3
Timers: message expires in 4 sec, forward delay 0, forward transitions 2
Bpdus sent 2913178, received 6343121

##### MST1    vlans mapped:   2-499
Bridge        address 001b.2b78.1780  priority      32769 (32768 sysid 1)
Root          address 0001.e86d.1c5c  priority      8193  (8192 sysid 1)
              port    Po1             cost          102000    rem hops 18

FastEthernet1/0/2 of MST1 is designated forwarding 
Port info             port id          128.4  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id    128.4
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/4 of MST1 is designated forwarding 
Port info             port id          128.6  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id    128.6
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/6 of MST1 is designated forwarding 
Port info             port id          128.8  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id    128.8
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/8 of MST1 is designated forwarding 
Port info             port id         128.10  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.10
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/9 of MST1 is designated forwarding 
Port info             port id         128.11  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.11
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918489, received 0

FastEthernet1/0/10 of MST1 is designated forwarding 
Port info             port id         128.12  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.12
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918489, received 0

FastEthernet1/0/11 of MST1 is designated forwarding 
Port info             port id         128.13  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.13
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918489, received 0

FastEthernet1/0/12 of MST1 is designated forwarding 
Port info             port id         128.14  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.14
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918489, received 0

FastEthernet1/0/13 of MST1 is designated forwarding 
Port info             port id         128.15  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.15
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918489, received 0

FastEthernet1/0/14 of MST1 is designated forwarding 
Port info             port id         128.16  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.16
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/15 of MST1 is designated forwarding 
Port info             port id         128.17  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.17
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/16 of MST1 is designated forwarding 
Port info             port id         128.18  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.18
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2156746, received 0

FastEthernet1/0/17 of MST1 is designated forwarding 
Port info             port id         128.19  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.19
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/18 of MST1 is designated forwarding 
Port info             port id         128.20  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.20
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/19 of MST1 is designated forwarding 
Port info             port id         128.21  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.21
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/20 of MST1 is designated forwarding 
Port info             port id         128.22  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.22
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2918488, received 0

FastEthernet1/0/23 of MST1 is designated forwarding 
Port info             port id         128.25  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.25
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092119, received 0

FastEthernet1/0/24 of MST1 is designated forwarding 
Port info             port id         128.26  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.26
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/25 of MST1 is designated forwarding 
Port info             port id         128.29  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.29
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/26 of MST1 is designated forwarding 
Port info             port id         128.30  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.30
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 1811159, received 0

FastEthernet1/0/27 of MST1 is designated forwarding 
Port info             port id         128.31  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.31
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/28 of MST1 is designated forwarding 
Port info             port id         128.32  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.32
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/29 of MST1 is designated forwarding 
Port info             port id         128.33  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.33
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/30 of MST1 is designated forwarding 
Port info             port id         128.34  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.34
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/31 of MST1 is designated forwarding 
Port info             port id         128.35  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.35
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/32 of MST1 is designated forwarding 
Port info             port id         128.36  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.36
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092117, received 0

FastEthernet1/0/33 of MST1 is designated forwarding 
Port info             port id         128.37  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.37
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/34 of MST1 is designated forwarding 
Port info             port id         128.38  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.38
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 3092118, received 0

FastEthernet1/0/35 of MST1 is designated forwarding 
Port info             port id         128.39  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.39
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/36 of MST1 is designated forwarding 
Port info             port id         128.40  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.40
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/37 of MST1 is designated forwarding 
Port info             port id         128.41  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.41
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/38 of MST1 is designated forwarding 
Port info             port id         128.42  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.42
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/39 of MST1 is designated forwarding 
Port info             port id         128.43  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.43
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/40 of MST1 is designated forwarding 
Port info             port id         128.44  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.44
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

FastEthernet1/0/43 of MST1 is designated forwarding 
Port info             port id         128.47  priority    128  cost      200000
Designated root       address 0001.e86d.1c5c  priority   8193  cost      102000
Designated bridge     address 001b.2b78.1780  priority  32769  port id   128.47
Timers: message expires in 0 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 0, received 0

Port-channel1 of MST1 is root forwarding 
Port info             port id        128.488  priority    128  cost      100000
Designated root       address 0001.e86d.1c5c  priority   8193  cost        2000
Designated bridge     address 0001.e8d6.2a37  priority  32769  port id    128.3
Timers: message expires in 4 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2913178, received 6343118

##### MST2    vlans mapped:   500-999
Bridge        address 001b.2b78.1780  priority      32770 (32768 sysid 2)
Root          address 0001.e86d.1c5c  priority      8194  (8192 sysid 2)
              port    Po1             cost          102000    rem hops 18

Port-channel1 of MST2 is root forwarding 
Port info             port id        128.488  priority    128  cost      100000
Designated root       address 0001.e86d.1c5c  priority   8194  cost        2000
Designated bridge     address 0001.e8d6.2a37  priority  32770  port id    128.3
Timers: message expires in 4 sec, forward delay 0, forward transitions 1
Bpdus (MRecords) sent 2913178, received 6343118
""",
'terminal length 0':  'terminal length 0\n',
## 'show spanning-tree mst configuration'
'show spanning-tree mst configuration': """show spanning-tree mst configuration
Name      [TI]
Revision  0     Instances configured 3

Instance  Vlans mapped
--------  ---------------------------------------------------------------------
0         1,1000-4094
1         2-499
2         500-999
-------------------------------------------------------------------------------""",
}
    snmp_get={}
    snmp_getnext={}
