Technical Documentation

Base Configuration for N-PE Device to be Used in a Point-to-Point Ethernet (LDP) Service

An N-PE device to be used in a point-to-point service must have the following entities configured before you assign the N-PE role to the device:

  • Gigabit Ethernet interfaces to the network core
  • Loopback interface
  • MPLS protocol
  • ospf protocol
  • ldp protocol

A sample configuration follows. The N-PE device in this example has just one interface to the network core. In a more complex network in which the N-PE device connects to more than one P device, you would need to configure multiple interfaces.

interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 10.1.18.2/30;
            }
            family mpls;
        }           
    }

   }
    lo0 {
        unit 0 {
            family inet {
                address 192.168.1.20/32;
            }
        }
    }

}
protocols {
    mpls {
        interface ge-0/0/0.0;
        interface lo0.0;
    }
     ospf {
        traffic-engineering;
        area 0.0.0.0 {
            interface lo0.0 {
                passive;
            }       
            interface ge-0/0/0.0;
    }
    ldp {
        interface ge-0/0/0.0;
        interface lo0.0;
    }

Note: If the N-PE router will also be used in multipoint services, do not use this base configuration. Instead, use the base configuration for multipoint services.


Published: 2010-03-11