Friday, August 21, 2015

Agile Scrum Training Series

http://scrumtrainingseries.com/

I've been working on a project that is making use of Agile/Scrum in an incredibly complex hardware / hardware / hardware / software / software / software / software ...  (you get the idea).

At this point I'm convinced that this project would have taken 2x to 3x the time to get to the point we're at today AND it wouldn't be half as well documented as it is today.

I'm here to say that Agile/Scrum isn't solely for software development.  It can be used for just about any complex integration task.

Recently spoke with one of my associates and it is apparent that Agile/Scrum is responsible for the elimination of the "chase the shiny object" that often occurs in these types of projects also.

I can't recommend it enough and if you need an introduction, follow the link above to free online training.  It is worth every minute.

Thursday, August 20, 2015

What's it running on?

I've a request to share the platform this is all running on.

Here's the itemized list:


As you can tell from the graphic, this is Lab02.  Lab01 is my OpenStack rig identified in the earlier part of the blog.

Before anyone says anything, yeah, the PS is overkill and the motherboard is...interesting, but I've got multiple plans for the box itself.  This is just one use case.  :-)

If you plan on building a unit to do the same, consider the PSU, the CPU, the water cooler and the memory for cost reductions...  You could probably come in under $800 if you really squeezed it.

I can't recommend the SSD enough though.  Fast...




Tuesday, August 18, 2015

Arista CVX on VirtualBox

So, the next thing to do, set up CVX on Arista.

I'm setting Spine1 as the CVX manager.

configuration was quite simple thanks to Mo from Arista:

spine1(config)#cvx
spine1(config-­‐cvx)#no shutdown

spine1(config)#management api http-­‐commands
spine1(config-­‐mgmt-­‐api-­‐http-­‐cmds)#no shutdown
spine1(config-­‐mgmt-­‐api-­‐http-­‐cmds)#no protocol http
spine1(config-­‐mgmt-­‐api-­‐http-­‐cmds)#protocol https


Here's the drop in config for all of the other switches:

en
config t
management cvx
server host 10.0.0.251
no shutdown
end
wr

Logging back into the spine1 switch, here's the review.

spine1#sh cvx
CVX Server
  Status: Enabled
  UUID: c2b3cbbc-45ed-11e5-8814-080027f4b56b
  Heartbeat interval: 20.0
  Heartbeat timeout: 60.0

spine1#sh cvx connections
Switch 08:00:27:6d:13:80
  Hostname: leaf1-sw01
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:12 ago
  Clock offset: 252455.861674
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:89:cf:4d
  Hostname: leaf2-sw03
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:15 ago
  Clock offset: 253199.591905
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:a7:c7:17
  Hostname: leaf1-sw02
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:18 ago
  Clock offset: 252634.767828
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:cb:45:7c
  Hostname: spine2 <--  Not sure I need it here, but still cool it worked
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:00 ago
  Clock offset: -45.284555422
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:4d:ed:74
  Hostname: leaf2-sw04
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:04 ago
  Clock offset: 252439.728537
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:34:ea:a9
  Hostname: leaf3-sw05
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:12 ago
  Clock offset: 252796.489615
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)
Switch 08:00:27:30:57:3e
  Hostname: leaf3-sw06
  Status: up
  Last heartbeat sent: 0:00:11 ago
  Last heartbeat received: 0:00:02 ago
  Clock offset: 435612.242123
  Out-of-band connection: Not secured
  In-band connection: Not secured (SSL not supported)


**********

If it doesn't work, verify lldp!

Verify you can ping around the loopbacks  (make sure you source icmp)

Next opportunity, I'll mess with VxLAN a bit.



Monday, August 17, 2015

Current Environment - Arista Spine and Leaf on Virtualbox




Here's the current state of the topology.  I'm having a problem getting past 192.168.1.2 (sw6-E6) in the model.  This is a interface on the virtual network tied to the physical nic on the computer I'm using.

Glad I stopped messing with that to get the BGP working, but it's still nagging at me.

Leaf Switch Configurations - Arista Spine and Leaf on Virtualbox

Switch 1 - Configuration

leaf1-sw01>en
leaf1-sw01#sh run
! Command: show running-config
! device: leaf1-sw01 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf1-sw01
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$x5GKrbKk$azBM4Wlv3TzOQjcjeXOHJ.
!
vlan 101
!
vlan 2047
   trunk group mlagL1-L2
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL1-L2
!
interface Ethernet1
   no switchport
   ip address 10.180.254.2/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.130/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 101
