Created
February 23, 2024 06:19
-
-
Save rohitthakur2590/aa140dbf2e1b4f567c3ea79642a329c0 to your computer and use it in GitHub Desktop.
EOS FACTS OUTPUT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- name: Play for Sean Issue | |
hosts: eos | |
collections: | |
- arista.eos | |
tasks: | |
- name: Gather arista eos facts | |
arista.eos.eos_facts: | |
gather_subset: config | |
gather_network_resources: "{{ network_resource | default('!bgp_global,!bgp_address_family') }}" | |
register: find_the_routes | |
- name: Display Facts | |
ansible.builtin.debug: | |
msg: "{{ find_the_routes }}" | |
OUTPUT: | |
TASK [Display Facts] ************************************************************************************************************************************************************************* | |
task path: /home/rothakur/ansible-collections/collections/ansible_collections/playbooks/eos/bgp_static_routes/sean.yaml:13 | |
redirecting (type: become) ansible.builtin.enable to ansible.netcommon.enable | |
ok: [192.168.29.6] => | |
msg: | |
ansible_facts: | |
ansible_net_api: cliconf | |
ansible_net_config: |- | |
! Command: show running-config | |
! device: candidate-arista-11 (vEOS, EOS-4.24.6M) | |
! | |
! boot system flash:/vEOS-lab.swi | |
! | |
transceiver qsfp default-mode 4x10G | |
! | |
service routing protocols model ribd | |
! | |
logging buffered 81926 | |
logging source-interface Loopback6 | |
! | |
hostname candidate_arista_11 | |
ip name-server vrf default 1.1.1.1 | |
dns domain ansible.test | |
! | |
ntp server 1.1.1.1 local-interface Management1 | |
! | |
spanning-tree mode mstp | |
! | |
enable password sha512 $6$564ex9PpX2GFfJow$hNQ.0oKDPaFWC1NouHXZvOBk5Iutk71gyZDairQKQIqbZvNWiNYhuNEYBiX579xiK5HuLRgRNknd5dWmQNr3Y1 | |
no aaa root | |
aaa authentication policy local allow-nopassword-remote-login | |
! | |
username admin privilege 15 role network-admin secret sha512 $6$xrGRFpYiv6rWgk5j$M.rjd0nHdhcxNXe95YcevTNBcYNt6M8uPb.EHHB56sEVgeCwRwZUyl81yP.Cd1V9WlQ6dIjAiovUPZ1TnllE41 | |
username ansible secret sha512 $6$Q6sPqQHMxteOgkl1$CU815VuqE1ddO9VVpWa1PtlrIM.4oHc7V80fD89zLSzY4nEqVcPfWmq6KTcpHfs9sWZW2T2trBXP5ZIDvu09X1 | |
username automator privilege 15 role network-admin nopassword | |
username automator ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABgQCpT6MYoW/Xx+WDehmB9P1Lj0kDyM3Hy7Vvrmz8cUugbKJ4PPpGsZYfIQqry9Vq62UjrUQIJ0uq9VjbeQngaz2Cc1x5ZVIOhK9XP+QhZ1hI09mb+lBfZHahHllQB3KrbIWHSGi8aZiqJ/iwK+FnIwGdgki/AyY+p6faJrMRDL+GRzhw1YcZpbgaX1Gw5p/zBThuag/ilrx02MAwt6kYU+jC19ndfkNPJVYnDxpfAXJ5DH+imdXFtsTxN45lJwaXrxmS48FDacF1v2FZwzN8sBztkIxIXKg68L50jr14D4IP/sntnowqPvsiWjP86+je076W6psdCsL3ePJWMqcymxN37OPUe6DAy/iQ+ZGrR6ZjE/agclF1SQz30ckzNlOMiD8WqXPjOzT7BikJ/oqYCW/Cb3R02qlCPvvAavmowuKgMxA4anDzin0ot64h5ICrrNVbX5eA95tDAt2HHihpWfPMoyisH+zH/dmqluhnksP69ls2rVP+XZ14yW1hg353/sU= rothakur@fedora | |
username test secret sha512 $6$dB8mUf.aJERmX6cm$HVHjYI/vxGFpa6HfVc5/OBw7wbmC.6oMZw7NjxOHIy/a.I8hTmCIHAvf2jM/NIzNTtRoNZ3cj06V36ykI.snc0 | |
username zuul privilege 15 nopassword | |
username zuul ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQDI3XA0A84nUpCr9mfkrDjBdoNFtYMXqXMm2+WsGrOJUA2ESodUDDfTKmsA/xEygdCnj8JfSC3SYhc0uKHVe0RdG20mzntUqD50kB0STFeOHh3ee7FXmMxcLqLlyY9pJkn1V5WOi/D1Lbz8MwRUVBfqufryavwHla/9CPuAtPcut8mTUB0+Rapnv8W3n4dA6PqHNW1tylJUXj6P4trJPnFrdfMaIxc21tfd/QrMM4h90phW3zNILE0qF9UHpQxP0zew/LcD9rc+IhnbgC3DeCQDyiqJOsJRDo58RuwWmQHCF0SfiFQJ4qwrc6TFSJqSdi2aRY0S/vRMbXkD+6Hg2KWQyz6Z6EpY7RARletqJwNnzuuhXr2HSCj5QALe+0U/aUEX+dnydYBX6Nqa+0Rz/qV5aUk4YP1C2/dBCAdbYXPotBT6QBfekE428mJV8Mr7G/M7kwZ8v9WjytyJ8/FYNuekYDWonk6QTwDgQhMTiQI3Yxnu3ID63BL959lfUIv96bsifVI6/D36KTAdFi/dl7Omn5MZ9A5JXA7l+yEJKf4pcPTpQcPbjGSKyaPu0uffEjV9CTr3+VMwzq1uenxGDQ9cT/ud4pEEjwU/ihr6yttouTCvDu9ydrflHljUXxf+X00NW7HkrHnvS43AGnxQzi9g2lTOC9yDlDGbQjmnVjec7w== zuul-executor | |
! | |
vrf instance testvrf | |
! | |
vrf instance vrftest1 | |
! | |
interface Ethernet1 | |
no switchport | |
! | |
interface Ethernet2 | |
description "This is candidate config 22" | |
shutdown | |
no switchport | |
! | |
interface Management0 | |
ip address dhcp | |
! | |
interface Management1 | |
ip address dhcp | |
dhcp client accept default-route | |
! | |
interface Vlan100 | |
ip address virtual 192.13.45.12/24 | |
ip address virtual 192.13.45.13/24 secondary | |
! | |
ipv6 access-list test2 | |
10 deny icmpv6 any any reject-route hop-limit eq 20 | |
! | |
ip access-list test1 | |
10 permit ip 10.10.10.0/24 any ttl eq 200 | |
20 permit ip 10.30.10.0/24 host 10.20.10.1 | |
30 deny tcp host 10.10.20.1 eq finger www any syn log | |
40 permit ip any any | |
50 deny tcp host 10.10.20.1 eq finger www any syn log | |
! | |
ip routing | |
no ip routing vrf testvrf | |
no ip routing vrf vrftest1 | |
! | |
ip route vrf testvrf 120.1.1.0/24 Management1 | |
! | |
management api http-commands | |
protocol http | |
protocol unix-socket | |
no shutdown | |
! | |
end | |
ansible_net_fqdn: candidate_arista_11.ansible.test | |
ansible_net_gather_network_resources: | |
- static_routes | |
- route_maps | |
- l3_interfaces | |
- lldp_global | |
- ospfv2 | |
- hostname | |
- logging_global | |
- interfaces | |
- lldp_interfaces | |
- vlans | |
- ntp_global | |
- ospf_interfaces | |
- acl_interfaces | |
- lacp | |
- ospfv3 | |
- acls | |
- lag_interfaces | |
- prefix_lists | |
- snmp_server | |
- lacp_interfaces | |
- l2_interfaces | |
ansible_net_gather_subset: | |
- config | |
- default | |
ansible_net_hostname: candidate_arista_11 | |
ansible_net_image: flash:/vEOS-lab.swi | |
ansible_net_model: vEOS | |
ansible_net_python_version: 3.11.7 | |
ansible_net_serialnum: '' | |
ansible_net_system: eos | |
ansible_net_version: 4.24.6M | |
ansible_network_resources: | |
acl_interfaces: | |
- name: Ethernet1 | |
- name: Ethernet2 | |
- name: Management0 | |
- name: Management1 | |
- name: Vlan100 | |
acls: | |
- acls: | |
- aces: | |
- destination: | |
any: true | |
grant: permit | |
protocol: ip | |
sequence: 10 | |
source: | |
subnet_address: 10.10.10.0/24 | |
ttl: | |
eq: 200 | |
- destination: | |
host: 10.20.10.1 | |
grant: permit | |
protocol: ip | |
sequence: 20 | |
source: | |
subnet_address: 10.30.10.0/24 | |
- destination: | |
any: true | |
grant: deny | |
log: true | |
protocol: tcp | |
protocol_options: | |
tcp: | |
flags: | |
syn: true | |
sequence: 30 | |
source: | |
host: 10.10.20.1 | |
port_protocol: | |
eq: finger www | |
- destination: | |
any: true | |
grant: permit | |
protocol: ip | |
sequence: 40 | |
source: | |
any: true | |
- destination: | |
any: true | |
grant: deny | |
log: true | |
protocol: tcp | |
protocol_options: | |
tcp: | |
flags: | |
syn: true | |
sequence: 50 | |
source: | |
host: 10.10.20.1 | |
port_protocol: | |
eq: finger www | |
name: test1 | |
afi: ipv4 | |
- acls: | |
- aces: | |
- destination: | |
any: true | |
grant: deny | |
hop_limit: | |
eq: '20' | |
line: 10 deny icmpv6 any any reject_route hop_limit eq 20 | |
protocol: icmpv6 | |
protocol_options: | |
icmpv6: | |
reject_route: true | |
sequence: 10 | |
source: | |
any: true | |
name: test2 | |
afi: ipv6 | |
hostname: | |
hostname: candidate_arista_11 | |
interfaces: | |
- enabled: true | |
mode: layer3 | |
name: Ethernet1 | |
- description: This is candidate config 22 | |
enabled: false | |
mode: layer3 | |
name: Ethernet2 | |
- enabled: true | |
name: Management0 | |
- enabled: true | |
name: Management1 | |
- enabled: true | |
name: Vlan100 | |
l2_interfaces: | |
- name: Ethernet1 | |
- name: Ethernet2 | |
- name: Management0 | |
- name: Management1 | |
- name: Vlan100 | |
l3_interfaces: | |
- name: Ethernet1 | |
- name: Ethernet2 | |
- ipv4: | |
- address: dhcp | |
name: Management0 | |
- ipv4: | |
- address: dhcp | |
name: Management1 | |
- ipv4: | |
- address: 192.13.45.12/24 | |
virtual: true | |
- address: 192.13.45.13/24 | |
secondary: true | |
virtual: true | |
name: Vlan100 | |
lacp: {} | |
lag_interfaces: [] | |
lldp_global: {} | |
logging_global: | |
buffered: | |
buffer_size: 81926 | |
source_interface: Loopback6 | |
ntp_global: | |
servers: | |
- local_interface: Management1 | |
server: 1.1.1.1 | |
ospf_interfaces: | |
- name: Ethernet1 | |
- name: Ethernet2 | |
- name: Management0 | |
- name: Management1 | |
- name: Vlan100 | |
ospfv2: {} | |
ospfv3: [] | |
prefix_lists: [] | |
snmp_server: {} | |
static_routes: | |
- address_families: | |
- afi: ipv4 | |
routes: | |
- dest: 120.1.1.0/24 | |
next_hops: | |
- interface: Management1 | |
vrf: testvrf | |
changed: false | |
failed: false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment