Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save keithnoguchi/fa22e11f65489ac6ad94707960a26c26 to your computer and use it in GitHub Desktop.
Save keithnoguchi/fa22e11f65489ac6ad94707960a26c26 to your computer and use it in GitHub Desktop.
$ ansible-playbook site.yaml
PLAY [verify the switch version] ***********************************************
TASK [setup] *******************************************************************
ok: [spine2]
ok: [leaf2]
ok: [leaf1]
ok: [spine1]
ok: [fab1]
ok: [leaf3]
TASK [show version CLI] ********************************************************
ok: [spine1]
ok: [leaf1]
ok: [fab1]
ok: [spine2]
ok: [leaf2]
ok: [leaf3]
TASK [debug the result] ********************************************************
skipping: [fab1]
skipping: [spine1]
skipping: [spine2]
skipping: [leaf1]
skipping: [leaf2]
skipping: [leaf3]
PLAY [basic L2/L3 for fabric switches] *****************************************
TASK [switch : print JSON input for this play] *********************************
skipping: [fab1]
TASK [switch : configure the switch] *******************************************
changed: [fab1]
TASK [switch : result from the switch] *****************************************
skipping: [fab1]
PLAY [basic L2/L3 for spine switches] ******************************************
TASK [switch : print JSON input for this play] *********************************
skipping: [spine1]
skipping: [spine2]
TASK [switch : configure the switch] *******************************************
changed: [spine2]
changed: [spine1]
TASK [switch : result from the switch] *****************************************
skipping: [spine1]
skipping: [spine2]
PLAY [basic L2/L3 for leaf switches] *******************************************
TASK [switch : print JSON input for this play] *********************************
skipping: [leaf1]
skipping: [leaf2]
skipping: [leaf3]
TASK [switch : configure the switch] *******************************************
changed: [leaf3]
changed: [leaf2]
changed: [leaf1]
TASK [switch : result from the switch] *****************************************
skipping: [leaf1]
skipping: [leaf2]
skipping: [leaf3]
PLAY [BGP for fabric switches] *************************************************
TASK [bgp : print JSON input for this play] ************************************
skipping: [fab1]
TASK [bgp : configure the bgp role] ********************************************
changed: [fab1]
TASK [bgp : result from the switch] ********************************************
skipping: [fab1]
PLAY [BGP for spine switches] **************************************************
TASK [bgp : print JSON input for this play] ************************************
skipping: [spine1]
skipping: [spine2]
TASK [bgp : configure the bgp role] ********************************************
changed: [spine1]
changed: [spine2]
TASK [bgp : result from the switch] ********************************************
skipping: [spine1]
skipping: [spine2]
PLAY [BGP for leaf switches] ***************************************************
TASK [bgp : print JSON input for this play] ************************************
skipping: [leaf1]
skipping: [leaf2]
skipping: [leaf3]
TASK [bgp : configure the bgp role] ********************************************
changed: [leaf2]
changed: [leaf1]
changed: [leaf3]
TASK [bgp : result from the switch] ********************************************
skipping: [leaf1]
skipping: [leaf2]
skipping: [leaf3]
PLAY [verify the switch configuration] *****************************************
TASK [show running-config] *****************************************************
ok: [spine1]
ok: [leaf1]
ok: [leaf2]
ok: [fab1]
ok: [spine2]
ok: [leaf3]
TASK [print out the result] ****************************************************
ok: [fab1] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname fab1\n!\n!\n!\n!\nrouter bgp 65000\n bgp router-id 172.16.0.1\n network 172.16.0.0/24\n network 172.16.1.0/24\n network 172.16.2.0/24\n neighbor 172.16.1.2 remote-as 65001\n neighbor 172.16.2.2 remote-as 65002\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.0.1/24\ninterface 2 \n no shutdown\n ip address 172.16.1.1/24\ninterface 3 \n no shutdown\n ip address 172.16.2.1/24\ninterface 4 \n no shutdown\n no routing\n vlan access 1\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname fab1",
"!",
"!",
"!",
"!",
"router bgp 65000",
" bgp router-id 172.16.0.1",
" network 172.16.0.0/24",
" network 172.16.1.0/24",
" network 172.16.2.0/24",
" neighbor 172.16.1.2 remote-as 65001",
" neighbor 172.16.2.2 remote-as 65002",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.0.1/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.1.1/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.2.1/24",
"interface 4 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
ok: [spine1] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname spine1\n!\n!\n!\n!\nrouter bgp 65001\n bgp router-id 172.16.1.2\n network 172.16.1.0/24\n network 172.16.11.0/24\n network 172.16.12.0/24\n network 172.16.13.0/24\n neighbor 172.16.1.1 remote-as 65000\n neighbor 172.16.11.2 remote-as 65003\n neighbor 172.16.12.2 remote-as 65004\n neighbor 172.16.13.2 remote-as 65005\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.1.2/24\ninterface 2 \n no shutdown\n ip address 172.16.11.1/24\ninterface 3 \n no shutdown\n ip address 172.16.12.1/24\ninterface 4 \n no shutdown\n ip address 172.16.13.1/24\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname spine1",
"!",
"!",
"!",
"!",
"router bgp 65001",
" bgp router-id 172.16.1.2",
" network 172.16.1.0/24",
" network 172.16.11.0/24",
" network 172.16.12.0/24",
" network 172.16.13.0/24",
" neighbor 172.16.1.1 remote-as 65000",
" neighbor 172.16.11.2 remote-as 65003",
" neighbor 172.16.12.2 remote-as 65004",
" neighbor 172.16.13.2 remote-as 65005",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.1.2/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.11.1/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.12.1/24",
"interface 4 ",
" no shutdown",
" ip address 172.16.13.1/24",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
ok: [spine2] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname spine2\n!\n!\n!\n!\nrouter bgp 65002\n bgp router-id 172.16.2.2\n network 172.16.2.0/24\n network 172.16.21.0/24\n network 172.16.22.0/24\n network 172.16.23.0/24\n neighbor 172.16.2.1 remote-as 65000\n neighbor 172.16.21.2 remote-as 65003\n neighbor 172.16.22.2 remote-as 65004\n neighbor 172.16.23.2 remote-as 65005\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.2.2/24\ninterface 2 \n no shutdown\n ip address 172.16.21.1/24\ninterface 3 \n no shutdown\n ip address 172.16.22.1/24\ninterface 4 \n no shutdown\n ip address 172.16.23.1/24\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname spine2",
"!",
"!",
"!",
"!",
"router bgp 65002",
" bgp router-id 172.16.2.2",
" network 172.16.2.0/24",
" network 172.16.21.0/24",
" network 172.16.22.0/24",
" network 172.16.23.0/24",
" neighbor 172.16.2.1 remote-as 65000",
" neighbor 172.16.21.2 remote-as 65003",
" neighbor 172.16.22.2 remote-as 65004",
" neighbor 172.16.23.2 remote-as 65005",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.2.2/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.21.1/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.22.1/24",
"interface 4 ",
" no shutdown",
" ip address 172.16.23.1/24",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
ok: [leaf1] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname leaf1\n!\n!\n!\n!\nrouter bgp 65003\n bgp router-id 172.16.11.2\n network 172.16.11.0/24\n network 172.16.21.0/24\n network 172.16.30.0/24\n neighbor 172.16.11.1 remote-as 65001\n neighbor 172.16.21.1 remote-as 65002\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.11.2/24\ninterface 2 \n no shutdown\n ip address 172.16.21.2/24\ninterface 3 \n no shutdown\n ip address 172.16.30.1/24\ninterface 4 \n no shutdown\n no routing\n vlan access 1\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname leaf1",
"!",
"!",
"!",
"!",
"router bgp 65003",
" bgp router-id 172.16.11.2",
" network 172.16.11.0/24",
" network 172.16.21.0/24",
" network 172.16.30.0/24",
" neighbor 172.16.11.1 remote-as 65001",
" neighbor 172.16.21.1 remote-as 65002",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.11.2/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.21.2/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.30.1/24",
"interface 4 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
ok: [leaf2] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname leaf2\n!\n!\n!\n!\nrouter bgp 65004\n bgp router-id 172.16.12.2\n network 172.16.12.0/24\n network 172.16.22.0/24\n network 172.16.40.0/24\n neighbor 172.16.12.1 remote-as 65001\n neighbor 172.16.22.1 remote-as 65002\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.12.2/24\ninterface 2 \n no shutdown\n ip address 172.16.22.2/24\ninterface 3 \n no shutdown\n ip address 172.16.40.1/24\ninterface 4 \n no shutdown\n no routing\n vlan access 1\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname leaf2",
"!",
"!",
"!",
"!",
"router bgp 65004",
" bgp router-id 172.16.12.2",
" network 172.16.12.0/24",
" network 172.16.22.0/24",
" network 172.16.40.0/24",
" neighbor 172.16.12.1 remote-as 65001",
" neighbor 172.16.22.1 remote-as 65002",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.12.2/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.22.2/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.40.1/24",
"interface 4 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
ok: [leaf3] => {
"result": {
"changed": false,
"stdout": [
"Current configuration:\n!\nhostname leaf3\n!\n!\n!\n!\nrouter bgp 65005\n bgp router-id 172.16.13.2\n network 172.16.13.0/24\n network 172.16.23.0/24\n network 172.16.50.0/24\n neighbor 172.16.13.1 remote-as 65001\n neighbor 172.16.23.1 remote-as 65002\n!\nvlan 1\n no shutdown\nvlan 10\ninterface 1 \n no shutdown\n ip address 172.16.13.2/24\ninterface 2 \n no shutdown\n ip address 172.16.23.2/24\ninterface 3 \n no shutdown\n ip address 172.16.50.1/24\ninterface 4 \n no shutdown\n no routing\n vlan access 1\ninterface 5 \n no shutdown\n no routing\n vlan access 1\ninterface 6 \n no shutdown\n no routing\n vlan access 1\ninterface 7 \n no shutdown\n no routing\n vlan access 1\ninterface 8 \n no shutdown\n no routing\n vlan access 1\ninterface 9 \n no shutdown\n no routing\n vlan access 1\ninterface 10 \n no shutdown\n no routing\n vlan access 1\ninterface 11 \n no shutdown\n no routing\n vlan access 1\ninterface 12 \n no shutdown\n no routing\n vlan access 1\ninterface 13 \n no shutdown\n no routing\n vlan access 1\ninterface 14 \n no shutdown\n no routing\n vlan access 1\ninterface 15 \n no shutdown\n no routing\n vlan access 1\ninterface 16 \n no shutdown\n no routing\n vlan access 1\ninterface 17 \n no shutdown\n no routing\n vlan access 1\ninterface 18 \n no shutdown\n no routing\n vlan access 1\ninterface 19 \n no shutdown\n no routing\n vlan access 1\ninterface 20 \n no shutdown\n no routing\n vlan access 1\ninterface 21 \n no shutdown\n no routing\n vlan access 1\ninterface 22 \n no shutdown\n no routing\n vlan access 1\ninterface 23 \n no shutdown\n no routing\n vlan access 1\ninterface 24 \n no shutdown\n no routing\n vlan access 1\ninterface 25 \n no shutdown\n no routing\n vlan access 1\ninterface 26 \n no shutdown\n no routing\n vlan access 1\ninterface 27 \n no shutdown\n no routing\n vlan access 1\ninterface 28 \n no shutdown\n no routing\n vlan access 1\ninterface 29 \n no shutdown\n no routing\n vlan access 1\ninterface 30 \n no shutdown\n no routing\n vlan access 1\ninterface 31 \n no shutdown\n no routing\n vlan access 1\ninterface 32 \n no shutdown\n no routing\n vlan access 1\ninterface 33 \n no shutdown\n no routing\n vlan access 1\ninterface 34 \n no shutdown\n no routing\n vlan access 1\ninterface 35 \n no shutdown\n no routing\n vlan access 1\ninterface 36 \n no shutdown\n no routing\n vlan access 1\ninterface 37 \n no shutdown\n no routing\n vlan access 1\ninterface 38 \n no shutdown\n no routing\n vlan access 1\ninterface 39 \n no shutdown\n no routing\n vlan access 1\ninterface 40 \n no shutdown\n no routing\n vlan access 1\ninterface 41 \n no shutdown\n no routing\n vlan access 1\ninterface 42 \n no shutdown\n no routing\n vlan access 1\ninterface 43 \n no shutdown\n no routing\n vlan access 1\ninterface 44 \n no shutdown\n no routing\n vlan access 1\ninterface 45 \n no shutdown\n no routing\n vlan access 1\ninterface 46 \n no shutdown\n no routing\n vlan access 1\ninterface 47 \n no shutdown\n no routing\n vlan access 1\ninterface 48 \n no shutdown\n no routing\n vlan access 1"
],
"stdout_lines": [
[
"Current configuration:",
"!",
"hostname leaf3",
"!",
"!",
"!",
"!",
"router bgp 65005",
" bgp router-id 172.16.13.2",
" network 172.16.13.0/24",
" network 172.16.23.0/24",
" network 172.16.50.0/24",
" neighbor 172.16.13.1 remote-as 65001",
" neighbor 172.16.23.1 remote-as 65002",
"!",
"vlan 1",
" no shutdown",
"vlan 10",
"interface 1 ",
" no shutdown",
" ip address 172.16.13.2/24",
"interface 2 ",
" no shutdown",
" ip address 172.16.23.2/24",
"interface 3 ",
" no shutdown",
" ip address 172.16.50.1/24",
"interface 4 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 5 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 6 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 7 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 8 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 9 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 10 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 11 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 12 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 13 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 14 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 15 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 16 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 17 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 18 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 19 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 20 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 21 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 22 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 23 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 24 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 25 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 26 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 27 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 28 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 29 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 30 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 31 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 32 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 33 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 34 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 35 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 36 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 37 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 38 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 39 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 40 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 41 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 42 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 43 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 44 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 45 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 46 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 47 ",
" no shutdown",
" no routing",
" vlan access 1",
"interface 48 ",
" no shutdown",
" no routing",
" vlan access 1"
]
]
}
}
PLAY [wait for BGP peering up] *************************************************
TASK [pause] *******************************************************************
Pausing for 30 seconds
(ctrl+C then 'C' = continue early, ctrl+C then 'A' = abort)
ok: [fab1]
PLAY [verify BGP peering] ******************************************************
TASK [show ip bgp neighbors] ***************************************************
ok: [spine2]
ok: [leaf1]
ok: [leaf2]
ok: [spine1]
ok: [fab1]
ok: [leaf3]
TASK [print out the result] ****************************************************
ok: [fab1] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.1.2, remote-as: 65001\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1844\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1844\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n\n name: 172.16.2.2, remote-as: 65002\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1901\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1844\n bgp_peer_update_in_count: 4\n bgp_peer_update_out_count: 3\n bgp_peer_uptime: 1870\n"
],
"stdout_lines": [
[
" name: 172.16.1.2, remote-as: 65001",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1844",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1844",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
"",
" name: 172.16.2.2, remote-as: 65002",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1901",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1844",
" bgp_peer_update_in_count: 4",
" bgp_peer_update_out_count: 3",
" bgp_peer_uptime: 1870",
""
]
]
}
}
ok: [leaf1] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.11.1, remote-as: 65001\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 1\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1926\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1889\n bgp_peer_update_in_count: 7\n bgp_peer_update_out_count: 3\n bgp_peer_uptime: 1895\n\n name: 172.16.21.1, remote-as: 65002\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1889\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1889\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n"
],
"stdout_lines": [
[
" name: 172.16.11.1, remote-as: 65001",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 1",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1926",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1889",
" bgp_peer_update_in_count: 7",
" bgp_peer_update_out_count: 3",
" bgp_peer_uptime: 1895",
"",
" name: 172.16.21.1, remote-as: 65002",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1889",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1889",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
""
]
]
}
}
ok: [leaf2] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.12.1, remote-as: 65001\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 1\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1926\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1888\n bgp_peer_update_in_count: 7\n bgp_peer_update_out_count: 3\n bgp_peer_uptime: 1895\n\n name: 172.16.22.1, remote-as: 65002\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1888\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1888\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n"
],
"stdout_lines": [
[
" name: 172.16.12.1, remote-as: 65001",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 1",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1926",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1888",
" bgp_peer_update_in_count: 7",
" bgp_peer_update_out_count: 3",
" bgp_peer_uptime: 1895",
"",
" name: 172.16.22.1, remote-as: 65002",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1888",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1888",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
""
]
]
}
}
ok: [spine1] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.1.1, remote-as: 65000\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1861\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1861\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n\n name: 172.16.11.2, remote-as: 65003\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1896\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1861\n bgp_peer_update_in_count: 3\n bgp_peer_update_out_count: 7\n bgp_peer_uptime: 1895\n\n name: 172.16.12.2, remote-as: 65004\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1896\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1861\n bgp_peer_update_in_count: 3\n bgp_peer_update_out_count: 7\n bgp_peer_uptime: 1895\n\n name: 172.16.13.2, remote-as: 65005\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1898\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1861\n bgp_peer_update_in_count: 6\n bgp_peer_update_out_count: 5\n bgp_peer_uptime: 1897\n"
],
"stdout_lines": [
[
" name: 172.16.1.1, remote-as: 65000",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1861",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1861",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
"",
" name: 172.16.11.2, remote-as: 65003",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1896",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1861",
" bgp_peer_update_in_count: 3",
" bgp_peer_update_out_count: 7",
" bgp_peer_uptime: 1895",
"",
" name: 172.16.12.2, remote-as: 65004",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1896",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1861",
" bgp_peer_update_in_count: 3",
" bgp_peer_update_out_count: 7",
" bgp_peer_uptime: 1895",
"",
" name: 172.16.13.2, remote-as: 65005",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1898",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1861",
" bgp_peer_update_in_count: 6",
" bgp_peer_update_out_count: 5",
" bgp_peer_uptime: 1897",
""
]
]
}
}
ok: [spine2] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.2.1, remote-as: 65000\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 1\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1871\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1862\n bgp_peer_update_in_count: 3\n bgp_peer_update_out_count: 4\n bgp_peer_uptime: 1870\n\n name: 172.16.21.2, remote-as: 65003\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1862\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1862\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n\n name: 172.16.22.2, remote-as: 65004\n state: Active\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 0\n bgp_peer_keepalive_in_count: 0\n bgp_peer_keepalive_out_count: 0\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 0\n bgp_peer_readtime: 1862\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1862\n bgp_peer_update_in_count: 0\n bgp_peer_update_out_count: 0\n bgp_peer_uptime: 0\n\n name: 172.16.23.2, remote-as: 65005\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 0\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1924\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1862\n bgp_peer_update_in_count: 6\n bgp_peer_update_out_count: 4\n bgp_peer_uptime: 1893\n"
],
"stdout_lines": [
[
" name: 172.16.2.1, remote-as: 65000",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 1",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1871",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1862",
" bgp_peer_update_in_count: 3",
" bgp_peer_update_out_count: 4",
" bgp_peer_uptime: 1870",
"",
" name: 172.16.21.2, remote-as: 65003",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1862",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1862",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
"",
" name: 172.16.22.2, remote-as: 65004",
" state: Active",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 0",
" bgp_peer_keepalive_in_count: 0",
" bgp_peer_keepalive_out_count: 0",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 0",
" bgp_peer_readtime: 1862",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1862",
" bgp_peer_update_in_count: 0",
" bgp_peer_update_out_count: 0",
" bgp_peer_uptime: 0",
"",
" name: 172.16.23.2, remote-as: 65005",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 0",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1924",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1862",
" bgp_peer_update_in_count: 6",
" bgp_peer_update_out_count: 4",
" bgp_peer_uptime: 1893",
""
]
]
}
}
ok: [leaf3] => {
"result": {
"changed": false,
"stdout": [
" name: 172.16.13.1, remote-as: 65001\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 1\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1898\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1889\n bgp_peer_update_in_count: 5\n bgp_peer_update_out_count: 6\n bgp_peer_uptime: 1897\n\n name: 172.16.23.1, remote-as: 65002\n state: Established\n tcp_port_number: 179\n\n statistics:\n bgp_peer_dropped_count: 0\n bgp_peer_dynamic_cap_in_count: 0\n bgp_peer_dynamic_cap_out_count: 0\n bgp_peer_established_count: 1\n bgp_peer_keepalive_in_count: 1\n bgp_peer_keepalive_out_count: 2\n bgp_peer_notify_in_count: 0\n bgp_peer_notify_out_count: 0\n bgp_peer_open_in_count: 1\n bgp_peer_open_out_count: 1\n bgp_peer_readtime: 1894\n bgp_peer_refresh_in_count: 0\n bgp_peer_refresh_out_count: 0\n bgp_peer_resettime: 1889\n bgp_peer_update_in_count: 4\n bgp_peer_update_out_count: 6\n bgp_peer_uptime: 1893\n"
],
"stdout_lines": [
[
" name: 172.16.13.1, remote-as: 65001",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 1",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1898",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1889",
" bgp_peer_update_in_count: 5",
" bgp_peer_update_out_count: 6",
" bgp_peer_uptime: 1897",
"",
" name: 172.16.23.1, remote-as: 65002",
" state: Established",
" tcp_port_number: 179",
"",
" statistics:",
" bgp_peer_dropped_count: 0",
" bgp_peer_dynamic_cap_in_count: 0",
" bgp_peer_dynamic_cap_out_count: 0",
" bgp_peer_established_count: 1",
" bgp_peer_keepalive_in_count: 1",
" bgp_peer_keepalive_out_count: 2",
" bgp_peer_notify_in_count: 0",
" bgp_peer_notify_out_count: 0",
" bgp_peer_open_in_count: 1",
" bgp_peer_open_out_count: 1",
" bgp_peer_readtime: 1894",
" bgp_peer_refresh_in_count: 0",
" bgp_peer_refresh_out_count: 0",
" bgp_peer_resettime: 1889",
" bgp_peer_update_in_count: 4",
" bgp_peer_update_out_count: 6",
" bgp_peer_uptime: 1893",
""
]
]
}
}
PLAY [verify IP routing table (RIB)] *******************************************
TASK [setup] *******************************************************************
ok: [leaf1]
ok: [leaf2]
ok: [spine2]
ok: [spine1]
ok: [fab1]
ok: [leaf3]
TASK [show ip route] ***********************************************************
ok: [fab1]
ok: [leaf2]
ok: [spine1]
ok: [leaf1]
ok: [spine2]
ok: [leaf3]
TASK [print out the result] ****************************************************
ok: [fab1] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.30.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.12.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.2.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.11.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.21.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.0.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n172.16.40.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.23.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.22.0/24, 1 unicast next-hops \n\tvia 172.16.2.2, [20/0], bgp\n172.16.1.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.2, [20/0], bgp",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
""
]
]
}
}
ok: [spine1] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.12.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.21.0/24, 1 unicast next-hops \n\tvia 172.16.11.2, [20/0], bgp\n172.16.2.0/24, 1 unicast next-hops \n\tvia 172.16.13.2, [20/0], bgp\n172.16.40.0/24, 1 unicast next-hops \n\tvia 172.16.12.2, [20/0], bgp\n172.16.30.0/24, 1 unicast next-hops \n\tvia 172.16.11.2, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 172.16.13.2, [20/0], bgp\n172.16.0.0/24, 1 unicast next-hops \n\tvia 172.16.13.2, [20/0], bgp\n172.16.1.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n172.16.11.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n172.16.22.0/24, 1 unicast next-hops \n\tvia 172.16.12.2, [20/0], bgp\n172.16.23.0/24, 1 unicast next-hops \n\tvia 172.16.13.2, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 4, [0/0], connected\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.2, [20/0], bgp",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.2, [20/0], bgp",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.2, [20/0], bgp",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.2, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.2, [20/0], bgp",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.2, [20/0], bgp",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.2, [20/0], bgp",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.2, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 4, [0/0], connected",
""
]
]
}
}
ok: [leaf1] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.0.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.23.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.22.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.12.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.21.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n172.16.1.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.30.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.2.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.40.0/24, 1 unicast next-hops \n\tvia 172.16.11.1, [20/0], bgp\n172.16.11.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 172.16.11.1, [20/0], bgp",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
""
]
]
}
}
ok: [spine2] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.12.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.30.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.40.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.22.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.2.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n172.16.1.0/24, 1 unicast next-hops \n\tvia 172.16.2.1, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.23.0/24, 1 unicast next-hops \n\tvia 4, [0/0], connected\n172.16.0.0/24, 1 unicast next-hops \n\tvia 172.16.2.1, [20/0], bgp\n172.16.11.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 172.16.23.2, [20/0], bgp\n172.16.21.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.1, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 4, [0/0], connected",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 172.16.2.1, [20/0], bgp",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.2, [20/0], bgp",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
""
]
]
}
}
ok: [leaf2] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.40.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.21.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.2.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.23.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.11.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.1.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.22.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n172.16.0.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.30.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 172.16.12.1, [20/0], bgp\n172.16.12.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 172.16.12.1, [20/0], bgp",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
""
]
]
}
}
ok: [leaf3] => {
"result": {
"changed": false,
"stdout": [
"\nDisplaying ipv4 routes selected for forwarding\n\n'[x/y]' denotes [distance/metric]\n\n172.16.11.0/24, 1 unicast next-hops \n\tvia 172.16.13.1, [20/0], bgp\n172.16.22.0/24, 1 unicast next-hops \n\tvia 172.16.23.1, [20/0], bgp\n172.16.21.0/24, 1 unicast next-hops \n\tvia 172.16.23.1, [20/0], bgp\n172.16.0.0/24, 1 unicast next-hops \n\tvia 172.16.23.1, [20/0], bgp\n172.16.50.0/24, 1 unicast next-hops \n\tvia 3, [0/0], connected\n172.16.23.0/24, 1 unicast next-hops \n\tvia 2, [0/0], connected\n172.16.40.0/24, 1 unicast next-hops \n\tvia 172.16.13.1, [20/0], bgp\n172.16.30.0/24, 1 unicast next-hops \n\tvia 172.16.13.1, [20/0], bgp\n172.16.13.0/24, 1 unicast next-hops \n\tvia 1, [0/0], connected\n172.16.12.0/24, 1 unicast next-hops \n\tvia 172.16.13.1, [20/0], bgp\n172.16.1.0/24, 1 unicast next-hops \n\tvia 172.16.13.1, [20/0], bgp\n172.16.2.0/24, 1 unicast next-hops \n\tvia 172.16.23.1, [20/0], bgp\n"
],
"stdout_lines": [
[
"",
"Displaying ipv4 routes selected for forwarding",
"",
"'[x/y]' denotes [distance/metric]",
"",
"172.16.11.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.1, [20/0], bgp",
"172.16.22.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.1, [20/0], bgp",
"172.16.21.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.1, [20/0], bgp",
"172.16.0.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.1, [20/0], bgp",
"172.16.50.0/24, 1 unicast next-hops ",
"\tvia 3, [0/0], connected",
"172.16.23.0/24, 1 unicast next-hops ",
"\tvia 2, [0/0], connected",
"172.16.40.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.1, [20/0], bgp",
"172.16.30.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.1, [20/0], bgp",
"172.16.13.0/24, 1 unicast next-hops ",
"\tvia 1, [0/0], connected",
"172.16.12.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.1, [20/0], bgp",
"172.16.1.0/24, 1 unicast next-hops ",
"\tvia 172.16.13.1, [20/0], bgp",
"172.16.2.0/24, 1 unicast next-hops ",
"\tvia 172.16.23.1, [20/0], bgp",
""
]
]
}
}
PLAY RECAP *********************************************************************
fab1 : ok=12 changed=2 unreachable=0 failed=0
leaf1 : ok=11 changed=2 unreachable=0 failed=0
leaf2 : ok=11 changed=2 unreachable=0 failed=0
leaf3 : ok=11 changed=2 unreachable=0 failed=0
spine1 : ok=11 changed=2 unreachable=0 failed=0
spine2 : ok=11 changed=2 unreachable=0 failed=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment