Конфигурации Устройств
AS и Site
system {
host-name AS400;
root-authentication {
encrypted-password "$1$WkjAUkd4$d311x1Zg07TkbMyqK7g8P."; ## SECRET-DATA
}
}
interfaces {
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.2/31;
}
}
unit 500 {
vlan-id 500;
family inet {
address 10.0.0.1/24;
}
}
}
lo0 {
unit 0 {
family inet {
address 140.0.0.1/32;
}
}
}
}
routing-options {
aggregate {
route 140.0.0.0/16;
}
autonomous-system 400;
}
protocols {
bgp {
export export-BGP;
group eBGP {
type external;
neighbor 40.0.0.3 {
peer-as 250;
}
}
}
}
policy-options {
policy-statement export-BGP {
term Aggregate {
from {
protocol aggregate;
route-filter 140.0.0.0/16 exact;
}
then accept;
}
term BGP {
from protocol bgp;
then accept;
}
then reject;
}
}
Core
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;
}
no-cspf;
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;
primary l_MIR-s_OBV,LNX;
}
path l_MIR-s_OBV,LNX {
10.0.0.24 loose;
10.0.0.25 strict;
10.0.0.27 strict;
}
interface all;
}
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;
}
}
Last updated
Was this helpful?