Skip to content

Instantly share code, notes, and snippets.

@IPvSean
Last active June 26, 2018 14:48
Show Gist options
  • Save IPvSean/d5d4b7ea8d77ae1eb83b0511001ba7cb to your computer and use it in GitHub Desktop.
Save IPvSean/d5d4b7ea8d77ae1eb83b0511001ba7cb to your computer and use it in GitHub Desktop.
IP addresses for arista workshop
[hosts]
netlab01 ansible_host=147.75.67.177
netlab02 ansible_host=147.75.67.193
netlab03 ansible_host=147.75.67.213
netlab04 ansible_host=147.75.67.237
netlab05 ansible_host=147.75.78.111
netlab06 ansible_host=147.75.78.181
netlab07 ansible_host=147.75.78.203
netlab08 ansible_host=147.75.78.237
netlab09 ansible_host=147.75.72.199
netlab10 ansible_host=147.75.72.201
netlab11 ansible_host=147.75.98.147
netlab12 ansible_host=147.75.98.179
netlab13 ansible_host=147.75.98.233
netlab14 ansible_host=147.75.193.147
netlab15 ansible_host=147.75.193.181
netlab16 ansible_host=147.75.193.209
netlab17 ansible_host=147.75.193.243
netlab18 ansible_host=147.75.38.53
netlab19 ansible_host=147.75.39.81
netlab20 ansible_host=147.75.39.87
netlab21 ansible_host=147.75.39.145
netlab22 ansible_host=147.75.39.149
netlab23 ansible_host=147.75.39.155
netlab24 ansible_host=147.75.39.163
netlab25 ansible_host=147.75.39.165
netlab26 ansible_host=147.75.39.167
netlab27 ansible_host=147.75.39.169
netlab28 ansible_host=147.75.39.171
netlab29 ansible_host=147.75.39.175
netlab30 ansible_host=147.75.39.179
netlab31 ansible_host=147.75.39.187
netlab32 ansible_host=147.75.39.195
netlab33 ansible_host=147.75.39.203
netlab34 ansible_host=147.75.39.239
netlab35 ansible_host=147.75.105.13
netlab36 ansible_host=147.75.105.19
netlab37 ansible_host=147.75.105.47
netlab38 ansible_host=147.75.105.85
netlab39 ansible_host=147.75.105.95
netlab40 ansible_host=147.75.105.129
netlab41 ansible_host=147.75.105.165
netlab42 ansible_host=147.75.105.181
netlab43 ansible_host=147.75.105.183
netlab44 ansible_host=147.75.105.219
netlab45 ansible_host=147.75.105.241
netlab46 ansible_host=147.75.197.3
netlab47 ansible_host=147.75.197.7
netlab48 ansible_host=147.75.197.9
netlab49 ansible_host=147.75.197.11
netlab50 ansible_host=147.75.197.1
Setup your out of band management
telnet localhost 2001
localhost#conf t
localhost(config)#username admin secret admin
localhost(config)#hostname leaf01
leaf01(config)#int management 1
leaf01(config-if-Ma1)#ip address 192.168.0.14/24
leaf01(config-if-Ma1)#end
leaf01#write memory
Copy completed successfully.
leaf01#
to exit telnet-> control ]
to quit telnet prompt-> control d
telnet localhost 2002
localhost#conf t
localhost(config)#username admin secret admin
localhost(config)#hostname leaf02
leaf02(config)#int management 1
leaf02(config-if-Ma1)#ip address 192.168.0.15/24
leaf02(config-if-Ma1)#end
leaf02#write memory
Copy completed successfully.
leaf02#
telnet localhost 2003
localhost#conf t
localhost(config)#username admin secret admin
localhost(config)#hostname leaf02
spine01(config)#int management 1
spine01(config-if-Ma1)#ip address 192.168.0.10/24
spine01(config-if-Ma1)#end
spine01#write memory
Copy completed successfully.
spine01#
telnet localhost 2004
localhost#conf t
localhost(config)#username admin secret admin
localhost(config)#hostname leaf02
spine02(config)#int management 1
spine02(config-if-Ma1)#ip address 192.168.0.11/24
spine02(config-if-Ma1)#end
spine02#write memory
Copy completed successfully.
spine02#
@IPvSean
Copy link
Author

IPvSean commented Jun 26, 2018

To setup ansible.cfg and inventory->
git clone https://github.com/network-automation/linklight
cd /home/ansible/linklight/vagrant-demo/arista
ansible-playbook manual.yml

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment