https://community.juniper.net/communities/community-home/digestviewer/viewthread?MID=74387
|
|
---|
SRX1 |
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 172.16.60.23/16;
}
}
}
gr-0/0/0 {
unit 0 {
point-to-point;
tunnel {
source 172.16.60.23;
destination 172.16.80.23;
}
family inet {
sampling {
input;
output;
}
address 10.255.255.1/30;
}
family mpls;
}
}
fe-0/0/2 {
vlan-tagging;
encapsulation vlan-ccc;
unit 512 {
encapsulation vlan-ccc;
vlan-id 512;
}
}
lo0 {
unit 0 {
family inet {
address 10.73.73.60/32;
}
}
}
}
protocols {
rsvp {
interface gr-0/0/0.0;
}
mpls {
label-switched-path to-80 {
to 10.73.73.80;
no-cspf;
primary via-gre-to-80;
}
path via-gre-to-80 {
10.73.73.80 loose;
}
interface gr-0/0/0.0;
interface lo0.0;
}
bgp {
group ibgp {
type internal;
local-address 10.73.73.60;
family l2vpn {
signaling;
}
local-as 1;
neighbor 10.73.73.80;
}
}
ospf {
export ospf-policy;
area 0.0.0.0 {
interface gr-0/0/0.0 {
interface-type p2p;
}
interface lo0.0;
}
}
}
policy-options {
policy-statement ospf-policy {
term lo {
from {
route-filter 10.73.73.0/24 orlonger;
}
then accept;
}
}
}
security {
inactive: zones {
security-zone Internet {
host-inbound-traffic {
system-services {
all;
}
protocols {
all;
}
}
interfaces {
ge-0/0/0.0;
gr-0/0/0.0;
}
}
}
forwarding-options {
family {
mpls {
mode packet-based;
}
}
}
}
routing-instances {
customer-1 {
instance-type l2vpn;
interface fe-0/0/2.512;
route-distinguisher 10.73.73.60:1;
vrf-target target:65412:100;
protocols {
l2vpn {
traceoptions {
encapsulation-type ethernet-vlan;
site DC2 {
site-identifier 1;
interface fe-0/0/2.512;
}
}
}
}
}
|
SRX2 | |
|
|
|
|
|
|
|
|