!
interface Loopback0
   ip address 10.0.0.1/32
!
interface Management1
   ip address 10.10.10.31/24
!
interface Vlan101
   ip address 172.16.1.252/24
   ip virtual-router address 172.16.1.254
!
interface Vlan2047
   ip address 10.180.254.225/30
!
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL1-L2
   local-interface Vlan2047
   peer-address 10.180.254.226
   peer-link Port-Channel1
!
router bgp 65101
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.1 remote-as 65000
   neighbor 10.180.254.1 maximum-routes 12000
   neighbor 10.180.254.129 remote-as 65000
   neighbor 10.180.254.129 maximum-routes 12000
   neighbor 172.16.1.253 remote-as 65101
   neighbor 172.16.1.253 maximum-routes 12000
   network 10.0.0.1/32
   network 10.180.254.0/24
   network 172.16.1.0/24
!
!
end
leaf1-sw01#sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 10.180.254.1, Ethernet1
                        via 10.180.254.129, Ethernet2

 C      10.0.0.1/32 is directly connected, Loopback0
 B I    10.0.0.2/32 [200/0] via 172.16.1.253, Vlan101
 B E    10.0.0.3/32 [200/0] via 10.180.254.1, Ethernet1
                            via 10.180.254.129, Ethernet2
 B E    10.0.0.4/32 [200/0] via 10.180.254.1, Ethernet1
                            via 10.180.254.129, Ethernet2
 B E    10.0.0.5/32 [200/0] via 10.180.254.1, Ethernet1
                            via 10.180.254.129, Ethernet2
 B E    10.0.0.6/32 [200/0] via 10.180.254.1, Ethernet1
                            via 10.180.254.129, Ethernet2
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.0/30 is directly connected, Ethernet1
 C      10.180.254.128/30 is directly connected, Ethernet2
 C      10.180.254.224/30 is directly connected, Vlan2047
 C      172.16.1.0/24 is directly connected, Vlan101
 B E    172.16.2.0/24 [200/0] via 10.180.254.1, Ethernet1
                              via 10.180.254.129, Ethernet2
 B E    172.16.3.0/24 [200/0] via 10.180.254.1, Ethernet1
                              via 10.180.254.129, Ethernet2
 B E    192.168.1.0/24 [200/0] via 10.180.254.1, Ethernet1
                               via 10.180.254.129, Ethernet2


leaf1-sw01#

Switch 2 - Configuration

leaf1-sw02#sh run
! Command: show running-config
! device: leaf1-sw02 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf1-sw02
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$dgmrUK3G$GBhRaYnIvOzIOdgozc9Kb.
!
vlan 101
!
vlan 2047
   trunk group mlagL1-L2
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL1-L2
!
interface Ethernet1
   no switchport
   ip address 10.180.254.6/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.134/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 101
!
interface Loopback0
   ip address 10.0.0.2/32
!
interface Management1
   ip address 10.10.10.32/24
!
interface Vlan101
   ip address 172.16.1.253/24
   ip virtual-router address 172.16.1.254
!
interface Vlan2047
   ip address 10.180.254.226/30
!
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL1-L2
   local-interface Vlan2047
   peer-address 10.180.254.225
   peer-link Port-Channel1
!
router bgp 65101
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.5 remote-as 65000
   neighbor 10.180.254.5 maximum-routes 12000
   neighbor 10.180.254.133 remote-as 65000
   neighbor 10.180.254.133 maximum-routes 12000
   neighbor 172.16.1.252 remote-as 65101
   neighbor 172.16.1.252 maximum-routes 12000
   network 10.0.0.2/32
   network 10.180.254.0/24
   network 172.16.1.0/24
