· 5 years ago · Feb 28, 2020, 11:00 AM
1Leaf01#show running-config
2! Command: show running-config
3! device: Leaf01 (vEOS, EOS-4.22.2.1F)
4!
5! boot system flash:/vEOS-lab-4.22.2.1F.swi
6!
7cvx
8!
9transceiver qsfp default-mode 4x10G
10!
11service routing protocols model multi-agent
12!
13hostname Leaf01
14!
15spanning-tree mode rapid-pvst
16no spanning-tree vlan-id 4093-4094
17!
18no aaa root
19!
20tcpdump session 1 interface Vlan40 file file:/tmp/tcpdump/1/1 size 1500
21tcpdump session 1 shutdown
22!
23vlan 40,50
24 trunk group Custom
25!
26vlan 4093
27 trunk group IBGPVlan
28!
29vlan 4094
30 trunk group MlagVlan
31!
32vrf instance gold
33!
34interface Port-Channel1
35 switchport mode trunk
36 switchport trunk group Custom
37 switchport trunk group IBGPVlan
38 switchport trunk group MlagVlan
39 spanning-tree link-type point-to-point
40!
41interface Port-Channel2
42 switchport mode trunk
43 switchport trunk group Custom
44 mlag 2
45 spanning-tree link-type point-to-point
46!
47interface Ethernet1
48 description "Peer Link"
49 channel-group 1 mode active
50 lacp timer fast
51!
52interface Ethernet2
53 description "Peer Link"
54 channel-group 1 mode active
55 lacp timer fast
56!
57interface Ethernet3
58 no switchport
59 ip address 192.168.11.2/30
60!
61interface Ethernet4
62 no switchport
63 ip address 192.168.21.2/30
64!
65interface Ethernet5
66 channel-group 2 mode active
67 lacp timer fast
68!
69interface Ethernet6
70!
71interface Ethernet7
72!
73interface Ethernet8
74!
75interface Loopback0
76 ip address 192.168.1.1/32
77!
78interface Loopback1
79 ip address 192.168.10.1/32
80!
81interface Management1
82!
83interface Vlan40
84 vrf gold
85 ip address 10.0.40.3/24
86 ip virtual-router address 10.0.40.1
87!
88interface Vlan50
89 vrf gold
90 ip address 10.0.50.3/24
91 ip virtual-router address 10.0.50.1/24
92!
93interface Vlan4093
94 ip address 192.168.112.1/30
95!
96interface Vlan4094
97 no autostate
98 ip address 172.16.12.1/30
99!
100interface Vxlan1
101 vxlan source-interface Loopback1
102 vxlan virtual-router encapsulation mac-address mlag-system-id
103 vxlan udp-port 4789
104 vxlan vlan 40 vni 100040
105 vxlan vlan 50 vni 100050
106 vxlan vrf gold vni 100001
107 vxlan learn-restrict any
108!
109ip virtual-router mac-address c0:01:ca:fe:ba:be
110!
111ip routing
112ip routing vrf gold
113!
114mlag configuration
115 domain-id leafs
116 local-interface Vlan4094
117 peer-address 172.16.12.2
118 peer-link Port-Channel1
119!
120router bgp 65001
121 router-id 192.168.1.1
122 no bgp default ipv4-unicast
123 distance bgp 20 200 200
124 maximum-paths 4 ecmp 64
125 neighbor evpn peer group
126 neighbor evpn remote-as 65000
127 neighbor evpn update-source Loopback0
128 neighbor evpn ebgp-multihop 3
129 neighbor evpn send-community extended
130 neighbor evpn maximum-routes 12000
131 neighbor underlay peer group
132 neighbor underlay remote-as 65000
133 neighbor underlay maximum-routes 12000
134 neighbor underlay_ibgp peer group
135 neighbor underlay_ibgp remote-as 65001
136 neighbor underlay_ibgp next-hop-self
137 neighbor underlay_ibgp maximum-routes 12000
138 neighbor 192.168.0.1 peer group evpn
139 neighbor 192.168.0.2 peer group evpn
140 neighbor 192.168.11.1 peer group underlay
141 neighbor 192.168.21.1 peer group underlay
142 neighbor 192.168.112.2 peer group underlay_ibgp
143 !
144 vlan 40
145 rd 65001:100040
146 route-target both 40:100040
147 redistribute learned
148 !
149 vlan 50
150 rd 65001:100050
151 route-target both 50:100050
152 redistribute learned
153 !
154 address-family evpn
155 neighbor evpn activate
156 !
157 address-family ipv4
158 neighbor underlay activate
159 neighbor underlay_ibgp activate
160 network 192.168.1.1/32
161 network 192.168.10.1/32
162 !
163 vrf gold
164 rd 192.168.10.1:1
165 route-target import evpn 1:100001
166 route-target export evpn 1:100001
167 redistribute connected
168 redistribute attached-host
169!
170end
171Leaf01#
172
173
174---------------------------------
175
176
177Leaf03#sh run
178! Command: show running-config
179! device: Leaf03 (vEOS, EOS-4.22.2.1F)
180!
181! boot system flash:/vEOS-lab-4.22.2.1F.swi
182!
183transceiver qsfp default-mode 4x10G
184!
185service routing protocols model multi-agent
186!
187hostname Leaf03
188!
189spanning-tree mode rapid-pvst
190no spanning-tree vlan-id 4093-4094
191!
192no aaa root
193!
194vlan 40,50
195 trunk group Custom
196!
197vlan 4093
198 trunk group IBGPVlan
199!
200vlan 4094
201 trunk group MlagVlan
202!
203vrf instance gold
204!
205interface Port-Channel1
206 switchport mode trunk
207 switchport trunk group Custom
208 switchport trunk group IBGPVlan
209 switchport trunk group MlagVlan
210 spanning-tree link-type point-to-point
211!
212interface Port-Channel2
213 switchport mode trunk
214 switchport trunk group Custom
215 mlag 2
216 spanning-tree link-type point-to-point
217!
218interface Ethernet1
219 description "Peer Link"
220 channel-group 1 mode active
221 lacp timer fast
222!
223interface Ethernet2
224 description "Peer Link"
225 channel-group 1 mode active
226 lacp timer fast
227!
228interface Ethernet3
229 no switchport
230 ip address 192.168.13.2/30
231!
232interface Ethernet4
233 no switchport
234 ip address 192.168.23.2/30
235!
236interface Ethernet5
237 channel-group 2 mode active
238 lacp timer fast
239!
240interface Ethernet6
241!
242interface Ethernet7
243!
244interface Ethernet8
245!
246interface Loopback0
247 ip address 192.168.1.3/32
248!
249interface Loopback1
250 ip address 192.168.10.2/32
251!
252interface Management1
253!
254interface Vlan40
255 vrf gold
256 ip address 10.0.40.5/24
257 ip virtual-router address 10.0.40.1/24
258!
259interface Vlan50
260 vrf gold
261 ip address 10.0.50.5/24
262 ip virtual-router address 10.0.50.1/24
263!
264interface Vlan4093
265 ip address 192.168.134.1/30
266!
267interface Vlan4094
268 no autostate
269 ip address 172.16.34.1/30
270!
271interface Vxlan1
272 vxlan source-interface Loopback1
273 vxlan virtual-router encapsulation mac-address mlag-system-id
274 vxlan udp-port 4789
275 vxlan vlan 40 vni 100040
276 vxlan vlan 50 vni 100050
277 vxlan vrf gold vni 100001
278 vxlan learn-restrict any
279!
280ip virtual-router mac-address c0:01:ca:fe:ba:be
281!
282ip routing
283ip routing vrf gold
284!
285mlag configuration
286 domain-id leafs
287 local-interface Vlan4094
288 peer-address 172.16.34.2
289 peer-link Port-Channel1
290!
291router bgp 65002
292 router-id 192.168.1.3
293 no bgp default ipv4-unicast
294 distance bgp 20 200 200
295 maximum-paths 4 ecmp 64
296 neighbor evpn peer group
297 neighbor evpn remote-as 65000
298 neighbor evpn update-source Loopback0
299 neighbor evpn ebgp-multihop 3
300 neighbor evpn send-community extended
301 neighbor evpn maximum-routes 12000
302 neighbor underlay peer group
303 neighbor underlay remote-as 65000
304 neighbor underlay maximum-routes 12000
305 neighbor underlay_ibgp peer group
306 neighbor underlay_ibgp remote-as 65002
307 neighbor underlay_ibgp next-hop-self
308 neighbor underlay_ibgp maximum-routes 12000
309 neighbor 192.168.0.1 peer group evpn
310 neighbor 192.168.0.2 peer group evpn
311 neighbor 192.168.13.1 peer group underlay
312 neighbor 192.168.23.1 peer group underlay
313 neighbor 192.168.134.2 peer group underlay_ibgp
314 !
315 vlan 40
316 rd 65001:100040
317 route-target both 40:100040
318 redistribute learned
319 !
320 vlan 50
321 rd 65001:100050
322 route-target both 50:100050
323 redistribute learned
324 !
325 address-family evpn
326 neighbor evpn activate
327 !
328 address-family ipv4
329 neighbor underlay activate
330 neighbor underlay_ibgp activate
331 network 192.168.1.3/32
332 network 192.168.10.2/32
333 !
334 vrf gold
335 rd 192.168.10.3:1
336 route-target import evpn 1:100001
337 route-target export evpn 1:100001
338 redistribute connected
339!
340end
341Leaf03#
342
343------------------------------
344
345Leaf05#sh run
346! Command: show running-config
347! device: Leaf05 (vEOS, EOS-4.22.2.1F)
348!
349! boot system flash:/vEOS-lab-4.22.2.1F.swi
350!
351transceiver qsfp default-mode 4x10G
352!
353service routing protocols model multi-agent
354!
355hostname Leaf05
356!
357spanning-tree mode rapid-pvst
358no spanning-tree vlan-id 4093-4094
359!
360no aaa root
361!
362vlan 40
363 trunk group Custom
364!
365vlan 4093
366 trunk group IBGPVlan
367!
368vlan 4094
369 trunk group MlagVlan
370!
371vrf instance gold
372!
373interface Port-Channel1
374 switchport mode trunk
375 switchport trunk group Custom
376 switchport trunk group IBGPVlan
377 switchport trunk group MlagVlan
378 spanning-tree link-type point-to-point
379!
380interface Port-Channel2
381 switchport mode trunk
382 switchport trunk group Custom
383 mlag 2
384 spanning-tree link-type point-to-point
385!
386interface Ethernet1
387 description "Peer Link"
388 channel-group 1 mode active
389 lacp timer fast
390!
391interface Ethernet2
392 description "Peer Link"
393 channel-group 1 mode active
394 lacp timer fast
395!
396interface Ethernet3
397 no switchport
398 ip address 192.168.15.2/30
399!
400interface Ethernet4
401 no switchport
402 ip address 192.168.25.2/30
403!
404interface Ethernet5
405 channel-group 2 mode active
406 lacp timer fast
407!
408interface Ethernet6
409!
410interface Ethernet7
411!
412interface Ethernet8
413!
414interface Loopback0
415 ip address 192.168.1.5/32
416!
417interface Loopback1
418 ip address 192.168.10.3/32
419!
420interface Management1
421!
422interface Vlan40
423 vrf gold
424 ip address 10.0.40.7/24
425 ip virtual-router address 10.0.40.1
426!
427interface Vlan4093
428 ip address 192.168.156.1/30
429!
430interface Vlan4094
431 no autostate
432 ip address 172.16.56.1/30
433!
434interface Vxlan1
435 vxlan source-interface Loopback1
436 vxlan virtual-router encapsulation mac-address mlag-system-id
437 vxlan udp-port 4789
438 vxlan vlan 40 vni 100040
439 vxlan vrf gold vni 100001
440 vxlan learn-restrict any
441!
442ip virtual-router mac-address c0:01:ca:fe:ba:be
443!
444ip routing
445ip routing vrf gold
446!
447mlag configuration
448 domain-id leafs
449 local-interface Vlan4094
450 peer-address 172.16.56.2
451 peer-link Port-Channel1
452!
453router bgp 65003
454 router-id 192.168.1.5
455 no bgp default ipv4-unicast
456 distance bgp 20 200 200
457 maximum-paths 4 ecmp 64
458 neighbor evpn peer group
459 neighbor evpn remote-as 65000
460 neighbor evpn update-source Loopback0
461 neighbor evpn ebgp-multihop 3
462 neighbor evpn send-community extended
463 neighbor evpn maximum-routes 12000
464 neighbor underlay peer group
465 neighbor underlay remote-as 65000
466 neighbor underlay maximum-routes 12000
467 neighbor underlay_ibgp peer group
468 neighbor underlay_ibgp remote-as 65003
469 neighbor underlay_ibgp next-hop-self
470 neighbor underlay_ibgp maximum-routes 12000
471 neighbor 192.168.0.1 peer group evpn
472 neighbor 192.168.0.2 peer group evpn
473 neighbor 192.168.15.1 peer group underlay
474 neighbor 192.168.25.1 peer group underlay
475 neighbor 192.168.156.2 peer group underlay_ibgp
476 !
477 vlan 40
478 rd 65001:100040
479 route-target both 40:100040
480 redistribute learned
481 !
482 address-family evpn
483 neighbor evpn activate
484 !
485 address-family ipv4
486 neighbor underlay activate
487 neighbor underlay_ibgp activate
488 network 192.168.1.5/32
489 network 192.168.10.3/32
490 !
491 vrf gold
492 rd 192.168.10.5:1
493 route-target import evpn 1:100001
494 route-target export evpn 1:100001
495 redistribute connected
496!
497end
498Leaf05#
499
500
501------------------------------------
502
503
504root@vMX14# show
505## Last changed: 2020-02-28 09:54:50 UTC
506version 14.1R1.10;
507system {
508 host-name vMX14;
509 root-authentication {
510 encrypted-password "$1$X1xGzGnJ$AZ.rWKpZ4XMh1A1H6Of0Q1"; ## SECRET-DATA
511 }
512 syslog {
513 user * {
514 any emergency;
515 }
516 file messages {
517 any notice;
518 authorization info;
519 }
520 file interactive-commands {
521 interactive-commands any;
522 }
523 }
524}
525chassis {
526 aggregated-devices {
527 ethernet {
528 device-count 1;
529 }
530 }
531}
532interfaces {
533 ge-0/0/0 {
534 gigether-options {
535 802.3ad ae0;
536 }
537 }
538 ge-0/0/1 {
539 gigether-options {
540 802.3ad ae0;
541 }
542 }
543 ae0 {
544 flexible-vlan-tagging;
545 encapsulation flexible-ethernet-services;
546 aggregated-ether-options {
547 lacp {
548 active;
549 periodic fast;
550 }
551 }
552 unit 40 {
553 vlan-id 40;
554 family inet {
555 address 10.0.40.14/24;
556 }
557 }
558 unit 50 {
559 vlan-id 50;
560 family inet {
561 address 10.0.50.14/24;
562 }
563 }
564 }
565}
566routing-options {
567 static {
568 route 0.0.0.0/0 next-hop 10.0.40.1;
569 }
570}
571routing-instances {
572 Vlan50 {
573 instance-type virtual-router;
574 interface ae0.50;
575 routing-options {
576 static {
577 route 0.0.0.0/0 next-hop 10.0.50.1;
578 }
579 }
580 }
581}
582
583[edit]
584root@vMX14#
585
586
587
588-----------------------------
589
590root@vMX15# show
591## Last changed: 2020-02-26 10:38:38 UTC
592version 14.1R1.10;
593system {
594 host-name vMX15;
595 root-authentication {
596 encrypted-password "$1$amEZNnvW$zLp08Dyf1efZUsD/rrMjv0"; ## SECRET-DATA
597 }
598 syslog {
599 user * {
600 any emergency;
601 }
602 file messages {
603 any notice;
604 authorization info;
605 }
606 file interactive-commands {
607 interactive-commands any;
608 }
609 }
610}
611chassis {
612 aggregated-devices {
613 ethernet {
614 device-count 1;
615 }
616 }
617}
618interfaces {
619 ge-0/0/0 {
620 gigether-options {
621 802.3ad ae0;
622 }
623 }
624 ge-0/0/1 {
625 gigether-options {
626 802.3ad ae0;
627 }
628 }
629 ae0 {
630 flexible-vlan-tagging;
631 encapsulation flexible-ethernet-services;
632 aggregated-ether-options {
633 lacp {
634 active;
635 periodic fast;
636 }
637 }
638 unit 40 {
639 vlan-id 40;
640 family inet {
641 address 10.0.40.15/24;
642 }
643 }
644 unit 50 {
645 vlan-id 50;
646 family inet {
647 address 10.0.50.15/24;
648 }
649 }
650 }
651}
652routing-options {
653 static {
654 route 0.0.0.0/0 next-hop 10.0.40.1;
655 }
656}
657routing-instances {
658 Vlan50 {
659 instance-type virtual-router;
660 interface ae0.50;
661 routing-options {
662 static {
663 route 0.0.0.0/0 next-hop 10.0.50.1;
664 }
665 }
666 }
667}
668
669[edit]
670root@vMX15#
671
672------------------------------
673
674
675root@vMX16# show
676## Last changed: 2020-02-26 10:38:28 UTC
677version 14.1R1.10;
678system {
679 host-name vMX16;
680 root-authentication {
681 encrypted-password "$1$u1HdBQ3W$0P0njw15RxwKfBt//O7fS."; ## SECRET-DATA
682 }
683 syslog {
684 user * {
685 any emergency;
686 }
687 file messages {
688 any notice;
689 authorization info;
690 }
691 file interactive-commands {
692 interactive-commands any;
693 }
694 }
695}
696chassis {
697 aggregated-devices {
698 ethernet {
699 device-count 1;
700 }
701 }
702}
703interfaces {
704 ge-0/0/0 {
705 gigether-options {
706 802.3ad ae0;
707 }
708 }
709 ge-0/0/1 {
710 gigether-options {
711 802.3ad ae0;
712 }
713 }
714 ae0 {
715 flexible-vlan-tagging;
716 encapsulation flexible-ethernet-services;
717 aggregated-ether-options {
718 lacp {
719 active;
720 periodic fast;
721 }
722 }
723 unit 40 {
724 vlan-id 40;
725 family inet {
726 address 10.0.40.16/24;
727 }
728 }
729 }
730}
731routing-options {
732 static {
733 route 0.0.0.0/0 next-hop 10.0.40.1;
734 }
735}
736
737[edit]
738root@vMX16#