Skip to content

Commit

Permalink
add l1-me labs
Browse files Browse the repository at this point in the history
  • Loading branch information
rparkinarista committed Mar 15, 2024
1 parent 9318279 commit 0c4919a
Show file tree
Hide file tree
Showing 53 changed files with 1,945 additions and 0 deletions.
Binary file added topologies/training-level1-me/atd-topo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
45 changes: 45 additions & 0 deletions topologies/training-level1-me/configlets/ATD-INFRA
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
daemon TerminAttr
exec /usr/bin/TerminAttr -cvcompression=gzip -smashexcludes=ale,flexCounter,hardware,kni,pulse,strata -ingestexclude=/Sysdb/cell/1/agent,/Sysdb/cell/2/agent -cvaddr=192.168.0.5:9910 -cvauth=token,/tmp/token -cvvrf=default -taillogs -disableaaa
no shutdown
!
alias mlag-reload bash /mnt/flash/shut_intfs && sudo shutdown now -r
alias conint sh interface | i connected
alias senz show interface counter error | nz
alias shmc show int | awk '/^[A-Z]/ { intf = $1 } /, address is/ { print intf, $6 }'
alias snz show interface counter | nz
alias spd show port-channel %1 detail all
alias sqnz show interface counter queue | nz
alias srnz show interface counter rate | nz
alias intdesc
!! Usage: intdesc interface-name description
10 config
20 int %1
30 desc %2
40 exit
!
dns domain arista.lab
!
service routing protocols model multi-agent
!
ntp server 192.168.0.1 iburst source Management1
!
radius-server host 192.168.0.1 key 7 0207165218120E
!
aaa group server radius atds
server 192.168.0.1
!
aaa authentication login default group atds local
aaa authorization exec default group atds local
aaa authorization commands all default local
!
username Script secret sha512 $6$PNfpb9anSBQ5/aia$phaa3ar5pwkntenD9WHc6Ed5b96lbW0dc0bjtwPnFLaDiCK8D5Cjl6ewP/xdNbl4PtS6Paq.3SssN8pj05NQm.
username admin privilege 15 role network-admin secret 5 $1$5O85YVVn$HrXcfOivJEnISTMb6xrJc.
username arista privilege 15 role network-admin secret 5 $1$4VjIjfd1$XkUVulbNDESHFzcxDU.Tk1
!
username arista ssh-key ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC+ERvV4GaPq3FzxY8T+5hMF/1T+l8wiPsVCtOrZU4Hy6NCNlAiDBdA/RUtX5/aOu5JvHyPTVHqWJ0qi9BqU3rxCNl/l2/5UZbm9RPzdZ1QCwoYwPB9/j/tYJV8lZdr6t0yGBfxgzD3oW/zF7a+ZtASaMAu7lkgoqPK2pVIGa+Y9ZCsA0Xq756XpLCw+d3pHKHvIkgWLCo9FoeIv8f/bu5u/ztzRE+Nvl+o5add6MxnjsXz3s7BnW2FX6JNjyp0Z+OXjupQc2gcfFvpd/dA2lCNuuaCHkRgyPwIZtWPmNqMRXPp37mlPwV43qDJRVPQkvh0xPxwS35BbzUxWdT+ZLZv
!
ip radius source-interface Management1
!
management api http-commands
no shutdown
!
11 changes: 11 additions & 0 deletions topologies/training-level1-me/configlets/host1-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
hostname host1
!
interface Management 1
ip address 192.168.0.51/24
no lldp transmit
no lldp receive
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
11 changes: 11 additions & 0 deletions topologies/training-level1-me/configlets/host2-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
hostname host2
!
interface Management 1
ip address 192.168.0.52/24
no lldp transmit
no lldp receive
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/leaf1-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname leaf1
!
interface Management 1
ip address 192.168.0.21/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/leaf2-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname leaf2
!
interface Management 1
ip address 192.168.0.22/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/leaf3-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname leaf3
!
interface Management 1
ip address 192.168.0.23/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/leaf4-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname leaf4
!
interface Management 1
ip address 192.168.0.24/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/spine1-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname spine1
!
interface Management 1
ip address 192.168.0.11/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
13 changes: 13 additions & 0 deletions topologies/training-level1-me/configlets/spine2-base
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
hostname spine2
!
interface Management 1
ip address 192.168.0.12/24
no lldp transmit
no lldp receive
!
service routing protocols model multi-agent
!
ip route 0.0.0.0/0 192.168.0.1
!
ip routing
!
2 changes: 2 additions & 0 deletions topologies/training-level1-me/files/.ansible.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[defaults]
host_key_checking = False
19 changes: 19 additions & 0 deletions topologies/training-level1-me/files/.screenrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Turn off the startup message.
startup_message off
# Set the caption to the active windows.
caption always "%-Lw%{= BW}%50>%n%f* %t%{-}%+Lw%<"

term screen-256color

# New screens for various processes.
# Example: screen -t <hostname> <screen number> <command>
# screen -t 7050SX-128 0 ssh aristaadmin@192.100.37.128
screen -t CVP 1 ssh 192.168.0.5
screen -t Spine1 2 ssh 192.168.0.11
screen -t Spine2 3 ssh 192.168.0.12
screen -t Leaf1 4 ssh 192.168.0.21
screen -t Leaf2 5 ssh 192.168.0.22
screen -t Leaf3 6 ssh 192.168.0.23
screen -t Leaf4 7 ssh 192.168.0.24
screen -t Host1 8 ssh 192.168.0.51
screen -t Host2 9 ssh 192.168.0.52
Loading

0 comments on commit 0c4919a

Please sign in to comment.