MPLS-IX WG
Juniperルータの設定
インターフェースアドレスの設定
interfaces {
ge-0/0/0 {
mtu 1526;
unit 0 {
family inet {
mtu 1500;
address 10.0.1.2/30;
}
}
}
ge-0/0/1 {
mtu 1526;
unit 0 {
family inet {
mtu 1500;
address 192.168.1.1/24;
}
}
}
}
MPLSを有効にする
interfaces {
ge-0/0/0 {
unit 0 {
family mpls {
mtu 1508;
}
}
}
ge-0/0/1 {
unit 0 {
family mpls {
mtu 1508;
}
}
}
}
protocols {
mpls {
no-propagate-ttl;
interface ge-0/0/0.0;
interface ge-0/0/1.0;
}
}
・LDP によるユーザ収容を行う場合は以下を追加
protocols {
mpls {
traffic-engineering bgp-igp;
}
ldp {
egress-policy ldp-egress;
transport-address interface;
interface ge-0/0/1.0;
}
}
policy-options {
policy-statement ldp-egress {
term bgp {
from {
protocol bgp;
route-filter 10.0.0.0/24 prefix-length-range /32-/32;
}
then accept;
}
term local {
from protocol local;
then accept;
}
then reject;
}
}
distix との接続
protocols {
bgp {
local-as 65100;
group distix {
import import-distix;
family inet {
labeled-unicast;
}
export export-distix;
peer-as 18079;
neighbor 10.0.1.1;
}
}
}
}
LDP によるユーザ収容
routing-options {
static {
route 10.0.0.x/32 next-hop 192.168.1.2;
}
}
BGP によるユーザ収容
protocols {
bgp {
local-as 65100;
group user-a {
import import-user-a;
family inet {
labeled-unicast;
}
export export-user-a;
peer-as 65001;
neighbor 192.168.1.2;
}
}
}
}