!
!
end
leaf1-sw02# sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 10.180.254.5, Ethernet1
                        via 10.180.254.133, Ethernet2

 B I    10.0.0.1/32 [200/0] via 172.16.1.252, Vlan101
 C      10.0.0.2/32 is directly connected, Loopback0
 B E    10.0.0.3/32 [200/0] via 10.180.254.5, Ethernet1
                            via 10.180.254.133, Ethernet2
 B E    10.0.0.4/32 [200/0] via 10.180.254.5, Ethernet1
                            via 10.180.254.133, Ethernet2
 B E    10.0.0.5/32 [200/0] via 10.180.254.5, Ethernet1
                            via 10.180.254.133, Ethernet2
 B E    10.0.0.6/32 [200/0] via 10.180.254.5, Ethernet1
                            via 10.180.254.133, Ethernet2
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.4/30 is directly connected, Ethernet1
 C      10.180.254.132/30 is directly connected, Ethernet2
 C      10.180.254.224/30 is directly connected, Vlan2047
 C      172.16.1.0/24 is directly connected, Vlan101
 B E    172.16.2.0/24 [200/0] via 10.180.254.5, Ethernet1
                              via 10.180.254.133, Ethernet2
 B E    172.16.3.0/24 [200/0] via 10.180.254.5, Ethernet1
                              via 10.180.254.133, Ethernet2
 B E    192.168.1.0/24 [200/0] via 10.180.254.5, Ethernet1
                               via 10.180.254.133, Ethernet2

leaf1-sw02#

Switch 3 - configuration

leaf2-sw03>en
leaf2-sw03#sh run
! Command: show running-config
! device: leaf2-sw03 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf2-sw03
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$PQtScGLc$3eEJepRVOUEahC.wNveqG/
!
vlan 102
!
vlan 2048
   trunk group mlagL3-L4
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL3-L4
!
interface Ethernet1
   no switchport
   ip address 10.180.254.10/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.138/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 102
!
interface Loopback0
   ip address 10.0.0.3/32
!
interface Management1
   ip address 10.10.10.33/24
!
interface Vlan102
   ip address 172.16.2.252/24
   ip virtual-router address 172.16.2.254
!
interface Vlan2048
   ip address 10.180.254.229/30
!
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL3-L4
   local-interface Vlan2048
   peer-address 10.180.254.230
   peer-link Port-Channel1
!
router bgp 65102
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.9 remote-as 65000
   neighbor 10.180.254.9 maximum-routes 12000
   neighbor 10.180.254.137 remote-as 65000
   neighbor 10.180.254.137 maximum-routes 12000
   neighbor 172.16.2.253 remote-as 65102
   neighbor 172.16.2.253 maximum-routes 12000
   network 10.0.0.3/32
   network 10.180.254.0/24
   network 172.16.2.0/24
!
!
end
leaf2-sw03#sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 10.180.254.9, Ethernet1
                        via 10.180.254.137, Ethernet2

 B E    10.0.0.1/32 [200/0] via 10.180.254.9, Ethernet1
                            via 10.180.254.137, Ethernet2
 B E    10.0.0.2/32 [200/0] via 10.180.254.9, Ethernet1
 C      10.0.0.3/32 is directly connected, Loopback0
 B E    10.0.0.5/32 [200/0] via 10.180.254.9, Ethernet1
                            via 10.180.254.137, Ethernet2
 B E    10.0.0.6/32 [200/0] via 10.180.254.9, Ethernet1
                            via 10.180.254.137, Ethernet2
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.8/30 is directly connected, Ethernet1
 C      10.180.254.136/30 is directly connected, Ethernet2
 C      10.180.254.228/30 is directly connected, Vlan2048
 B E    172.16.1.0/24 [200/0] via 10.180.254.9, Ethernet1
                              via 10.180.254.137, Ethernet2
 C      172.16.2.0/24 is directly connected, Vlan102
 B E    172.16.3.0/24 [200/0] via 10.180.254.9, Ethernet1
                              via 10.180.254.137, Ethernet2
 B E    192.168.1.0/24 [200/0] via 10.180.254.9, Ethernet1
                               via 10.180.254.137, Ethernet2

leaf2-sw03#

Switch4 - configuration

leaf2-sw04>en
leaf2-sw04#sh run
! Command: show running-config
! device: leaf2-sw04 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf2-sw04
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$w/eAcrc6$V//ELJ..C40cf7I1kYpfH1
!
vlan 102-103
!
vlan 2048
   trunk group mlagL3-L4
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL3-L4
!
interface Ethernet1
   no switchport
   ip address 10.180.254.14/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.142/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 102
!
interface Loopback0
   ip address 10.0.0.4/32
!
interface Management1
   ip address 10.10.10.34/24
!
interface Vlan103
   ip address 172.16.2.253/24
   ip virtual-router address 172.16.2.254
