show lldp neighbors
show lldp neighbors
import json
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show lldp neighbors ",
"output_format": "json"
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
"ins_api": {
"outputs": {
"output": {
"body": {
"TABLE_nbor": {
"ROW_nbor": [
{
"chassis_id": "SW-INSBU-JWALA-PP52.cisco.com",
"chassis_type": "Locally Assigned",
"enabled_capability": "B",
"hold_time": "120",
"l_port_id": "mgmt0",
"mgmt_addr": "10.197.122.16",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "Address not advertised",
"mgmt_addr_type": "IPV4",
"port_id": "Gi1/0/35",
"port_type": "Interface Alias",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/2",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fa9",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/2",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/4",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fab",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/4",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "Shire",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/5",
"mgmt_addr": "10.197.122.62",
"mgmt_addr_ipv6": "0062.ec3f.185d",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/22",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/6",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fad",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/6",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/7",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fae",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/7",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/8",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7faf",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/8",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/9",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb0",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/9",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/10",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb1",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/10",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/11",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb2",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/11",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/12",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb3",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/12",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/13",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb4",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/13",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/14",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb5",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/14",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/15",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb6",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/15",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/16",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb7",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/16",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/18",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fb9",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/18",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/19",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fba",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/19",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/20",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fbb",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/20",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/22",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fbd",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/22",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/23",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fbe",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/23",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/24",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fbf",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/24",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/25",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc0",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/25",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/26",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc1",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/26",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/27",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc2",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/27",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/28",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc3",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/28",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/29",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc4",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/29",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/30",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc5",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/30",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/31",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc6",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/31",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/32",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc7",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/32",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/33",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc8",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/33",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/34",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fc9",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/34",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/35",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fca",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/35",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/36",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fcb",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/36",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/37",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fcc",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/37",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/38",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fcd",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/38",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/39",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fce",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/39",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/40",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fcf",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/40",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/41",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd0",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/41",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/42",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd1",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/42",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/43",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd2",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/43",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/44",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd3",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/44",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/45",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd4",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/45",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/46",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd5",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/46",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/47",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd6",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/47",
"port_type": "Interface Name",
"system_capability": "BR"
},
{
"chassis_id": "mdr-c002",
"chassis_type": "Locally Assigned",
"enabled_capability": "BR",
"hold_time": "120",
"l_port_id": "Eth1/48",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "f44e.0584.7fd7",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_id": "Ethernet1/48",
"port_type": "Interface Name",
"system_capability": "BR"
}
]
},
"neigh_count": "45",
"neigh_hdr": "neigh_hdr"
},
"code": "200",
"input": "show lldp neighbors ",
"msg": "Success"
}
},
"sid": "eoc",
"type": "cli_show",
"version": "1.0"
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show lldp neighbors command, see the CLI command reference:
CLI Output |
---|
|
show lldp neighbors detail
show lldp neighbors detail
import json
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show lldp neighbors detail ",
"output_format": "json"
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
"ins_api": {
"outputs": {
"output": {
"body": {
"TABLE_nbor_detail": {
"ROW_nbor_detail": [
{
"chassis_id": "18ef.6332.e5a3",
"chassis_type": "Mac Address",
"enabled_capability": "B",
"l_port_id": "mgmt0",
"mgmt_addr": "10.197.122.16",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "Address not advertised",
"mgmt_addr_type": "IPV4",
"port_desc": "GigabitEthernet1/0/35",
"port_id": "Gi1/0/35",
"port_type": "Interface Alias",
"sys_desc": "Cisco IOS Software, C2975 Software (C2975-LANBASE-M), Version 12.2(46)EX, RELEASE SOFTWARE (fc1)\nCopyright (c) 1986-2008 by Cisco Systems, Inc.\nCompiled Mon 03-Nov-08 13:07 by antonino",
"sys_name": "SW-INSBU-JWALA-PP52.cisco.com",
"system_capability": "B, R",
"ttl": "117",
"vlan_id": "47"
},
{
"chassis_id": "f44e.0584.7fa9",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/2",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "lsl-c001_Ethernet1/25:364:euNetworks:W_FrontOffice [CRIT]",
"port_id": "Ethernet1/2",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fab",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/4",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "lsl-c001_Ethernet1/25:364:euNetworks:W_FrontOffice [CRIT]",
"port_id": "Ethernet1/4",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "0062.ec3f.185d",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/5",
"mgmt_addr": "10.197.122.62",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/22",
"port_id": "Ethernet1/22",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 6.0(2)A8(10)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "Shire",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "409"
},
{
"chassis_id": "f44e.0584.7fad",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/6",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/6",
"port_id": "Ethernet1/6",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fae",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/7",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/7",
"port_id": "Ethernet1/7",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7faf",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/8",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/8",
"port_id": "Ethernet1/8",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb0",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/9",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/9",
"port_id": "Ethernet1/9",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb1",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/10",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/10",
"port_id": "Ethernet1/10",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb2",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/11",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/11",
"port_id": "Ethernet1/11",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb3",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/12",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/12",
"port_id": "Ethernet1/12",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb4",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/13",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "mil-c001_Ethernet1/1:349:Colt Technology Services Co., Ltd:W_FrontOffice [CRIT]",
"port_id": "Ethernet1/13",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb5",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/14",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/14",
"port_id": "Ethernet1/14",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb6",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/15",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/15",
"port_id": "Ethernet1/15",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb7",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/16",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/16",
"port_id": "Ethernet1/16",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fb9",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/18",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/18",
"port_id": "Ethernet1/18",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fba",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/19",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/19",
"port_id": "Ethernet1/19",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fbb",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/20",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/20",
"port_id": "Ethernet1/20",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fbd",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/22",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/22",
"port_id": "Ethernet1/22",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fbe",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/23",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/23",
"port_id": "Ethernet1/23",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fbf",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/24",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/24",
"port_id": "Ethernet1/24",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc0",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/25",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/25",
"port_id": "Ethernet1/25",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc1",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/26",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/26",
"port_id": "Ethernet1/26",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc2",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/27",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/27",
"port_id": "Ethernet1/27",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc3",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/28",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/28",
"port_id": "Ethernet1/28",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc4",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/29",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/29",
"port_id": "Ethernet1/29",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc5",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/30",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/30",
"port_id": "Ethernet1/30",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc6",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/31",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/31",
"port_id": "Ethernet1/31",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc7",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/32",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/32",
"port_id": "Ethernet1/32",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc8",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/33",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/33",
"port_id": "Ethernet1/33",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fc9",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/34",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/34",
"port_id": "Ethernet1/34",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fca",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/35",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/35",
"port_id": "Ethernet1/35",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fcb",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/36",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/36",
"port_id": "Ethernet1/36",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fcc",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/37",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/37",
"port_id": "Ethernet1/37",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fcd",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/38",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/38",
"port_id": "Ethernet1/38",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fce",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/39",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/39",
"port_id": "Ethernet1/39",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "1"
},
{
"chassis_id": "f44e.0584.7fcf",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/40",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/40",
"port_id": "Ethernet1/40",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "1"
},
{
"chassis_id": "f44e.0584.7fd0",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/41",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/41",
"port_id": "Ethernet1/41",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd1",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/42",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/42",
"port_id": "Ethernet1/42",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd2",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/43",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/43",
"port_id": "Ethernet1/43",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd3",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/44",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "Ethernet1/44",
"port_id": "Ethernet1/44",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd4",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/45",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "mdr-d001_Ethernet49::: [CRIT]",
"port_id": "Ethernet1/45",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd5",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/46",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "mdr-d002_Ethernet49::: [CRIT]",
"port_id": "Ethernet1/46",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "not advertised"
},
{
"chassis_id": "f44e.0584.7fd6",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/47",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "mdr-c002_Ethernet1/47::: [CRIT]",
"port_id": "Ethernet1/47",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "1"
},
{
"chassis_id": "f44e.0584.7fd7",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/48",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "mdr-c002_Ethernet1/48::: [CRIT]",
"port_id": "Ethernet1/48",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "101",
"vlan_id": "1"
}
]
},
"neigh_count": "45",
"neigh_hdr": "neigh_hdr"
},
"code": "200",
"input": "show lldp neighbors detail ",
"msg": "Success"
}
},
"sid": "eoc",
"type": "cli_show",
"version": "1.0"
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show lldp neighbors detail command, see the CLI command reference:
CLI Output |
---|
|
show lldp neighbors interface ethernet 1/2 detail
show lldp neighbors interface ethernet 1/2 detail
import json
"""
Modify these please
"""
url='http://<IP_Address>/ins'
switchuser='<User_ID>'
switchpassword='<Password>'
myheaders={'content-type':'application/json'}
payload={
"ins_api":{
"version": "1.0",
"type": "cli_show",
"chunk": "0",
"sid": "1",
"input": "show lldp neighbors interface ethernet 1/2 detail",
"output_format": "json"
}
response = requests.post(url,data=json.dumps(payload), headers=myheaders,auth=(switchuser,switchpassword)).json()
output = json.dumps(response, indent=4, sort_keys=True)
{
"ins_api": {
"outputs": {
"output": {
"body": {
"TABLE_nbor_detail": {
"ROW_nbor_detail": {
"chassis_id": "f44e.0584.7fa9",
"chassis_type": "Mac Address",
"enabled_capability": "B, R",
"l_port_id": "Eth1/2",
"mgmt_addr": "10.197.122.97",
"mgmt_addr_ipv6": "not advertised",
"mgmt_addr_ipv6_type": "802",
"mgmt_addr_type": "IPV4",
"port_desc": "lsl-c001_Ethernet1/25:364:euNetworks:W_FrontOffice [CRIT]",
"port_id": "Ethernet1/2",
"port_type": "Interface Name",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 9.2(1)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "mdr-c002",
"system_capability": "B, R",
"ttl": "117",
"vlan_id": "not advertised"
}
},
"neigh_count": "1",
"neigh_hdr": "neigh_hdr"
},
"code": "200",
"input": "show lldp neighbors interface ethernet 1/2 detail",
"msg": "Success"
}
},
"sid": "eoc",
"type": "cli_show",
"version": "1.0"
}
}
The CLI output example below corresponds to the payload example in the code pane on the right. For more information about the show lldp neighbors interface ethernet 1/2 detail command, see the CLI command reference:
CLI Output |
---|
|