Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
233 lines (232 sloc) 5.1 KB
## Last changed: 2017-04-29 17:57:43 UTC
version 17.1R1.8;
system {
host-name PE2;
root-authentication {
encrypted-password "$6$XtLps6Wg$1Ko37yr.cQev/J7oIWCpJ.6DpPMfYBbQkxjUE.7/uzIEr4y0LKhQLFy73pEq.p4THKUdKG3w/n5mqcAJiPnrf1";
}
login {
user bgphelp {
uid 2001;
class super-user;
authentication {
encrypted-password "$1$AVGGoHjI$F9TDTWzZargpxvicYaTfU1";
}
}
}
services {
ssh;
telnet;
netconf {
ssh;
}
}
syslog {
user * {
any emergency;
}
file messages {
any any;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
archival {
configuration {
transfer-on-commit;
archive-sites {
"scp://cfg:c0nf1Gb4ckup!@192.168.3.210/home/cfg/config-backups/";
}
}
}
license {
autoupdate {
url https://ae1.juniper.net/junos/key_retrieval;
}
}
}
chassis {
network-services enhanced-ip;
}
interfaces {
ge-0/0/0 {
vlan-tagging;
mtu 9500;
unit 503 {
description PE2->P1;
vlan-id 503;
family inet {
address 120.0.3.11/31;
}
family iso;
family mpls;
}
unit 505 {
description PE2->P2;
vlan-id 505;
family inet {
address 120.0.3.13/31;
}
family iso;
family mpls;
}
inactive: unit 523 {
description PE2->Downstream3;
vlan-id 523;
family inet {
address 120.0.4.9/30;
}
}
}
ge-0/0/1 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 100;
}
}
}
ge-0/0/2 {
unit 0 {
family bridge {
interface-mode trunk;
vlan-id-list 200;
}
}
}
fxp0 {
unit 0 {
family inet {
address 192.168.3.212/24;
}
}
}
irb {
unit 100 {
family inet {
address 1.1.1.1/24;
}
mac 00:00:5e:01:00:00;
}
unit 200 {
family inet {
address 1.1.2.1/24;
}
mac 00:00:5e:02:00:00;
}
}
lo0 {
unit 0 {
family inet {
address 120.0.2.2/32;
}
family iso {
address 49.0002.0120.0002.0002.00;
}
}
}
}
routing-options {
static {
route 192.168.74.0/24 {
next-hop 192.168.3.18;
no-readvertise;
}
}
autonomous-system 100;
forwarding-table {
chained-composite-next-hop {
ingress {
evpn;
}
}
}
}
protocols {
mpls {
interface ge-0/0/0.503;
interface ge-0/0/0.505;
}
bgp {
inactive: traceoptions {
file bgp.log;
flag all;
}
inactive: group IBGP-RR {
type internal;
local-address 120.0.2.2;
family evpn {
signaling;
}
authentication-key "$9$gBaGiP5FApBk.pBIEeK4aZ";
neighbor 120.0.1.1;
neighbor 120.0.1.2;
}
group IBGP-PE {
type internal;
local-address 120.0.2.2;
family evpn {
signaling;
}
neighbor 120.0.2.1;
neighbor 120.0.2.5;
neighbor 120.0.2.7;
}
}
isis {
source-packet-routing {
node-segment ipv4-index 202;
}
level 2 wide-metrics-only;
level 1 disable;
interface ge-0/0/0.503 {
point-to-point;
}
interface ge-0/0/0.505 {
point-to-point;
}
interface lo0.0;
}
}
routing-instances {
CUSTOMER-A {
instance-type virtual-switch;
interface ge-0/0/1.0;
interface ge-0/0/2.0;
route-distinguisher 120.0.2.2:100;
vrf-target target:100:100;
protocols {
evpn {
extended-vlan-list [ 100 200 ];
default-gateway do-not-advertise;
}
}
bridge-domains {
BD100 {
vlan-id 100;
routing-interface irb.100;
}
BD200 {
vlan-id 200;
routing-interface irb.200;
}
}
}
CUSTOMER-A-L3 {
instance-type vrf;
interface irb.100;
interface irb.200;
route-distinguisher 120.0.2.2:101;
vrf-target target:100:101;
vrf-table-label;
protocols {
evpn {
ip-prefix-routes {
advertise direct-nexthop;
}
}
}
}
}