Configure Interfaces for VPN Routing
On each PE router, you must configure an interface over which the VPN traffic travels between the PE and CE routers. The configuration described in this section is applicable to all types of VPNs. However, Layer 3 VPNs and carrier-of-carriers VPNs require some additional configuration described in the following sections:
To configure interfaces for VPN routing, include the
interfacestatement at the[edit routing-instancesrouting-instance-name]hierarchy level:[edit routing-instancesrouting-instance-name]interfaceinterface-name;Specify both the physical and logical portions of the interface name, in the following format:
physical.logicalFor example, in
at-1/2/1.2,at-1/2/1is the physical portion of the interface name and2is the logical portion. If you do not specify the logical portion of the interface name,0is set by default.A logical interface can be associated with only one routing instance. If you enable a routing protocol on all instances by specifying
interfaces allwhen configuring the master instance of the protocol at the[edit protocols]hierarchy level, and if you configure a specific interface for VPN routing at the[edit routing-instancesrouting-instance-name]hierarchy level, the latter interface statement takes precedence and the interface is used exclusively for the VPN.If you explicitly configure the same interface name at both the
[edit protocols]and[edit routing-instancesrouting-instance-name]hierarchy levels, when you try to commit the configuration, it will fail.