Конфигурации Устройств
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
Last updated