Routing Instances
- routing-instances {
-
- vpna {
- instance-type vrf;
- interface t1-0/2/0.0;
- route-distinguisher 10.255.14.173:100;
- vrf-import vpna-import;
- vrf-export vpna-export;
-
- protocols {
-
- rip {
-
- group to-vpn12 {
- export export-CE;
- neighbor t1-0/2/0.0;
- }
- }
- }
- }
- }
Policy Options
- policy-options {
-
- policy-statement vpna-export {
-
- term a {
- from protocol rip;
-
- then {
- community add vpna-comm;
- accept;
- }
- }
-
- term b {
- then reject;
- }
- }
-
- policy-statement vpna-import {
-
- term a {
-
- from {
- protocol bgp;
- community public-comm1;
- route-filter 0.0.0.0/0 exact;
- }
- then reject;
- }
-
- term b {
-
- from {
- protocol bgp;
- community vpna-comm;
- }
- then accept;
- }
-
- term c {
- then reject;
- }
- }
-
- policy-statement export-CE {
- from protocol bgp;
- then accept;
- }
- community vpna-comm members target:69:100;
- community public-comm1 members target:1:111;
- community public-comm2 members target:1:112;
- }