You can also configure an HDLC layer 2 circuit in a local cross-connect configuration between serial or POS interfaces within the same router.
The procedure is basically the same for configuring an HDLC layer 2 interface between two PE routers and for a local cross-connect, with the following differences for local cross-connects:
Creating or Modifying Classifier Control Lists for MPLS Policy Lists, and Creating Policy Lists for MPLS in the JUNOSe Policy Management Configuration Guide