Конфигурации устройств
Взять конфиги клиентских MX-ов можно из предыдущей главы. Их настройки не менялись.
system {
host-name RT.MSK.M34;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.10/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.4/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 40.0.0.3/31;
}
family iso;
}
unit 500 {
encapsulation vlan-ccc;
vlan-id 500;
family ccc;
}
}
ge-0/0/3 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.0/31;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.1/32;
}
family iso {
address 49.0001.1921.6800.0001.00;
}
family mpls;
}
}
}
routing-options {
static {
route 192.168.0.8/32 {
static-lsp-next-hop M34-LNX;
}
}
router-id 192.168.0.1;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
path-mtu {
allow-fragmentation;
rsvp mtu-signaling;
}
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
label-switched-path M34-LNX {
to 192.168.0.8;
corouted-bidirectional;
bandwidth 150m;
oam {
bfd-liveness-detection {
minimum-interval 1000;
multiplier 3;
failure-action teardown;
}
}
ultimate-hop-popping;
}
label-switched-path M34-K12 {
to 192.168.0.7;
corouted-bidirectional;
bandwidth 900m;
oam {
bfd-liveness-detection {
minimum-interval 1000;
multiplier 3;
failure-action teardown;
}
}
}
interface all;
interface ge-0/0/0.0 {
admin-group [ GOLD RED GREEN ];
}
interface ge-0/0/1.0 {
admin-group [ BLUE PURPLE ];
}
interface ge-0/0/3.0 {
admin-group [ PURPLE BLUE ];
}
}
bgp {
export export-BGP;
group eBGP {
type external;
neighbor 40.0.0.2 {
peer-as 400;
}
}
group iBGP {
type internal;
local-address 192.168.0.1;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
export Next-Hop-Self;
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/3.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
l2circuit {
neighbor 192.168.0.8 {
interface ge-0/0/2.500 {
virtual-circuit-id 1488;
}
}
}
}
policy-options {
policy-statement Next-Hop-Self {
from protocol bgp;
then {
next-hop self;
}
}
policy-statement export-BGP {
term Aggregate {
from {
protocol aggregate;
route-filter 250.0.0.0/16 exact;
}
then accept;
}
term BGP {
from protocol bgp;
then accept;
}
then reject;
}
}
system {
host-name RT.MSK.M8;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.11/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 10.0.0.12/31;
}
family iso;
family mpls;
}
}
inactive: ge-0/0/4 {
unit 0 {
family inet {
address 10.0.0.20/31;
}
family iso;
family mpls;
}
}
ge-0/0/9 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 100 {
vlan-id 4094;
family inet {
address 172.16.0.1/31;
}
}
unit 250 {
encapsulation vlan-vpls;
vlan-id 250;
family vpls;
}
unit 500 {
encapsulation vlan-vpls;
vlan-id 500;
family vpls;
}
unit 2500 {
encapsulation vlan-vpls;
vlan-id 2500;
family vpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.2/32;
}
family iso {
address 49.0001.1921.6800.0002.00;
}
}
}
}
routing-options {
router-id 192.168.0.2;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ GOLD RED GREEN ];
}
interface ge-0/0/2.0 {
admin-group [ GOLD WHITE ];
}
interface ge-0/0/4.0 {
admin-group [ RED GREEN ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.2;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface ge-0/0/4.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
policy-options {
policy-statement L3VPN_BGP-OSPF {
from protocol bgp;
then accept;
}
}
routing-instances {
L3VPN {
instance-type vrf;
interface ge-0/0/9.100;
route-distinguisher 250:0;
vrf-target {
import target:250:500;
export target:250:500;
}
vrf-table-label;
protocols {
ospf {
export L3VPN_BGP-OSPF;
area 0.0.0.0 {
interface ge-0/0/9.100 {
interface-type p2p;
}
}
}
}
}
kompella-vpls-250 {
instance-type vpls;
interface ge-0/0/9.250;
route-distinguisher 10.250.0.1:1;
vrf-target target:250:250;
protocols {
vpls {
no-tunnel-services;
site Sites {
site-identifier 1;
interface ge-0/0/9.250;
}
mac-flush;
}
}
}
martini-auto {
instance-type vpls;
interface ge-0/0/9.2500;
route-distinguisher 2500:10001;
l2vpn-id l2vpn-id:2500:100;
vrf-target target:2500:1001;
protocols {
vpls {
no-tunnel-services;
}
}
}
vpls-500 {
instance-type vpls;
interface ge-0/0/9.500;
protocols {
vpls {
no-tunnel-services;
vpls-id 500;
mac-flush;
neighbor 192.168.0.7 {
pseudowire-status-tlv;
}
neighbor 192.168.0.6 {
pseudowire-status-tlv;
}
}
}
}
}
system {
host-name RT.MSK.M9;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.6/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 10.0.0.5/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 10.0.0.13/31;
}
family iso;
family mpls;
}
}
ge-0/0/3 {
unit 0 {
family inet {
address 10.0.0.14/31;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.3/32;
}
family iso {
address 49.0001.1921.6800.0003.00;
}
}
}
}
routing-options {
router-id 192.168.0.3;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ BLUE RED GREEN ];
}
interface ge-0/0/1.0 {
admin-group [ BLUE PURPLE ];
}
interface ge-0/0/2.0 {
admin-group [ WHITE GOLD ];
}
interface ge-0/0/3.0 {
admin-group [ GOLD GREEN ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.3;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface ge-0/0/3.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
system {
host-name RT.SPB.STL;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.7/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 10.0.0.16/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 10.0.0.2/31;
}
family iso;
family mpls;
}
}
ge-0/0/3 {
unit 0 {
family inet {
address 10.0.0.1/31;
}
family iso;
family mpls;
}
}
ge-0/0/4 {
unit 0 {
family inet {
address 10.0.0.8/31;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.4/32;
}
family iso {
address 49.0001.1921.6800.0004.00;
}
}
}
}
routing-options {
router-id 192.168.0.4;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ BLUE RED GREEN ];
}
interface ge-0/0/1.0 {
admin-group [ PURPLE RED ];
}
interface ge-0/0/2.0 {
admin-group [ BLUE PURPLE ];
}
interface ge-0/0/3.0 {
admin-group [ PURPLE BLUE ];
}
interface ge-0/0/4.0 {
admin-group [ PURPLE BLUE ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.4;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
cluster 0.0.0.1;
neighbor 192.168.0.2;
neighbor 192.168.0.3;
neighbor 192.168.0.5;
neighbor 192.168.0.6;
neighbor 192.168.0.1;
neighbor 192.168.0.7;
neighbor 192.168.0.8;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface ge-0/0/3.0 {
point-to-point;
}
interface ge-0/0/4.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
system {
host-name RT.SPB.OBV;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.24/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 10.0.0.17/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 10.0.0.22/31;
}
family iso;
family mpls;
}
}
ge-0/0/3 {
unit 0 {
family inet {
address 10.0.0.15/31;
}
family iso;
family mpls;
}
}
ge-0/0/4 {
unit 0 {
family inet {
address 10.0.0.21/31;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.5/32;
}
family iso {
address 49.0001.1921.6800.0005.00;
}
}
}
}
routing-options {
router-id 192.168.0.5;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ RED GOLD ];
}
interface ge-0/0/1.0 {
admin-group [ PURPLE RED ];
}
interface ge-0/0/2.0 {
admin-group PURPLE;
}
interface ge-0/0/3.0 {
admin-group [ GOLD GREEN ];
}
interface ge-0/0/4.0 {
admin-group [ GREEN RED ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.5;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
cluster 0.0.0.1;
neighbor 192.168.0.1;
neighbor 192.168.0.2;
neighbor 192.168.0.3;
neighbor 192.168.0.4;
neighbor 192.168.0.6;
neighbor 192.168.0.7;
neighbor 192.168.0.8;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface ge-0/0/3.0 {
point-to-point;
}
interface ge-0/0/4.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
system {
host-name RT.SPB.MIR;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.25/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 10.0.0.26/31;
}
family iso;
family mpls;
}
}
ge-0/0/9 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 100 {
vlan-id 4094;
family inet {
address 172.16.0.5/31;
}
}
unit 250 {
encapsulation vlan-vpls;
vlan-id 250;
family vpls;
}
unit 500 {
encapsulation vlan-vpls;
vlan-id 500;
family vpls;
}
unit 2500 {
encapsulation vlan-vpls;
vlan-id 2500;
family vpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.6/32;
address 172.16.3.1/24;
}
family iso {
address 49.0001.1921.6800.0006.00;
}
}
}
}
routing-options {
router-id 192.168.0.6;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
label-switched-path MIR-M34 {
to 192.168.0.1;
corouted-bidirectional;
bandwidth 250m;
admin-group {
include-any [ RED GOLD ];
exclude [ BLUE PURPLE ];
}
oam {
bfd-liveness-detection {
minimum-interval 1000;
multiplier 3;
failure-action teardown;
}
}
most-fill;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ RED GOLD ];
}
interface ge-0/0/1.0 {
admin-group [ RED GOLD BLUE ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.6;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
policy-options {
policy-statement L3VPN_BGP-OSPF {
from protocol bgp;
then accept;
}
}
routing-instances {
L3VPN {
instance-type vrf;
interface ge-0/0/9.100;
route-distinguisher 250:0;
vrf-target {
import target:250:500;
export target:250:500;
}
vrf-table-label;
protocols {
ospf {
export L3VPN_BGP-OSPF;
area 0.0.0.0 {
interface ge-0/0/9.100 {
interface-type p2p;
}
}
}
}
}
kompella-vpls-250 {
instance-type vpls;
interface ge-0/0/9.250;
route-distinguisher 10.250.0.3:1;
vrf-target target:250:250;
protocols {
vpls {
no-tunnel-services;
site Sites {
site-identifier 3;
interface ge-0/0/9.250;
}
}
}
}
martini-auto {
instance-type vpls;
interface ge-0/0/9.2500;
route-distinguisher 2500:10001;
l2vpn-id l2vpn-id:2500:100;
vrf-target target:2500:1001;
protocols {
vpls {
no-tunnel-services;
}
}
}
vpls-500 {
instance-type vpls;
interface ge-0/0/9.500;
protocols {
vpls {
no-tunnel-services;
vpls-id 500;
mac-flush;
neighbor 192.168.0.2 {
pseudowire-status-tlv;
}
neighbor 192.168.0.7 {
pseudowire-status-tlv;
}
}
}
}
}
system {
host-name RT.SPB.K12;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
unit 0 {
family inet {
address 10.0.0.18/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
unit 0 {
family inet {
address 10.0.0.3/31;
}
family iso;
family mpls;
}
}
ge-0/0/9 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 100 {
vlan-id 4094;
family inet {
address 172.16.0.3/31;
}
}
unit 250 {
encapsulation vlan-vpls;
vlan-id 250;
family vpls;
}
unit 500 {
encapsulation vlan-vpls;
vlan-id 500;
family vpls;
}
unit 2500 {
encapsulation vlan-vpls;
vlan-id 2500;
family vpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.7/32;
}
family iso {
address 49.0001.1921.6800.0007.00;
}
}
}
}
routing-options {
router-id 192.168.0.7;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
label-switched-path K12-LNX {
to 192.168.0.8;
bandwidth 25m;
admin-group include-all [ BLUE GOLD ];
ultimate-hop-popping;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ BLUE GOLD ];
}
interface ge-0/0/2.0 {
admin-group [ BLUE PURPLE ];
}
}
bgp {
group iBGP {
type internal;
local-address 192.168.0.7;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
}
policy-options {
policy-statement L3VPN_BGP-OSPF {
from protocol bgp;
then accept;
}
}
routing-instances {
L3VPN {
instance-type vrf;
interface ge-0/0/9.100;
route-distinguisher 250:0;
vrf-target {
import target:250:500;
export target:250:500;
}
vrf-table-label;
protocols {
ospf {
export L3VPN_BGP-OSPF;
area 0.0.0.0 {
interface ge-0/0/9.100 {
interface-type p2p;
}
}
}
}
}
kompella-vpls-250 {
instance-type vpls;
interface ge-0/0/9.250;
route-distinguisher 10.250.0.2:1;
vrf-target target:250:250;
protocols {
vpls {
no-tunnel-services;
site Sites {
site-identifier 2;
interface ge-0/0/9.250;
}
mac-flush;
}
}
}
martini-auto {
instance-type vpls;
interface ge-0/0/9.2500;
route-distinguisher 2500:10001;
l2vpn-id l2vpn-id:2500:100;
vrf-target target:2500:1001;
protocols {
vpls {
no-tunnel-services;
}
}
}
vpls-500 {
instance-type vpls;
interface ge-0/0/9.500;
protocols {
vpls {
no-tunnel-services;
vpls-id 500;
mac-flush;
neighbor 192.168.0.2 {
pseudowire-status-tlv;
}
neighbor 192.168.0.6 {
pseudowire-status-tlv;
}
}
}
}
}
system {
host-name RT.SPB.LNX;
root-authentication {
encrypted-password "$1$yjZyno7x$gXQzjRxiaQILDLVjJ2eqz1"; ## SECRET-DATA
}
}
interfaces {
ge-0/0/0 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.19/31;
}
family iso;
family mpls;
}
}
ge-0/0/1 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.27/31;
}
family iso;
family mpls;
}
}
ge-0/0/2 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.23/31;
}
family iso;
family mpls;
}
}
ge-0/0/3 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 60.0.0.1/31;
}
}
unit 500 {
encapsulation vlan-ccc;
vlan-id 500;
family ccc;
}
}
ge-0/0/4 {
flexible-vlan-tagging;
native-vlan-id 4094;
encapsulation flexible-ethernet-services;
unit 0 {
vlan-id 4094;
family inet {
address 10.0.0.9/31;
}
family iso;
family mpls;
}
}
lo0 {
unit 0 {
family inet {
address 192.168.0.8/32;
}
family iso {
address 49.0001.1921.6800.0008.00;
}
family mpls;
}
}
}
routing-options {
static {
route 192.168.0.1/32 {
static-lsp-next-hop LNX-M34;
}
}
router-id 192.168.0.8;
autonomous-system 250;
}
protocols {
rsvp {
interface all;
}
mpls {
admin-groups {
GOLD 0;
RED 1;
GREEN 2;
PURPLE 29;
BLUE 30;
WHITE 31;
}
label-switched-path LNX-M9 {
to 192.168.0.3;
corouted-bidirectional;
bandwidth 50m;
admin-group include-all [ BLUE PURPLE ];
oam {
bfd-liveness-detection {
minimum-interval 1000;
multiplier 3;
failure-action teardown;
}
}
}
label-switched-path LNX-K12 {
to 192.168.0.7;
bandwidth 25m;
admin-group include-all [ PURPLE BLUE ];
ultimate-hop-popping;
}
interface all;
interface ge-0/0/0.0 {
admin-group [ BLUE GOLD ];
}
interface ge-0/0/1.0 {
admin-group [ BLUE GOLD RED ];
}
interface ge-0/0/2.0 {
admin-group PURPLE;
}
interface ge-0/0/4.0 {
admin-group [ PURPLE BLUE ];
}
}
bgp {
export export-BGP;
group eBGP {
type external;
neighbor 60.0.0.0 {
peer-as 600;
}
}
group iBGP {
type internal;
local-address 192.168.0.8;
family inet {
any;
}
family inet-vpn {
unicast;
}
family l2vpn {
auto-discovery-only;
signaling;
}
export Next-Hop-Self;
neighbor 192.168.0.4;
neighbor 192.168.0.5;
}
}
isis {
level 1 disable;
interface ge-0/0/0.0 {
point-to-point;
}
interface ge-0/0/1.0 {
point-to-point;
}
interface ge-0/0/2.0 {
point-to-point;
}
interface ge-0/0/4.0 {
point-to-point;
}
interface lo0.0;
}
ldp {
interface all;
}
l2circuit {
neighbor 192.168.0.1 {
interface ge-0/0/3.500 {
virtual-circuit-id 1488;
}
}
}
}
policy-options {
policy-statement Next-Hop-Self {
from protocol bgp;
then {
next-hop self;
}
}
policy-statement export-BGP {
term Aggregate {
from {
protocol aggregate;
route-filter 250.0.0.0/16 exact;
}
then accept;
}
term BGP {
from protocol bgp;
then accept;
}
then reject;
}
}
Last updated