Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f83873
commit 919d5eb
Showing
3 changed files
with
119 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,111 @@ | ||
# -*- junos -*- | ||
system { | ||
host-name S3; | ||
syslog { | ||
file messages { | ||
any notice; | ||
} | ||
} | ||
} | ||
interfaces { | ||
lo0 { | ||
unit 0 { | ||
family inet { | ||
address 203.0.113.3/32; | ||
} | ||
family inet6 { | ||
address 2001:db8:3::1/128; | ||
} | ||
} | ||
} | ||
xe-0/0/0 { | ||
unit 0 { | ||
family inet { | ||
address 169.254.15.3/24; | ||
} | ||
family inet6; | ||
} | ||
} | ||
xe-0/0/1 { | ||
unit 0 { | ||
family ethernet-switching { | ||
interface-mode trunk; | ||
vlan { | ||
members [ vlan100 vlan200 ]; | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
protocols { | ||
ospf { | ||
area 0.0.0.0 { | ||
interface xe-0/0/0.0; | ||
interface lo0.0 { | ||
passive; | ||
} | ||
} | ||
} | ||
ospf3 { | ||
area 0.0.0.0 { | ||
interface xe-0/0/0.0; | ||
interface lo0.0 { | ||
passive; | ||
} | ||
} | ||
} | ||
bgp { | ||
group evpn { | ||
type internal; | ||
multipath; | ||
multihop; | ||
family evpn signaling; | ||
local-address 203.0.113.3; | ||
neighbor 203.0.113.254; | ||
} | ||
} | ||
evpn { | ||
encapsulation vxlan; | ||
extended-vni-list all; | ||
multicast-mode ingress-replication; | ||
} | ||
} | ||
|
||
vlans { | ||
vlan100 { | ||
vlan-id 100; | ||
vxlan { | ||
vni 100; | ||
ingress-node-replication; | ||
} | ||
} | ||
vlan200 { | ||
vlan-id 200; | ||
vxlan { | ||
vni 200; | ||
ingress-node-replication; | ||
} | ||
} | ||
} | ||
|
||
switch-options { | ||
vtep-source-interface lo0.0; | ||
route-distinguisher 203.0.113.3:1; | ||
vrf-import EVPN-VRF-VXLAN; | ||
vrf-target { | ||
target:65000:1; | ||
auto; | ||
} | ||
} | ||
|
||
routing-options { | ||
router-id 203.0.113.3; | ||
autonomous-system 65000; | ||
} | ||
|
||
policy-options { | ||
policy-statement EVPN-VRF-VXLAN { | ||
then accept; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters