Created
May 25, 2016 15:58
-
-
Save privateip/562aa722b7306f25f6d414cab38e8eae to your computer and use it in GitHub Desktop.
ansible ios_facts output
This file contains hidden or 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
(ansible)[ansible-ios]$ ansible -m ios_facts -a "host=ios01 username=cisco password=cisco authorize=true gather_subset=all" ios01 | |
ios01 | SUCCESS => { | |
"ansible_facts": { | |
"ansible_net_all_ipv4_addresses": [ | |
"172.26.4.30" | |
], | |
"ansible_net_all_ipv6_addresses": [], | |
"ansible_net_config": "Building configuration...\n\nCurrent configuration : 3205 bytes\n!\n! Last configuration change at 20:15:33 UTC Tue May 24 2016 by ********\n!\nversion 15.6\nservice timestamps debug datetime msec\nservice timestamps log datetime msec\nno service password-encryption\n!\nhostname veos01\n!\nboot-start-marker\nboot-end-marker\n!\n!\nvrf definition Mgmt-intf\n !\n address-family ipv4\n exit-address-family\n !\n address-family ipv6\n exit-address-family\n!\nno logging buffered\nlogging console informational\nenable password ********\n!\nno aaa new-model\nethernet lmi ce\n!\n!\n!\nmmi polling-interval 60\nno mmi auto-configure\nno mmi pvc\nmmi snmp-timeout 180\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\nip domain list eng.ansible.com\nip domain name eng.ansible.com\nip name-server vrf Mgmt-intf 172.26.1.1\nip name-server 172.26.1.1\nip cef\nlogin on-success log\nipv6 unicast-routing\nipv6 cef\n!\nmultilink bundle-name authenticated\n!\n!\n!\n!\nusername ******** privilege 15 secret 5 $1$PJzX$yJTl1Ooi7FtpyikBKJD8Q1\nusername test secret 5 $1$/YyJ$zbq7JqE1Op0h00qsJ6UlH/\n!\nredundancy\n!\nlldp run\n!\n! \n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\n!\ninterface GigabitEthernet0/0\n description OOB Management\n vrf forwarding Mgmt-intf\n ip address 172.26.4.30 255.255.255.0\n duplex full\n speed auto\n media-type rj45\n!\ninterface GigabitEthernet0/1\n no ip address\n shutdown\n duplex auto\n speed auto\n!\nno ip forward-protocol nd\n!\n!\nip http server\nno ip http secure-server\nip dns view vrf Mgmt-intf default\nip route vrf Mgmt-intf 0.0.0.0 0.0.0.0 172.26.4.254\nip ssh server algorithm authentication password\nip scp server enable\n!\nip access-list extended ACL-AWSVPN-IN\n permit udp host 192.168.14.219 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.219 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.219 host 172.16.4.3\n permit ahp host 192.168.14.219 host 172.16.4.3\n permit udp host 192.168.14.199 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.199 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.199 host 172.16.4.3\n permit ahp host 192.168.14.199 host 172.16.4.3\n permit udp host 192.168.14.72 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.72 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.72 host 172.16.4.3\n permit ahp host 192.168.14.72 host 172.16.4.3\n permit udp host 192.168.14.105 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.105 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.105 host 172.16.4.3\n permit ahp host 192.168.14.105 host 172.16.4.3\n permit udp host 192.168.14.188 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.188 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.188 host 172.16.4.3\n permit ahp host 192.168.14.188 host 172.16.4.3\n permit udp host 192.168.14.135 host 172.16.4.3 eq isakmp\n permit udp host 192.168.14.135 host 172.16.4.3 eq non500-isakmp\n permit esp host 192.168.14.135 host 172.16.4.3\n permit ahp host 192.168.14.135 host 172.16.4.3\n deny ip any any\n!\nlogging snmp-trap emergencies\nlogging snmp-trap alerts\nlogging snmp-trap critical\nlogging snmp-trap errors\nlogging snmp-trap warnings\nlogging snmp-trap informational\n!\nsnmp-server chassis-id \n!\n!\ncontrol-plane\n!\n!\nline con 0\n password ********\nline aux 0\nline vty 0 4\n exec-timeout 720 0\n password ********\n login local\n transport input telnet ssh\n!\nno scheduler allocate\n!\nend\n", | |
"ansible_net_filesystems": [ | |
"flash0:", | |
"flash3:", | |
"archive:", | |
"system:", | |
"nvram:", | |
"tmpsys:" | |
], | |
"ansible_net_gather_subset": [ | |
"hardware", | |
"default", | |
"interfaces", | |
"config" | |
], | |
"ansible_net_hostname": "veos01", | |
"ansible_net_image": "flash0:/vios-adventerprisek9-m", | |
"ansible_net_interfaces": { | |
"GigabitEthernet0/0": { | |
"bandwidth": 1000000, | |
"description": "OOB Management", | |
"duplex": "Full", | |
"ipv4": { | |
"address": "172.26.4.30", | |
"masklen": 24 | |
}, | |
"lineprotocol": "up ", | |
"macaddress": "fa16.3e27.8cc8", | |
"mediatype": "RJ45", | |
"mtu": 1500, | |
"operstatus": "up", | |
"type": "iGbE" | |
}, | |
"GigabitEthernet0/1": { | |
"bandwidth": 1000000, | |
"description": null, | |
"duplex": "Auto", | |
"ipv4": null, | |
"lineprotocol": "down ", | |
"macaddress": "fa16.3ec0.1e7f", | |
"mediatype": "RJ45", | |
"mtu": 1500, | |
"operstatus": "administratively down", | |
"type": "iGbE" | |
} | |
}, | |
"ansible_net_memfree_mb": 62835, | |
"ansible_net_memtotal_mb": 340167, | |
"ansible_net_model": "IOSv", | |
"ansible_net_neighbors": { | |
"Gi0/0": [ | |
{ | |
"host": "clvx03.eng.ansible.com", | |
"port": "eth0" | |
}, | |
{ | |
"host": "veos04.eng.ansible.com", | |
"port": "Management1" | |
}, | |
{ | |
"host": "veos01.eng.ansible.com", | |
"port": "Management1" | |
}, | |
{ | |
"host": "veos03.eng.ansible.com", | |
"port": "Management1" | |
}, | |
{ | |
"host": "clvx02.eng.ansible.com", | |
"port": "eth0" | |
}, | |
{ | |
"host": "clvx04.eng.ansible.com", | |
"port": "eth0" | |
}, | |
{ | |
"host": "foo.eng.ansible.com", | |
"port": "Management1" | |
}, | |
{ | |
"host": "clvx01.eng.ansible.com", | |
"port": "eth0" | |
}, | |
{ | |
"host": "netdev", | |
"port": "0050.56bc.cc6a" | |
} | |
] | |
}, | |
"ansible_net_serialnum": "9A68OB81TNGGLPHNZ0EEI", | |
"ansible_net_version": "15.6(1)T" | |
}, | |
"changed": false | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment