zNetLaB › Guided labs › Data Center
Junos EVPN-VXLAN between two leaves
Data Center Advanced 4 devices 3 checked tasks 100 points Plan lab
Two vQFX leaves joined by one routed link. OSPF carries the loopbacks, iBGP carries family evpn between them, and VLAN 10 rides VNI 10010 so two hosts share a subnet. You build it in a browser, type real commands at each device, and every task below is
checked against the running configuration — so you find out it is wrong before anybody else does.
Open this lab in the simulator
The simulator runs in your browser with nothing to install. This lab is part of the full simulator: open it free for 7 days with a new account, then with a plan. It needs an account, which keeps your progress.
The scenario
Two vQFX leaves joined by one routed link. OSPF carries the loopbacks, iBGP carries family evpn between them, and VLAN 10 rides VNI 10010 so two hosts share a subnet.
Your role: a network engineer. Level: Advanced Done when: all 3 goals show as passed (100 points).
Network status
Devices: 2 routers, 2 PCs, cabled as drawn. No Layer 1 or Layer 2 faults: every link is connected and up. H1 is a host with 192.168.10.11/24. H2 is a host with 192.168.10.12/24. L1, L2 start with an empty configuration.
Known problems
None: nothing is misconfigured. The network is simply not finished: what the goals list is what you have to build or secure.
Goals
The EVPN session between the loopbacks is up (25 pts) Host 1 reaches host 2 across VNI 10010 (40 pts) Leaf 1 lists leaf 2 as a remote VTEP (35 pts)
The activity, in order
The EVPN session between the loopbacks is up Address the link and lo0, run OSPF on both with lo0 passive, then a BGP group of type internal from lo0 with family evpn signaling.Why: Each goal is a state the lab can check on the running device. Verify with: show bgp summary Host 1 reaches host 2 across VNI 10010 Map VLAN V10 (vlan-id 10) to vxlan vni 10010, set vtep-source-interface lo0.0, a route-distinguisher and vrf-target, evpn encapsulation vxlan with extended-vni-list all, and the host port in V10.Why: Each goal is a state the lab can check on the running device. Verify with: show evpn database Leaf 1 lists leaf 2 as a remote VTEP The remote VTEP appears once the type-3 route from the other leaf is imported.Why: Each goal is a state the lab can check on the running device. Verify with: show ethernet-switching vxlan-tunnel-end-point remote
Tips
Work in the order given: later goals depend on the earlier ones. After every change, run the verify command before moving on; do not guess. Stuck? Read the verify output first. It names the interface, neighbour or route that is wrong.
Why this matters
Two vQFX leaves joined by one routed link. OSPF carries the loopbacks, iBGP carries family evpn between them, and VLAN 10 rides VNI 10010 so two hosts share a subnet.
What you will be able to do
The EVPN session between the loopbacks is up
Host 1 reaches host 2 across VNI 10010
Leaf 1 lists leaf 2 as a remote VTEP
The network
vQFX, PC — 4 devices in all, already cabled.
xe-0/0/0 xe-0/0/0 Fa0 xe-0/0/1 Fa0 xe-0/0/1 L1 L2 H1 192.168.10.11/24 H2 192.168.10.12/24 Drawn from this lab: devices, cables, ports and the addresses already set.
Device Model Address already set
L1 vQFX configure it
L2 vQFX configure it
H1 PC 192.168.10.11 / 255.255.255.0
H2 PC 192.168.10.12 / 255.255.255.0
Cabling
L1 xe-0/0/0 ↔ L2 xe-0/0/0
H1 Fa0 ↔ L1 xe-0/0/1
H2 Fa0 ↔ L2 xe-0/0/1
What is configured at the start
Nothing is configured to start with beyond the addresses above: you build the configuration from a clean start.
Tasks, and how each one is checked
Every task is decided by reading the live network — a neighbour in FULL, a ping that succeeds, a line in the running configuration — not by looking for a keyword you typed. The same command shows you what the lab sees.
# Task Pts How to verify it yourself
1 The EVPN session between the loopbacks is up 25 On L1: show bgp summary output matches 10\.255\.0\.2\s+65000.
2 Host 1 reaches host 2 across VNI 10010 40 On H1: ping 192.168.10.12 must succeed. and On L1: show evpn database output matches 10\.255\.0\.2.
3 Leaf 1 lists leaf 2 as a remote VTEP 35 On L1: show ethernet-switching vxlan-tunnel-end-point remote output matches 10\.255\.0\.2.
Stuck? Ask the coach
Tell the coach what you see or what you tried. It gives you a hint, not the answer, the way a senior engineer would. Included with a free trial or any plan.
Ask the coach
Reference solution
Try it yourself first — the lab checks your work either way. This is one configuration that makes every task pass, device by device:
L1 configure
set interfaces xe-0/0/0 unit 0 family inet address 10.0.0.1/30
set interfaces lo0 unit 0 family inet address 10.255.0.1/32
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members V10
set routing-options autonomous-system 65000
set routing-options router-id 10.255.0.1
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols bgp group OVL type internal
set protocols bgp group OVL local-address 10.255.0.1
set protocols bgp group OVL family evpn signaling
set protocols bgp group OVL neighbor 10.255.0.2
set switch-options vtep-source-interface lo0.0
set switch-options route-distinguisher 10.255.0.1:1
set switch-options vrf-target target:65000:10
set protocols evpn encapsulation vxlan
set protocols evpn extended-vni-list all
set vlans V10 vlan-id 10
set vlans V10 vxlan vni 10010
commit
exit
L2 configure
set interfaces xe-0/0/0 unit 0 family inet address 10.0.0.2/30
set interfaces lo0 unit 0 family inet address 10.255.0.2/32
set interfaces xe-0/0/1 unit 0 family ethernet-switching interface-mode access
set interfaces xe-0/0/1 unit 0 family ethernet-switching vlan members V10
set routing-options autonomous-system 65000
set routing-options router-id 10.255.0.2
set protocols ospf area 0.0.0.0 interface xe-0/0/0.0
set protocols ospf area 0.0.0.0 interface lo0.0 passive
set protocols bgp group OVL type internal
set protocols bgp group OVL local-address 10.255.0.2
set protocols bgp group OVL family evpn signaling
set protocols bgp group OVL neighbor 10.255.0.1
set switch-options vtep-source-interface lo0.0
set switch-options route-distinguisher 10.255.0.2:1
set switch-options vrf-target target:65000:10
set protocols evpn encapsulation vxlan
set protocols evpn extended-vni-list all
set vlans V10 vlan-id 10
set vlans V10 vxlan vni 10010
commit
exit
Related labs
Where to start
The lessons are open to everyone, all guided labs are listed by track, and
plans explains what is free and what is not.
CCNA®, CCNP® and Cisco® are trademarks of Cisco Systems, Inc. zNetLaB is not affiliated with or endorsed by Cisco.
Try the simulator in your browser, no sign-up