!
interface Vlan2048
   ip address 10.180.254.230/30
!
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL3-L4
   local-interface Vlan2048
   peer-address 10.180.254.229
   peer-link Port-Channel1
!
router bgp 65102
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.13 remote-as 65000
   neighbor 10.180.254.13 maximum-routes 12000
   neighbor 10.180.254.141 remote-as 65000
   neighbor 10.180.254.141 maximum-routes 12000
   neighbor 172.16.2.252 remote-as 65102
   neighbor 172.16.2.252 maximum-routes 12000
   network 10.0.0.4/32
   network 10.180.254.0/24
   network 172.16.2.0/24
!
!
end
leaf2-sw04# sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 10.180.254.13, Ethernet1
                        via 10.180.254.141, Ethernet2

 B E    10.0.0.1/32 [200/0] via 10.180.254.13, Ethernet1
                            via 10.180.254.141, Ethernet2
 B E    10.0.0.2/32 [200/0] via 10.180.254.13, Ethernet1
 C      10.0.0.4/32 is directly connected, Loopback0
 B E    10.0.0.5/32 [200/0] via 10.180.254.13, Ethernet1
                            via 10.180.254.141, Ethernet2
 B E    10.0.0.6/32 [200/0] via 10.180.254.13, Ethernet1
                            via 10.180.254.141, Ethernet2
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.12/30 is directly connected, Ethernet1
 C      10.180.254.140/30 is directly connected, Ethernet2
 C      10.180.254.228/30 is directly connected, Vlan2048
 B E    172.16.1.0/24 [200/0] via 10.180.254.13, Ethernet1
                              via 10.180.254.141, Ethernet2
 C      172.16.2.0/24 is directly connected, Vlan103
 B E    172.16.3.0/24 [200/0] via 10.180.254.13, Ethernet1
                              via 10.180.254.141, Ethernet2
 B E    192.168.1.0/24 [200/0] via 10.180.254.13, Ethernet1
                               via 10.180.254.141, Ethernet2

leaf2-sw04#

Switch5 - configuration

leaf3-sw05#sh run
! Command: show running-config
! device: leaf3-sw05 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf3-sw05
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$lXq5jGZ7$dKqbUEZ4amFlNDjwOb40k.
!
vlan 103
!
vlan 2049
   trunk group mlagL5-L6
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL5-L6
!
interface Ethernet1
   no switchport
   ip address 10.180.254.18/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.146/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 103
!
interface Ethernet6
!
interface Loopback0
   ip address 10.0.0.5/32
!
interface Management1
   ip address 10.10.10.35/24
!
interface Vlan103
   ip address 172.16.3.252/24
   ip virtual-router address 172.16.3.254
!
interface Vlan2049
   ip address 10.180.254.233/30
!
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL5-L6
   local-interface Vlan2049
   peer-address 10.180.254.234
   peer-link Port-Channel1
!
router bgp 65103
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.17 remote-as 65000
   neighbor 10.180.254.17 maximum-routes 12000
   neighbor 10.180.254.145 remote-as 65000
   neighbor 10.180.254.145 maximum-routes 12000
   neighbor 172.16.3.253 remote-as 65103
   neighbor 172.16.3.253 maximum-routes 12000
   network 10.0.0.5/32
   network 10.180.254.0/24
   network 172.16.3.0/24
!
!
end
leaf3-sw05#sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 172.16.3.253, Vlan103

 B E    10.0.0.1/32 [200/0] via 10.180.254.17, Ethernet1
                            via 10.180.254.145, Ethernet2
 B E    10.0.0.2/32 [200/0] via 10.180.254.17, Ethernet1
 B E    10.0.0.3/32 [200/0] via 10.180.254.17, Ethernet1
                            via 10.180.254.145, Ethernet2
 B E    10.0.0.4/32 [200/0] via 10.180.254.17, Ethernet1
                            via 10.180.254.145, Ethernet2
 C      10.0.0.5/32 is directly connected, Loopback0
 B I    10.0.0.6/32 [200/0] via 172.16.3.253, Vlan103
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.16/30 is directly connected, Ethernet1
 C      10.180.254.144/30 is directly connected, Ethernet2
 C      10.180.254.232/30 is directly connected, Vlan2049
 B E    172.16.1.0/24 [200/0] via 10.180.254.17, Ethernet1
                              via 10.180.254.145, Ethernet2
 B E    172.16.2.0/24 [200/0] via 10.180.254.17, Ethernet1
                              via 10.180.254.145, Ethernet2
 C      172.16.3.0/24 is directly connected, Vlan103
 B I    192.168.1.0/24 [200/0] via 172.16.3.253, Vlan103

