Конфигурации устройств
RT.MSK
system {
host-name RT.MSK.M34;
root-authentication {
encrypted-password "$1$qJWadfgn$miUUR35MmW7coGaM.PoV20"; ## SECRET-DATA
}
syslog {
user * {
any emergency;
}
file messages {
any notice;
authorization info;
}
file interactive-commands {
interactive-commands any;
}
}
}
chassis {
aggregated-devices {
ethernet {
device-count 5;
}
}
}
interfaces {
interface-range to_m9 {
member-range ge-0/0/4 to ge-0/0/5;
gigether-options {
802.3ad ae1;
}
}
ge-0/0/0 {
gigether-options {
802.3ad ae0;
}
}
ge-0/0/1 {
unit 0 {
family inet {
address 8.0.0.3/31;
}
}
}
ae0 {
description RT.MSK.M34;
aggregated-ether-options {
lacp {
active;
periodic fast;
}
}
unit 0 {
family inet {
address 10.1.1.0/31;
}
}
}
ae1 {
description RT.MSK.M9;
aggregated-ether-options {
lacp {
active;
}
}
unit 0 {
family inet {
address 10.1.1.2/31;
}
}
}
lo0 {
unit 0 {
family inet {
address 10.1.1.200/32;
}
}
}
}
routing-options {
generate {
route 0.0.0.0/0 policy Contributes_For_Gateway;
}
autonomous-system 65001;
confederation 9000 members [ 65001 65002 65003 ];
forwarding-table {
export LoadBalancing;
}
}
protocols {
bgp {
import BGPimport;
group eBGP {
type external;
metric-out igp;
import [ 9000:666-import BGPimport ];
export 9000:666-export;
neighbor 8.0.0.2 {
peer-as 8000;
}
}
group intra-Sub-AS {
type internal;
local-address 10.1.1.200;
import [ 9000:666-import BGPimport ];
export [ next-hop-self Gateway_to_iBGP ];
multipath;
neighbor 10.1.1.201;
neighbor 10.1.1.202;
}
}
ospf {
reference-bandwidth 1g;
area 0.0.0.0 {
interface ae0.0 {
interface-type p2p;
hello-interval 2;
dead-interval 10;
}
interface ae1.0 {
interface-type p2p;
hello-interval 2;
dead-interval 10;
}
interface lo0.0 {
passive;
}
}
}
}
policy-options {
prefix-list private {
10.0.0.0/8;
172.16.0.0/12;
192.168.0.0/16;
}
policy-statement 9000:666-export {
from {
community Blackhole;
route-filter 0.0.0.0/0 prefix-length-range /32-/32;
}
then {
community add Blackhole-Uplinks;
accept;
}
}
policy-statement 9000:666-import {
from {
community Blackhole;
route-filter 0.0.0.0/0 prefix-length-range /32-/32;
}
then {
next-hop discard;
accept;
}
}
policy-statement BGPimport {
from {
protocol bgp;
route-filter 0.0.0.0/0 prefix-length-range /25-/32;
prefix-list-filter private orlonger;
}
then reject;
}
policy-statement Contributes_For_Gateway {
term 1 {
from {
route-filter 40.0.0.0/8 orlonger;
}
then reject;
}
term 2 {
from {
protocol bgp;
route-type external;
}
then accept;
}
then reject;
}
policy-statement Gateway_to_iBGP {
from {
protocol aggregate;
route-filter 0.0.0.0/0 exact;
}
then accept;
}
policy-statement LoadBalancing {
from protocol [ bgp ospf ];
then {
load-balance per-packet;
}
}
policy-statement next-hop-self {
from {
protocol bgp;
route-type external;
}
then {
next-hop self;
}
}
community Blackhole members 9000:666;
community Blackhole-Uplinks members [ 9001:666 9002:666 8000:666 8001:666 ];
}RT.SPB
RT.[IKT/EKB/VVK]
Uplinks and Client
Last updated
Was this helpful?