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

Configuring Policy Options on Router PE1

You need to configure policy options on Router PE1. The fix-nh policy statement sets next-hop-self for all non-VPN routes:

[edit]
policy-options {
policy-statement fix-nh {
then {
next-hop self;
}
}
}

The redist-static policy statement advertises the VPN’s public IP address pool:

[edit policy-options]
policy-statement redist-static {
term a {
from {
protocol static;
route-filter 10.12.1.0/24 exact;
}
then accept;
}
term b {
then reject;
}
}

Configure import and export policies for vpna:

[edit policy-options]
policy-statement vpna-import {
term a {
from {
protocol bgp;
community vpna-comm;
}
then accept;
}
term b {
then reject;
}
}
policy-statement vpna-export {
term a {
from protocol bgp;
then {
community add vpna-comm;
accept;
}
}
term b {
then reject;
}
}
community vpna-comm members target:63000:100;

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