Skip to content

Instantly share code, notes, and snippets.

@privateip
Last active July 21, 2016 12:26
Show Gist options
  • Save privateip/9d86fe6bbca342425c578976343d4801 to your computer and use it in GitHub Desktop.
Save privateip/9d86fe6bbca342425c578976343d4801 to your computer and use it in GitHub Desktop.
(ansible)[ansible-ios]$ ansible -m ios_command -a "host={{ inventory_hostname }} username=cisco password=cisco commands='show interfaces'" --connection local ios
ios02 | SUCCESS => {
"changed": false,
"stdout": [
"GigabitEthernet0/0 is up, line protocol is up \n Hardware is iGbE, address is fa16.3e50.7f24 (bia fa16.3e50.7f24)\n Description: OOB Management\n Internet address is 172.26.4.31/24\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Full Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input 00:00:00, output 00:00:00, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 2000 bits/sec, 2 packets/sec\n 5 minute output rate 2000 bits/sec, 2 packets/sec\n 167 packets input, 27246 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 138 packets output, 19281 bytes, 0 underruns\n 0 output errors, 0 collisions, 3 interface resets\n 29 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 2 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nGigabitEthernet0/1 is up, line protocol is up \n Hardware is iGbE, address is fa16.3ed0.902e (bia fa16.3ed0.902e)\n Description: configured by Ansible\n Internet address is 172.29.2.2/30\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Auto Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input never, output 00:00:02, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 61 packets output, 8063 bytes, 0 underruns\n 0 output errors, 0 collisions, 2 interface resets\n 0 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 1 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nGigabitEthernet0/2 is up, line protocol is up \n Hardware is iGbE, address is fa16.3ee6.b705 (bia fa16.3ee6.b705)\n Description: configured by Ansible\n Internet address is 172.29.2.6/30\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Auto Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input never, output 00:00:00, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 61 packets output, 8063 bytes, 0 underruns\n 0 output errors, 0 collisions, 2 interface resets\n 0 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 1 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nLoopback0 is up, line protocol is up \n Hardware is Loopback\n Description: configured by Ansible\n Internet address is 10.254.254.13/32\n MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation LOOPBACK, loopback not set\n Keepalive set (10 sec)\n Last input never, output never, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/0 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\n 0 packets output, 0 bytes, 0 underruns\n 0 output errors, 0 collisions, 0 interface resets\n 0 unknown protocol drops\n 0 output buffer failures, 0 output buffers swapped out"
],
"stdout_lines": [
[
"GigabitEthernet0/0 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3e50.7f24 (bia fa16.3e50.7f24)",
" Description: OOB Management",
" Internet address is 172.26.4.31/24",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Full Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input 00:00:00, output 00:00:00, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 2000 bits/sec, 2 packets/sec",
" 5 minute output rate 2000 bits/sec, 2 packets/sec",
" 167 packets input, 27246 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 138 packets output, 19281 bytes, 0 underruns",
" 0 output errors, 0 collisions, 3 interface resets",
" 29 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 2 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"GigabitEthernet0/1 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3ed0.902e (bia fa16.3ed0.902e)",
" Description: configured by Ansible",
" Internet address is 172.29.2.2/30",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Auto Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input never, output 00:00:02, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 61 packets output, 8063 bytes, 0 underruns",
" 0 output errors, 0 collisions, 2 interface resets",
" 0 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 1 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"GigabitEthernet0/2 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3ee6.b705 (bia fa16.3ee6.b705)",
" Description: configured by Ansible",
" Internet address is 172.29.2.6/30",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Auto Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input never, output 00:00:00, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 61 packets output, 8063 bytes, 0 underruns",
" 0 output errors, 0 collisions, 2 interface resets",
" 0 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 1 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"Loopback0 is up, line protocol is up ",
" Hardware is Loopback",
" Description: configured by Ansible",
" Internet address is 10.254.254.13/32",
" MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation LOOPBACK, loopback not set",
" Keepalive set (10 sec)",
" Last input never, output never, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/0 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort",
" 0 packets output, 0 bytes, 0 underruns",
" 0 output errors, 0 collisions, 0 interface resets",
" 0 unknown protocol drops",
" 0 output buffer failures, 0 output buffers swapped out"
]
]
}
ios01 | SUCCESS => {
"changed": false,
"stdout": [
"GigabitEthernet0/0 is up, line protocol is up \n Hardware is iGbE, address is fa16.3e17.dcc7 (bia fa16.3e17.dcc7)\n Description: OOB Management\n Internet address is 172.26.4.30/24\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Full Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input 00:00:00, output 00:00:00, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 187 packets input, 32294 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 155 packets output, 22036 bytes, 0 underruns\n 0 output errors, 0 collisions, 3 interface resets\n 30 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 1 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nGigabitEthernet0/1 is up, line protocol is up \n Hardware is iGbE, address is fa16.3ea7.1fab (bia fa16.3ea7.1fab)\n Description: Ask the expert\n Internet address is 172.20.100.1/24\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Auto Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input 00:00:04, output 00:00:03, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 10 packets input, 1490 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 62 packets output, 8431 bytes, 0 underruns\n 0 output errors, 0 collisions, 2 interface resets\n 0 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 0 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nGigabitEthernet0/2 is up, line protocol is up \n Hardware is iGbE, address is fa16.3ed0.c163 (bia fa16.3ed0.c163)\n Description: configured by Ansible\n Internet address is 172.29.1.6/30\n MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation ARPA, loopback not set\n Keepalive set (10 sec)\n Auto Duplex, Auto Speed, link type is auto, media type is RJ45\n output flow-control is unsupported, input flow-control is unsupported\n ARP type: ARPA, ARP Timeout 04:00:00\n Last input never, output 00:00:03, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/40 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored\n 0 watchdog, 0 multicast, 0 pause input\n 61 packets output, 8063 bytes, 0 underruns\n 0 output errors, 0 collisions, 2 interface resets\n 0 unknown protocol drops\n 0 babbles, 0 late collision, 0 deferred\n 1 lost carrier, 0 no carrier, 0 pause output\n 0 output buffer failures, 0 output buffers swapped out\nLoopback0 is up, line protocol is up \n Hardware is Loopback\n Description: configured by Ansible\n Internet address is 10.254.254.12/32\n MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation LOOPBACK, loopback not set\n Keepalive set (10 sec)\n Last input never, output never, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/0 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\n 0 packets output, 0 bytes, 0 underruns\n 0 output errors, 0 collisions, 0 interface resets\n 0 unknown protocol drops\n 0 output buffer failures, 0 output buffers swapped out\nLoopback1 is up, line protocol is up \n Hardware is Loopback\n Description: tested by ansible\n MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation LOOPBACK, loopback not set\n Keepalive set (10 sec)\n Last input never, output never, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/0 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\n 0 packets output, 0 bytes, 0 underruns\n 0 output errors, 0 collisions, 0 interface resets\n 0 unknown protocol drops\n 0 output buffer failures, 0 output buffers swapped out\nLoopback2 is up, line protocol is up \n Hardware is Loopback\n Description: tested by ansible\n MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation LOOPBACK, loopback not set\n Keepalive set (10 sec)\n Last input never, output never, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/0 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\n 0 packets output, 0 bytes, 0 underruns\n 0 output errors, 0 collisions, 0 interface resets\n 0 unknown protocol drops\n 0 output buffer failures, 0 output buffers swapped out\nLoopback3 is up, line protocol is up \n Hardware is Loopback\n Description: tested by ansible\n MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, \n reliability 255/255, txload 1/255, rxload 1/255\n Encapsulation LOOPBACK, loopback not set\n Keepalive set (10 sec)\n Last input never, output never, output hang never\n Last clearing of \"show interface\" counters never\n Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0\n Queueing strategy: fifo\n Output queue: 0/0 (size/max)\n 5 minute input rate 0 bits/sec, 0 packets/sec\n 5 minute output rate 0 bits/sec, 0 packets/sec\n 0 packets input, 0 bytes, 0 no buffer\n Received 0 broadcasts (0 IP multicasts)\n 0 runts, 0 giants, 0 throttles \n 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort\n 0 packets output, 0 bytes, 0 underruns\n 0 output errors, 0 collisions, 0 interface resets\n 0 unknown protocol drops\n 0 output buffer failures, 0 output buffers swapped out"
],
"stdout_lines": [
[
"GigabitEthernet0/0 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3e17.dcc7 (bia fa16.3e17.dcc7)",
" Description: OOB Management",
" Internet address is 172.26.4.30/24",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Full Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input 00:00:00, output 00:00:00, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 187 packets input, 32294 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 155 packets output, 22036 bytes, 0 underruns",
" 0 output errors, 0 collisions, 3 interface resets",
" 30 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 1 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"GigabitEthernet0/1 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3ea7.1fab (bia fa16.3ea7.1fab)",
" Description: Ask the expert",
" Internet address is 172.20.100.1/24",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Auto Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input 00:00:04, output 00:00:03, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 10 packets input, 1490 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 62 packets output, 8431 bytes, 0 underruns",
" 0 output errors, 0 collisions, 2 interface resets",
" 0 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 0 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"GigabitEthernet0/2 is up, line protocol is up ",
" Hardware is iGbE, address is fa16.3ed0.c163 (bia fa16.3ed0.c163)",
" Description: configured by Ansible",
" Internet address is 172.29.1.6/30",
" MTU 1500 bytes, BW 1000000 Kbit/sec, DLY 10 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation ARPA, loopback not set",
" Keepalive set (10 sec)",
" Auto Duplex, Auto Speed, link type is auto, media type is RJ45",
" output flow-control is unsupported, input flow-control is unsupported",
" ARP type: ARPA, ARP Timeout 04:00:00",
" Last input never, output 00:00:03, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/40 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored",
" 0 watchdog, 0 multicast, 0 pause input",
" 61 packets output, 8063 bytes, 0 underruns",
" 0 output errors, 0 collisions, 2 interface resets",
" 0 unknown protocol drops",
" 0 babbles, 0 late collision, 0 deferred",
" 1 lost carrier, 0 no carrier, 0 pause output",
" 0 output buffer failures, 0 output buffers swapped out",
"Loopback0 is up, line protocol is up ",
" Hardware is Loopback",
" Description: configured by Ansible",
" Internet address is 10.254.254.12/32",
" MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation LOOPBACK, loopback not set",
" Keepalive set (10 sec)",
" Last input never, output never, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/0 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort",
" 0 packets output, 0 bytes, 0 underruns",
" 0 output errors, 0 collisions, 0 interface resets",
" 0 unknown protocol drops",
" 0 output buffer failures, 0 output buffers swapped out",
"Loopback1 is up, line protocol is up ",
" Hardware is Loopback",
" Description: tested by ansible",
" MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation LOOPBACK, loopback not set",
" Keepalive set (10 sec)",
" Last input never, output never, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/0 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort",
" 0 packets output, 0 bytes, 0 underruns",
" 0 output errors, 0 collisions, 0 interface resets",
" 0 unknown protocol drops",
" 0 output buffer failures, 0 output buffers swapped out",
"Loopback2 is up, line protocol is up ",
" Hardware is Loopback",
" Description: tested by ansible",
" MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation LOOPBACK, loopback not set",
" Keepalive set (10 sec)",
" Last input never, output never, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/0 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort",
" 0 packets output, 0 bytes, 0 underruns",
" 0 output errors, 0 collisions, 0 interface resets",
" 0 unknown protocol drops",
" 0 output buffer failures, 0 output buffers swapped out",
"Loopback3 is up, line protocol is up ",
" Hardware is Loopback",
" Description: tested by ansible",
" MTU 1514 bytes, BW 8000000 Kbit/sec, DLY 5000 usec, ",
" reliability 255/255, txload 1/255, rxload 1/255",
" Encapsulation LOOPBACK, loopback not set",
" Keepalive set (10 sec)",
" Last input never, output never, output hang never",
" Last clearing of \"show interface\" counters never",
" Input queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0",
" Queueing strategy: fifo",
" Output queue: 0/0 (size/max)",
" 5 minute input rate 0 bits/sec, 0 packets/sec",
" 5 minute output rate 0 bits/sec, 0 packets/sec",
" 0 packets input, 0 bytes, 0 no buffer",
" Received 0 broadcasts (0 IP multicasts)",
" 0 runts, 0 giants, 0 throttles ",
" 0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort",
" 0 packets output, 0 bytes, 0 underruns",
" 0 output errors, 0 collisions, 0 interface resets",
" 0 unknown protocol drops",
" 0 output buffer failures, 0 output buffers swapped out"
]
]
}
(ansible)[ansible-ios]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment