Skip to content

Instantly share code, notes, and snippets.

@logikal
Created July 10, 2015 22:55
Show Gist options
  • Save logikal/f8359047e55ad994ea8b to your computer and use it in GitHub Desktop.
Save logikal/f8359047e55ad994ea8b to your computer and use it in GitHub Desktop.
vEOS configuration - rbeapi doesn't support trunk groups
switch2#show running-config
! Command: show running-config
! device: switch2 (vEOS, EOS-4.15.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
hostname switch2
!
spanning-tree mode mstp
no spanning-tree vlan 4093
spanning-tree mst 0-2 priority 61440
!
spanning-tree mst configuration
name development
instance 1 vlan 240
instance 2 vlan 340
!
no aaa root
!
username arista privilege 15 secret 5 $1$1OqJG3UU$FhLv8QNkNfGurt0BLEnoI.
!
vlan 240
name Production-inside
trunk group PEER
trunk group PROD
!
vlan 340
name Staging-inside
trunk group PEER
trunk group STAGING
!
vlan 4093
trunk group mlagpeer
!
interface Port-Channel1
switchport mode trunk
switchport trunk group mlagpeer
!
interface Port-Channel2
switchport access vlan 240
port-channel lacp fallback static
port-channel lacp fallback timeout 5
mlag 2
!
interface Ethernet1
channel-group 1 mode active
!
interface Ethernet2
channel-group 2 mode active
lacp port-priority 2
spanning-tree portfast
!
interface Ethernet3
switchport mode trunk
switchport trunk group PROD
!
interface Management1
ip address 192.168.50.12/24
!
interface Vlan240
ip address 192.168.51.12/24
!
interface Vlan4093
ip address 10.0.0.2/30
!
no ip routing
!
mlag configuration
domain-id mlag1
local-interface Vlan4093
peer-address 10.0.0.1
peer-link Port-Channel1
!
management api http-commands
no shutdown
!
!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment