[Contents] [Prev] [Next] [Index] [Report an Error]

Router C (PE Router)

Routing Instance for VPN-A

routing-instance {
VPN-A-Tokyo {
instance-type vrf;
interface ge-1/0/0.0;
route-distinguisher 65535:1;
vrf-import VPN-A-import;
vrf-export VPN-A-export;
}
}

Instance Routing Protocol

protocols {
bgp {
group VPN-A-Site2 {
peer-as 1;
neighbor 10.12.1.2;
}
}
}

Routing Instance for VPN-B

VPN-B-Osaka {
instance-type vrf;
interface at-1/2/0.0;
route-distinguisher 65535:3;
vrf-import VPN-B-import;
vrf-export VPN-B-export;
}

Instance Routing Protocol

protocols {
rip {
group PE-C-to-VPN-B {
neighbor at-1/2/0;
}
}
}

Master Protocol Instance

protocols {
}

Enable RSVP

rsvp {
interface so-2/0/0.0;
}

Configure an MPLS LSP

mpls {
label-switched-path RouterC-to-RouterA {
to 10.255.245.68;
}
interface so-2/0/0.0;
interface ge-1/0/0.0;
interface at-1/2/0.0;
}

Configure IBGP

bgp {
group PE-RouterC-to-PE-RouterA {
type internal;
local-address 10.255.245.47;
family inet-vpn {
unicast;
}
neighbor 10.255.245.68;
}
}

Configure OSPF for Traffic Engineering Support

ospf {
traffic-engineering;
area 0.0.0.0 {
interface so-2/0/0.0;
}
}

Configure VPN Policy

policy-options {
policy-statement VPN-A-import {
term a {
from {
protocol bgp;
community VPN-A;
}
then accept;
}
term b {
then reject;
}
}
policy-statement VPN-A-export {
term a {
from protocol bgp;
then {
community add VPN-A;
accept;
}
}
term b {
then reject;
}
}
policy-statement VPN-B-import {
term a {
from {
protocol bgp;
community VPN-B;
}
then accept;
}
term b {
then reject;
}
}
policy-statement VPN-B-export {
term a {
from protocol rip;
then {
community add VPN-B;
accept;
}
}
term b {
then reject;
}
}
community VPN-A members target:65535:4;
community VPN-B members target:65535:5;
}

[Contents] [Prev] [Next] [Index] [Report an Error]