-
Notifications
You must be signed in to change notification settings - Fork 0
/
Leaf-2.cfg
277 lines (277 loc) · 4.76 KB
/
Leaf-2.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
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
!CfgFileCrc:a7f540f9
!Software Version V200R001C00SPC700
!Last configuration was updated at 2017-08-23 17:08:45 UTC
!Last configuration was saved at 2017-08-23 17:12:52 UTC
!MKHash 0000000000000000
#
sysname Leaf-2
#
device board 1 board-type CE6851-48S6Q-HI
#
drop-profile default
#
dcb pfc
#
dcb ets-profile default
#
evpn-overlay enable
#
telnet ipv6 server disable
#
diffserv domain default
#
ip vpn-instance vpn2
ipv4-family
route-distinguisher 200:2
vpn-target 10:10 import-extcommunity evpn
vpn-target 20:20 import-extcommunity evpn
vxlan vni 1000
#
bfd
#
bridge-domain 10
vxlan vni 10001
evpn
route-distinguisher 1:200
vpn-target 1:1 export-extcommunity
vpn-target 10:11 export-extcommunity
vpn-target 1:1 import-extcommunity
#
bridge-domain 20
vxlan vni 10002
evpn
route-distinguisher 2:200
vpn-target 2:2 export-extcommunity
vpn-target 20:11 export-extcommunity
vpn-target 2:2 import-extcommunity
#
aaa
local-user ansible password irreversible-cipher $1c$OjOd-]X[Z:$-U&@0v:.4J4C6KMn{`)ZzS~AVD.W#%9mOhD9b&2U$
local-user ansible service-type ssh
local-user ansible level 3
#
authentication-scheme default
#
authorization-scheme default
#
accounting-scheme default
#
domain default
#
domain default_admin
#
stack
#
interface Vbdif10
ip binding vpn-instance vpn2
ip address 177.1.1.1 255.255.255.0
arp distribute-gateway enable
arp collect host enable
#
interface Vbdif20
ip binding vpn-instance vpn2
ip address 177.1.2.1 255.255.255.0
arp distribute-gateway enable
arp collect host enable
#
interface MEth0/0/0
ip address 192.202.18.103 255.255.255.0
#
interface Eth-Trunk100
service type tunnel
#
interface 10GE1/0/1
undo portswitch
ip address 199.1.2.2 255.255.255.0
device transceiver 10GBASE-FIBER
#
interface 10GE1/0/2
device transceiver 10GBASE-FIBER
#
interface 10GE1/0/2.100 mode l2
encapsulation dot1q vid 100
bridge-domain 10
#
interface 10GE1/0/2.200 mode l2
encapsulation dot1q vid 200
bridge-domain 20
#
interface 10GE1/0/3
#
interface 10GE1/0/4
#
interface 10GE1/0/5
#
interface 10GE1/0/6
#
interface 10GE1/0/7
#
interface 10GE1/0/8
#
interface 10GE1/0/9
#
interface 10GE1/0/10
#
interface 10GE1/0/11
#
interface 10GE1/0/12
#
interface 10GE1/0/13
#
interface 10GE1/0/14
#
interface 10GE1/0/15
#
interface 10GE1/0/16
#
interface 10GE1/0/17
#
interface 10GE1/0/18
#
interface 10GE1/0/19
#
interface 10GE1/0/20
#
interface 10GE1/0/21
#
interface 10GE1/0/22
#
interface 10GE1/0/23
#
interface 10GE1/0/24
#
interface 10GE1/0/25
#
interface 10GE1/0/26
#
interface 10GE1/0/27
#
interface 10GE1/0/28
#
interface 10GE1/0/29
#
interface 10GE1/0/30
#
interface 10GE1/0/31
#
interface 10GE1/0/32
#
interface 10GE1/0/33
#
interface 10GE1/0/34
#
interface 10GE1/0/35
#
interface 10GE1/0/36
#
interface 10GE1/0/37
#
interface 10GE1/0/38
#
interface 10GE1/0/39
#
interface 10GE1/0/40
#
interface 10GE1/0/41
eth-trunk 100
#
interface 10GE1/0/42
eth-trunk 100
#
interface 10GE1/0/43
eth-trunk 100
#
interface 10GE1/0/44
eth-trunk 100
#
interface 10GE1/0/45
eth-trunk 100
#
interface 10GE1/0/46
eth-trunk 100
#
interface 10GE1/0/47
eth-trunk 100
#
interface 10GE1/0/48
eth-trunk 100
#
interface 40GE1/0/1
port crc-statistics trigger error-down
#
interface 40GE1/0/2
port crc-statistics trigger error-down
#
interface 40GE1/0/3
port crc-statistics trigger error-down
#
interface 40GE1/0/4
port crc-statistics trigger error-down
#
interface 40GE1/0/5
port crc-statistics trigger error-down
#
interface 40GE1/0/6
port crc-statistics trigger error-down
#
interface LoopBack2
ip address 2.2.2.2 255.255.255.255
#
interface Nve1
source 2.2.2.2
vni 10001 head-end peer-list protocol bgp
vni 10002 head-end peer-list protocol bgp
#
interface NULL0
#
bgp 100
peer 1.1.1.1 as-number 100
peer 1.1.1.1 connect-interface LoopBack2
#
ipv4-family unicast
peer 1.1.1.1 enable
#
l2vpn-family evpn
policy vpn-target
peer 1.1.1.1 enable
peer 1.1.1.1 advertise irb
#
ospf 1
area 0.0.0.0
network 2.2.2.2 0.0.0.0
network 199.1.2.0 0.0.0.255
#
ip route-static 192.0.0.0 255.0.0.0 192.202.18.1
#
lldp enable
#
stelnet server enable
snetconf server enable
ssh user ansible
ssh user ansible authentication-type password
ssh user ansible service-type all
ssh authorization-type default aaa
#
ssh server cipher aes256_ctr aes128_ctr
ssh server hmac sha2_256_96 sha2_256 sha1_96
ssh server key-exchange dh_group_exchange_sha256 dh_group_exchange_sha1 ecdh_sha2_nistp256 ecdh_sha2_nistp384 ecdh_sha2_nistp521 sm2_kep
#
user-interface maximum-vty 21
#
user-interface con 0
#
user-interface vty 0 4
authentication-mode password
user privilege level 3
set authentication password cipher $1c$7ed{/)Rv{C$DlYBRswXxTwOIj6>4$AG[ZG53GGEnBrg9cJF8Y5.$
idle-timeout 0 0
#
user-interface vty 5 20
authentication-mode aaa
user privilege level 3
idle-timeout 0 0
protocol inbound ssh
#
vm-manager
#
return