# -*- coding: utf-8 -*-
##----------------------------------------------------------------------
## EdgeCore.ES.get_switchport test
## Auto-generated by manage.py debug-script at 2011-04-13 12:13:36
##----------------------------------------------------------------------
## Copyright (C) 2007-2011 The NOC Project
## See LICENSE for details
##----------------------------------------------------------------------
from noc.lib.test import ScriptTestCase
class EdgeCore_ES_get_switchport_Test(ScriptTestCase):
    script="EdgeCore.ES.get_switchport"
    vendor="EdgeCore"
    platform='ES3526XA-V2'
    version='1.1.0.29'
    input={}
    result=[{'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/1',
  'members': [],
  'status': True,
  'tagged': [],
  'untagged': 359},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': True,
  'interface': 'Eth 1/2',
  'members': [],
  'status': True,
  'tagged': [],
  'untagged': 2100},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/3',
  'members': [],
  'status': True,
  'tagged': [],
  'untagged': 375},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/4',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/5',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/6',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/7',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/8',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/9',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/10',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/11',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/12',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/13',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/14',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/15',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/16',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/17',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/18',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/19',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/20',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/21',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/22',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/23',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/24',
  'members': [],
  'status': False,
  'tagged': [],
  'untagged': 1},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/25',
  'members': [],
  'status': True,
  'tagged': [1, 69, 359, 375, 2100]},
 {'802.1Q Enabled': True,
  '802.1ad Tunnel': False,
  'interface': 'Eth 1/26',
  'members': [],
  'status': False,
  'tagged': [1, 69, 359, 2100]}]
    motd=' \n\n      CLI session with the ES3526XA is opened.\n      To end the CLI session, enter [Exit].\n\n'
    cli={
## 'show interface switchport'
'show interface switchport': """show interface switchport
Information of Eth 1/1
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   359
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                  359(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/2
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   2100
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                 2100(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
802.1Q-tunnel Mode:            Access
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/3
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   375
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u), 375(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/4
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/5
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/6
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/7
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/8
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/9
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/10
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
 Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/11
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/12
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/13
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/14
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/15
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/16
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/17
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/18
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/19
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/20
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/21
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/22
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/23
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
 Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/24
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Hybrid
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(u),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/25
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Trunk
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(t),  69(t), 359(t), 375(t),2100(t),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            Uplink
 802.1Q-tunnel TPID:            8100(Hex)

Information of Eth 1/26
 Broadcast Threshold:           Enabled, scale:8000K level:5 bits/second
 Multicast Threshold:           Disabled
 Unicast Threshold:             Disabled
 LACP Status:                   Disabled
 Ingress Rate Limit:            Disabled, scale:8M level:10 
  Egress Rate Limit:            Disabled, scale:8M level:10 
 VLAN Membership Mode:          Trunk
 Ingress Rule:                  Enabled
 Acceptable Frame Type:         All frames
 Native VLAN:                   1
 Priority for Untagged Traffic: 0
 GVRP Status:                   Disabled
 Allowed VLAN:                    1(t),  69(t), 359(t),2100(t),
 Forbidden VLAN:                
 Private-VLAN Mode:             NONE
 Private-VLAN Mapping:          NONE
 802.1Q-tunnel Status:          Enable
 802.1Q-tunnel Mode:            NORMAL
 802.1Q-tunnel TPID:            8100(Hex)
""", 
'show interface status | include line protocol is':  "show interface status | include line protocol is\n                                                  ^\n% Invalid input detected at '^' marker.\n", 
## 'show version'
'show version': """show version
 Serial Number:           A816001994
 Service Tag:             
 Hardware Version:        R01A2
 EPLD Version:            0.00
 Number of Ports:         26
 Main Power Status:       Up
 Loader Version:          1.0.0.2
 Boot ROM Version:        1.0.0.5
 Operation Code Version:  1.1.0.29
""", 
## 'show system'
'show system': """show system
System Description: Layer2+ Fast Ethernet Standalone Switch ES3526XA
System OID String: 1.3.6.1.4.1.259.8.1.5
System Information
 System Up Time:          83 days, 19 hours, 47 minutes, and 55.80 seconds
 System Name:             (null)
 System Location:         [NONE]
 System Contact:          [NONE]
 MAC Address (Unit1):     00-12-CF-90-8F-20
 Web Server:              Disabled
 Web Server Port:         80
 Web Secure Server:       Disabled
 Web Secure Server Port:  443
 Telnet Server:           Enable
 Telnet Server Port:      23
 Authentication Login:     TACACS Local None
 Jumbo Frame:             Enabled 

 POST Result:              
DUMMY Test 1 ................. PASS
UART Loopback Test ........... PASS
DRAM Test .................... PASS
Switch Int Loopback Test ..... PASS

Done All Pass.""", 
## 'show interface status'
'show interface status': """show interface status
Information of Eth 1/1
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-21
 Configuration: 
  Name:                   (null)
  Port Admin:             Up
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Up
  Port Operation Status:  Up
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/2
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-22
 Configuration: 
  Name:                   (null)
  Port Admin:             Up
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
 Link Status:            Up
  Port Operation Status:  Up
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/3
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-23
 Configuration: 
  Name:                   (null)
  Port Admin:             Up
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Up
  Port Operation Status:  Up
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/4
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-24
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
 LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/5
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-25
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/6
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-26
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
 Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/7
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-27
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/8
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-28
 Configuration: 
  Name:                   (null)
 Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/9
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-29
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/10
 Basic Information: 
  Port Type:              100TX
 Mac Address:            00-12-CF-90-8F-2A
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/11
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-2B
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/12
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-2C
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/13
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-2D
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
 Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/14
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-2E
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/15
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-2F
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
 Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/16
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-30
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/17
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-31
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
 LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/18
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-32
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/19
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-33
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
 Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/20
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-34
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/21
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-35
 Configuration: 
  Name:                   (null)
 Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/22
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-36
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/23
 Basic Information: 
  Port Type:              100TX
 Mac Address:            00-12-CF-90-8F-37
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/24
 Basic Information: 
  Port Type:              100TX
  Mac Address:            00-12-CF-90-8F-38
 Configuration: 
  Name:                   (null)
  Port Admin:             Down
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Down
  Operation Speed-duplex: 100full
  Flow Control Type:      None

Information of Eth 1/25
 Basic Information: 
  Port Type:              1000Base SFP
  Mac Address:            00-12-CF-90-8F-39
 Configuration: 
  Name:                   (null)
  Port Admin:             Up
  Speed-duplex:           Auto
  Capabilities:           1000full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
  Link Status:            Up
  Port Operation Status:  Up
  Operation Speed-duplex: 1000full
  Flow Control Type:      None

Information of Eth 1/26
 Basic Information: 
  Port Type:              1000T
  Mac Address:            00-12-CF-90-8F-3A
 Configuration: 
  Name:                   (null)
  Port Admin:             Up
  Speed-duplex:           Auto
  Capabilities:           10half, 10full, 100half, 100full, 1000full
  Broadcast Storm:        Enabled
  Broadcast Storm Limit:  scale:8000K level:5 octets/second
  Flow Control:           Disabled
  LACP:                   Disabled
  Port Security:          Disabled
  Max MAC Count:          0
  Port Security Action:   None
 Current Status: 
 Link Status:            Down
  Operation Speed-duplex: 1000full
  Flow Control Type:      None

Information of VLAN 1
 MAC Address:             00-12-CF-90-8F-20

Information of VLAN 69
 MAC Address:             00-12-CF-90-8F-20

Information of VLAN 359
 MAC Address:             00-12-CF-90-8F-20

Information of VLAN 375
 MAC Address:             00-12-CF-90-8F-20

Information of VLAN 2100
 MAC Address:             00-12-CF-90-8F-20

Information of VLAN 4093
 MAC Address:             00-12-CF-90-8F-20
""", 
}
    snmp_get={}
    snmp_getnext={}
