This section describes how to configure the routing instance on Router PE1. The static route defined in the routing-options statement directs Internet traffic from the CE router to the inet.0 routing table. The routing table group defined by the rib-group vpna-to-inet0 statement adds the VPN routes to inet.0.
Configure the routing instance on Router PE1:
- [edit]
- 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;
-
- routing-options {
-
- static {
- route 0.0.0.0/0 next-table inet.0;
- }
- }
-
- protocols {
-
- bgp {
-
- group to-CE1 {
-
- family inet {
-
- unicast {
- rib-group vpna-to-inet0;
- }
- }
- peer-as 63001;
- neighbor 192.168.197.14;
- }
- }
- }
- }
- }
You must configure Router CE1 to forward all traffic to Router PE1 using a default route. Alternatively, the default route can be advertised from Router PE1 to Router CE1 with EBGP.