]>
Commit | Line | Data |
---|---|---|
4bd3d7bf | 1 | frr version 8.2.2 |
82f6b09f | 2 | frr defaults datacenter |
82f6b09f | 3 | hostname localhost |
9c7dded6 AD |
4 | log syslog informational |
5 | service integrated-vtysh-config | |
82f6b09f AD |
6 | ! |
7 | ! | |
8 | vrf vrf_myzone | |
9 | vni 1000 | |
10 | exit-vrf | |
11 | ! | |
12 | router bgp 65001 | |
13 | bgp router-id 192.168.0.1 | |
14 | no bgp default ipv4-unicast | |
15 | coalesce-time 1000 | |
16 | neighbor VTEP peer-group | |
17 | neighbor VTEP remote-as external | |
18 | neighbor VTEP bfd | |
19 | neighbor VTEP ebgp-multihop 10 | |
20 | neighbor VTEP update-source dummy1 | |
21 | neighbor 192.168.0.2 peer-group VTEP | |
22 | neighbor 192.168.0.3 peer-group VTEP | |
82f6b09f AD |
23 | bgp disable-ebgp-connected-route-check |
24 | neighbor BGP peer-group | |
25 | neighbor BGP remote-as external | |
26 | neighbor BGP bfd | |
27 | neighbor 172.16.0.254 peer-group BGP | |
28 | neighbor 172.17.0.254 peer-group BGP | |
29 | ! | |
30 | address-family ipv4 unicast | |
31 | network 192.168.0.1/32 | |
32 | neighbor BGP activate | |
33 | neighbor BGP soft-reconfiguration inbound | |
34 | exit-address-family | |
35 | ! | |
36 | address-family l2vpn evpn | |
916488cc | 37 | neighbor VTEP route-map MAP_VTEP_IN in |
847f5144 | 38 | neighbor VTEP route-map MAP_VTEP_OUT out |
82f6b09f AD |
39 | neighbor VTEP activate |
40 | advertise-all-vni | |
41 | autort as 65000 | |
42 | exit-address-family | |
32870bdc | 43 | exit |
82f6b09f AD |
44 | ! |
45 | router bgp 65001 vrf vrf_myzone | |
f34a898e | 46 | bgp router-id 192.168.0.1 |
82f6b09f AD |
47 | ! |
48 | address-family l2vpn evpn | |
49 | route-target import 65000:1000 | |
50 | route-target export 65000:1000 | |
51 | exit-address-family | |
32870bdc | 52 | exit |
82f6b09f | 53 | ! |
bc7cf91f AD |
54 | ip prefix-list loopbacks_ips seq 10 permit 0.0.0.0/0 le 32 |
55 | ! | |
916488cc | 56 | route-map MAP_VTEP_IN permit 1 |
32870bdc | 57 | exit |
916488cc | 58 | ! |
847f5144 | 59 | route-map MAP_VTEP_OUT permit 1 |
32870bdc | 60 | exit |
847f5144 | 61 | ! |
bbf4e4b1 AD |
62 | route-map correct_src permit 1 |
63 | match ip address prefix-list loopbacks_ips | |
64 | set src 192.168.0.1 | |
32870bdc | 65 | exit |
bbf4e4b1 | 66 | ! |
f56311de AD |
67 | ip protocol bgp route-map correct_src |
68 | ! | |
82f6b09f AD |
69 | line vty |
70 | ! |