# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## H3C.VRP.get_chassis_id test
## Auto-generated by manage.py debug-script at 2011-03-11 09:41:14
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class H3C_VRP_get_chassis_id_Test(ScriptTestCase):
    script="H3C.VRP.get_chassis_id"
    vendor="H3C"
    platform='5500G-EI'
    version='3.03.02s56p05'
    input={}
    result='00:1E:C1:EC:08:00'
    motd='\n'
    cli={
## 'display version'
'display version': """
%Mar 11 09:41:05:843 2011 5500G-EI-Mainframe SHELL/5/LOGIN:- 2 - admin(172.20.0.181) in unit2 logindisplay version
3Com Corporation
Switch 5500G-EI Software Version 3Com OS V3.03.02s56p05
Copyright (c) 2004-2009 3Com Corporation and its licensors, All rights reserved.
Switch 5500G-EI uptime is 35 weeks, 1 day, 2 hours, 55 minutes

Switch 5500G-EI 24-Port with 1 Processor
128M    bytes SDRAM
16384K  bytes Flash Memory
Config Register points to FLASH

Hardware Version is REV.C
CPLD Version is 002
Bootrom Version is 5.03
[Subslot 0] 24GE+4SFP  Hardware Version is 00.00.00 
[Subslot 2] 2 STACK Hardware Version is REV.C 
""",
## 'display stp'
'display stp': """display stp
-------[CIST Global Info][Mode MSTP]-------
CIST Bridge         :0.001e-c1ec-0800
Bridge Times        :Hello 2s MaxAge 20s FwDly 15s MaxHop 20
CIST Root/ERPC      :0.001e-c1ec-0800 / 0
CIST RegRoot/IRPC   :0.001e-c1ec-0800 / 0
CIST RootPortId     :0.0
BPDU-Protection     :disabled
TC-Protection       :enabled / Threshold=6
Bridge Config
Digest Snooping     :disabled
CIST Root Type      :PRIMARY root
TC or TCN received  :8325
Time since last TC  :43 days 23h:21m:17s

----[Port1(GigabitEthernet1/0/1)][DOWN]----
 Port Protocol       :disabled

----[Port2(GigabitEthernet1/0/2)][DOWN]----
 Port Protocol       :disabled

----[Port3(GigabitEthernet1/0/3)][DOWN]----
 Port Protocol       :disabled

----[Port4(GigabitEthernet1/0/4)][DOWN]----
                                           Port Protocol       :disabled

----[Port5(GigabitEthernet1/0/5)][DOWN]----
 Port Protocol       :disabled

----[Port6(GigabitEthernet1/0/6)][DISABLED]----
 Port Protocol       :disabled

----[Port7(GigabitEthernet1/0/7)][DISABLED]----
 Port Protocol       :disabled

----[Port8(GigabitEthernet1/0/8)][DOWN]----
 Port Protocol       :disabled

----[Port9(GigabitEthernet1/0/9)][DOWN]----
 Port Protocol       :disabled

----[Port10(GigabitEthernet1/0/10)][DISABLED]----
 Port Protocol       :disabled

----[Port11(GigabitEthernet1/0/25)][DISABLED]----
 Port Protocol       :disabled

----[Port12(GigabitEthernet1/0/26)][DISABLED]----
                                           Port Protocol       :disabled

----[Port13(GigabitEthernet1/0/13)][DOWN]----
 Port Protocol       :disabled

----[Port14(GigabitEthernet1/0/14)][DOWN]----
 Port Protocol       :disabled

----[Port15(GigabitEthernet1/0/15)][DOWN]----
 Port Protocol       :disabled

----[Port16(GigabitEthernet1/0/16)][DOWN]----
 Port Protocol       :disabled

----[Port17(GigabitEthernet1/0/17)][DOWN]----
 Port Protocol       :disabled

----[Port18(GigabitEthernet1/0/18)][DOWN]----
 Port Protocol       :disabled

----[Port19(GigabitEthernet1/0/19)][DOWN]----
 Port Protocol       :disabled

----[Port20(GigabitEthernet1/0/20)][DOWN]----
                                           Port Protocol       :disabled

----[Port21(GigabitEthernet1/0/21)][DOWN]----
 Port Protocol       :disabled

----[Port22(GigabitEthernet1/0/22)][DOWN]----
 Port Protocol       :disabled

----[Port23(GigabitEthernet1/0/27)][DISABLED]----
 Port Protocol       :disabled

----[Port24(GigabitEthernet1/0/28)][DISABLED]----
 Port Protocol       :disabled

----[Port25(TenGigabitEthernet1/1/1)][DISABLED]----
 Port Protocol       :disabled

----[Port26(TenGigabitEthernet1/1/2)][DOWN]----
 Port Protocol       :disabled

----[Port59(GigabitEthernet2/0/1)][DOWN]----
 Port Protocol       :enabled
 Port Role           :CIST Disabled Port
 Port Priority       :128
                                           Port Cost(Legacy)   :Config=auto / Active=200000
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.59
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=false
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :240967
          TCN: 0, Config: 0, RST: 0, MST: 240967
 BPDU Received       :565
          TCN: 0, Config: 0, RST: 0, MST: 565

----[Port60(GigabitEthernet2/0/2)][DOWN]----
 Port Protocol       :enabled
 Port Role           :CIST Disabled Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200000
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.60
 Port Edged          :Config=enabled / Active=enabled  
                                           Point-to-point      :Config=auto / Active=false
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :20
          TCN: 0, Config: 0, RST: 0, MST: 20
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port61(GigabitEthernet2/0/3)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.61
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
                                           MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4321563
          TCN: 0, Config: 0, RST: 0, MST: 4321563
 BPDU Received       :4
          TCN: 0, Config: 0, RST: 0, MST: 4

----[Port62(GigabitEthernet2/0/4)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.62
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
                                           Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4321387
          TCN: 0, Config: 0, RST: 0, MST: 4321387
 BPDU Received       :4
          TCN: 0, Config: 0, RST: 0, MST: 4

----[Port63(GigabitEthernet2/0/5)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.63
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
                                           BPDU Sent           :4321471
          TCN: 0, Config: 0, RST: 0, MST: 4321471
 BPDU Received       :3
          TCN: 0, Config: 0, RST: 0, MST: 3

----[Port64(GigabitEthernet2/0/6)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.64
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :2452533
          TCN: 0, Config: 0, RST: 0, MST: 2452533
 BPDU Received       :1879839
                                                    TCN: 0, Config: 0, RST: 0, MST: 1879839

----[Port65(GigabitEthernet2/0/7)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.65
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4084315
          TCN: 0, Config: 0, RST: 0, MST: 4084315
 BPDU Received       :2
          TCN: 0, Config: 0, RST: 0, MST: 2

----[Port66(GigabitEthernet2/0/8)][FORWARDING]----
                                           Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.66
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :3 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4084790
          TCN: 0, Config: 0, RST: 0, MST: 4084790
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port67(GigabitEthernet2/0/9)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
                                           Port Cost(Legacy)   :Config=auto / Active=200
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.67
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :9060705
          TCN: 0, Config: 0, RST: 0, MST: 9060705
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port68(GigabitEthernet2/0/10)][DISABLED]----
 Port Protocol       :disabled

----[Port69(GigabitEthernet2/0/11)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
                                           Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.69
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :303319
          TCN: 0, Config: 0, RST: 0, MST: 303319
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port70(GigabitEthernet2/0/12)][DOWN]----
 Port Protocol       :enabled
 Port Role           :CIST Disabled Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200000
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.70
 Port Edged          :Config=enabled / Active=enabled  
                                           Point-to-point      :Config=auto / Active=false
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4
          TCN: 0, Config: 0, RST: 0, MST: 4
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port71(GigabitEthernet2/0/13)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.71
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
                                           MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4339820
          TCN: 0, Config: 0, RST: 0, MST: 4339820
 BPDU Received       :4
          TCN: 0, Config: 0, RST: 0, MST: 4

----[Port72(GigabitEthernet2/0/14)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.72
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
                                           Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :10392447
          TCN: 0, Config: 0, RST: 0, MST: 10392447
 BPDU Received       :188
          TCN: 0, Config: 0, RST: 188, MST: 0

----[Port73(GigabitEthernet2/0/15)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.73
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
                                           BPDU Sent           :4339964
          TCN: 0, Config: 0, RST: 0, MST: 4339964
 BPDU Received       :4
          TCN: 0, Config: 0, RST: 0, MST: 4

----[Port74(GigabitEthernet2/0/16)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.74
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4343365
          TCN: 0, Config: 0, RST: 0, MST: 4343365
 BPDU Received       :54
                                                    TCN: 0, Config: 0, RST: 0, MST: 54

----[Port75(GigabitEthernet2/0/17)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.75
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4321423
          TCN: 0, Config: 0, RST: 0, MST: 4321423
 BPDU Received       :3
          TCN: 0, Config: 0, RST: 0, MST: 3

----[Port76(GigabitEthernet2/0/18)][FORWARDING]----
                                           Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.76
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4340200
          TCN: 0, Config: 0, RST: 0, MST: 4340200
 BPDU Received       :5
          TCN: 0, Config: 0, RST: 0, MST: 5

----[Port77(GigabitEthernet2/0/19)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
                                           Port Cost(Legacy)   :Config=auto / Active=20
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.77
 Port Edged          :Config=enabled / Active=disabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :4 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :4084495
          TCN: 0, Config: 0, RST: 0, MST: 4084495
 BPDU Received       :14
          TCN: 0, Config: 0, RST: 0, MST: 14

----[Port78(GigabitEthernet2/0/20)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.78
 Port Edged          :Config=enabled / Active=disabled  
                                           Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :No Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :7977620
          TCN: 0, Config: 7977617, RST: 0, MST: 3
 BPDU Received       :4
          TCN: 2, Config: 1, RST: 1, MST: 0

----[Port79(GigabitEthernet2/0/21)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.79
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
                                           MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :7423478
          TCN: 0, Config: 0, RST: 0, MST: 7423478
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port80(GigabitEthernet2/0/22)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.80
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
                                           Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :1 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :1585975
          TCN: 0, Config: 0, RST: 0, MST: 1585975
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port81(GigabitEthernet2/0/23)][FORWARDING]----
 Port Protocol       :enabled
 Port Role           :CIST Designated Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.81
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=true
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Rapid Fwd State     :Rapid Forwarding 
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
                                           BPDU Sent           :303320
          TCN: 0, Config: 0, RST: 0, MST: 303320
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0

----[Port82(GigabitEthernet2/0/24)][DOWN]----
 Port Protocol       :enabled
 Port Role           :CIST Disabled Port
 Port Priority       :128
 Port Cost(Legacy)   :Config=auto / Active=200000
 Desg. Bridge/Port   :0.001e-c1ec-0800 / 128.82
 Port Edged          :Config=enabled / Active=enabled  
 Point-to-point      :Config=auto / Active=false
 Transmit Limit      :10 packets/hello-time
 Protection Type     :None
 MSTP BPDU format    :Config=auto / Active=legacy
 Port Config
 Digest Snooping     :disabled
 Num of Vlans Mapped :2 
 PortTimes           :Hello 2s MaxAge 20s FwDly 15s MsgAge 0s RemHop 20
 BPDU Sent           :0
          TCN: 0, Config: 0, RST: 0, MST: 0
 BPDU Received       :0
          TCN: 0, Config: 0, RST: 0, MST: 0""",
}
    snmp_get={}
    snmp_getnext={}
