Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
Connectivity Services Director User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Example: Base Configuration for a P Router

date_range 17-Oct-23

P routers in your MPLS network must have the following entities configured before these devices are prestaged:

  • A Gigabit Ethernet interface to each router in the network

  • Loopback interface

  • MPLS protocol

  • OSPF protocol

  • LDP protocol

Figure 1 shows a simple network with one P router connecting five N-PE routers.

Figure 1: Connectivity in a Simple NetworkConnectivity in a Simple Network

The following example shows a P router configuration for the simple network shown in Figure 1.

content_copy zoom_out_map
interfaces {
        ge-0/0/2 {
        unit 0 {
            family inet {
                address 10.1.14.1/30;
            }
            family mpls;
        }
    }
    ge-0/0/3 {
        unit 0 {
            family inet {
                address 10.1.15.2/30;
            }
            family mpls;
        }
    }
    ge-5/0/0 {
        unit 0 {
            family inet {
                address 10.1.17.1/30;
            }
            family mpls;
        }
    }
    ge-5/0/1 {
        unit 0 {
            family inet {
                address 10.1.18.1/30;
            }
            family mpls;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 192.168.1.1/32;
            }
        }
    }
}

}
protocols {
    mpls {
        interface ge-0/0/2.0;
        interface ge-0/0/3.0;
        interface ge-5/0/0.0;
        interface ge-5/0/1.0;
        interface lo0.0;
    }
    ospf {
        traffic-engineering;
        area 0.0.0.0 {
            interface ge-0/0/2.0;
            interface ge-0/0/3.0;
            interface ge-5/0/0.0;
            interface ge-5/0/1.0;
            interface lo0.0 {
                passive;
            }
        }
    }               
    ldp {
        interface ge-0/0/2.0;
        interface ge-0/0/3.0;
        interface ge-5/0/0.0;
        interface ge-5/0/1.0;
    }
}
footer-navigation