-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathleaf-r302
101 lines (101 loc) · 1.8 KB
/
leaf-r302
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
! Command: show running-config
! device: leaf-r302 (vEOS, EOS-4.18.5M)
!
! boot system flash:/vEOS-lab.swi
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname leaf-r302
!
spanning-tree mode mstp
no spanning-tree vlan 4000
!
no aaa root
!
vlan 100,200
!
vlan 4000
name mlag-control
trunk group mlag-control
!
vlan 4001
name iBGP_LOCAL_PEER
trunk group iBGP_LOCAL_PEER
!
interface Port-Channel1
description ISP1
switchport access vlan 100
mlag 1
!
interface Port-Channel2
description ISP2
switchport access vlan 200
mlag 2
!
interface Port-Channel2000
description mlag-peerlink
switchport mode trunk
switchport trunk group iBGP_LOCAL_PEER
switchport trunk group mlag-control
!
interface Ethernet1
description SPINE1
no switchport
ip address 172.18.131.2/30
!
interface Ethernet2
description SPINE2
no switchport
ip address 172.18.132.2/30
!
interface Ethernet3
description SPINE3
no switchport
ip address 172.18.133.2/30
!
interface Ethernet4
!
interface Ethernet5
description ISP1
channel-group 1 mode active
!
interface Ethernet6
description ISP2
channel-group 2 mode active
!
interface Ethernet7
description mlag-peerlink
channel-group 2000 mode active
!
interface Loopback255
description MGMT
ip address 10.255.255.32/32
!
interface Management1
!
interface Vlan4000
ip address 192.168.3.2/30
!
interface Vlan4001
description iBGP_LOCAL_PEER
ip address 172.16.30.2/30
!
ip routing
!
ip prefix-list LOOPBACKS
seq 10 permit 10.255.255.32/32
!
mlag configuration
domain-id MLAG1
heartbeat-interval 1000
local-interface Vlan4000
peer-address 192.168.3.1
peer-link Port-Channel2000
reload-delay 200
!
route-map LOOPBACKS permit 10
match ip address prefix-list LOOPBACKS
!
end