Skip to content

Instantly share code, notes, and snippets.

@victorock
Created August 7, 2019 22:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save victorock/3f655c65188f1a2d76f26481e270c160 to your computer and use it in GitHub Desktop.
Save victorock/3f655c65188f1a2d76f26481e270c160 to your computer and use it in GitHub Desktop.
{
"details": [
{
"command": "show vlan | json",
"parsed": {
"vlan": {
"vlanbrief": [
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": [
"Ethernet1/1,Ethernet1/6,Ethernet1/7,Ethernet1/8,Ethernet1/9,Ethernet1/10,Ethernet1/11,Ethernet1/12,Ethernet1/13,Ethernet1/14,Ethernet1/15,Ethernet1/16,Ethernet1/17,Ethernet1/18,Ethernet1/19,Ethernet1/20,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/25,Ethernet1/26,Ethernet1/27,Ethernet1/28,Ethernet1/29,Ethernet1/30,Ethernet1/31,Ethernet1/32,Ethernet1/33,Ethernet1/34,Ethernet1/35,Ethernet1/36,Ethernet1/37,Ethernet1/38,Ethernet1/39,Ethernet1/40,Ethernet1/41,Ethernet1/42,Ethernet1/43,Ethernet1/44,Ethernet1/45,Ethernet1/46,Ethernet1/47,Ethernet1/48,Ethernet1/49,Ethernet1/50,Ethernet1/51,Ethernet1/52,Ethernet1/53,Ethernet1/54,Ethernet1/55,Ethernet1/56,Ethernet1/57,Ethernet1/58,Ethernet1/59,Ethernet1/60,Ethernet1/61,Ethernet1/62,Ethernet1/63,Ethernet1/64,Ethernet1/65,Ethernet1/66,Ethernet1/67,Ethernet1/68",
"Ethernet1/69,Ethernet1/70,Ethernet1/71,Ethernet1/72,Ethernet1/73,Ethernet1/74,Ethernet1/75,Ethernet1/76,Ethernet1/77,Ethernet1/78,Ethernet1/79,Ethernet1/80,Ethernet1/81,Ethernet1/82,Ethernet1/83,Ethernet1/84,Ethernet1/85,Ethernet1/86,Ethernet1/87,Ethernet1/88,Ethernet1/89,Ethernet1/90,Ethernet1/91,Ethernet1/92,Ethernet1/93,Ethernet1/94,Ethernet1/95,Ethernet1/96,Ethernet1/97,Ethernet1/98,Ethernet1/99,Ethernet1/100,Ethernet1/101,Ethernet1/102,Ethernet1/103,Ethernet1/104,Ethernet1/105,Ethernet1/106,Ethernet1/107,Ethernet1/108,Ethernet1/109,Ethernet1/110,Ethernet1/111,Ethernet1/112,Ethernet1/113,Ethernet1/114,Ethernet1/115,Ethernet1/116,Ethernet1/117,Ethernet1/118,Ethernet1/119,Ethernet1/120,Ethernet1/121,Ethernet1/122,Ethernet1/123,Ethernet1/124,Ethernet1/125,Ethernet1/126,Ethernet1/127,Ethernet1/128"
],
"vlanshowbr-vlanid-utf": "1",
"vlanshowbr-vlanname": "default",
"vlanshowbr-vlanid": "1",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "100",
"vlanshowbr-vlanname": "pod01",
"vlanshowbr-vlanid": "100",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "101",
"vlanshowbr-vlanname": "app01",
"vlanshowbr-vlanid": "101",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "102",
"vlanshowbr-vlanname": "app02",
"vlanshowbr-vlanid": "102",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "103",
"vlanshowbr-vlanname": "app03",
"vlanshowbr-vlanid": "103",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "104",
"vlanshowbr-vlanname": "app04",
"vlanshowbr-vlanid": "104",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "Ethernet1/4",
"vlanshowbr-vlanid-utf": "1150",
"vlanshowbr-vlanname": "15010150",
"vlanshowbr-vlanid": "1150",
"vlanshowbr-shutstate": "noshutdown"
}
],
"mtuinfo": [
{
"vlanshowinfo-vlanid": "1",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "100",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "101",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "102",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "103",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "104",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "1150",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
}
]
}
}
}
],
"changed": false,
"_ansible_no_log": false,
"ansible_facts": {
"ip_arp_vrf_all": {
"adj": [
{
"intf-out": "mgmt0",
"mac": "5254.0040.a505",
"time-stamp": "PT6H1M8S",
"flags": null,
"ip-addr-out": "10.42.0.1"
},
{
"intf-out": "Ethernet1/2",
"mac": "5254.00b3.0117",
"time-stamp": "PT6H3S",
"flags": null,
"ip-addr-out": "172.16.0.11"
},
{
"intf-out": "Ethernet1/3",
"mac": "5254.00b3.0127",
"time-stamp": "PT6H19S",
"flags": null,
"ip-addr-out": "172.16.0.12"
}
],
"vrf-name-out": "all",
"cnt-total": "3"
},
"cdp_neighbors_detail": {
"neigh_count": "7",
"cdp_neighbor_brief_info": [
{
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"intf_id": "mgmt0",
"platform_id": "N9K-9000v",
"ttl": "179",
"ifindex": "83886080",
"port_id": "mgmt0",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"IGMP_cnd_filtering",
"Supports-STP-Dispute"
],
"intf_id": "mgmt0",
"platform_id": "N9K-9000v",
"ttl": "165",
"ifindex": "83886080",
"port_id": "Ethernet1/1",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"IGMP_cnd_filtering",
"Supports-STP-Dispute"
],
"intf_id": "Ethernet1/1",
"platform_id": "N9K-9000v",
"ttl": "165",
"ifindex": "436207616",
"port_id": "Ethernet1/1",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"intf_id": "Ethernet1/1",
"platform_id": "N9K-9000v",
"ttl": "179",
"ifindex": "436207616",
"port_id": "mgmt0",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"intf_id": "Ethernet1/2",
"platform_id": "N9K-9000v",
"ttl": "134",
"ifindex": "436208128",
"port_id": "Ethernet1/5",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"intf_id": "Ethernet1/3",
"platform_id": "N9K-9000v",
"ttl": "148",
"ifindex": "436208640",
"port_id": "Ethernet1/5",
"device_id": "switch(9QH6S2I8JER)"
},
{
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"intf_id": "Ethernet1/4",
"platform_id": "N9K-9000v",
"ttl": "131",
"ifindex": "436209152",
"port_id": "Ethernet1/4",
"device_id": "switch(9QH6S2I8JER)"
}
]
},
"lldp_neighbors": {
"neigh_count": "3",
"neigh_hdr": "neigh_hdr",
"nbor": [
{
"mgmt_addr": "10.42.0.11",
"chassis_type": "Locally Assigned",
"hold_time": "120",
"l_port_id": "Eth1/2",
"chassis_id": "switch",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"mgmt_addr_ipv6_type": "802",
"port_id": "Ethernet1/5",
"mgmt_addr_ipv6": "5254.00b3.011c"
},
{
"mgmt_addr": "10.42.0.12",
"chassis_type": "Locally Assigned",
"hold_time": "120",
"l_port_id": "Eth1/3",
"chassis_id": "switch",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"mgmt_addr_ipv6_type": "802",
"port_id": "Ethernet1/5",
"mgmt_addr_ipv6": "5254.00b3.012c"
},
{
"mgmt_addr": "10.42.0.23",
"chassis_type": "Locally Assigned",
"hold_time": "120",
"l_port_id": "Eth1/4",
"chassis_id": "switch",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"mgmt_addr_ipv6_type": "802",
"port_id": "Ethernet1/4",
"mgmt_addr_ipv6": "5254.00b3.023b"
}
]
},
"ip_arp_statistics": {
"rx-enhanced-proxy-l2port-track": "0",
"tx-invalid-ifindex": "0",
"invalid-hrd-type": "0",
"tx-null-sip": "0",
"non-active-fhrp": "0",
"tx-req-l2": "0",
"tx-grat": "4",
"invalid-ctxt": "0",
"rx-tunnel": "0",
"tx-req": "34",
"tx-drop": "0",
"l2fm-query-fail": "0",
"tx-invalid-local-proxy": "0",
"tx-dest-unreachable-enhanced-proxy": "0",
"vrf-name-out1": "default",
"rx-proxy": "0",
"tunnel_fail": "0",
"adds": "2",
"rx-req": "32",
"bad-len": "0",
"tx-own-ip": "0",
"rx-enhanced-proxy-anycast": "0",
"l2-prxy-en": "0",
"rx-local-proxy": "0",
"tx-invalid-proxy": "0",
"invalid-l2": "0",
"subnet-mismatch": "0",
"arp-if-no-mem": "0",
"rx-total": "309",
"our-smac": "0",
"not-init": "0",
"invalid-l3": "0",
"invalid-smac": "0",
"rx-reply-l2": "0",
"ctxt-not-crtd": "0",
"our-sip": "0",
"rx-fastpath": "0",
"arp-req-ignore": "0",
"rx-snoop": "0",
"non-local-dst": "2",
"rx-srvrport": "0",
"tx-ctxt-not-crtd": "0",
"l2-port-untrusted": "0",
"timeouts": "0",
"tx-dest-unreachable-proxy-arp": "0",
"invalid-sip": "0",
"l2-intf": "0",
"tx-invalid-dip": "0",
"bad-if": "0",
"grat-prxy-en": "0",
"rx-reply": "31",
"rx-drop": "246",
"stdby-fhrp-vip": "0",
"tx-null-smac": "0",
"dir-bcast": "0",
"tx-adj-create-fail": "0",
"tx-reply-l2": "0",
"tx-client-enq-fail": "0",
"rx-req-l2": "0",
"invalid-dip": "0",
"dels": "0",
"tx-bad-ctxt-id": "0",
"rx-enhanced-proxy": "0",
"tx-vip-not-active": "0",
"invalid-prot": "0",
"tx-mbuf-fail": "0",
"tx-invalid-sip": "0",
"tx-total": "70",
"tx-unattached-ip": "0",
"tx-dest-l2port-track": "0",
"tx-tunnel": "0",
"tx-reply": "32"
},
"vpc": {
"num-of-vpcs": "0",
"operational-l3-peer": "Disabled",
"vpc-per-vlan-peer-consistency": "inconsistent",
"vpc-peer-consistency": "inconsistent",
"vpc-peer-consistency-status": "SYSERR_MCECM_MCT_DOES_NOT_EXISTS",
"vpc-delay-restore-svi-status": "Timer is off.(timeout = 10s)",
"vpc-delay-restore-status": "Timer is off.(timeout = 30s)",
"dual-active-excluded-vlans": "-",
"vpc-domain-id": "not configured",
"vpc-peer-status": "peer-not-configured",
"vpc-type-2-consistency-status": "SYSERR_MCECM_MCT_DOES_NOT_EXISTS",
"vpc-auto-recovery-status": "Disabled",
"peer-gateway": "0",
"vpc-type-2-consistency": "inconsistent",
"vpc-peer-keepalive-status": "disabled",
"vpc-peer-status-reason": "SUCCESS",
"vpc-role": "none-established",
"vpc-graceful-consistency-check-status": "disabled-peer"
},
"spanning__tree_inconsistentports": "",
"cdp_neighbors": {
"neigh_count": "7",
"cdp_neighbor_brief_info": [
{
"platform_id": "N9K-9000v",
"intf_id": "mgmt0",
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"ttl": "166",
"ifindex": "83886080",
"port_id": "mgmt0",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "mgmt0",
"capability": [
"router",
"switch",
"IGMP_cnd_filtering",
"Supports-STP-Dispute"
],
"ttl": "168",
"ifindex": "83886080",
"port_id": "Ethernet1/1",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "Ethernet1/1",
"capability": [
"router",
"switch",
"IGMP_cnd_filtering",
"Supports-STP-Dispute"
],
"ttl": "168",
"ifindex": "436207616",
"port_id": "Ethernet1/1",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "Ethernet1/1",
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"ttl": "166",
"ifindex": "436207616",
"port_id": "mgmt0",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "Ethernet1/2",
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"ttl": "137",
"ifindex": "436208128",
"port_id": "Ethernet1/5",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "Ethernet1/3",
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"ttl": "151",
"ifindex": "436208640",
"port_id": "Ethernet1/5",
"device_id": "switch(9QH6S2I8JER)"
},
{
"platform_id": "N9K-9000v",
"intf_id": "Ethernet1/4",
"capability": [
"router",
"switch",
"Supports-STP-Dispute"
],
"ttl": "134",
"ifindex": "436209152",
"port_id": "Ethernet1/4",
"device_id": "switch(9QH6S2I8JER)"
}
]
},
"vlan": {
"vlanbrief": [
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": [
"Ethernet1/1,Ethernet1/6,Ethernet1/7,Ethernet1/8,Ethernet1/9,Ethernet1/10,Ethernet1/11,Ethernet1/12,Ethernet1/13,Ethernet1/14,Ethernet1/15,Ethernet1/16,Ethernet1/17,Ethernet1/18,Ethernet1/19,Ethernet1/20,Ethernet1/21,Ethernet1/22,Ethernet1/23,Ethernet1/24,Ethernet1/25,Ethernet1/26,Ethernet1/27,Ethernet1/28,Ethernet1/29,Ethernet1/30,Ethernet1/31,Ethernet1/32,Ethernet1/33,Ethernet1/34,Ethernet1/35,Ethernet1/36,Ethernet1/37,Ethernet1/38,Ethernet1/39,Ethernet1/40,Ethernet1/41,Ethernet1/42,Ethernet1/43,Ethernet1/44,Ethernet1/45,Ethernet1/46,Ethernet1/47,Ethernet1/48,Ethernet1/49,Ethernet1/50,Ethernet1/51,Ethernet1/52,Ethernet1/53,Ethernet1/54,Ethernet1/55,Ethernet1/56,Ethernet1/57,Ethernet1/58,Ethernet1/59,Ethernet1/60,Ethernet1/61,Ethernet1/62,Ethernet1/63,Ethernet1/64,Ethernet1/65,Ethernet1/66,Ethernet1/67,Ethernet1/68",
"Ethernet1/69,Ethernet1/70,Ethernet1/71,Ethernet1/72,Ethernet1/73,Ethernet1/74,Ethernet1/75,Ethernet1/76,Ethernet1/77,Ethernet1/78,Ethernet1/79,Ethernet1/80,Ethernet1/81,Ethernet1/82,Ethernet1/83,Ethernet1/84,Ethernet1/85,Ethernet1/86,Ethernet1/87,Ethernet1/88,Ethernet1/89,Ethernet1/90,Ethernet1/91,Ethernet1/92,Ethernet1/93,Ethernet1/94,Ethernet1/95,Ethernet1/96,Ethernet1/97,Ethernet1/98,Ethernet1/99,Ethernet1/100,Ethernet1/101,Ethernet1/102,Ethernet1/103,Ethernet1/104,Ethernet1/105,Ethernet1/106,Ethernet1/107,Ethernet1/108,Ethernet1/109,Ethernet1/110,Ethernet1/111,Ethernet1/112,Ethernet1/113,Ethernet1/114,Ethernet1/115,Ethernet1/116,Ethernet1/117,Ethernet1/118,Ethernet1/119,Ethernet1/120,Ethernet1/121,Ethernet1/122,Ethernet1/123,Ethernet1/124,Ethernet1/125,Ethernet1/126,Ethernet1/127,Ethernet1/128"
],
"vlanshowbr-vlanid-utf": "1",
"vlanshowbr-vlanname": "default",
"vlanshowbr-vlanid": "1",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "100",
"vlanshowbr-vlanname": "pod01",
"vlanshowbr-vlanid": "100",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "101",
"vlanshowbr-vlanname": "app01",
"vlanshowbr-vlanid": "101",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "102",
"vlanshowbr-vlanname": "app02",
"vlanshowbr-vlanid": "102",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "103",
"vlanshowbr-vlanname": "app03",
"vlanshowbr-vlanid": "103",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "port-channel15,Ethernet1/5",
"vlanshowbr-vlanid-utf": "104",
"vlanshowbr-vlanname": "app04",
"vlanshowbr-vlanid": "104",
"vlanshowbr-shutstate": "noshutdown"
},
{
"vlanshowbr-vlanstate": "active",
"vlanshowplist-ifidx": "Ethernet1/4",
"vlanshowbr-vlanid-utf": "1150",
"vlanshowbr-vlanname": "15010150",
"vlanshowbr-vlanid": "1150",
"vlanshowbr-shutstate": "noshutdown"
}
],
"mtuinfo": [
{
"vlanshowinfo-vlanid": "1",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "100",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "101",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "102",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "103",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "104",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
},
{
"vlanshowinfo-vlanid": "1150",
"vlanshowinfo-media-type": "enet",
"vlanshowinfo-vlanmode": "ce-vlan"
}
]
},
"vpc_consistency__parameters_global": "",
"spanning__tree_blockedports": "",
"spanning__tree_root_detail": {
"tree": [
{
"max_age": "20",
"root_port_if_index": "Ethernet1/1",
"tree_tree_type": "vlan",
"hello_time": "2",
"tree_protocol": "rstp",
"tree_designated_root": "5254.0040.a505",
"tree_designated_root_priority": "32768",
"root_port_priority": "128",
"root_port_number": "1",
"tree_id": "1",
"root_path_cost": "4",
"forward_delay": "4"
},
{
"max_age": "20",
"root_port_if_index": "Ethernet1/4",
"tree_tree_type": "vlan",
"hello_time": "2",
"tree_protocol": "rstp",
"tree_designated_root": "5254.00b3.0237",
"tree_designated_root_priority": "33918",
"root_port_priority": "128",
"root_port_number": "4",
"tree_id": "1150",
"root_path_cost": "4",
"forward_delay": "15"
}
]
},
"vpc_consistency__parameters_vlans": "",
"lldp_neighbors_detail": {
"neigh_count": "3",
"neigh_hdr": "neigh_hdr",
"nbor_detail": [
{
"l_port_id": "Eth1/2",
"mgmt_addr": "10.42.0.11",
"chassis_type": "Mac Address",
"ttl": "111",
"chassis_id": "5254.00b3.011c",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"port_desc": "Underlay by Ansible",
"mgmt_addr_ipv6_type": "802",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 7.0(3)I7(4)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "switch",
"port_id": "Ethernet1/5",
"vlan_id": "not advertised",
"mgmt_addr_ipv6": "not advertised"
},
{
"l_port_id": "Eth1/3",
"mgmt_addr": "10.42.0.12",
"chassis_type": "Mac Address",
"ttl": "115",
"chassis_id": "5254.00b3.012c",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"port_desc": "Underlay by Ansible",
"mgmt_addr_ipv6_type": "802",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 7.0(3)I7(4)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "switch",
"port_id": "Ethernet1/5",
"vlan_id": "not advertised",
"mgmt_addr_ipv6": "not advertised"
},
{
"l_port_id": "Eth1/4",
"mgmt_addr": "10.42.0.23",
"chassis_type": "Mac Address",
"ttl": "101",
"chassis_id": "5254.00b3.023b",
"mgmt_addr_type": "IPV4",
"system_capability": "BR",
"enabled_capability": "BR",
"port_type": "Interface Name",
"port_desc": "Ethernet1/4",
"mgmt_addr_ipv6_type": "802",
"sys_desc": "Cisco Nexus Operating System (NX-OS) Software 7.0(3)I7(4)\nTAC support: http://www.cisco.com/tac\nCopyright (c) 2002-2018, Cisco Systems, Inc. All rights reserved.",
"sys_name": "switch",
"port_id": "Ethernet1/4",
"vlan_id": "1150",
"mgmt_addr_ipv6": "not advertised"
}
]
},
"show_system_resources": {
"cpu_state_kernel": 30.45,
"load_avg_1min": 0.76,
"cpu_usage": [
{
"cpuid": 0,
"kernel": 27.27,
"idle": 46.46,
"user": 26.26
},
{
"cpuid": 1,
"kernel": 33.33,
"idle": 62.62,
"user": 4.04
}
],
"load_avg_5min": 0.73,
"cpu_state_idle": 54.82,
"memory_usage_used": 4044916,
"cpu_state_user": 14.72,
"current_memory_status": "OK",
"processes_running": 3,
"processes_total": 667,
"load_avg_15min": 0.7,
"memory_usage_free": 4089312,
"memory_usage_total": 8134228
},
"mac_address__table": {
"mac_address": [
{
"disp_age": "0",
"disp_vlan": "0",
"disp_is_ntfy": "disabled",
"disp_mac_addr": "0000.1111.2222",
"disp_type": "G",
"disp_port": "sup-eth1(R)",
"disp_is_secure": "disabled",
"disp_is_static": "enabled"
},
{
"disp_age": "0",
"disp_vlan": "0",
"disp_is_ntfy": "disabled",
"disp_mac_addr": "5254.00b3.0247",
"disp_type": "G",
"disp_port": "SUP_INBAND_CFSOE(R)",
"disp_is_secure": "disabled",
"disp_is_static": "enabled"
},
{
"disp_age": "0",
"disp_vlan": "1150",
"disp_is_ntfy": "disabled",
"disp_mac_addr": "5254.00b3.0247",
"disp_type": "G",
"disp_port": "sup-eth1(R)",
"disp_is_secure": "disabled",
"disp_is_static": "enabled"
}
]
},
"cdp_global": {
"v2_advertisement": "enabled",
"refresh_time": "60",
"cdp_global_enabled": "enabled",
"deviceid_format": "DeviceID TLV in System-Name(Default) Format",
"ttl": "180"
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment