Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
! Command: show running-config
! device: veos2 (vEOS, EOS-4.22.0F)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname veos2
!
spanning-tree mode mstp
no spanning-tree vlan 100
!
no aaa root
!
username koji privilege 15 role network-admin nopassword
username koji ssh-key ssh-rsa xxxx
!
vlan 100,200
!
interface Ethernet1
description debian2
switchport access vlan 100
!
interface Ethernet2
description servers
switchport access vlan 200
!
interface Ethernet3
description veos1
no switchport
ip address 172.16.1.2/30
ip ospf network point-to-point
!
interface Ethernet4
description servers
no switchport
ip address 192.168.10.12/24
!
interface Loopback0
ip address 10.0.0.2/32
ip ospf cost 1
!
interface Management1
ip address 192.168.0.102/24
!
interface Vxlan1
vxlan source-interface Loopback0
vxlan udp-port 4789
vxlan vlan 100 vni 1100
vxlan vlan 200 vni 1200
!
ip routing
!
router bgp 65000
router-id 10.0.0.2
neighbor evpn peer-group
neighbor evpn remote-as 65000
neighbor evpn update-source Loopback0
neighbor evpn local-v4-addr 192.168.10.12
neighbor evpn send-community extended
neighbor evpn maximum-routes 12000
neighbor 192.168.10.3 peer-group evpn
!
vlan 100
rd 10.0.0.2:1100
route-target both 65000:1100
redistribute learned
!
vlan 200
rd 10.0.0.2:1200
route-target both 65000:1200
redistribute learned
!
address-family evpn
neighbor evpn activate
!
address-family ipv4
no neighbor evpn activate
!
router ospf 1
router-id 10.0.0.2
passive-interface Loopback0
network 10.0.0.2/32 area 0.0.0.0
network 172.16.1.0/30 area 0.0.0.0
max-lsa 12000
!
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.