leaf3-sw05#

Switch6 - configuration

leaf3-sw06>en
leaf3-sw06#sh run
! Command: show running-config
! device: leaf3-sw06 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname leaf3-sw06
!
spanning-tree mode mstp
!
no aaa root
!
username arista privilege 15 secret 5 $1$9CoSDfo7$P9IyaxO7Ortb6FBkh93Rc/
!
vlan 103
!
vlan 2049
   trunk group mlagL5-L6
!
interface Port-Channel1
   switchport mode trunk
   switchport trunk group mlagL5-L6
!
interface Ethernet1
   no switchport
   ip address 10.180.254.22/30
!
interface Ethernet2
   no switchport
   ip address 10.180.254.150/30
!
interface Ethernet3
   channel-group 1 mode active
!
interface Ethernet4
   channel-group 1 mode active
!
interface Ethernet5
   switchport access vlan 103
!
interface Ethernet6
!
interface Loopback0
   ip address 10.0.0.6/32
!
interface Management1
   ip address 10.10.10.36/24
!
interface Vlan1
   ip address 192.168.1.2/24
!
interface Vlan103
   ip address 172.16.3.253/24
   ip virtual-router address 172.16.3.254
!
interface Vlan2049
   ip address 10.180.254.234/30
!
ip route 0.0.0.0/0 Ethernet6
ip route 0.0.0.0/0 192.168.1.254
!
ip routing
!
mlag configuration
   domain-id mlagL5-L6
   local-interface Vlan2049
   peer-address 10.180.254.233
   peer-link Port-Channel1
!
router bgp 65103
   maximum-paths 4 ecmp 128
   neighbor 10.180.254.21 remote-as 65000
   neighbor 10.180.254.21 maximum-routes 12000
   neighbor 10.180.254.149 remote-as 65000
   neighbor 10.180.254.149 maximum-routes 12000
   neighbor 172.16.3.252 remote-as 65103
   neighbor 172.16.3.252 maximum-routes 12000
   network 10.0.0.6/32
   network 10.180.254.0/24
   network 172.16.3.0/24
   network 192.168.1.0/24
!
!
end
leaf3-sw06# sh ip route

VRF name: default
Codes: C - connected, S - static, K - kernel,
       O - OSPF, IA - OSPF inter area, E1 - OSPF external type 1,
       E2 - OSPF external type 2, N1 - OSPF NSSA external type 1,
       N2 - OSPF NSSA external type2, B I - iBGP, B E - eBGP,
       R - RIP, I - ISIS, A B - BGP Aggregate, A O - OSPF Summary,
       NG - Nexthop Group Static Route

Gateway of last resort:
 S      0.0.0.0/0 [1/0] via 192.168.1.254, Vlan1

 B E    10.0.0.1/32 [200/0] via 10.180.254.21, Ethernet1
                            via 10.180.254.149, Ethernet2
 B E    10.0.0.2/32 [200/0] via 10.180.254.21, Ethernet1
 B E    10.0.0.3/32 [200/0] via 10.180.254.21, Ethernet1
                            via 10.180.254.149, Ethernet2
 B E    10.0.0.4/32 [200/0] via 10.180.254.21, Ethernet1
                            via 10.180.254.149, Ethernet2
 B I    10.0.0.5/32 [200/0] via 172.16.3.252, Vlan103
 C      10.0.0.6/32 is directly connected, Loopback0
 C      10.10.10.0/24 is directly connected, Management1
 C      10.180.254.20/30 is directly connected, Ethernet1
 C      10.180.254.148/30 is directly connected, Ethernet2
 C      10.180.254.232/30 is directly connected, Vlan2049
 B E    172.16.1.0/24 [200/0] via 10.180.254.21, Ethernet1
                              via 10.180.254.149, Ethernet2
 B E    172.16.2.0/24 [200/0] via 10.180.254.21, Ethernet1
                              via 10.180.254.149, Ethernet2
 C      172.16.3.0/24 is directly connected, Vlan103
 C      192.168.1.0/24 is directly connected, Vlan1

leaf3-sw06#