例:レイヤー2ホールセールネットワーク向けの小売業者アクセスルーティングインスタンス
小売業者ごとにルーティングインスタンスを作成し、さまざまな小売業者のルーティング情報を分離し、各小売業者に固有のサーバーと転送オプションを定義する必要があります。
作成できるルーティングインスタンスには、アクセスとNNIの2種類があります。次のコードスニペットは、Retailer_Instance1とRetailer_Instance2の2つの小売業者に対して個別のアクセスルーティングインスタンスを設定する方法を示しています。
routing-instances {
Retailer_Instance1 {
vlan-model one-to-one;
instance-role access;
instance-type l2backhaul-vpn;
interface ge-1/1/0.0
no-local-switching;
route-distinguisher 10.10.1.1:1;
vrf-target target:100:1;
protocols {
vpls {
site-range 10;
mac-table-size {
6000;
}
interface-mac-limit {
2000;
}
no-tunnel-services;
site A-PE {
site-identifier 1;
}
}
}
}
Retailer_Instance2 {
vlan-model one-to-one;
instance-role access;
instance-type l2backhaul-vpn;
interface ge-2/2/0.0
no-local-switching;
route-distinguisher 10.10.1.1:2;
vrf-target target:300:1;
protocols {
vpls {
site-range 1000;
no-tunnel-services;
site A-PE {
site-identifier 1;
}
}
}
}
}