-
Notifications
You must be signed in to change notification settings - Fork 1
/
vEOS-LEAF01-POD02.cfg
203 lines (203 loc) · 4.24 KB
/
vEOS-LEAF01-POD02.cfg
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
! device: vEOS-LEAF01-POD02 (vEOS-lab, EOS-4.29.2F)
!
! boot system flash:/vEOS-lab.swi
!
no aaa root
!
username admin privilege 15 role network-admin secret sha512 $6$Mp2Jhw8iLj5D4Fvv$dxThmAtwJ31uogIAy4P9Sb/C/3daGpL49tiBsQhgUKM0aef0BHMqtmmhaJUwtOkjtnAeNrTwbwByefsvCxx0U0
!
transceiver qsfp default-mode 4x10G
!
service routing protocols model multi-agent
!
hostname vEOS-LEAF01-POD02
!
spanning-tree mode mstp
!
vlan 101
name VLAN101_VRFPREPRODUCTION
!
vlan 102
name VLAN102_VRFPREPRODUCTIOND
!
vlan 201
name VLAN201_VRFPRODUCTION
!
vlan 202
name VLAN202_VRFPRODUCTION
!
vrf instance PREPRODUCTION
!
vrf instance VRFPREPRODUCTION
!
vrf instance VRFPRODUCTION
!
vrf instance mgmt
rd 64512:65535
!
interface Ethernet1
no switchport
ip address unnumbered Loopback0
bfd interval 999 min-rx 999 multiplier 3
isis enable ISISUnderlayIGP
isis bfd
isis metric 10
isis network point-to-point
!
interface Ethernet2
no switchport
ip address unnumbered Loopback0
bfd interval 999 min-rx 999 multiplier 3
isis enable ISISUnderlayIGP
isis bfd
isis metric 10
isis network point-to-point
!
interface Ethernet3
shutdown
!
interface Ethernet4
shutdown
!
interface Ethernet5
shutdown
!
interface Ethernet6
shutdown
!
interface Ethernet7
shutdown
!
interface Ethernet8
shutdown
!
interface Ethernet9
shutdown
!
interface Ethernet10
shutdown
!
interface Ethernet11
switchport access vlan 102
spanning-tree portfast
!
interface Ethernet12
switchport access vlan 101
spanning-tree portfast
!
interface Loopback0
ip address 169.254.2.101/32
isis enable ISISUnderlayIGP
isis passive
!
interface Loopback1
ip address 198.51.100.101/32
isis enable ISISUnderlayIGP
isis passive
!
interface Management1
vrf mgmt
ip address 192.168.100.201/24
!
interface Vlan101
vrf VRFPREPRODUCTION
ip address virtual 10.0.101.1/24
ipv6 address virtual 2001:db8:1:101::1/64
!
interface Vlan102
vrf VRFPREPRODUCTION
ip address virtual 10.0.102.1/24
ipv6 address virtual 2001:db8:1:102::1/64
!
interface Vlan201
vrf VRFPRODUCTION
ip address virtual 172.16.201.1/24
ipv6 address virtual 2001:db8:2:201::1/64
!
interface Vlan202
vrf VRFPRODUCTION
ip address virtual 172.16.202.1/24
ipv6 address virtual 2001:db8:2:202::1/64
!
interface Vxlan1
logging event link-status
vxlan source-interface Loopback1
vxlan udp-port 4789
vxlan vlan 101 vni 1101
vxlan vlan 102 vni 1102
vxlan vlan 201 vni 1201
vxlan vlan 202 vni 1202
vxlan vrf VRFPREPRODUCTION vni 10001
vxlan vrf VRFPRODUCTION vni 10002
!
ip virtual-router mac-address 52:54:00:00:00:01
!
ip routing
ip routing vrf PREPRODUCTION
ip routing vrf VRFPREPRODUCTION
ip routing vrf VRFPRODUCTION
no ip routing vrf mgmt
!
ipv6 unicast-routing
ipv6 unicast-routing vrf VRFPREPRODUCTION
ipv6 unicast-routing vrf VRFPRODUCTION
!
ip tftp client source-interface Management1 vrf mgmt
!
router bgp 64512
router-id 169.254.2.101
neighbor PG_SPINE peer group
neighbor PG_SPINE remote-as 64512
neighbor PG_SPINE update-source Loopback0
neighbor PG_SPINE password 7 m9bUg9tbmL9NnSP9zHbz+g==
neighbor PG_SPINE send-community extended
neighbor PG_SPINE maximum-routes 1000
neighbor 169.254.2.111 peer group PG_SPINE
neighbor 169.254.2.112 peer group PG_SPINE
!
vlan 101
rd auto
route-target both 64512:101
redistribute learned
!
vlan 102
rd auto
route-target both 64512:102
redistribute learned
!
address-family evpn
neighbor PG_SPINE activate
!
address-family ipv4
no neighbor PG_SPINE activate
!
vrf VRFPREPRODUCTION
rd 169.254.2.1:10001
route-target import evpn 64512:10001
route-target export evpn 64512:10001
redistribute connected
!
address-family ipv4
redistribute connected
!
address-family ipv6
redistribute connected
!
router isis ISISUnderlayIGP
net 49.0001.0001.0002.0101.00
is-hostname vEOS-LEAF01-POD02
is-type level-2
log-adjacency-changes
spf-interval 10 2000
authentication mode md5
authentication key 7 w5LUVSOuWinPCVtby2C32g==
!
address-family ipv4 unicast
maximum-paths 4
bfd all-interfaces
!
management ssh
vrf mgmt
no shutdown
!
end