summaryrefslogtreecommitdiff
path: root/smoketest/configs/basic-system-ip-protocol
blob: 84c2c8da7fc5ae4fd9bd6dcd05f56719d35093c6 (plain)
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
interfaces {
    ethernet eth0 {
        address "192.168.0.1/24"
        address "fe88::1/56"
        duplex "auto"
        offload {
            gro
            gso
            sg
            tso
        }
        speed "auto"
    }
    loopback lo {
    }
}
policy {
    route-map stub {
    }
}
protocols {
    static {
        arp {
            interface eth0 {
                address 192.168.0.20 {
                    mac "00:50:00:00:00:20"
                }
                address 192.168.0.30 {
                    mac "00:50:00:00:00:30"
                }
                address 192.168.0.40 {
                    mac "00:50:00:00:00:40"
                }
            }
            interface eth2.100 {
                address 100.100.0.2 {
                    mac "00:50:00:00:02:02"
                }
                address 100.100.0.3 {
                    mac "00:50:00:00:02:03"
                }
                address 100.100.0.4 {
                    mac "00:50:00:00:02:04"
                }
            }
            interface eth2.200 {
                address 100.64.200.1 {
                    mac "00:50:00:00:00:01"
                }
                address 100.64.200.2 {
                    mac "00:50:00:00:00:02"
                }
            }
            interface eth2.200.201 {
                address 100.64.201.10 {
                    mac "00:50:00:00:00:10"
                }
                address 100.64.201.20 {
                    mac "00:50:00:00:00:20"
                }
            }
            interface eth2.200.202 {
                address 100.64.202.30 {
                    mac "00:50:00:00:00:30"
                }
                address 100.64.202.40 {
                    mac "00:50:00:00:00:40"
                }
            }
        }
        route 0.0.0.0/0 {
            next-hop 100.64.0.1 {
            }
        }
    }
}
system {
    config-management {
        commit-revisions "100"
    }
    conntrack {
        ignore {
            ipv4 {
                rule 1 {
                    destination {
                        address "192.0.2.2"
                    }
                    source {
                        address "192.0.2.1"
                    }
                }
            }
        }
        modules {
            ftp
            h323
            nfs
            pptp
            sip
            sqlnet
            tftp
        }
    }
    console {
        device ttyS0 {
            speed "115200"
        }
    }
    host-name "vyos"
    ip {
        protocol any {
            route-map "stub"
        }
        protocol babel {
            route-map "stub"
        }
        protocol bgp {
            route-map "stub"
        }
        protocol connected {
            route-map "stub"
        }
        protocol eigrp {
            route-map "stub"
        }
        protocol isis {
            route-map "stub"
        }
        protocol kernel {
            route-map "stub"
        }
        protocol ospf {
            route-map "stub"
        }
        protocol rip {
            route-map "stub"
        }
        protocol static {
            route-map "stub"
        }
        protocol table {
            route-map "stub"
        }
    }
    ipv6 {
        protocol any {
            route-map "stub"
        }
        protocol babel {
            route-map "stub"
        }
        protocol bgp {
            route-map "stub"
        }
        protocol connected {
            route-map "stub"
        }
        protocol isis {
            route-map "stub"
        }
        protocol kernel {
            route-map "stub"
        }
        protocol ospfv3 {
            route-map "stub"
        }
        protocol ripng {
            route-map "stub"
        }
        protocol static {
            route-map "stub"
        }
        protocol table {
            route-map "stub"
        }
    }
    login {
        user vyos {
            authentication {
                encrypted-password "$6$O5gJRlDYQpj$MtrCV9lxMnZPMbcxlU7.FI793MImNHznxGoMFgm3Q6QP3vfKJyOSRCt3Ka/GzFQyW1yZS4NS616NLHaIPPFHc0"
                plaintext-password ""
            }
        }
    }
    name-server "192.168.0.1"
    syslog {
        console {
            facility all {
                level "emerg"
            }
            facility mail {
                level "info"
            }
        }
        global {
            facility all {
                level "info"
            }
            facility auth {
                level "info"
            }
            facility local7 {
                level "debug"
            }
            marker {
                interval "1000"
            }
            preserve-fqdn
        }
        host syslog.vyos.net {
            facility auth {
                level "warning"
            }
            facility local7 {
                level "notice"
            }
            format {
                octet-counted
            }
            port "8000"
            protocol "tcp"
        }
    }
    time-zone "Europe/Berlin"
}
vrf {
    name red {
        ip {
            protocol any {
                route-map "stub"
            }
            protocol babel {
                route-map "stub"
            }
            protocol bgp {
                route-map "stub"
            }
            protocol connected {
                route-map "stub"
            }
            protocol eigrp {
                route-map "stub"
            }
            protocol isis {
                route-map "stub"
            }
            protocol kernel {
                route-map "stub"
            }
            protocol ospf {
                route-map "stub"
            }
            protocol rip {
                route-map "stub"
            }
            protocol static {
                route-map "stub"
            }
            protocol table {
                route-map "stub"
            }
        }
        ipv6 {
            protocol any {
                route-map "stub"
            }
            protocol babel {
                route-map "stub"
            }
            protocol bgp {
                route-map "stub"
            }
            protocol connected {
                route-map "stub"
            }
            protocol isis {
                route-map "stub"
            }
            protocol kernel {
                route-map "stub"
            }
            protocol ospfv3 {
                route-map "stub"
            }
            protocol ripng {
                route-map "stub"
            }
            protocol static {
                route-map "stub"
            }
            protocol table {
                route-map "stub"
            }
        }
        table "1234"
    }
}


// Warning: Do not remove the following line.
// vyos-config-version: "bgp@6:broadcast-relay@1:cluster@2:config-management@1:conntrack@6:conntrack-sync@2:container@2:dhcp-relay@2:dhcp-server@8:dhcpv6-server@1:dns-dynamic@4:dns-forwarding@4:firewall@15:flow-accounting@1:https@6:ids@1:interfaces@32:ipoe-server@3:ipsec@13:isis@3:l2tp@9:lldp@2:mdns@1:monitoring@1:nat@8:nat66@3:ntp@3:openconnect@3:ospf@2:pim@1:policy@8:pppoe-server@10:pptp@5:qos@2:quagga@11:reverse-proxy@1:rip@1:rpki@2:salt@1:snmp@3:ssh@2:sstp@6:system@27:vrf@3:vrrp@4:vyos-accel-ppp@2:wanloadbalance@3:webproxy@2"
// Release version: 1.4.3