Skip to content

Instantly share code, notes, and snippets.

@ganeshrn
Created December 14, 2020 04:40
Show Gist options
  • Save ganeshrn/79a7a2670ce03fe381678f9796482089 to your computer and use it in GitHub Desktop.
Save ganeshrn/79a7a2670ce03fe381678f9796482089 to your computer and use it in GitHub Desktop.
nxos show interface parsed outptu
{
"Ethernet2/1": {
"admin_state": "down",
"auto_mdix": "off",
"auto_negotiate": false,
"bandwidth": 1000000,
"beacon": "off",
"counters": {
"in_bad_etype_drop": 0,
"in_broadcast_pkts": 0,
"in_crc_errors": 0,
"in_discard": 0,
"in_errors": 0,
"in_if_down_drop": 0,
"in_ignored": 0,
"in_jumbo_packets": 0,
"in_mac_pause_frames": 0,
"in_multicast_pkts": 0,
"in_no_buffer": 0,
"in_octets": 0,
"in_overrun": 0,
"in_oversize_frame": 0,
"in_pkts": 0,
"in_runts": 0,
"in_short_frame": 0,
"in_storm_suppression_packets": 0,
"in_underrun": 0,
"in_unicast_pkts": 0,
"in_unknown_protos": 0,
"in_watchdog": 0,
"in_with_dribble": 0,
"last_clear": "never",
"out_babble": 0,
"out_broadcast_pkts": 0,
"out_collision": 0,
"out_deferred": 0,
"out_discard": 0,
"out_errors": 0,
"out_jumbo_packets": 0,
"out_late_collision": 0,
"out_lost_carrier": 0,
"out_mac_pause_frames": 0,
"out_multicast_pkts": 0,
"out_no_carrier": 0,
"out_octets": 0,
"out_pkts": 0,
"out_unicast_pkts": 0,
"rate": {
"in_rate": 0,
"in_rate_bps": 0,
"in_rate_pkts": 0,
"in_rate_pps": 0,
"load_interval": 0,
"out_rate": 0,
"out_rate_bps": 0,
"out_rate_pkts": 0,
"out_rate_pps": 0
},
"rx": true,
"tx": true
},
"dedicated_interface": true,
"delay": 10,
"efficient_ethernet": "n/a",
"enabled": false,
"encapsulations": {
"encapsulation": "arpa"
},
"ethertype": "0x8100",
"flow_control": {
"receive": false,
"send": false
},
"interface_reset": 0,
"last_link_flapped": "never",
"link_state": "down",
"mac_address": "0000.0000.002f",
"medium": "broadcast",
"mtu": 1500,
"oper_status": "down",
"phys_address": "fa16.3edb.4f69",
"port_channel": {
"port_channel_member": false
},
"port_mode": "routed",
"reliability": "255/255",
"rxload": "1/255",
"switchport_monitor": "off",
"txload": "1/255",
"types": "Ethernet"
},
"Ethernet2/10": {
"admin_state": "down",
"auto_mdix": "off",
"auto_negotiate": false,
"bandwidth": 1000000,
"beacon": "off",
"counters": {
"in_bad_etype_drop": 0,
"in_broadcast_pkts": 0,
"in_crc_errors": 0,
"in_discard": 0,
"in_errors": 0,
"in_if_down_drop": 0,
"in_ignored": 0,
"in_jumbo_packets": 0,
"in_mac_pause_frames": 0,
"in_multicast_pkts": 0,
"in_no_buffer": 0,
"in_octets": 0,
"in_overrun": 0,
"in_oversize_frame": 0,
"in_pkts": 0,
"in_runts": 0,
"in_short_frame": 0,
"in_storm_suppression_packets": 0,
"in_underrun": 0,
"in_unicast_pkts": 0,
"in_unknown_protos": 0,
"in_watchdog": 0,
"in_with_dribble": 0,
"last_clear": "never",
"out_babble": 0,
"out_broadcast_pkts": 0,
"out_collision": 0,
"out_deferred": 0,
"out_discard": 0,
"out_errors": 0,
"out_jumbo_packets": 0,
"out_late_collision": 0,
"out_lost_carrier": 0,
"out_mac_pause_frames": 0,
"out_multicast_pkts": 0,
"out_no_carrier": 0,
"out_octets": 0,
"out_pkts": 0,
"out_unicast_pkts": 0,
"rate": {
"in_rate": 0,
"in_rate_bps": 0,
"in_rate_pkts": 0,
"in_rate_pps": 0,
"load_interval": 0,
"out_rate": 0,
"out_rate_bps": 0,
"out_rate_pkts": 0,
"out_rate_pps": 0
},
"rx": true,
"tx": true
},
"dedicated_interface": true,
"delay": 10,
"efficient_ethernet": "n/a",
"enabled": false,
"encapsulations": {
"encapsulation": "arpa"
},
"ethertype": "0x8100",
"flow_control": {
"receive": false,
"send": false
},
"interface_reset": 0,
"last_link_flapped": "never",
"link_state": "down",
"mac_address": "0000.0000.002f",
"medium": "broadcast",
"mtu": 1500,
"oper_status": "down",
"phys_address": "0000.0000.0000",
"port_channel": {
"port_channel_member": false
},
"port_mode": "routed",
"reliability": "255/255",
"rxload": "1/255",
"switchport_monitor": "off",
"txload": "1/255",
"types": "Ethernet"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment