Your NMS has an amazing amount of information in it, if you could simply get to it.
That's where the RESTful API, known as the eAPI in the case of HPE IMC comes in.
In this post, we're going to take a look at some of the devices specific APIs to see what we can kind of information we can get.
In [23]:
from pyhpeimc.auth import *
from pyhpeimc.objects import *
import json
#auth = IMCAuth("http://", "10.101.0.203", "8080", "admin", "admin")
auth = IMCAuth("http://", "kontrolissues.thruhere.net", "8086", "admin", "admin")
The first thing we're going to do is to create our first device object. The pyhpeimc library has a growing amount of classses defined that takes a bunch of API calls and ties them back to a single object with multiple attributes and methods.
The IMCDev class is one of those objects. To get started, we're going to use the IP address of our target device as the input to the IMCDev class, the other options been the authenication credentials and the URL.
In [2]:
dev1 = IMCDev('10.101.0.221', auth.creds, auth.url)
In [24]:
dev1.name
Out[24]:
'HP_5500EI'
The device type
In [25]:
dev1.type
Out[25]:
'HP 5500-24G-PoE+-EI-2SLOT'
You can see who the contact is for this device. Yes, this is the SNMP syscontact attribute.
In [26]:
dev1.contact
Out[26]:
'admin@lab.local'
You can see where this device is located. Yes, this is the SNMP syslocation attribute.
In [27]:
dev1.location
Out[27]:
'LAB'
You can check the current alarm status for this device.
In [28]:
dev1.status
Out[28]:
'Normal'
You can check the specific alarms associated with this device.
In [29]:
dev1.alarm
Out[29]:
[{'OID': '1.3.6.1.6.3.1.1.5.2.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/20 is DOWN.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139822',
'alarmLevel': '2',
'alarmLevelDesc': 'Major',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570414',
'faultTimeDesc': '2016-06-10 10:53:34',
'holdInfo': '',
'id': '139822',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=82;Interface Description=GigabitEthernet2/0/20;Interface Admin Status=1;Interface Operate Status=2',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465573748',
'recTimeDesc': '2016-06-10 11:49:08',
'recUserName': 'admin',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.2.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is DOWN.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139819',
'alarmLevel': '2',
'alarmLevelDesc': 'Major',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570247',
'faultTimeDesc': '2016-06-10 10:50:47',
'holdInfo': '',
'id': '139819',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=2',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570124',
'recTimeDesc': '2016-06-10 10:48:44',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.3.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is UP.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139814',
'alarmLevel': '5',
'alarmLevelDesc': 'Info',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570214',
'faultTimeDesc': '2016-06-10 10:50:14',
'holdInfo': '',
'id': '139814',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=1',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570214',
'recTimeDesc': '2016-06-10 10:50:14',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.2.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is DOWN.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139805',
'alarmLevel': '2',
'alarmLevelDesc': 'Major',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570183',
'faultTimeDesc': '2016-06-10 10:49:43',
'holdInfo': '',
'id': '139805',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=2',
'parentId': '139743',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570214',
'recTimeDesc': '2016-06-10 10:50:14',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.3.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is UP.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139804',
'alarmLevel': '5',
'alarmLevelDesc': 'Info',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570150',
'faultTimeDesc': '2016-06-10 10:49:10',
'holdInfo': '',
'id': '139804',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=1',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570150',
'recTimeDesc': '2016-06-10 10:49:10',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.4.1.25506.4.1.1.2.6.9',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'Interface "GigabitEthernet2/0/13" State UP found during iMC device poll.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139841',
'alarmLevel': '5',
'alarmLevelDesc': 'Info',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465570124',
'faultTimeDesc': '2016-06-10 10:48:44',
'holdInfo': '',
'id': '139841',
'originalType': '3',
'originalTypeDesc': 'iMC',
'paras': "NMS Device ID=10;NMS Device Description=HP_5500EI;*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Alias='';Interface Admin Status=UP;Interface Operation Status=UP;Interface Operation Time(Equivalent to Alarm Time) (S)=1465570124;Device IP=192.168.1.221;Device Name=HP_5500EI",
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570124',
'recTimeDesc': '2016-06-10 10:48:44',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.2.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is DOWN.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139793',
'alarmLevel': '2',
'alarmLevelDesc': 'Major',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465569621',
'faultTimeDesc': '2016-06-10 10:40:21',
'holdInfo': '',
'id': '139793',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=2',
'parentId': '139743',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465570150',
'recTimeDesc': '2016-06-10 10:49:10',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.3.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is UP.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139791',
'alarmLevel': '5',
'alarmLevelDesc': 'Info',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465569589',
'faultTimeDesc': '2016-06-10 10:39:49',
'holdInfo': '',
'id': '139791',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=1',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465569589',
'recTimeDesc': '2016-06-10 10:39:49',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.2.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is DOWN.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139790',
'alarmLevel': '2',
'alarmLevelDesc': 'Major',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465569556',
'faultTimeDesc': '2016-06-10 10:39:16',
'holdInfo': '',
'id': '139790',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=2',
'parentId': '139743',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465569589',
'recTimeDesc': '2016-06-10 10:39:49',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'},
{'OID': '1.3.6.1.6.3.1.1.5.3.0',
'ackStatus': '0',
'ackStatusDesc': 'Unacknowledged',
'ackTime': '0',
'ackTimeDesc': '',
'ackUserName': '',
'alarmCategory': '3',
'alarmCategoryDesc': 'Interface/Link Status Alarm',
'alarmDesc': 'The interface GigabitEthernet2/0/13 is UP.',
'alarmDetail': 'http://kontrolissues.thruhere.net:8086/imcrs/fault/alarm/139788',
'alarmLevel': '5',
'alarmLevelDesc': 'Info',
'deviceId': '10',
'deviceIp': '192.168.1.221',
'deviceName': 'HP_5500EI',
'faultTime': '1465569524',
'faultTimeDesc': '2016-06-10 10:38:44',
'holdInfo': '',
'id': '139788',
'originalType': '1',
'originalTypeDesc': 'Trap',
'paras': '*Interface Index=73;Interface Description=GigabitEthernet2/0/13;Interface Admin Status=1;Interface Operate Status=1',
'parentId': '0',
'recStatus': '1',
'recStatusDesc': 'Recovered',
'recTime': '1465569524',
'recTimeDesc': '2016-06-10 10:38:44',
'recUserName': '$SYSTEM',
'remark': '',
'somState': '0'}]
You can get a list of the VLANS currently configured on this device.
In [6]:
dev1.vlans
Out[6]:
[{'vlanId': '1', 'vlanName': 'default', 'vlanStatus': '1'},
{'vlanId': '2', 'vlanName': 'TenantABC', 'vlanStatus': '1'},
{'vlanId': '3', 'vlanName': 'management', 'vlanStatus': '1'},
{'vlanId': '10', 'vlanName': 'mgmt', 'vlanStatus': '1'},
{'vlanId': '11', 'vlanName': 'remotebranch', 'vlanStatus': '1'},
{'vlanId': '12', 'vlanName': 'competitive', 'vlanStatus': '1'},
{'vlanId': '13', 'vlanName': 'VLAN 0013', 'vlanStatus': '1'},
{'vlanId': '15', 'vlanName': 'users', 'vlanStatus': '1'},
{'vlanId': '16', 'vlanName': 'phones', 'vlanStatus': '1'},
{'vlanId': '20', 'vlanName': 'servers', 'vlanStatus': '1'},
{'vlanId': '50', 'vlanName': 'VLAN 0050', 'vlanStatus': '1'},
{'vlanId': '101', 'vlanName': 'onboarding', 'vlanStatus': '1'},
{'vlanId': '102', 'vlanName': 'guest', 'vlanStatus': '1'},
{'vlanId': '103', 'vlanName': 'guestmobile', 'vlanStatus': '1'},
{'vlanId': '105', 'vlanName': 'scep', 'vlanStatus': '1'},
{'vlanId': '106', 'vlanName': 'scepreg', 'vlanStatus': '1'},
{'vlanId': '110', 'vlanName': 'NewVLAN', 'vlanStatus': '1'},
{'vlanId': '201', 'vlanName': 'VLAN 0201', 'vlanStatus': '1'},
{'vlanId': '203', 'vlanName': 'VLAN 0203', 'vlanStatus': '1'},
{'vlanId': '500', 'vlanName': 'VLAN500', 'vlanStatus': '1'},
{'vlanId': '503', 'vlanName': 'VLAN503', 'vlanStatus': '1'},
{'vlanId': '1010', 'vlanName': 'FBRAMGMT', 'vlanStatus': '1'},
{'vlanId': '1011', 'vlanName': 'fbraservers', 'vlanStatus': '1'},
{'vlanId': '1012', 'vlanName': 'FBRAemployee', 'vlanStatus': '1'},
{'vlanId': '1013', 'vlanName': 'FBRAguest', 'vlanStatus': '1'},
{'vlanId': '1014', 'vlanName': 'FBRAregistration', 'vlanStatus': '1'},
{'vlanId': '1015', 'vlanName': 'FBRAvoice', 'vlanStatus': '1'},
{'vlanId': '2000', 'vlanName': 'vsr240', 'vlanStatus': '1'},
{'vlanId': '2001', 'vlanName': 'vsr241-1', 'vlanStatus': '1'},
{'vlanId': '2002', 'vlanName': 'vsr-241-2', 'vlanStatus': '1'},
{'vlanId': '2003', 'vlanName': 'vsr-242-1', 'vlanStatus': '1'},
{'vlanId': '2004', 'vlanName': 'vsr-242-2', 'vlanStatus': '1'},
{'vlanId': '2005', 'vlanName': 'VLAN 2005', 'vlanStatus': '1'},
{'vlanId': '2006', 'vlanName': 'VLAN 2006', 'vlanStatus': '1'},
{'vlanId': '2007', 'vlanName': 'VLAN 2007', 'vlanStatus': '1'},
{'vlanId': '2008', 'vlanName': 'VLAN 2008', 'vlanStatus': '1'},
{'vlanId': '2009', 'vlanName': 'VLAN 2009', 'vlanStatus': '1'},
{'vlanId': '2010', 'vlanName': 'VLAN 2010', 'vlanStatus': '1'},
{'vlanId': '3010', 'vlanName': 'ProvisionBranchVLAN10', 'vlanStatus': '1'}]
You can take a look at the interfaces that are present on this device.
In [8]:
dev1.interfacelist
Out[8]:
[{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'VMSynology - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/1',
'ifIndex': '1',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 920 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:17',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'SynologyDS - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/2',
'ifIndex': '2',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '50 day(s) 1 hour(s) 38 minute(s) 1 second(s) 570 millisecond(s)',
'lastChangeTime': '2016-06-06 09:51:09',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:18',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "I'm a NMS Weenie",
'ifDescription': 'GigabitEthernet1/0/3',
'ifIndex': '3',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 48 second(s) 480 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:56',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:19',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/4',
'ifIndex': '4',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 48 second(s) 850 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:56',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:1a',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'ESX55-10.101.0.7 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/5',
'ifIndex': '5',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 5 minute(s) 16 second(s) 350 millisecond(s)',
'lastChangeTime': '2016-04-17 08:18:24',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:1b',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'ESX55-10.101.0.6 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/6',
'ifIndex': '6',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 10 minute(s) 55 second(s) 140 millisecond(s)',
'lastChangeTime': '2016-04-17 08:24:03',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:1c',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'ESX55-10.101.0.7 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/7',
'ifIndex': '7',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 5 minute(s) 16 second(s) 960 millisecond(s)',
'lastChangeTime': '2016-04-17 08:18:24',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:1d',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'ESX55-10.101.0.6 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/8',
'ifIndex': '8',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 10 minute(s) 55 second(s) 280 millisecond(s)',
'lastChangeTime': '2016-04-17 08:24:03',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:1e',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/9',
'ifIndex': '9',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 25 second(s) 950 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:33',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:1f',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Sentry3_5133a8 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/10',
'ifIndex': '10',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '100000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 46 second(s) 290 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:54',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:20',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Sentry3_5146c3 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/11',
'ifIndex': '11',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '100000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 46 second(s) 550 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:54',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:21',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/12',
'ifIndex': '12',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '38 day(s) 2 hour(s) 48 minute(s) 16 second(s) 670 millisecond(s)',
'lastChangeTime': '2016-05-25 11:01:24',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:22',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/13',
'ifIndex': '13',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '100000000',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 46 second(s) 920 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:54',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:23',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'HP-5406zl - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/14',
'ifIndex': '14',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '34 day(s) 6 hour(s) 54 minute(s) 58 second(s) 820 millisecond(s)',
'lastChangeTime': '2016-05-21 15:08:06',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:24',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/15',
'ifIndex': '15',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['172.16.0.2', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 37 second(s) 470 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:45',
'mtu': '1500',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'R1Br4Core - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/16',
'ifIndex': '16',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['172.16.11.1', '255.255.255.252']},
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 40 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '1500',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'R1Br3Core - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/17',
'ifIndex': '17',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['172.16.12.1', '255.255.255.252']},
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 300 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '1500',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Aruba3600 - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/18',
'ifIndex': '18',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '9 day(s) 8 hour(s) 1 minute(s) 29 second(s) 740 millisecond(s)',
'lastChangeTime': '2016-04-26 16:14:37',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:28',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/19',
'ifIndex': '19',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '100000000',
'lastChange': '34 day(s) 6 hour(s) 25 minute(s) 35 second(s) 610 millisecond(s)',
'lastChangeTime': '2016-05-21 14:38:43',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:29',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'HP-3500yl-24G - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/20',
'ifIndex': '20',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 26 second(s) 690 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:34',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:2a',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/21',
'ifIndex': '21',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 26 second(s) 760 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:34',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:2b',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet1/0/22 Interface',
'ifDescription': 'GigabitEthernet1/0/22',
'ifIndex': '22',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['10.20.10.1', '255.255.255.0']},
'lastChange': '53 day(s) 4 hour(s) 49 minute(s) 54 second(s) 810 millisecond(s)',
'lastChangeTime': '2016-06-09 13:04:18',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'HP830_LSW - HP_5500EI',
'ifDescription': 'GigabitEthernet1/0/23',
'ifIndex': '23',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '54 day(s) 2 hour(s) 15 minute(s) 39 second(s) 480 millisecond(s)',
'lastChangeTime': '2016-06-10 10:30:03',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:2d',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/24',
'ifIndex': '24',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 6 hour(s) 20 minute(s) 32 second(s) 950 millisecond(s)',
'lastChangeTime': '2016-06-09 14:34:56',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:2e',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/25',
'ifIndex': '25',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 27 second(s) 20 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:35',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:2f',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/26',
'ifIndex': '26',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 27 second(s) 30 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:35',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:30',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/27',
'ifIndex': '27',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 27 second(s) 50 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:35',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:31',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "' '",
'ifDescription': 'GigabitEthernet1/0/28',
'ifIndex': '28',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 27 second(s) 60 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:35',
'mtu': '1536',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:32',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'NULL0 Interface',
'ifDescription': 'NULL0',
'ifIndex': '29',
'ifType': '1',
'ifTypeDesc': 'OTHER',
'ifspeed': '0',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 24 second(s) 780 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:32',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:00:00:00:00:00',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface1 Interface',
'ifDescription': 'Vlan-interface1',
'ifIndex': '30',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.101.0.221', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 170 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Bridge-Aggregation1 Interface',
'ifDescription': 'Bridge-Aggregation1',
'ifIndex': '31',
'ifType': '161',
'ifTypeDesc': 'ieee8023adLag',
'ifspeed': '0',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 34 second(s) 190 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:42',
'mtu': '0',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:00',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Bridge-Aggregation2 Interface',
'ifDescription': 'Bridge-Aggregation2',
'ifIndex': '32',
'ifType': '161',
'ifTypeDesc': 'ieee8023adLag',
'ifspeed': '0',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 34 second(s) 470 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:42',
'mtu': '0',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:00',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface500 Interface',
'ifDescription': 'Vlan-interface500',
'ifIndex': '33',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.50.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 220 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'LoopBack0 Interface',
'ifDescription': 'LoopBack0',
'ifIndex': '34',
'ifType': '24',
'ifTypeDesc': 'SOFTWARELOOPBACK',
'ifspeed': '0',
'ipHash': {'item': ['192.168.1.221', '255.255.255.255']},
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 35 second(s) 20 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:43',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:00:00:00:00:00',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Ten-GigabitEthernet1/1/1 Interface',
'ifDescription': 'Ten-GigabitEthernet1/1/1',
'ifIndex': '35',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '10000000000',
'lastChange': '53 day(s) 4 hour(s) 43 minute(s) 6 second(s) 320 millisecond(s)',
'lastChangeTime': '2016-06-09 12:57:30',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:33',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Ten-GigabitEthernet1/1/2 Interface',
'ifDescription': 'Ten-GigabitEthernet1/1/2',
'ifIndex': '36',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '10000000000',
'lastChange': '53 day(s) 4 hour(s) 43 minute(s) 6 second(s) 60 millisecond(s)',
'lastChangeTime': '2016-06-09 12:57:30',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:34',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2000 Interface',
'ifDescription': 'Vlan-interface2000',
'ifIndex': '37',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.2.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 230 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2001 Interface',
'ifDescription': 'Vlan-interface2001',
'ifIndex': '38',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.3.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 230 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'mgmt',
'ifDescription': 'Vlan-interface10',
'ifIndex': '39',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.10.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 190 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'remote_branch',
'ifDescription': 'Vlan-interface11',
'ifIndex': '40',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.11.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 190 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'competitive',
'ifDescription': 'Vlan-interface12',
'ifIndex': '41',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.12.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 190 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2002 Interface',
'ifDescription': 'Vlan-interface2002',
'ifIndex': '42',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.4.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 240 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface13 Interface',
'ifDescription': 'Vlan-interface13',
'ifIndex': '43',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.13.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 190 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2003 Interface',
'ifDescription': 'Vlan-interface2003',
'ifIndex': '44',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.5.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 240 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2004 Interface',
'ifDescription': 'Vlan-interface2004',
'ifIndex': '45',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.6.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 240 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2007 Interface',
'ifDescription': 'Vlan-interface2007',
'ifIndex': '46',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['172.16.7.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 240 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface1010 Interface',
'ifDescription': 'Vlan-interface1010',
'ifIndex': '47',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 230 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface2 Interface',
'ifDescription': 'Vlan-interface2',
'ifIndex': '48',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.101.2.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 180 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface15 Interface',
'ifDescription': 'Vlan-interface15',
'ifIndex': '49',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.101.15.254', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 200 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Bridge-Aggregation110 Interface',
'ifDescription': 'Bridge-Aggregation110',
'ifIndex': '50',
'ifType': '161',
'ifTypeDesc': 'ieee8023adLag',
'ifspeed': '0',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 34 second(s) 690 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:42',
'mtu': '0',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:fc:00',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface3 Interface',
'ifDescription': 'Vlan-interface3',
'ifIndex': '51',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.3.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 180 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface103 Interface',
'ifDescription': 'Vlan-interface103',
'ifIndex': '52',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.103.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 210 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface201 Interface',
'ifDescription': 'Vlan-interface201',
'ifIndex': '53',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.201.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 220 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface203 Interface',
'ifDescription': 'Vlan-interface203',
'ifIndex': '54',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.203.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 220 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'server router',
'ifDescription': 'Vlan-interface20',
'ifIndex': '55',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.3.10.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 200 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/1',
'ifIndex': '56',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 760 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:97',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface50 Interface',
'ifDescription': 'Vlan-interface50',
'ifIndex': '57',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.102.1.2', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 200 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/2',
'ifIndex': '58',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 780 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:98',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/3',
'ifIndex': '59',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 780 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:99',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/4',
'ifIndex': '60',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 790 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:9a',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/5',
'ifIndex': '61',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 53 second(s) 370 millisecond(s)',
'lastChangeTime': '2016-06-09 13:00:17',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:9b',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/6',
'ifIndex': '62',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 53 second(s) 490 millisecond(s)',
'lastChangeTime': '2016-06-09 13:00:17',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:9c',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/7',
'ifIndex': '63',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 53 second(s) 770 millisecond(s)',
'lastChangeTime': '2016-06-09 13:00:17',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:9d',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/8',
'ifIndex': '64',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 54 second(s) 10 millisecond(s)',
'lastChangeTime': '2016-06-09 13:00:18',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:9e',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/9',
'ifIndex': '65',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 54 second(s) 110 millisecond(s)',
'lastChangeTime': '2016-06-09 13:00:18',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:9f',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/10',
'ifIndex': '66',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 820 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a0',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/11',
'ifIndex': '67',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 830 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a1',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/12',
'ifIndex': '68',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 830 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a2',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Tunnel0 Interface',
'ifDescription': 'Tunnel0',
'ifIndex': '69',
'ifType': '131',
'ifTypeDesc': 'TUNNEL',
'ifspeed': '64000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 970 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '64000',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:00:00:00:00:00',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'LoopBack1 Interface',
'ifDescription': 'LoopBack1',
'ifIndex': '70',
'ifType': '24',
'ifTypeDesc': 'SOFTWARELOOPBACK',
'ifspeed': '0',
'ipHash': {'item': ['172.16.3.10', '255.255.255.255']},
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 35 second(s) 110 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:43',
'mtu': '1536',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:00:00:00:00:00',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'guest',
'ifDescription': 'Vlan-interface101',
'ifIndex': '71',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.101.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 200 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface102 Interface',
'ifDescription': 'Vlan-interface102',
'ifIndex': '72',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.102.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 210 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/13',
'ifIndex': '73',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '54 day(s) 2 hour(s) 34 minute(s) 20 second(s) 810 millisecond(s)',
'lastChangeTime': '2016-06-10 10:48:44',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:a3',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/14',
'ifIndex': '74',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 850 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a4',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'scep',
'ifDescription': 'Vlan-interface105',
'ifIndex': '75',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.105.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 210 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Vlan-interface106 Interface',
'ifDescription': 'Vlan-interface106',
'ifIndex': '76',
'ifType': '136',
'ifTypeDesc': 'L3IPVLAN',
'ifspeed': '0',
'ipHash': {'item': ['10.10.106.1', '255.255.255.0']},
'lastChange': '0 day(s) 0 hour(s) 1 minute(s) 47 second(s) 220 millisecond(s)',
'lastChangeTime': '2016-04-17 08:14:55',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/15',
'ifIndex': '77',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 850 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a5',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/16',
'ifIndex': '78',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 860 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a6',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/17',
'ifIndex': '79',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 860 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a7',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/18',
'ifIndex': '80',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 860 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:a8',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/19',
'ifIndex': '81',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '100000000',
'lastChange': '53 day(s) 7 hour(s) 20 minute(s) 25 second(s) 750 millisecond(s)',
'lastChangeTime': '2016-06-09 15:34:49',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:a9',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/20',
'ifIndex': '82',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '54 day(s) 2 hour(s) 38 minute(s) 48 second(s) 80 millisecond(s)',
'lastChangeTime': '2016-06-10 10:53:12',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:aa',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'HP_5500EI - HP_5500EI',
'ifDescription': 'GigabitEthernet2/0/21',
'ifIndex': '83',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 900 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:ab',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': "''",
'ifDescription': 'GigabitEthernet2/0/22',
'ifIndex': '84',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 900 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:ac',
'showStatus': '2',
'statusDesc': 'Down'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/23 Interface',
'ifDescription': 'GigabitEthernet2/0/23',
'ifIndex': '85',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['10.20.1.254', '255.255.255.0']},
'lastChange': '53 day(s) 6 hour(s) 29 minute(s) 16 second(s) 890 millisecond(s)',
'lastChangeTime': '2016-06-09 14:43:40',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/24 Interface',
'ifDescription': 'GigabitEthernet2/0/24',
'ifIndex': '86',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'ipHash': {'item': ['10.15.1.254', '255.255.255.0']},
'lastChange': '53 day(s) 7 hour(s) 11 minute(s) 50 second(s) 720 millisecond(s)',
'lastChangeTime': '2016-06-09 15:26:14',
'mtu': '1500',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:fc:01',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/25 Interface',
'ifDescription': 'GigabitEthernet2/0/25',
'ifIndex': '87',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 930 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:af',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/26 Interface',
'ifDescription': 'GigabitEthernet2/0/26',
'ifIndex': '88',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 930 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:b0',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/27 Interface',
'ifDescription': 'GigabitEthernet2/0/27',
'ifIndex': '89',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 930 millisecond(s)',
'lastChangeTime': '2016-01-25 18:32:19',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:b1',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '2',
'adminStatusDesc': 'Down',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'GigabitEthernet2/0/28 Interface',
'ifDescription': 'GigabitEthernet2/0/28',
'ifIndex': '90',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '1000000000',
'lastChange': '0 day(s) 0 hour(s) 0 minute(s) 38 second(s) 940 millisecond(s)',
'lastChangeTime': '2016-04-17 08:13:46',
'mtu': '9216',
'operationStatus': '2',
'operationStatusDesc': 'Down',
'phyAddress': '00:1e:c1:dc:f1:b2',
'showStatus': '-1',
'statusDesc': 'Disabled'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Ten-GigabitEthernet2/1/1 Interface',
'ifDescription': 'Ten-GigabitEthernet2/1/1',
'ifIndex': '91',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '10000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 5 second(s) 420 millisecond(s)',
'lastChangeTime': '2016-06-09 12:59:29',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:b3',
'showStatus': '1',
'statusDesc': 'Up'},
{'adminStatus': '1',
'adminStatusDesc': 'Up',
'appointedSpeed': '-1',
'filterTrapStatus': '0',
'ifAlias': 'Ten-GigabitEthernet2/1/2 Interface',
'ifDescription': 'Ten-GigabitEthernet2/1/2',
'ifIndex': '92',
'ifType': '6',
'ifTypeDesc': 'ETHERNETCSMACD',
'ifspeed': '10000000000',
'lastChange': '53 day(s) 4 hour(s) 45 minute(s) 5 second(s) 430 millisecond(s)',
'lastChangeTime': '2016-06-09 12:59:29',
'mtu': '9216',
'operationStatus': '1',
'operationStatusDesc': 'Up',
'phyAddress': '00:1e:c1:dc:f1:b4',
'showStatus': '1',
'statusDesc': 'Up'}]
We can write a littel bit of code to see which of our interfaces are currently Up
In [36]:
for i in dev1.interfacelist:
if i['operationStatusDesc'] == 'Up':
print (i['ifDescription'])
GigabitEthernet1/0/1
GigabitEthernet1/0/3
GigabitEthernet1/0/4
GigabitEthernet1/0/5
GigabitEthernet1/0/6
GigabitEthernet1/0/7
GigabitEthernet1/0/8
GigabitEthernet1/0/10
GigabitEthernet1/0/11
GigabitEthernet1/0/12
GigabitEthernet1/0/13
GigabitEthernet1/0/18
GigabitEthernet1/0/22
GigabitEthernet1/0/23
NULL0
Vlan-interface1
Vlan-interface500
LoopBack0
Ten-GigabitEthernet1/1/1
Ten-GigabitEthernet1/1/2
Vlan-interface2000
Vlan-interface2001
Vlan-interface10
Vlan-interface11
Vlan-interface12
Vlan-interface2002
Vlan-interface13
Vlan-interface2003
Vlan-interface2004
Vlan-interface2007
Vlan-interface1010
Vlan-interface2
Vlan-interface15
Vlan-interface3
Vlan-interface103
Vlan-interface201
Vlan-interface203
Vlan-interface20
Vlan-interface50
GigabitEthernet2/0/5
GigabitEthernet2/0/6
GigabitEthernet2/0/7
GigabitEthernet2/0/8
GigabitEthernet2/0/9
LoopBack1
Vlan-interface101
Vlan-interface102
GigabitEthernet2/0/13
Vlan-interface105
Vlan-interface106
GigabitEthernet2/0/19
GigabitEthernet2/0/23
GigabitEthernet2/0/24
Ten-GigabitEthernet2/1/1
Ten-GigabitEthernet2/1/2
Or we can change our code a bit to see which interfaces are down
In [37]:
for i in dev1.interfacelist:
if i['operationStatusDesc'] == 'Down':
print (i['ifDescription'])
GigabitEthernet1/0/2
GigabitEthernet1/0/9
GigabitEthernet1/0/14
GigabitEthernet1/0/15
GigabitEthernet1/0/16
GigabitEthernet1/0/17
GigabitEthernet1/0/19
GigabitEthernet1/0/20
GigabitEthernet1/0/21
GigabitEthernet1/0/24
GigabitEthernet1/0/25
GigabitEthernet1/0/26
GigabitEthernet1/0/27
GigabitEthernet1/0/28
Bridge-Aggregation1
Bridge-Aggregation2
Bridge-Aggregation110
GigabitEthernet2/0/1
GigabitEthernet2/0/2
GigabitEthernet2/0/3
GigabitEthernet2/0/4
GigabitEthernet2/0/10
GigabitEthernet2/0/11
GigabitEthernet2/0/12
Tunnel0
GigabitEthernet2/0/14
GigabitEthernet2/0/15
GigabitEthernet2/0/16
GigabitEthernet2/0/17
GigabitEthernet2/0/18
GigabitEthernet2/0/20
GigabitEthernet2/0/21
GigabitEthernet2/0/22
GigabitEthernet2/0/25
GigabitEthernet2/0/26
GigabitEthernet2/0/27
GigabitEthernet2/0/28
We can take a look at our latest running configuration
In [11]:
dev1.runconfig
Out[11]:
'\r\n#\r\n version 5.20.99, Release 2221P20\r\n#\r\n sysname HP_5500EI\r\n#\r\n undo voice vlan mac-address 0001-e300-0000\r\n undo voice vlan mac-address 0003-6b00-0000\r\n undo voice vlan mac-address 0004-0d00-0000\r\n undo voice vlan mac-address 0060-b900-0000\r\n undo voice vlan mac-address 00d0-1e00-0000\r\n undo voice vlan mac-address 00e0-7500-0000\r\n undo voice vlan mac-address 00e0-bb00-0000\r\n voice vlan mac-address 0000-0000-0000 mask ff00-0000-0000\r\n undo voice vlan security enable\r\n#\r\n dhcp relay server-group 0 ip 10.10.10.212\r\n dhcp relay server-group 1 ip 10.101.0.20\r\n#\r\n irf domain 1\r\n irf mac-address persistent always\r\n irf auto-update enable\r\n irf link-delay 20\r\n irf member 1 priority 32\r\n#\r\n domain default enable dot1x \r\n#\r\n telnet server enable \r\n#\r\n irf-port load-sharing mode destination-mac source-mac \r\n#\r\n lldp compliance cdp\r\n#\r\n port-security enable \r\n#\r\n dot1x authentication-method pap\r\n#\r\n portal server SCEP2 ip 10.3.10.220 url http://10.3.10.220:8080/byod/deploy.jsf\r\n portal server onboarding ip 10.3.10.220 key cipher $c$3$E6rgxrTGAF/JCCdkVDwgCg2mMS78hHb4FXNNJm8= url http://10.3.10.220:8080/byod\r\n portal server SCEP ip 10.3.10.220 key cipher $c$3$pcK4ileNw1O1wdhJvGFR6m+m08igGg3FH8pv+cw= url http://10.3.10.220:8080/byod/deploy.jsf\r\n portal free-rule 0 source ip 10.10.101.0 mask 255.255.255.0 destination ip 10.3.1.220 mask 255.255.255.255\r\n portal free-rule 1 source ip 10.10.101.0 mask 255.255.255.0 destination ip 10.10.10.212 mask 255.255.255.255\r\n portal free-rule 2 source ip any destination ip 10.101.254.1 mask 255.255.255.255\r\n portal free-rule 3 source ip 10.10.105.0 mask 255.255.255.0 destination ip 10.10.10.212 mask 255.255.255.255\r\n portal free-rule 4 source ip 10.10.10.212 mask 255.255.255.255 destination ip any\r\n portal free-rule 5 source ip 10.101.0.200 mask 255.255.255.255 destination ip any\r\n portal free-rule 6 source ip 10.3.10.220 mask 255.255.255.255 destination ip any\r\n#\r\n mac-authentication domain dot1x\r\n#\r\n poe legacy enable pse 4\r\n#\r\n multicast routing-enable\r\n#\r\n password-recovery enable\r\n#\r\nacl number 2001 match-order auto\r\n rule 0 permit source 10.101.0.201 0 \r\nacl number 2500\r\n rule 1 permit \r\n#\r\nacl number 3000\r\n rule 1 deny ip source 10.101.0.200 0 destination 10.0.0.0 0.255.255.255 \r\n rule 2 permit ip source 10.101.0.200 0 \r\nacl number 3001 match-order auto\r\n rule 0 permit ip source 10.101.0.201 0 \r\nacl number 3015\r\n rule 0 permit udp destination-port eq snmp \r\n rule 5 permit udp destination-port eq dns \r\n rule 10 permit udp destination-port eq bootpc \r\n rule 15 permit udp destination-port eq bootps \r\n rule 20 permit tcp destination-port eq klogin \r\n rule 25 permit tcp destination-port eq kshell \r\nacl number 3500 match-order auto\r\n description ACL for blocking allowing internet access and email. Blocking all other internal addresses.\r\n rule 0 permit ip destination 0.0.0.0 0 \r\n rule 20 permit ip destination 10.101.0.200 0 \r\n rule 25 permit ip destination 10.101.0.201 0 \r\n rule 15 deny ip destination 192.168.0.0 0.0.255.255 \r\n rule 10 deny ip destination 172.16.0.0 0.15.255.255 \r\n rule 5 deny ip destination 10.0.0.0 0.255.255.255 \r\n#\r\nacl number 4000\r\n rule 0 permit source-mac 000a-9c51-33a8 000a-9c51-33a8\r\n#\r\nigmp-snooping\r\n#\r\nvlan 1\r\n name default\r\n#\r\nvlan 2\r\n name TenantABC\r\n#\r\nvlan 3\r\n description management\r\n name management\r\n#\r\nvlan 10\r\n description mgmt\r\n name mgmt\r\n igmp-snooping enable\r\n#\r\nvlan 11\r\n description simulate remote branch network\r\n name remotebranch\r\n#\r\nvlan 12\r\n description competitive testing network\r\n name competitive\r\n#\r\nvlan 13\r\n#\r\nvlan 15\r\n name users\r\n#\r\nvlan 16\r\n name phones\r\n#\r\nvlan 20\r\n description servers\r\n name servers\r\n#\r\nvlan 50\r\n#\r\nvlan 101\r\n description onboarding\r\n name onboarding\r\n#\r\nvlan 102\r\n name guest\r\n#\r\nvlan 103\r\n description guestmobile\r\n name guestmobile\r\n#\r\nvlan 105\r\n name scep\r\n#\r\nvlan 106\r\n name scepreg\r\n#\r\nvlan 110\r\n name NewVLAN\r\n#\r\nvlan 201\r\n#\r\nvlan 203\r\n#\r\nvlan 500\r\n name VLAN500\r\n#\r\nvlan 503\r\n name VLAN503\r\n#\r\nvlan 1010\r\n description FBRA Management VLAN\r\n name FBRAMGMT\r\n#\r\nvlan 1011\r\n description FBRA Servers VLAN\r\n name fbraservers\r\n#\r\nvlan 1012\r\n description FBRA Employee VLAN\r\n name FBRAemployee\r\n#\r\nvlan 1013\r\n description FBRA Guest VLAN\r\n name FBRAguest\r\n#\r\nvlan 1014\r\n description FBRA Registration VLAN\r\n name FBRAregistration\r\n#\r\nvlan 1015\r\n description FBRA Voice VLAN\r\n name FBRAvoice\r\n#\r\nvlan 2000\r\n name vsr240\r\n#\r\nvlan 2001\r\n name vsr241-1\r\n#\r\nvlan 2002\r\n name vsr-241-2\r\n#\r\nvlan 2003\r\n name vsr-242-1\r\n#\r\nvlan 2004\r\n name vsr-242-2\r\n#\r\nvlan 2005 to 2010\r\n#\r\nvlan 3010\r\n name ProvisionBranchVLAN10\r\n#\r\nradius scheme system\r\n server-type extended\r\n primary authentication 127.0.0.1 1645\r\n primary accounting 127.0.0.1 1646\r\n user-name-format without-domain\r\nradius scheme imcradius\r\n server-type extended\r\n primary authentication 10.3.10.220\r\n primary accounting 10.3.10.220\r\n key authentication cipher $c$3$rXKVE9pG05Lda2xcSpl6nrsYCkmBIW0kAdwEACg=\r\n key accounting cipher $c$3$YxLxR9RhvNJw1iP5DFdb+UiU0pVBWUBZ6ZU8m7g=\r\n user-name-format without-domain\r\n nas-ip 10.10.3.1\r\nradius scheme dot1x\r\n#\r\ndomain dot1x \r\n authentication default radius-scheme imcradius\r\n authorization default radius-scheme imcradius\r\n accounting default radius-scheme imcradius\r\n authentication login radius-scheme imcradius\r\n authorization login radius-scheme imcradius\r\n accounting login radius-scheme imcradius\r\n authentication lan-access radius-scheme imcradius\r\n authorization lan-access radius-scheme imcradius\r\n authentication portal radius-scheme imcradius\r\n authorization portal radius-scheme imcradius\r\n accounting portal radius-scheme imcradius\r\n access-limit disable \r\n state active \r\n idle-cut disable \r\n self-service-url disable \r\n accounting optional \r\ndomain system \r\n access-limit disable \r\n state active \r\n idle-cut disable \r\n self-service-url disable \r\n#\r\ntraffic classifier testaug15 operator and\r\ntraffic classifier For_Class operator and\r\n if-match dscp ef \r\n#\r\ntraffic behavior testaug15\r\ntraffic behavior For_Behav\r\n#\r\nqos policy test\r\n classifier testaug15 behavior testaug15\r\nqos policy Forrester_Test\r\n#\r\ndhcp server ip-pool sdn\r\n network 10.10.50.0 mask 255.255.255.0\r\n gateway-list 10.10.50.1 \r\n dns-list 10.101.254.1 10.10.10.212 \r\n#\r\ndhcp server ip-pool test\r\n option 242 ascii MCIPADD=192.168.42.1,MCPORT=1719,HTTPSRVR=192.168.42.1\r\n#\r\ndhcp server ip-pool vlan50\r\n network 10.101.50.0 mask 255.255.255.0\r\n gateway-list 10.101.50.1 \r\n dns-list 10.101.0.10 10.101.254.1 \r\n domain-name haw.int\r\n#\r\nuser-group system\r\n group-attribute allow-guest\r\nuser-group -interf\r\n#\r\nlocal-user admin\r\n password cipher $c$3$FUUTGlnspoBc+K32yEiJj/Hl9PCPF/f7Lxey\r\n authorization-attribute level 3\r\n service-type ssh telnet terminal\r\nlocal-user guest2\r\n password cipher $c$3$sCYBbRfLfr+n3G5W9GC98SK+MwENLiGsMw==\r\nlocal-user manager\r\n password cipher $c$3$H/4OBJArNH0CwNirmMs/iwez3yRyz3sitOY=\r\n authorization-attribute level 2\r\n service-type telnet terminal\r\nlocal-user monitor\r\n password cipher $c$3$bzWaOZUhgl+QJtl+3jQlFp2huhq5Wjn4V8o=\r\n authorization-attribute level 1\r\n service-type telnet terminal\r\nlocal-user wlanguest\r\n password cipher $c$3$iQp0DA8paeQufqntOUuKT6/FSjarGR/uY4HzLw==\r\n#\r\n stp instance 0 root primary\r\n stp enable\r\n#\r\npoe-profile powerdown 1\r\n#\r\ninterface Bridge-Aggregation1\r\n#\r\ninterface Bridge-Aggregation2\r\n port link-type trunk\r\n port trunk permit vlan all\r\n link-aggregation mode dynamic\r\n#\r\ninterface Bridge-Aggregation110\r\n#\r\ninterface NULL0\r\n#\r\ninterface LoopBack0\r\n ip address 192.168.1.221 255.255.255.255 \r\n#\r\ninterface LoopBack1\r\n ip address 172.16.3.10 255.255.255.255 \r\n#\r\ninterface Vlan-interface1\r\n ip address 10.101.0.221 255.255.255.0 \r\n igmp enable\r\n pim dm\r\n#\r\ninterface Vlan-interface2\r\n ip address 10.101.2.1 255.255.255.0 \r\n dhcp select relay\r\n#\r\ninterface Vlan-interface3\r\n ip address 10.10.3.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface10\r\n description mgmt\r\n ip address 10.10.10.1 255.255.255.0 \r\n dhcp select relay\r\n#\r\ninterface Vlan-interface11\r\n description remote_branch\r\n ip address 10.10.11.1 255.255.255.0 \r\n dhcp select relay\r\n#\r\ninterface Vlan-interface12\r\n description competitive\r\n ip address 10.10.12.1 255.255.255.0 \r\n dhcp select relay\r\n#\r\ninterface Vlan-interface13\r\n ip address 10.10.13.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface15\r\n ip address 10.101.15.254 255.255.255.0 \r\n#\r\ninterface Vlan-interface20\r\n description server router\r\n ip address 10.3.10.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface50\r\n ip address 10.102.1.2 255.255.255.0 \r\n#\r\ninterface Vlan-interface101\r\n description guest\r\n ip address 10.10.101.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 0\r\n portal server onboarding method direct\r\n portal domain dot1x \r\n#\r\ninterface Vlan-interface102\r\n ip address 10.10.102.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface103\r\n ip address 10.10.103.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface105\r\n description scep\r\n ip address 10.10.105.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 0\r\n portal server SCEP2 method direct\r\n portal domain dot1x \r\n#\r\ninterface Vlan-interface106\r\n ip address 10.10.106.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface201\r\n ip address 10.10.201.1 255.255.255.0 \r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface203\r\n ip address 10.10.203.1 255.255.255.0 \r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface500\r\n ip address 10.10.50.1 255.255.255.0 \r\n dhcp relay server-select 0\r\n#\r\ninterface Vlan-interface1010\r\n#\r\ninterface Vlan-interface2000\r\n ip address 172.16.2.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface2001\r\n ip address 172.16.3.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface2002\r\n ip address 172.16.4.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface2003\r\n ip address 172.16.5.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface2004\r\n ip address 172.16.6.1 255.255.255.0 \r\n#\r\ninterface Vlan-interface2007\r\n ip address 172.16.7.1 255.255.255.0 \r\n#\r\ninterface GigabitEthernet1/0/15\r\n port link-mode route\r\n description \' \'\r\n ip address 172.16.0.2 255.255.255.0 \r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet1/0/16\r\n port link-mode route\r\n description R1Br4Core - HP_5500EI\r\n ip address 172.16.11.1 255.255.255.252 \r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow counter collector 1\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet1/0/17\r\n port link-mode route\r\n description R1Br3Core - HP_5500EI\r\n ip address 172.16.12.1 255.255.255.252 \r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow counter collector 1\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet1/0/22\r\n port link-mode route\r\n ip address 10.20.10.1 255.255.255.0 \r\n dhcp select relay\r\n dhcp relay server-select 1\r\n#\r\ninterface GigabitEthernet2/0/23\r\n port link-mode route\r\n ip address 10.20.1.254 255.255.255.0 \r\n#\r\ninterface GigabitEthernet2/0/24\r\n port link-mode route\r\n ip address 10.15.1.254 255.255.255.0 \r\n#\r\ninterface GigabitEthernet1/0/1\r\n port link-mode bridge\r\n description VMSynology - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/2\r\n port link-mode bridge\r\n description SynologyDS - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n lldp voice-vlan 2\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/3\r\n port link-mode bridge\r\n description I\'m a NMS Weenie\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/4\r\n port link-mode bridge\r\n description \' \'\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/5\r\n port link-mode bridge\r\n description ESX55-10.101.0.7 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/6\r\n port link-mode bridge\r\n description ESX55-10.101.0.6 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/7\r\n port link-mode bridge\r\n description ESX55-10.101.0.7 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/8\r\n port link-mode bridge\r\n description ESX55-10.101.0.6 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan 1 to 2 110 500 to 503\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n packet-filter 2500 inbound\r\n packet-filter 2500 outbound\r\n packet-filter 4000 inbound\r\n packet-filter 4000 outbound\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/9\r\n port link-mode bridge\r\n description \' \'\r\n#\r\ninterface GigabitEthernet1/0/10\r\n port link-mode bridge\r\n description Sentry3_5133a8 - HP_5500EI\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/11\r\n port link-mode bridge\r\n description Sentry3_5146c3 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp disable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/12\r\n port link-mode bridge\r\n description \' \'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/13\r\n port link-mode bridge\r\n description \' \'\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/14\r\n port link-mode bridge\r\n description HP-5406zl - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp management-address-tlv 10.101.0.221\r\n lldp compliance admin-status cdp txrx\r\n lldp management-address-format string\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/18\r\n port link-mode bridge\r\n description Aruba3600 - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/19\r\n port link-mode bridge\r\n description \' \'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/20\r\n port link-mode bridge\r\n description HP-3500yl-24G - HP_5500EI\r\n port access vlan 3010\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/21\r\n port link-mode bridge\r\n description \' \'\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/23\r\n port link-mode bridge\r\n description HP830_LSW - HP_5500EI\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n lldp compliance admin-status cdp txrx\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/24\r\n port link-mode bridge\r\n description \' \'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n poe enable\r\n stp edged-port enable\r\n sflow sampling-rate 1000 \r\n sflow flow collector 1\r\n sflow flow max-header 512\r\n sflow counter interval 20\r\n sflow counter collector 1\r\n#\r\ninterface GigabitEthernet1/0/25\r\n port link-mode bridge\r\n description \' \'\r\n shutdown\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n stp edged-port enable\r\n#\r\ninterface GigabitEthernet1/0/26\r\n port link-mode bridge\r\n description \' \'\r\n shutdown\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n stp edged-port enable\r\n#\r\ninterface GigabitEthernet1/0/27\r\n port link-mode bridge\r\n description \' \'\r\n shutdown\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n stp edged-port enable\r\n#\r\ninterface GigabitEthernet1/0/28\r\n port link-mode bridge\r\n description \' \'\r\n shutdown\r\n broadcast-suppression pps 3000\r\n undo jumboframe enable\r\n stp edged-port enable\r\n#\r\ninterface GigabitEthernet2/0/1\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/2\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/3\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/4\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/5\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/6\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/7\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/8\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan all\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/9\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/10\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/11\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/12\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/13\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/14\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/15\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/16\r\n port link-mode bridge\r\n description \'\'\r\n port link-type trunk\r\n port trunk permit vlan 1 502 to 503\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/17\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/18\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/19\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/20\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/21\r\n port link-mode bridge\r\n description HP_5500EI - HP_5500EI\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/22\r\n port link-mode bridge\r\n description \'\'\r\n lldp compliance admin-status cdp txrx\r\n#\r\ninterface GigabitEthernet2/0/25\r\n port link-mode bridge\r\n shutdown\r\n#\r\ninterface GigabitEthernet2/0/26\r\n port link-mode bridge\r\n shutdown\r\n#\r\ninterface GigabitEthernet2/0/27\r\n port link-mode bridge\r\n shutdown\r\n#\r\ninterface GigabitEthernet2/0/28\r\n port link-mode bridge\r\n shutdown\r\n#\r\ninterface Ten-GigabitEthernet1/1/1\r\n#\r\ninterface Ten-GigabitEthernet1/1/2\r\n#\r\ninterface Ten-GigabitEthernet2/1/1\r\n#\r\ninterface Ten-GigabitEthernet2/1/2\r\n#\r\ninterface Tunnel0\r\n#\r\nospf 1 router-id 10.101.0.221 \r\n area 0.0.0.0 \r\n network 192.168.1.221 0.0.0.0 \r\n network 172.16.0.0 0.0.255.255 \r\n network 10.0.0.0 0.255.255.255 \r\n#\r\npim\r\n#\r\nnqa entry 1 1\r\n type voice\r\n data-fill aaa\r\n data-size 100\r\n destination ip 10.12.10.10\r\n destination port 1000\r\n frequency 300000\r\n probe packet-number 10\r\n probe packet-timeout 3000\r\n source ip 10.10.10.1\r\n source port 1000\r\n tos 10\r\n ttl 10\r\n#\r\nnqa entry 2 2\r\n type voice\r\n data-fill aaa\r\n data-size 100\r\n destination ip 10.11.10.10\r\n destination port 1000\r\n frequency 300000\r\n probe packet-number 10\r\n probe packet-timeout 3000\r\n source ip 10.10.10.1\r\n source port 1000\r\n tos 10\r\n ttl 10\r\n#\r\nnqa entry 3 3\r\n type tcp\r\n destination ip 10.12.10.10\r\n destination port 7\r\n frequency 300000\r\n probe count 10\r\n source ip 10.101.0.221\r\n tos 10\r\n ttl 10\r\n#\r\nnqa entry 4 4\r\n type tcp\r\n destination ip 10.11.10.1\r\n destination port 7\r\n frequency 300000\r\n probe count 10\r\n source ip 10.101.0.221\r\n tos 10\r\n ttl 10\r\n#\r\nnqa entry admin nqatest\r\n type ftp\r\n#\r\nnqa entry admin test\r\n type icmp-echo\r\n#\r\nnqa entry admin testnqa\r\n type dns\r\n#\r\nnqa entry dns 1\r\n type dns\r\n destination ip 4.2.2.2\r\n resolve-target www.google.com\r\n#\r\nnqa entry imclinktopologypleaseignore ping\r\n type icmp-echo\r\n destination ip 10.101.0.254\r\n frequency 270000\r\n#\r\nnqa entry ping 1\r\n#\r\n ip route-static 0.0.0.0 0.0.0.0 10.101.0.1\r\n ip route-static 0.0.0.0 0.0.0.0 10.101.254.1\r\n#\r\n info-center source SHELL channel 2 log level notifications\r\n info-center source ACL channel 2\r\n info-center source ACL channel 5\r\n info-center loghost 10.101.0.117 channel 5\r\n info-center loghost 10.101.0.200 channel 5\r\n info-center loghost 10.101.0.201\r\n info-center loghost 10.101.0.205\r\n#\r\n snmp-agent\r\n snmp-agent local-engineid 8000002B03001EC1DCFC41\r\n snmp-agent community read sec \r\n snmp-agent community read public acl 2500\r\n snmp-agent community read secret acl 2001\r\n snmp-agent community write private acl 2500\r\n snmp-agent sys-info contact admin@lab.local\r\n snmp-agent sys-info location LAB\r\n snmp-agent sys-info version all\r\n snmp-agent group v3 SNMPv3Group authentication write-view ViewDefault\r\n snmp-agent target-host trap address udp-domain 10.10.10.222 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.10.12.13 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.190 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.191 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.101.0.192 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.101.0.195 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.101.0.20 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.200 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.201 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.101.0.202 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.203 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.101.0.205 params securityname public\r\n snmp-agent target-host trap address udp-domain 10.101.0.21 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.3.10.220 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.3.10.222 params securityname public v2c\r\n snmp-agent target-host trap address udp-domain 10.3.10.235 params securityname public v2c\r\n snmp-agent usm-user v3 test managerpriv cipher authentication-mode md5 $c$3$vPQENBFY7mnHycVSEjB5QuolgAIiTMjclfJqg7ExE3hbPg==\r\n snmp-agent usm-user v3 v3user SNMPv3Group cipher authentication-mode sha $c$3$IRXOFGMEkuajbSoJDlTGgQ9mDfb9Z4Dj1x0i7/+Wbai7vFmNByI= privacy-mode aes128 $c$3$HkyPCeXzfROwHK4hK6xQMqI3PF9qXeBJGK6Xjcyl4iV9RA==\r\n#\r\n command-alias enable\r\n command-alias mapping display show\r\n command-alias mapping save wr\r\n command-alias mapping undo no\r\n command-alias mapping reboot reload\r\n command-alias mapping header banner\r\n command-alias mapping reset clear\r\n command-alias mapping acl access-list\r\n command-alias mapping port switchport\r\n command-alias mapping stp spanning-tree\r\n command-alias mapping snmp-agent snmp-server\r\n command-alias mapping user-interface line\r\n command-alias mapping return end\r\n command-alias mapping quit exit\r\n command-alias mapping sysname hostname\r\n command-alias mapping delete erase\r\n command-alias mapping info-center logging\r\n#\r\n dhcp server forbidden-ip 10.101.50.1 \r\n#\r\n dhcp enable \r\n#\r\n nqa schedule 1 1 start-time now lifetime forever \r\n nqa schedule 2 2 start-time now lifetime forever \r\n nqa schedule 3 3 start-time now lifetime forever \r\n nqa schedule 4 4 start-time now lifetime forever \r\n nqa schedule imclinktopologypleaseignore ping start-time now lifetime 630720000 \r\n nqa server enable\r\n#\r\n ntp-service unicast-server 10.101.0.1\r\n ntp-service unicast-peer 10.101.0.220\r\n#\r\n ssh server enable\r\n sftp server enable\r\n#\r\n rmon event 1 description 3COM_RMON_EVENT trap public owner 3COM_4800G\r\n#\r\n ftp server enable\r\n#\r\n sflow agent ip 10.10.3.1\r\n sflow source ip 10.101.0.221\r\n sflow collector 1 ip 10.101.0.203 description "IMC 7.2"\r\n sflow collector 3 ip 10.101.0.205 description IMCAIO\r\n#\r\n load xml-configuration \r\n#\r\n load tr069-configuration\r\n#\r\nuser-interface aux 0\r\n authentication-mode scheme\r\nuser-interface aux 1\r\nuser-interface vty 0 4\r\n authentication-mode scheme\r\nuser-interface vty 5 15\r\n#\r\nirf-port 1/1\r\n port group interface Ten-GigabitEthernet1/1/1 mode normal\r\n#\r\nirf-port 1/2\r\n port group interface Ten-GigabitEthernet1/1/2 mode normal\r\n#\r\nirf-port 2/1\r\n port group interface Ten-GigabitEthernet2/1/1 mode normal\r\n#\r\nirf-port 2/2\r\n port group interface Ten-GigabitEthernet2/1/2 mode normal\r\n#\r\nreturn'
We can use the python print function to be able to actually read our current running configuration
In [12]:
print (dev1.runconfig)
#
version 5.20.99, Release 2221P20
#
sysname HP_5500EI
#
undo voice vlan mac-address 0001-e300-0000
undo voice vlan mac-address 0003-6b00-0000
undo voice vlan mac-address 0004-0d00-0000
undo voice vlan mac-address 0060-b900-0000
undo voice vlan mac-address 00d0-1e00-0000
undo voice vlan mac-address 00e0-7500-0000
undo voice vlan mac-address 00e0-bb00-0000
voice vlan mac-address 0000-0000-0000 mask ff00-0000-0000
undo voice vlan security enable
#
dhcp relay server-group 0 ip 10.10.10.212
dhcp relay server-group 1 ip 10.101.0.20
#
irf domain 1
irf mac-address persistent always
irf auto-update enable
irf link-delay 20
irf member 1 priority 32
#
domain default enable dot1x
#
telnet server enable
#
irf-port load-sharing mode destination-mac source-mac
#
lldp compliance cdp
#
port-security enable
#
dot1x authentication-method pap
#
portal server SCEP2 ip 10.3.10.220 url http://10.3.10.220:8080/byod/deploy.jsf
portal server onboarding ip 10.3.10.220 key cipher $c$3$E6rgxrTGAF/JCCdkVDwgCg2mMS78hHb4FXNNJm8= url http://10.3.10.220:8080/byod
portal server SCEP ip 10.3.10.220 key cipher $c$3$pcK4ileNw1O1wdhJvGFR6m+m08igGg3FH8pv+cw= url http://10.3.10.220:8080/byod/deploy.jsf
portal free-rule 0 source ip 10.10.101.0 mask 255.255.255.0 destination ip 10.3.1.220 mask 255.255.255.255
portal free-rule 1 source ip 10.10.101.0 mask 255.255.255.0 destination ip 10.10.10.212 mask 255.255.255.255
portal free-rule 2 source ip any destination ip 10.101.254.1 mask 255.255.255.255
portal free-rule 3 source ip 10.10.105.0 mask 255.255.255.0 destination ip 10.10.10.212 mask 255.255.255.255
portal free-rule 4 source ip 10.10.10.212 mask 255.255.255.255 destination ip any
portal free-rule 5 source ip 10.101.0.200 mask 255.255.255.255 destination ip any
portal free-rule 6 source ip 10.3.10.220 mask 255.255.255.255 destination ip any
#
mac-authentication domain dot1x
#
poe legacy enable pse 4
#
multicast routing-enable
#
password-recovery enable
#
acl number 2001 match-order auto
rule 0 permit source 10.101.0.201 0
acl number 2500
rule 1 permit
#
acl number 3000
rule 1 deny ip source 10.101.0.200 0 destination 10.0.0.0 0.255.255.255
rule 2 permit ip source 10.101.0.200 0
acl number 3001 match-order auto
rule 0 permit ip source 10.101.0.201 0
acl number 3015
rule 0 permit udp destination-port eq snmp
rule 5 permit udp destination-port eq dns
rule 10 permit udp destination-port eq bootpc
rule 15 permit udp destination-port eq bootps
rule 20 permit tcp destination-port eq klogin
rule 25 permit tcp destination-port eq kshell
acl number 3500 match-order auto
description ACL for blocking allowing internet access and email. Blocking all other internal addresses.
rule 0 permit ip destination 0.0.0.0 0
rule 20 permit ip destination 10.101.0.200 0
rule 25 permit ip destination 10.101.0.201 0
rule 15 deny ip destination 192.168.0.0 0.0.255.255
rule 10 deny ip destination 172.16.0.0 0.15.255.255
rule 5 deny ip destination 10.0.0.0 0.255.255.255
#
acl number 4000
rule 0 permit source-mac 000a-9c51-33a8 000a-9c51-33a8
#
igmp-snooping
#
vlan 1
name default
#
vlan 2
name TenantABC
#
vlan 3
description management
name management
#
vlan 10
description mgmt
name mgmt
igmp-snooping enable
#
vlan 11
description simulate remote branch network
name remotebranch
#
vlan 12
description competitive testing network
name competitive
#
vlan 13
#
vlan 15
name users
#
vlan 16
name phones
#
vlan 20
description servers
name servers
#
vlan 50
#
vlan 101
description onboarding
name onboarding
#
vlan 102
name guest
#
vlan 103
description guestmobile
name guestmobile
#
vlan 105
name scep
#
vlan 106
name scepreg
#
vlan 110
name NewVLAN
#
vlan 201
#
vlan 203
#
vlan 500
name VLAN500
#
vlan 503
name VLAN503
#
vlan 1010
description FBRA Management VLAN
name FBRAMGMT
#
vlan 1011
description FBRA Servers VLAN
name fbraservers
#
vlan 1012
description FBRA Employee VLAN
name FBRAemployee
#
vlan 1013
description FBRA Guest VLAN
name FBRAguest
#
vlan 1014
description FBRA Registration VLAN
name FBRAregistration
#
vlan 1015
description FBRA Voice VLAN
name FBRAvoice
#
vlan 2000
name vsr240
#
vlan 2001
name vsr241-1
#
vlan 2002
name vsr-241-2
#
vlan 2003
name vsr-242-1
#
vlan 2004
name vsr-242-2
#
vlan 2005 to 2010
#
vlan 3010
name ProvisionBranchVLAN10
#
radius scheme system
server-type extended
primary authentication 127.0.0.1 1645
primary accounting 127.0.0.1 1646
user-name-format without-domain
radius scheme imcradius
server-type extended
primary authentication 10.3.10.220
primary accounting 10.3.10.220
key authentication cipher $c$3$rXKVE9pG05Lda2xcSpl6nrsYCkmBIW0kAdwEACg=
key accounting cipher $c$3$YxLxR9RhvNJw1iP5DFdb+UiU0pVBWUBZ6ZU8m7g=
user-name-format without-domain
nas-ip 10.10.3.1
radius scheme dot1x
#
domain dot1x
authentication default radius-scheme imcradius
authorization default radius-scheme imcradius
accounting default radius-scheme imcradius
authentication login radius-scheme imcradius
authorization login radius-scheme imcradius
accounting login radius-scheme imcradius
authentication lan-access radius-scheme imcradius
authorization lan-access radius-scheme imcradius
authentication portal radius-scheme imcradius
authorization portal radius-scheme imcradius
accounting portal radius-scheme imcradius
access-limit disable
state active
idle-cut disable
self-service-url disable
accounting optional
domain system
access-limit disable
state active
idle-cut disable
self-service-url disable
#
traffic classifier testaug15 operator and
traffic classifier For_Class operator and
if-match dscp ef
#
traffic behavior testaug15
traffic behavior For_Behav
#
qos policy test
classifier testaug15 behavior testaug15
qos policy Forrester_Test
#
dhcp server ip-pool sdn
network 10.10.50.0 mask 255.255.255.0
gateway-list 10.10.50.1
dns-list 10.101.254.1 10.10.10.212
#
dhcp server ip-pool test
option 242 ascii MCIPADD=192.168.42.1,MCPORT=1719,HTTPSRVR=192.168.42.1
#
dhcp server ip-pool vlan50
network 10.101.50.0 mask 255.255.255.0
gateway-list 10.101.50.1
dns-list 10.101.0.10 10.101.254.1
domain-name haw.int
#
user-group system
group-attribute allow-guest
user-group -interf
#
local-user admin
password cipher $c$3$FUUTGlnspoBc+K32yEiJj/Hl9PCPF/f7Lxey
authorization-attribute level 3
service-type ssh telnet terminal
local-user guest2
password cipher $c$3$sCYBbRfLfr+n3G5W9GC98SK+MwENLiGsMw==
local-user manager
password cipher $c$3$H/4OBJArNH0CwNirmMs/iwez3yRyz3sitOY=
authorization-attribute level 2
service-type telnet terminal
local-user monitor
password cipher $c$3$bzWaOZUhgl+QJtl+3jQlFp2huhq5Wjn4V8o=
authorization-attribute level 1
service-type telnet terminal
local-user wlanguest
password cipher $c$3$iQp0DA8paeQufqntOUuKT6/FSjarGR/uY4HzLw==
#
stp instance 0 root primary
stp enable
#
poe-profile powerdown 1
#
interface Bridge-Aggregation1
#
interface Bridge-Aggregation2
port link-type trunk
port trunk permit vlan all
link-aggregation mode dynamic
#
interface Bridge-Aggregation110
#
interface NULL0
#
interface LoopBack0
ip address 192.168.1.221 255.255.255.255
#
interface LoopBack1
ip address 172.16.3.10 255.255.255.255
#
interface Vlan-interface1
ip address 10.101.0.221 255.255.255.0
igmp enable
pim dm
#
interface Vlan-interface2
ip address 10.101.2.1 255.255.255.0
dhcp select relay
#
interface Vlan-interface3
ip address 10.10.3.1 255.255.255.0
#
interface Vlan-interface10
description mgmt
ip address 10.10.10.1 255.255.255.0
dhcp select relay
#
interface Vlan-interface11
description remote_branch
ip address 10.10.11.1 255.255.255.0
dhcp select relay
#
interface Vlan-interface12
description competitive
ip address 10.10.12.1 255.255.255.0
dhcp select relay
#
interface Vlan-interface13
ip address 10.10.13.1 255.255.255.0
#
interface Vlan-interface15
ip address 10.101.15.254 255.255.255.0
#
interface Vlan-interface20
description server router
ip address 10.3.10.1 255.255.255.0
#
interface Vlan-interface50
ip address 10.102.1.2 255.255.255.0
#
interface Vlan-interface101
description guest
ip address 10.10.101.1 255.255.255.0
dhcp select relay
dhcp relay server-select 0
portal server onboarding method direct
portal domain dot1x
#
interface Vlan-interface102
ip address 10.10.102.1 255.255.255.0
dhcp select relay
dhcp relay server-select 0
#
interface Vlan-interface103
ip address 10.10.103.1 255.255.255.0
dhcp select relay
dhcp relay server-select 0
#
interface Vlan-interface105
description scep
ip address 10.10.105.1 255.255.255.0
dhcp select relay
dhcp relay server-select 0
portal server SCEP2 method direct
portal domain dot1x
#
interface Vlan-interface106
ip address 10.10.106.1 255.255.255.0
dhcp select relay
dhcp relay server-select 0
#
interface Vlan-interface201
ip address 10.10.201.1 255.255.255.0
dhcp relay server-select 0
#
interface Vlan-interface203
ip address 10.10.203.1 255.255.255.0
dhcp relay server-select 0
#
interface Vlan-interface500
ip address 10.10.50.1 255.255.255.0
dhcp relay server-select 0
#
interface Vlan-interface1010
#
interface Vlan-interface2000
ip address 172.16.2.1 255.255.255.0
#
interface Vlan-interface2001
ip address 172.16.3.1 255.255.255.0
#
interface Vlan-interface2002
ip address 172.16.4.1 255.255.255.0
#
interface Vlan-interface2003
ip address 172.16.5.1 255.255.255.0
#
interface Vlan-interface2004
ip address 172.16.6.1 255.255.255.0
#
interface Vlan-interface2007
ip address 172.16.7.1 255.255.255.0
#
interface GigabitEthernet1/0/15
port link-mode route
description ' '
ip address 172.16.0.2 255.255.255.0
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet1/0/16
port link-mode route
description R1Br4Core - HP_5500EI
ip address 172.16.11.1 255.255.255.252
sflow sampling-rate 1000
sflow flow collector 1
sflow counter collector 1
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet1/0/17
port link-mode route
description R1Br3Core - HP_5500EI
ip address 172.16.12.1 255.255.255.252
sflow sampling-rate 1000
sflow flow collector 1
sflow counter collector 1
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet1/0/22
port link-mode route
ip address 10.20.10.1 255.255.255.0
dhcp select relay
dhcp relay server-select 1
#
interface GigabitEthernet2/0/23
port link-mode route
ip address 10.20.1.254 255.255.255.0
#
interface GigabitEthernet2/0/24
port link-mode route
ip address 10.15.1.254 255.255.255.0
#
interface GigabitEthernet1/0/1
port link-mode bridge
description VMSynology - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/2
port link-mode bridge
description SynologyDS - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
lldp voice-vlan 2
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/3
port link-mode bridge
description I'm a NMS Weenie
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/4
port link-mode bridge
description ' '
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/5
port link-mode bridge
description ESX55-10.101.0.7 - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/6
port link-mode bridge
description ESX55-10.101.0.6 - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/7
port link-mode bridge
description ESX55-10.101.0.7 - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/8
port link-mode bridge
description ESX55-10.101.0.6 - HP_5500EI
port link-type trunk
port trunk permit vlan 1 to 2 110 500 to 503
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
packet-filter 2500 inbound
packet-filter 2500 outbound
packet-filter 4000 inbound
packet-filter 4000 outbound
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/9
port link-mode bridge
description ' '
#
interface GigabitEthernet1/0/10
port link-mode bridge
description Sentry3_5133a8 - HP_5500EI
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/11
port link-mode bridge
description Sentry3_5146c3 - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp disable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/12
port link-mode bridge
description ' '
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/13
port link-mode bridge
description ' '
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/14
port link-mode bridge
description HP-5406zl - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp management-address-tlv 10.101.0.221
lldp compliance admin-status cdp txrx
lldp management-address-format string
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/18
port link-mode bridge
description Aruba3600 - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/19
port link-mode bridge
description ' '
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/20
port link-mode bridge
description HP-3500yl-24G - HP_5500EI
port access vlan 3010
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/21
port link-mode bridge
description ' '
sflow sampling-rate 1000
sflow flow collector 1
sflow counter collector 1
#
interface GigabitEthernet1/0/23
port link-mode bridge
description HP830_LSW - HP_5500EI
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
lldp compliance admin-status cdp txrx
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/24
port link-mode bridge
description ' '
port link-type trunk
port trunk permit vlan all
broadcast-suppression pps 3000
undo jumboframe enable
poe enable
stp edged-port enable
sflow sampling-rate 1000
sflow flow collector 1
sflow flow max-header 512
sflow counter interval 20
sflow counter collector 1
#
interface GigabitEthernet1/0/25
port link-mode bridge
description ' '
shutdown
broadcast-suppression pps 3000
undo jumboframe enable
stp edged-port enable
#
interface GigabitEthernet1/0/26
port link-mode bridge
description ' '
shutdown
broadcast-suppression pps 3000
undo jumboframe enable
stp edged-port enable
#
interface GigabitEthernet1/0/27
port link-mode bridge
description ' '
shutdown
broadcast-suppression pps 3000
undo jumboframe enable
stp edged-port enable
#
interface GigabitEthernet1/0/28
port link-mode bridge
description ' '
shutdown
broadcast-suppression pps 3000
undo jumboframe enable
stp edged-port enable
#
interface GigabitEthernet2/0/1
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/2
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/3
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/4
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/5
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/6
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/7
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/8
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan all
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/9
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/10
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/11
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/12
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/13
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/14
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/15
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/16
port link-mode bridge
description ''
port link-type trunk
port trunk permit vlan 1 502 to 503
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/17
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/18
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/19
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/20
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/21
port link-mode bridge
description HP_5500EI - HP_5500EI
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/22
port link-mode bridge
description ''
lldp compliance admin-status cdp txrx
#
interface GigabitEthernet2/0/25
port link-mode bridge
shutdown
#
interface GigabitEthernet2/0/26
port link-mode bridge
shutdown
#
interface GigabitEthernet2/0/27
port link-mode bridge
shutdown
#
interface GigabitEthernet2/0/28
port link-mode bridge
shutdown
#
interface Ten-GigabitEthernet1/1/1
#
interface Ten-GigabitEthernet1/1/2
#
interface Ten-GigabitEthernet2/1/1
#
interface Ten-GigabitEthernet2/1/2
#
interface Tunnel0
#
ospf 1 router-id 10.101.0.221
area 0.0.0.0
network 192.168.1.221 0.0.0.0
network 172.16.0.0 0.0.255.255
network 10.0.0.0 0.255.255.255
#
pim
#
nqa entry 1 1
type voice
data-fill aaa
data-size 100
destination ip 10.12.10.10
destination port 1000
frequency 300000
probe packet-number 10
probe packet-timeout 3000
source ip 10.10.10.1
source port 1000
tos 10
ttl 10
#
nqa entry 2 2
type voice
data-fill aaa
data-size 100
destination ip 10.11.10.10
destination port 1000
frequency 300000
probe packet-number 10
probe packet-timeout 3000
source ip 10.10.10.1
source port 1000
tos 10
ttl 10
#
nqa entry 3 3
type tcp
destination ip 10.12.10.10
destination port 7
frequency 300000
probe count 10
source ip 10.101.0.221
tos 10
ttl 10
#
nqa entry 4 4
type tcp
destination ip 10.11.10.1
destination port 7
frequency 300000
probe count 10
source ip 10.101.0.221
tos 10
ttl 10
#
nqa entry admin nqatest
type ftp
#
nqa entry admin test
type icmp-echo
#
nqa entry admin testnqa
type dns
#
nqa entry dns 1
type dns
destination ip 4.2.2.2
resolve-target www.google.com
#
nqa entry imclinktopologypleaseignore ping
type icmp-echo
destination ip 10.101.0.254
frequency 270000
#
nqa entry ping 1
#
ip route-static 0.0.0.0 0.0.0.0 10.101.0.1
ip route-static 0.0.0.0 0.0.0.0 10.101.254.1
#
info-center source SHELL channel 2 log level notifications
info-center source ACL channel 2
info-center source ACL channel 5
info-center loghost 10.101.0.117 channel 5
info-center loghost 10.101.0.200 channel 5
info-center loghost 10.101.0.201
info-center loghost 10.101.0.205
#
snmp-agent
snmp-agent local-engineid 8000002B03001EC1DCFC41
snmp-agent community read sec
snmp-agent community read public acl 2500
snmp-agent community read secret acl 2001
snmp-agent community write private acl 2500
snmp-agent sys-info contact admin@lab.local
snmp-agent sys-info location LAB
snmp-agent sys-info version all
snmp-agent group v3 SNMPv3Group authentication write-view ViewDefault
snmp-agent target-host trap address udp-domain 10.10.10.222 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.10.12.13 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.190 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.191 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.101.0.192 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.101.0.195 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.101.0.20 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.200 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.201 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.101.0.202 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.203 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.101.0.205 params securityname public
snmp-agent target-host trap address udp-domain 10.101.0.21 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.3.10.220 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.3.10.222 params securityname public v2c
snmp-agent target-host trap address udp-domain 10.3.10.235 params securityname public v2c
snmp-agent usm-user v3 test managerpriv cipher authentication-mode md5 $c$3$vPQENBFY7mnHycVSEjB5QuolgAIiTMjclfJqg7ExE3hbPg==
snmp-agent usm-user v3 v3user SNMPv3Group cipher authentication-mode sha $c$3$IRXOFGMEkuajbSoJDlTGgQ9mDfb9Z4Dj1x0i7/+Wbai7vFmNByI= privacy-mode aes128 $c$3$HkyPCeXzfROwHK4hK6xQMqI3PF9qXeBJGK6Xjcyl4iV9RA==
#
command-alias enable
command-alias mapping display show
command-alias mapping save wr
command-alias mapping undo no
command-alias mapping reboot reload
command-alias mapping header banner
command-alias mapping reset clear
command-alias mapping acl access-list
command-alias mapping port switchport
command-alias mapping stp spanning-tree
command-alias mapping snmp-agent snmp-server
command-alias mapping user-interface line
command-alias mapping return end
command-alias mapping quit exit
command-alias mapping sysname hostname
command-alias mapping delete erase
command-alias mapping info-center logging
#
dhcp server forbidden-ip 10.101.50.1
#
dhcp enable
#
nqa schedule 1 1 start-time now lifetime forever
nqa schedule 2 2 start-time now lifetime forever
nqa schedule 3 3 start-time now lifetime forever
nqa schedule 4 4 start-time now lifetime forever
nqa schedule imclinktopologypleaseignore ping start-time now lifetime 630720000
nqa server enable
#
ntp-service unicast-server 10.101.0.1
ntp-service unicast-peer 10.101.0.220
#
ssh server enable
sftp server enable
#
rmon event 1 description 3COM_RMON_EVENT trap public owner 3COM_4800G
#
ftp server enable
#
sflow agent ip 10.10.3.1
sflow source ip 10.101.0.221
sflow collector 1 ip 10.101.0.203 description "IMC 7.2"
sflow collector 3 ip 10.101.0.205 description IMCAIO
#
load xml-configuration
#
load tr069-configuration
#
user-interface aux 0
authentication-mode scheme
user-interface aux 1
user-interface vty 0 4
authentication-mode scheme
user-interface vty 5 15
#
irf-port 1/1
port group interface Ten-GigabitEthernet1/1/1 mode normal
#
irf-port 1/2
port group interface Ten-GigabitEthernet1/1/2 mode normal
#
irf-port 2/1
port group interface Ten-GigabitEthernet2/1/1 mode normal
#
irf-port 2/2
port group interface Ten-GigabitEthernet2/1/2 mode normal
#
return
We can take a look at the assets and serial numbers currently in this device
In [38]:
dev1.serials
Out[38]:
[{'name': 'A5500-EI', 'serialNum': '9T2FA2MDCF180'},
{'name': 'A5500-EI', 'serialNum': '9T2FA2MDCFC00'},
{'name': 'Board', 'serialNum': '9T2FA2MDCFC00'},
{'name': 'Board', 'serialNum': '9T2FA2MDCF180'},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''},
{'name': 'CONTAINER LEVEL1', 'serialNum': ''}]
We can write a little bit of code to be able to grab a list of just the assets that hvae a serial number
In [39]:
for asset in dev1.serials:
if asset['serialNum'] is not '':
print (asset)
{'name': 'A5500-EI', 'serialNum': '9T2FA2MDCF180'}
{'name': 'A5500-EI', 'serialNum': '9T2FA2MDCFC00'}
{'name': 'Board', 'serialNum': '9T2FA2MDCFC00'}
{'name': 'Board', 'serialNum': '9T2FA2MDCF180'}
Hope you enjoyed your IMC RESTful API with Python Lab!
Content source: HPNetworking/HP-Intelligent-Management-Center
Similar notebooks: