Interfaces
- interfaces {
-
- t3-0/2/0 {
- dce;
- encapsulation frame-relay;
-
- unit 0 {
- description "to CE1 VPN interface";
- dlci 10;
-
- family inet {
- address 192.168.197.13/30;
- }
- }
-
- unit 1 {
- description "to CE1 public interface";
- dlci 20;
-
- family inet {
- address 192.168.198.201/30;
- }
- }
- }
- }
Routing Options
- routing-options {
-
- static {
- route 10.12.1.0/24 next-hop 192.168.198.202;
- }
- }
BGP Protocol
- protocols {
-
- bgp {
-
- group pe-pe {
- type internal;
- local-address 10.255.14.171;
-
- family inet {
- any;
- }
-
- family inet-vpn {
- any;
- }
- export [ fix-nh redist-static];
- neighbor 10.255.14.177;
- neighbor 10.255.14.179;
- }
- }
- }
IS-IS Protocol
- isis {
- level 1 disable;
- interface so-0/0/0.0;
- interface lo0.0;
- }
LDP Protocol
- ldp {
- interface so-0/0/0.0;
- }
Routing Instance
- routing-instances {
-
- vpna {
- instance-type vrf;
- interface t3-0/2/0.0;
- route-distinguisher 10.255.14.171:100;
- vrf-import vpna-import;
- vrf-export vpna-export;
-
- protocols {
-
- bgp {
-
- group to-CE1 {
- peer-as 63001;
- neighbor 192.168.197.14;
- }
- }
- }
- }
- }
Policy Options/Policy Statements
- policy-options {
-
- policy-statement fix-nh {
-
- then {
- next-hop self;
- }
- }
-
- policy-statement redist-static {
-
- term a {
-
- from {
- protocol static;
- route-filter 10.12.1.0/24 exact;
- }
- then accept;
- }
-
- term b {
- then reject;
- }
- }
- }
Import and Export Policies
- 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;