This example uses the same configuration as in Routing VPN and Internet Traffic Through Different Interfaces. This configuration uses a single logical interface (instead of two) between Router PE1 and Router CE1.
Routing Options
- routing-options {
-
- rib-groups {
-
- vpna-to-inet0 {
- import-rib [ vpna.inet.0 inet.0 ];
- }
- }
- }
Routing Protocols
- protocols {
-
- mpls {
- interface t3-0/2/0.0;
- }
-
- bgp {
-
- group pe-pe {
- type internal;
- local-address 10.255.14.171;
-
- family inet {
- any;
- }
-
- family inet-vpn {
- any;
- }
- export fix-nh;
- neighbor 10.255.14.177;
- neighbor 10.255.14.173;
- }
- }
-
- isis {
- level 1 disable;
- interface so-0/0/0.0;
- interface lo0.0;
- }
-
- 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;
-
- 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;
- }
- }
- }
- }
- }