Created
October 12, 2020 13:55
-
-
Save ganeshrn/3615315f8932e4c6e48b975b94010ae1 to your computer and use it in GitHub Desktop.
show_interface_out_json_iosxr
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"GigabitEthernet0/0/0/0": { | |
"auto_negotiate": false, | |
"bandwidth": 1000000, | |
"bandwidth_max": 1000000, | |
"carrier_delay_up": 10, | |
"counters": { | |
"carrier_transitions": 1, | |
"in_abort": 0, | |
"in_broadcast_pkts": 0, | |
"in_crc_errors": 0, | |
"in_errors": 0, | |
"in_frame": 0, | |
"in_giants": 0, | |
"in_ignored": 0, | |
"in_multicast_pkts": 0, | |
"in_octets": 0, | |
"in_overrun": 0, | |
"in_parity": 0, | |
"in_pkts": 0, | |
"in_runts": 0, | |
"in_throttles": 0, | |
"in_total_drops": 0, | |
"in_unknown_protos": 0, | |
"last_clear": "never", | |
"out_applique": 0, | |
"out_broadcast_pkts": 0, | |
"out_buffer_failure": 0, | |
"out_buffers_swapped": 0, | |
"out_errors": 0, | |
"out_multicast_pkts": 0, | |
"out_octets": 0, | |
"out_pkts": 0, | |
"out_resets": 0, | |
"out_total_drops": 0, | |
"out_underruns": 0, | |
"rate": { | |
"in_rate": 0, | |
"in_rate_pkts": 0, | |
"load_interval": 300, | |
"out_rate": 0, | |
"out_rate_pkts": 0 | |
} | |
}, | |
"description": "configured using Ansible YANG collection", | |
"duplex_mode": "full", | |
"enabled": true, | |
"encapsulations": { | |
"encapsulation": "arpa" | |
}, | |
"flow_control": { | |
"receive": false, | |
"send": false | |
}, | |
"interface_state_transitions": 1, | |
"last_input": "never", | |
"last_link_flapped": "8w5d", | |
"last_output": "never", | |
"line_protocol": "up", | |
"link_type": "force-up", | |
"loopback": "not set", | |
"mac_address": "fa16.3e5b.3ca8", | |
"media_type": "unknown", | |
"mtu": 1514, | |
"oper_status": "up", | |
"phys_address": "fa16.3e5b.3ca8", | |
"port_speed": "1000Mb/s", | |
"reliability": "255/255", | |
"rxload": "0/255", | |
"txload": "0/255", | |
"type": "GigabitEthernet" | |
}, | |
"GigabitEthernet0/0/0/1": { | |
"auto_negotiate": false, | |
"bandwidth": 1000000, | |
"bandwidth_max": 1000000, | |
"carrier_delay_up": 10, | |
"counters": { | |
"carrier_transitions": 1, | |
"in_abort": 0, | |
"in_broadcast_pkts": 0, | |
"in_crc_errors": 0, | |
"in_errors": 0, | |
"in_frame": 0, | |
"in_giants": 0, | |
"in_ignored": 0, | |
"in_multicast_pkts": 0, | |
"in_octets": 0, | |
"in_overrun": 0, | |
"in_parity": 0, | |
"in_pkts": 0, | |
"in_runts": 0, | |
"in_throttles": 0, | |
"in_total_drops": 0, | |
"in_unknown_protos": 0, | |
"last_clear": "never", | |
"out_applique": 0, | |
"out_broadcast_pkts": 0, | |
"out_buffer_failure": 0, | |
"out_buffers_swapped": 0, | |
"out_errors": 0, | |
"out_multicast_pkts": 0, | |
"out_octets": 0, | |
"out_pkts": 0, | |
"out_resets": 0, | |
"out_total_drops": 0, | |
"out_underruns": 0, | |
"rate": { | |
"in_rate": 0, | |
"in_rate_pkts": 0, | |
"load_interval": 300, | |
"out_rate": 0, | |
"out_rate_pkts": 0 | |
} | |
}, | |
"description": "# interface is configures with Ansible", | |
"duplex_mode": "full", | |
"enabled": true, | |
"encapsulations": { | |
"encapsulation": "arpa" | |
}, | |
"flow_control": { | |
"receive": false, | |
"send": false | |
}, | |
"interface_state_transitions": 1, | |
"last_input": "never", | |
"last_link_flapped": "8w5d", | |
"last_output": "never", | |
"line_protocol": "up", | |
"link_type": "force-up", | |
"loopback": "not set", | |
"mac_address": "fa16.3ee1.3fdc", | |
"media_type": "unknown", | |
"mtu": 1514, | |
"oper_status": "up", | |
"phys_address": "fa16.3ee1.3fdc", | |
"port_speed": "1000Mb/s", | |
"reliability": "255/255", | |
"rxload": "0/255", | |
"txload": "0/255", | |
"type": "GigabitEthernet" | |
}, | |
"Loopback888": { | |
"bandwidth": 0, | |
"counters": { | |
"last_clear": "Unknown" | |
}, | |
"description": "test for ansible", | |
"enabled": false, | |
"encapsulations": { | |
"encapsulation": "loopback" | |
}, | |
"interface_state_transitions": 2, | |
"last_input": "Unknown", | |
"last_link_flapped": "4w3d", | |
"last_output": "Unknown", | |
"line_protocol": "administratively down", | |
"loopback": "not set", | |
"mtu": 1500, | |
"oper_status": "administratively down", | |
"reliability": "Unknown", | |
"rxload": "Unknown", | |
"txload": "Unknown", | |
"type": "Loopback interface(s)" | |
}, | |
"MgmtEth0/0/CPU0/0": { | |
"arp_timeout": "04:00:00", | |
"arp_type": "arpa", | |
"auto_negotiate": true, | |
"bandwidth": 1000000, | |
"bandwidth_max": 1000000, | |
"carrier_delay_up": 10, | |
"counters": { | |
"carrier_transitions": 1, | |
"in_abort": 0, | |
"in_broadcast_pkts": 1779608, | |
"in_crc_errors": 0, | |
"in_errors": 0, | |
"in_frame": 0, | |
"in_giants": 0, | |
"in_ignored": 0, | |
"in_multicast_pkts": 1056046, | |
"in_octets": 556864080, | |
"in_overrun": 0, | |
"in_parity": 0, | |
"in_pkts": 4539715, | |
"in_runts": 0, | |
"in_throttles": 0, | |
"in_total_drops": 0, | |
"in_unknown_protos": 0, | |
"last_clear": "never", | |
"out_applique": 0, | |
"out_broadcast_pkts": 2, | |
"out_buffer_failure": 0, | |
"out_buffers_swapped": 0, | |
"out_errors": 0, | |
"out_multicast_pkts": 0, | |
"out_octets": 262897508, | |
"out_pkts": 1721044, | |
"out_resets": 0, | |
"out_total_drops": 0, | |
"out_underruns": 0, | |
"rate": { | |
"in_rate": 1000, | |
"in_rate_pkts": 1, | |
"load_interval": 300, | |
"out_rate": 0, | |
"out_rate_pkts": 1 | |
} | |
}, | |
"duplex_mode": "unknown", | |
"enabled": true, | |
"encapsulations": { | |
"encapsulation": "arpa" | |
}, | |
"flow_control": { | |
"receive": false, | |
"send": false | |
}, | |
"interface_state_transitions": 1, | |
"ipv4": { | |
"10.8.38.70/24": { | |
"ip": "10.8.38.70", | |
"prefix_length": "24" | |
} | |
}, | |
"last_input": "00:00:00", | |
"last_link_flapped": "8w5d", | |
"last_output": "00:00:00", | |
"line_protocol": "up", | |
"link_type": "autonegotiation", | |
"loopback": "not set", | |
"mac_address": "5e00.0005.0000", | |
"media_type": "unknown", | |
"mtu": 1514, | |
"oper_status": "up", | |
"phys_address": "5e00.0005.0000", | |
"port_speed": "1000Mb/s", | |
"reliability": "255/255", | |
"rxload": "0/255", | |
"txload": "0/255", | |
"type": "Management Ethernet" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment