To use Label Distribution Protocol (LDP) for VPN signaling, perform the following steps on the PE and provider (P) routers:
- [edit]
- protocols {
-
- ldp {
- interface type-fpc/pic/port;
- }
- }
- [edit]
- interfaces {
-
-
type-fpc/pic/port {
-
- unit logical-unit-number {
- family mpls;
- }
- }
- }
To configure OSPF, include the ospf statement at the [edit protocols] hierarchy level. At a minimum, you must configure a backbone area on at least one of the router’s interfaces.
- [edit]
- protocols {
-
- ospf {
-
- area 0.0.0.0 {
- interface type-fpc/pic/port;
- }
- }
- }
To configure IS-IS, include the isis statement at the [edit protocols] hierarchy level and configure the loopback interface and International Organization for Standardization (ISO) family at the [edit interfaces] hierarchy level. At a minimum, you must enable IS-IS on the router, configure a network entity title (NET) on one of the router’s interfaces (preferably the loopback interface, lo0), and configure the ISO family on all interfaces on which you want IS-IS to run. When you enable IS-IS, Level 1 and Level 2 are enabled by default. The following is the minimum IS-IS configuration. In the address statement, address is the NET.
- [edit]
- interfaces {
-
- lo0 {
-
- unit logical-unit-number {
-
- family iso {
- address address;
- }
- }
- }
-
-
type-fpc/pic/port {
-
- unit logical-unit-number {
- family iso;
- }
- }
- }
- protocols {
-
- isis {
- interface all;
- }
- }
For more information about configuring OSPF and IS-IS, see the JUNOS Routing Protocols Configuration Guide.