Created
April 2, 2016 00:35
-
-
Save privateip/cd979aff53d7f4ba6fec854580e18a1d to your computer and use it in GitHub Desktop.
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-nxos]$ cat show.yaml | |
--- | |
- hosts: nxos03 | |
gather_facts: no | |
connection: local | |
tasks: | |
- name: return show commands output | |
nxos_command: | |
commands: | |
- show version | |
- show running-config | |
host: "{{ inventory_hostname }}" | |
username: admin | |
password: admin | |
register: output | |
- debug: var=output | |
(ansible)[ansible-nxos]$ | |
(ansible)[ansible-nxos]$ | |
(ansible)[ansible-nxos]$ | |
(ansible)[ansible-nxos]$ | |
(ansible)[ansible-nxos]$ | |
(ansible)[ansible-nxos]$ ansible-playbook show.yaml | |
PLAY [nxos03] ****************************************************************** | |
TASK [return show commands output] ********************************************* | |
ok: [nxos03] | |
TASK [debug] ******************************************************************* | |
ok: [nxos03] => { | |
"output": { | |
"changed": false, | |
"result": [], | |
"stdout": [ | |
"\nCisco Nexus Operating System (NX-OS) Software\nTAC support: http://www.cisco.com/tac\nDocuments: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html\nCopyright (c) 2002-2015, Cisco Systems, Inc. All rights reserved.\nThe copyrights to certain works contained herein are owned by\nother third parties and are used and distributed under license.\nSome parts of this software are covered under the GNU Public\nLicense. A copy of the license is available at\nhttp://www.gnu.org/licenses/gpl.html.\n\nNX-OSv is a demo version of the Nexus Operating System\n\nSoftware\n loader: version N/A\n kickstart: version 7.2(0)D1(1)\n system: version 7.2(0)D1(1)\n kickstart image file is: bootflash:///titanium-d1-kickstart.7.2.0.D1.1.bin\n kickstart compile time: 5/19/2015 11:00:00 [06/14/2015 21:28:08]\n system image file is: bootflash:///titanium-d1.7.2.0.D1.1.bin\n system compile time: 5/19/2015 11:00:00 [06/14/2015 23:41:06]\n\n\nHardware\n cisco NX-OSv Chassis (\"NX-OSv Supervisor Module\")\n QEMU Virtual CPU version 2.0 with 3064948 kB of memory.\n Processor Board ID TM3EFCD76CB\n\n Device name: nxos03\n bootflash: 1582402 kB\n\nKernel uptime is 38 day(s), 13 hour(s), 20 minute(s), 7 second(s)\n\n\nplugin\n Core Plugin, Ethernet Plugin\n", | |
"\n\n!Command: show running-config\n!Time: Sat Apr 2 00:42:35 2016\n\nversion 7.2(0)D1(1)\npower redundancy-mode redundant\nlicense grace-period\n\nhostname nxos03\nvdc nxos03 id 1\n limit-resource module-type m1 m1xl m2xl f2e \n allocate interface Ethernet2/1-48\n allocate interface Ethernet3/1-48\n allocate interface Ethernet4/1-48\n limit-resource vlan minimum 16 maximum 4094\n limit-resource vrf minimum 2 maximum 4096\n limit-resource port-channel minimum 0 maximum 768\n limit-resource u4route-mem minimum 96 maximum 96\n limit-resource u6route-mem minimum 24 maximum 24\n limit-resource m4route-mem minimum 58 maximum 58\n limit-resource m6route-mem minimum 8 maximum 8\n\nfeature telnet\nfeature bgp\nfeature lldp\nfeature nxapi\n\nusername ******** password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-********\nusername ********backup password 5 ! role network-operator\nusername ********backup passphrase lifetime 99999 warntime 14 gracetime 3\nusername cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator\nusername cisco role network-********\nusername cisco passphrase lifetime 99999 warntime 14 gracetime 3\nusername lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-********\nusername lab passphrase lifetime 99999 warntime 14 gracetime 3\nusername nxapi password 5 $5$3vi5YvOf$oq6KgDtk/tzDiL75YqzNayHFich6oBWiZkfn4qCnFp0 role network-operator\nusername nxapi passphrase lifetime 99999 warntime 14 gracetime 3\nno password strength-check\nip domain-lookup\nip domain-name eng.ansible.com\nip name-server 172.26.1.1 use-vrf management\nvlan dot1Q tag native\nsystem default switchport\nsystem jumbomtu 0\nno logging event trunk-status enable\ncopp profile strict\nsnmp-server contact network operations team\nsnmp-server location corporate data center\nsnmp-server user lab network-******** auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey\nsnmp-server user ******** network-******** auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey\nsnmp-server user cisco network-******** auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey\nsnmp-server user cisco network-operator\nsnmp-server user nxapi network-operator auth md5 0x19b57c317e136f46ad7bbc4fa9108966 priv 0x19b57c317e136f46ad7bbc4fa9108966 localizedkey\nsnmp-server user ******** auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0\nrmon event 1 log trap public description FATAL(1) owner PMON@FATAL\nrmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL\nrmon event 3 log trap public description ERROR(3) owner PMON@ERROR\nrmon event 4 log trap public description WARNING(4) owner PMON@WARNING\nrmon event 5 log trap public description INFORMATION(5) owner PMON@INFO\nsnmp-server enable traps link\nsnmp-server community private group network-********\nsnmp-server community operations group network-********\nsnmp-server community public group network-operator\nntp server 0.pool.ntp.org use-vrf management\nntp server 3.pool.ntp.org use-vrf management\nntp server 1.us.pool.ntp.org use-vrf management\nntp server 1.pool.ntp.org use-vrf management\nntp server 2.pool.ntp.org use-vrf management\nntp server 0.us.pool.ntp.org use-vrf management\nntp server 3.us.pool.ntp.org use-vrf management\nntp server 2.us.pool.ntp.org use-vrf management\nntp source-interface mgmt0\n\nvlan 1\n\nvrf context management\n ip route 172.26.0.0/16 172.26.4.1\nhardware forwarding unicast trace\n\n\ninterface mgmt0\n description OOB Management\n duplex full\n vrf member management\n ip address 172.26.4.18/24\n\ninterface Ethernet2/1\n shutdown\n switchport\n\ninterface Ethernet2/2\n shutdown\n switchport\n\ninterface Ethernet2/3\n description Ethernet2/3\n no switchport\n mac-address fa16.3e00.000d\n no shutdown\n\ninterface Ethernet2/4\n description Ethernet2/4\n no switchport\n mac-address fa16.3e00.000e\n no shutdown\n\ninterface Ethernet2/5\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/6\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/7\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/8\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/9\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/10\n description test config\n no switchport\n mac-address 0000.0000.002f\n ip address 10.1.1.1/24\n no shutdown\n\ninterface Ethernet2/11\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/12\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/13\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/14\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/15\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/16\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/17\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/18\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/19\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/20\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/21\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/22\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/23\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/24\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/25\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/26\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/27\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/28\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/29\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/30\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/31\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/32\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/33\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/34\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/35\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/36\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/37\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/38\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/39\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/40\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/41\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/42\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/43\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/44\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/45\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/46\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/47\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet2/48\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/1\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/2\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/3\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/4\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/5\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/6\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/7\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/8\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/9\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/10\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/11\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/12\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/13\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/14\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/15\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/16\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/17\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/18\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/19\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/20\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/21\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/22\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/23\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/24\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/25\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/26\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/27\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/28\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/29\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/30\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/31\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/32\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/33\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/34\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/35\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/36\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/37\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/38\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/39\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/40\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/41\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/42\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/43\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/44\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/45\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/46\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/47\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet3/48\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/1\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/2\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/3\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/4\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/5\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/6\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/7\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/8\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/9\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/10\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/11\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/12\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/13\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/14\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/15\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/16\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/17\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/18\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/19\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/20\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/21\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/22\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/23\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/24\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/25\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/26\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/27\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/28\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/29\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/30\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/31\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/32\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/33\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/34\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/35\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/36\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/37\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/38\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/39\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/40\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/41\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/42\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/43\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/44\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/45\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/46\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/47\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface Ethernet4/48\n shutdown\n no switchport\n mac-address 0000.0000.002f\n\ninterface loopback0\n description configured by ansible\n ip address 172.31.0.18/32\nline console\nline vty\nboot kickstart bootflash:/titanium-d1-kickstart.7.2.0.D1.1.bin sup-1\nboot system bootflash:/titanium-d1.7.2.0.D1.1.bin sup-1\nrouter bgp 1\n address-family ipv4 unicast\n maximum-paths 15\nno system default switchport shutdown\nnxapi sandbox\n\n\n" | |
], | |
"stdout_lines": [ | |
[ | |
"", | |
"Cisco Nexus Operating System (NX-OS) Software", | |
"TAC support: http://www.cisco.com/tac", | |
"Documents: http://www.cisco.com/en/US/products/ps9372/tsd_products_support_series_home.html", | |
"Copyright (c) 2002-2015, Cisco Systems, Inc. All rights reserved.", | |
"The copyrights to certain works contained herein are owned by", | |
"other third parties and are used and distributed under license.", | |
"Some parts of this software are covered under the GNU Public", | |
"License. A copy of the license is available at", | |
"http://www.gnu.org/licenses/gpl.html.", | |
"", | |
"NX-OSv is a demo version of the Nexus Operating System", | |
"", | |
"Software", | |
" loader: version N/A", | |
" kickstart: version 7.2(0)D1(1)", | |
" system: version 7.2(0)D1(1)", | |
" kickstart image file is: bootflash:///titanium-d1-kickstart.7.2.0.D1.1.bin", | |
" kickstart compile time: 5/19/2015 11:00:00 [06/14/2015 21:28:08]", | |
" system image file is: bootflash:///titanium-d1.7.2.0.D1.1.bin", | |
" system compile time: 5/19/2015 11:00:00 [06/14/2015 23:41:06]", | |
"", | |
"", | |
"Hardware", | |
" cisco NX-OSv Chassis (\"NX-OSv Supervisor Module\")", | |
" QEMU Virtual CPU version 2.0 with 3064948 kB of memory.", | |
" Processor Board ID TM3EFCD76CB", | |
"", | |
" Device name: nxos03", | |
" bootflash: 1582402 kB", | |
"", | |
"Kernel uptime is 38 day(s), 13 hour(s), 20 minute(s), 7 second(s)", | |
"", | |
"", | |
"plugin", | |
" Core Plugin, Ethernet Plugin", | |
"" | |
], | |
[ | |
"", | |
"", | |
"!Command: show running-config", | |
"!Time: Sat Apr 2 00:42:35 2016", | |
"", | |
"version 7.2(0)D1(1)", | |
"power redundancy-mode redundant", | |
"license grace-period", | |
"", | |
"hostname nxos03", | |
"vdc nxos03 id 1", | |
" limit-resource module-type m1 m1xl m2xl f2e ", | |
" allocate interface Ethernet2/1-48", | |
" allocate interface Ethernet3/1-48", | |
" allocate interface Ethernet4/1-48", | |
" limit-resource vlan minimum 16 maximum 4094", | |
" limit-resource vrf minimum 2 maximum 4096", | |
" limit-resource port-channel minimum 0 maximum 768", | |
" limit-resource u4route-mem minimum 96 maximum 96", | |
" limit-resource u6route-mem minimum 24 maximum 24", | |
" limit-resource m4route-mem minimum 58 maximum 58", | |
" limit-resource m6route-mem minimum 8 maximum 8", | |
"", | |
"feature telnet", | |
"feature bgp", | |
"feature lldp", | |
"feature nxapi", | |
"", | |
"username ******** password 5 $1$KuOSBsvW$Cy0TSD..gEBGBPjzpDgf51 role network-********", | |
"username ********backup password 5 ! role network-operator", | |
"username ********backup passphrase lifetime 99999 warntime 14 gracetime 3", | |
"username cisco password 5 $1$Nk7ZkwH0$fyiRmMMfIheqE3BqvcL0C1 role network-operator", | |
"username cisco role network-********", | |
"username cisco passphrase lifetime 99999 warntime 14 gracetime 3", | |
"username lab password 5 $1$buoy/oqy$.EXQz8rCn72ii8qtdldj00 role network-********", | |
"username lab passphrase lifetime 99999 warntime 14 gracetime 3", | |
"username nxapi password 5 $5$3vi5YvOf$oq6KgDtk/tzDiL75YqzNayHFich6oBWiZkfn4qCnFp0 role network-operator", | |
"username nxapi passphrase lifetime 99999 warntime 14 gracetime 3", | |
"no password strength-check", | |
"ip domain-lookup", | |
"ip domain-name eng.ansible.com", | |
"ip name-server 172.26.1.1 use-vrf management", | |
"vlan dot1Q tag native", | |
"system default switchport", | |
"system jumbomtu 0", | |
"no logging event trunk-status enable", | |
"copp profile strict", | |
"snmp-server contact network operations team", | |
"snmp-server location corporate data center", | |
"snmp-server user lab network-******** auth md5 0x5ceb414591539ee35159fca86fdfa101 priv 0x5ceb414591539ee35159fca86fdfa101 localizedkey", | |
"snmp-server user ******** network-******** auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey", | |
"snmp-server user cisco network-******** auth md5 0x55b3c64a53fb95518e75358ee75e82e9 priv 0x55b3c64a53fb95518e75358ee75e82e9 localizedkey", | |
"snmp-server user cisco network-operator", | |
"snmp-server user nxapi network-operator auth md5 0x19b57c317e136f46ad7bbc4fa9108966 priv 0x19b57c317e136f46ad7bbc4fa9108966 localizedkey", | |
"snmp-server user ******** auth md5 0x328945d53e05e8e7207f8c20b142f0b7 priv 0x328945d53e05e8e7207f8c20b142f0b7 localizedkey engineID 128:0:0:9:3:0:0:0:0:0:0", | |
"rmon event 1 log trap public description FATAL(1) owner PMON@FATAL", | |
"rmon event 2 log trap public description CRITICAL(2) owner PMON@CRITICAL", | |
"rmon event 3 log trap public description ERROR(3) owner PMON@ERROR", | |
"rmon event 4 log trap public description WARNING(4) owner PMON@WARNING", | |
"rmon event 5 log trap public description INFORMATION(5) owner PMON@INFO", | |
"snmp-server enable traps link", | |
"snmp-server community private group network-********", | |
"snmp-server community operations group network-********", | |
"snmp-server community public group network-operator", | |
"ntp server 0.pool.ntp.org use-vrf management", | |
"ntp server 3.pool.ntp.org use-vrf management", | |
"ntp server 1.us.pool.ntp.org use-vrf management", | |
"ntp server 1.pool.ntp.org use-vrf management", | |
"ntp server 2.pool.ntp.org use-vrf management", | |
"ntp server 0.us.pool.ntp.org use-vrf management", | |
"ntp server 3.us.pool.ntp.org use-vrf management", | |
"ntp server 2.us.pool.ntp.org use-vrf management", | |
"ntp source-interface mgmt0", | |
"", | |
"vlan 1", | |
"", | |
"vrf context management", | |
" ip route 172.26.0.0/16 172.26.4.1", | |
"hardware forwarding unicast trace", | |
"", | |
"", | |
"interface mgmt0", | |
" description OOB Management", | |
" duplex full", | |
" vrf member management", | |
" ip address 172.26.4.18/24", | |
"", | |
"interface Ethernet2/1", | |
" shutdown", | |
" switchport", | |
"", | |
"interface Ethernet2/2", | |
" shutdown", | |
" switchport", | |
"", | |
"interface Ethernet2/3", | |
" description Ethernet2/3", | |
" no switchport", | |
" mac-address fa16.3e00.000d", | |
" no shutdown", | |
"", | |
"interface Ethernet2/4", | |
" description Ethernet2/4", | |
" no switchport", | |
" mac-address fa16.3e00.000e", | |
" no shutdown", | |
"", | |
"interface Ethernet2/5", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/6", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/7", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/8", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/9", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/10", | |
" description test config", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
" ip address 10.1.1.1/24", | |
" no shutdown", | |
"", | |
"interface Ethernet2/11", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/12", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/13", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/14", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/15", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/16", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/17", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/18", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/19", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/20", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/21", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/22", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/23", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/24", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/25", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/26", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/27", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/28", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/29", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/30", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/31", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/32", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/33", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/34", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/35", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/36", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/37", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/38", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/39", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/40", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/41", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/42", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/43", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/44", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/45", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/46", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/47", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet2/48", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/1", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/2", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/3", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/4", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/5", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/6", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/7", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/8", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/9", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/10", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/11", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/12", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/13", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/14", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/15", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/16", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/17", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/18", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/19", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/20", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/21", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/22", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/23", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/24", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/25", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/26", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/27", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/28", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/29", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/30", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/31", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/32", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/33", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/34", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/35", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/36", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/37", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/38", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/39", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/40", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/41", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/42", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/43", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/44", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/45", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/46", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/47", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet3/48", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/1", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/2", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/3", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/4", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/5", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/6", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/7", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/8", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/9", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/10", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/11", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/12", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/13", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/14", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/15", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/16", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/17", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/18", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/19", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/20", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/21", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/22", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/23", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/24", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/25", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/26", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/27", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/28", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/29", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/30", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/31", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/32", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/33", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/34", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/35", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/36", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/37", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/38", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/39", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/40", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/41", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/42", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/43", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/44", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/45", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/46", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/47", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface Ethernet4/48", | |
" shutdown", | |
" no switchport", | |
" mac-address 0000.0000.002f", | |
"", | |
"interface loopback0", | |
" description configured by ansible", | |
" ip address 172.31.0.18/32", | |
"line console", | |
"line vty", | |
"boot kickstart bootflash:/titanium-d1-kickstart.7.2.0.D1.1.bin sup-1", | |
"boot system bootflash:/titanium-d1.7.2.0.D1.1.bin sup-1", | |
"router bgp 1", | |
" address-family ipv4 unicast", | |
" maximum-paths 15", | |
"no system default switchport shutdown", | |
"nxapi sandbox", | |
"", | |
"", | |
"" | |
] | |
] | |
} | |
} | |
PLAY RECAP ********************************************************************* | |
nxos03 : ok=2 changed=0 unreachable=0 failed=0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment